@neurodyn/ai-try-on 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! For license information please see ai-try-on.global.min.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={"../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js");function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},"../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"(e,t,r){e.exports=r("../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js")()},"../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js"(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-client.production.js"(e,t,r){"use strict";var n,a=r("../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js"),o=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),i=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function u(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function c(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(s(188))}var p=Object.assign,h=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),w=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope");var E=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var R=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var j=Symbol.for("react.client.reference"),z=Array.isArray,_=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A={pending:!1,data:null,method:null,action:null},L=[],I=-1;function M(e){return{current:e}}function F(e){0>I||(e.current=L[I],L[I]=null,I--)}function D(e,t){L[++I]=e.current,e.current=t}var B=M(null),$=M(null),V=M(null),U=M(null);function H(e,t){switch(D(V,t),D($,e),D(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uy(t=uv(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(B),D(B,e)}function W(){F(B),F($),F(V)}function q(e){null!==e.memoizedState&&D(U,e);var t=B.current,r=uy(t,e.type);t!==r&&(D($,e),D(B,r))}function K(e){$.current===e&&(F(B),F($)),U.current===e&&(F(U),ce._currentValue=A)}function G(e){if(void 0===tI)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tI=t&&t[1]||"",tM=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tI+e+tM}var X=!1;function Y(e,t){if(!e||X)return"";X=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch(function(){})}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===l.length||a===u.length)for(n=l.length-1,a=u.length-1;1<=n&&0<=a&&l[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(l[n]!==u[a]){if(1!==n||1!==a)do if(n--,a--,0>a||l[n]!==u[a]){var c="\n"+l[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{X=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?G(r):""}function Q(e){try{var t="",r=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return G(e.type);case 16:return G("Lazy");case 13:return e.child!==t&&null!==t?G("Suspense Fallback"):G("Suspense");case 19:return G("SuspenseList");case 0:case 15:return Y(e.type,!1);case 11:return Y(e.type.render,!1);case 1:return Y(e.type,!0);case 31:return G("Activity");default:return""}}(e,r),r=e,e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var Z=Object.prototype.hasOwnProperty,J=a.unstable_scheduleCallback,ee=a.unstable_cancelCallback,et=a.unstable_shouldYield,er=a.unstable_requestPaint,en=a.unstable_now,ea=a.unstable_getCurrentPriorityLevel,eo=a.unstable_ImmediatePriority,ei=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,el=a.unstable_LowPriority,eu=a.unstable_IdlePriority,ec=a.log,ed=a.unstable_setDisableYieldValue,ep=null,eh=null;function ef(e){if("function"==typeof ec&&ed(e),eh&&"function"==typeof eh.setStrictMode)try{eh.setStrictMode(ep,e)}catch(e){}}var eg=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(em(e)/ev|0)|0},em=Math.log,ev=Math.LN2,ey=256,eb=262144,ew=4194304;function ek(e){var t=42&e;if(0!==t)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function ex(e,t,r){var n=e.pendingLanes;if(0===n)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=0x7ffffff&n;return 0!==s?0!=(n=s&~o)?a=ek(n):0!=(i&=s)?a=ek(i):r||0!=(r=s&~e)&&(a=ek(r)):0!=(s=n&~o)?a=ek(s):0!==i?a=ek(i):r||0!=(r=n&~e)&&(a=ek(r)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(r=t&-t)||32===o&&0!=(4194048&r))?t:a}function eS(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eC(){var e=ew;return 0==(0x3c00000&(ew<<=1))&&(ew=4194304),e}function eP(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function eE(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eT(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-eg(t);e.entangledLanes|=t,e.entanglements[n]=0x40000000|e.entanglements[n]|261930&r}function eR(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-eg(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}function eO(e,t){var r=t&-t;return 0!=((r=0!=(42&r)?1:ej(r))&(e.suspendedLanes|t))?0:r}function ej(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function ez(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function e_(){var e=N.p;return 0!==e?e:void 0===(e=window.event)?32:cf(e.type)}function eN(e,t){var r=N.p;try{return N.p=e,t()}finally{N.p=r}}var eA=Math.random().toString(36).slice(2),eL="__reactFiber$"+eA,eI="__reactProps$"+eA,eM="__reactContainer$"+eA,eF="__reactEvents$"+eA,eD="__reactListeners$"+eA,eB="__reactHandles$"+eA,e$="__reactResources$"+eA,eV="__reactMarker$"+eA;function eU(e){delete e[eL],delete e[eI],delete e[eF],delete e[eD],delete e[eB]}function eH(e){var t=e[eL];if(t)return t;for(var r=e.parentNode;r;){if(t=r[eM]||r[eL]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=uI(e);null!==e;){if(r=e[eL])return r;e=uI(e)}return t}r=(e=r).parentNode}return null}function eW(e){if(e=e[eL]||e[eM]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function eq(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(s(33))}function eK(e){var t=e[e$];return t||(t=e[e$]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eG(e){e[eV]=!0}var eX=new Set,eY={};function eQ(e,t){eZ(e,t),eZ(e+"Capture",t)}function eZ(e,t){for(eY[e]=t,e=0;e<t.length;e++)eX.add(t[e])}var eJ=RegExp("^[: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]*$"),e0={},e1={};function e2(e,t,r){if(Z.call(e1,t)||!Z.call(e0,t)&&(eJ.test(t)?e1[t]=!0:(e0[t]=!0,!1)))if(null===r)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if("data-"!==n&&"aria-"!==n)return void e.removeAttribute(t)}e.setAttribute(t,""+r)}}function e3(e,t,r){if(null===r)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function e5(e,t,r,n){if(null===n)e.removeAttribute(r);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+n)}}function e9(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e4(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e6(e){if(!e._valueTracker){var t=e4(e)?"checked":"value";e._valueTracker=function(e,t,r){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function e8(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=e4(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function e7(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var te=/[\n"\\]/g;function tt(e){return e.replace(te,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tr(e,t,r,n,a,o,i,s){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e9(t)):e.value!==""+e9(t)&&(e.value=""+e9(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?ta(e,i,e9(t)):null!=r?ta(e,i,e9(r)):null!=n&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+e9(s):e.removeAttribute("name")}function tn(e,t,r,n,a,o,i,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=r){if(("submit"===o||"reset"===o)&&null==t)return void e6(e);r=null!=r?""+e9(r):"",t=null!=t?""+e9(t):r,s||t===e.value||(e.value=t),e.defaultValue=t}n="function"!=typeof(n=null!=n?n:a)&&"symbol"!=typeof n&&!!n,e.checked=s?e.checked:!!n,e.defaultChecked=!!n,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),e6(e)}function ta(e,t,r){"number"===t&&e7(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function to(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(a=0,r=""+e9(r),t=null;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ti(e,t,r){if(null!=t&&((t=""+e9(t))!==e.value&&(e.value=t),null==r)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=r?""+e9(r):""}function ts(e,t,r,n){if(null==t){if(null!=n){if(null!=r)throw Error(s(92));if(z(n)){if(1<n.length)throw Error(s(93));n=n[0]}r=n}null==r&&(r=""),t=r}e.defaultValue=r=e9(t),(n=e.textContent)===r&&""!==n&&null!==n&&(e.value=n),e6(e)}function tl(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var tu=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tc(e,t,r){var n=0===t.indexOf("--");null==r||"boolean"==typeof r||""===r?n?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":n?e.setProperty(t,r):"number"!=typeof r||0===r||tu.has(t)?"float"===t?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function td(e,t,r){if(null!=t&&"object"!=typeof t)throw Error(s(62));if(e=e.style,null!=r){for(var n in r)!r.hasOwnProperty(n)||null!=t&&t.hasOwnProperty(n)||(0===n.indexOf("--")?e.setProperty(n,""):"float"===n?e.cssFloat="":e[n]="");for(var a in t)n=t[a],t.hasOwnProperty(a)&&r[a]!==n&&tc(e,a,n)}else for(var o in t)t.hasOwnProperty(o)&&tc(e,o,t[o])}function tp(e){if(-1===e.indexOf("-"))return!1;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 th=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tf=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tg(e){return tf.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tm(){}var tv=null;function ty(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tb=null,tw=null;function tk(e){var t=eW(e);if(t&&(e=t.stateNode)){var r=e[eI]||null;switch(e=t.stateNode,t.type){case"input":if(tr(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+tt(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=n[eI]||null;if(!a)throw Error(s(90));tr(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<r.length;t++)(n=r[t]).form===e.form&&e8(n)}break;case"textarea":ti(e,r.value,r.defaultValue);break;case"select":null!=(t=r.value)&&to(e,!!r.multiple,t,!1)}}}var tx=!1;function tS(e,t,r){if(tx)return e(t,r);tx=!0;try{return e(t)}finally{if(tx=!1,(null!==tb||null!==tw)&&(ld(),tb&&(t=tb,e=tw,tw=tb=null,tk(t),e)))for(t=0;t<e.length;t++)tk(e[t])}}function tC(e,t){var r=e.stateNode;if(null===r)return null;var n=r[eI]||null;if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(s(231,t,typeof r));return r}var tP="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tE=!1;if(tP)try{var tT={};Object.defineProperty(tT,"passive",{get:function(){tE=!0}}),window.addEventListener("test",tT,tT),window.removeEventListener("test",tT,tT)}catch(e){tE=!1}var tR=null,tO=null,tj=null;function tz(){if(tj)return tj;var e,t,r=tO,n=r.length,a="value"in tR?tR.value:tR.textContent,o=a.length;for(e=0;e<n&&r[e]===a[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===a[o-t];t++);return tj=a.slice(e,1<t?1-t:void 0)}function t_(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tN(){return!0}function tA(){return!1}function tL(e){function t(t,r,n,a,o){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tN:tA,this.isPropagationStopped=tA,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tN)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tN)},persist:function(){},isPersistent:tN}),t}var tI,tM,tF,tD,tB,t$={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tV=tL(t$),tU=p({},t$,{view:0,detail:0}),tH=tL(tU),tW=p({},tU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t2,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tB&&(tB&&"mousemove"===e.type?(tF=e.screenX-tB.screenX,tD=e.screenY-tB.screenY):tD=tF=0,tB=e),tF)},movementY:function(e){return"movementY"in e?e.movementY:tD}}),tq=tL(tW),tK=tL(p({},tW,{dataTransfer:0})),tG=tL(p({},tU,{relatedTarget:0})),tX=tL(p({},t$,{animationName:0,elapsedTime:0,pseudoElement:0})),tY=tL(p({},t$,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tQ=tL(p({},t$,{data:0})),tZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tJ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t0[e])&&!!t[e]}function t2(){return t1}var t3=tL(p({},tU,{key:function(e){if(e.key){var t=tZ[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=t_(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?tJ[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t2,charCode:function(e){return"keypress"===e.type?t_(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?t_(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tL(p({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t9=tL(p({},tU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t2})),t4=tL(p({},t$,{propertyName:0,elapsedTime:0,pseudoElement:0})),t6=tL(p({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t8=tL(p({},t$,{newState:0,oldState:0})),t7=[9,13,27,32],re=tP&&"CompositionEvent"in window,rt=null;tP&&"documentMode"in document&&(rt=document.documentMode);var rr=tP&&"TextEvent"in window&&!rt,rn=tP&&(!re||rt&&8<rt&&11>=rt),ra=!1;function ro(e,t){switch(e){case"keyup":return -1!==t7.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ri(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rs=!1,rl={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ru(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rl[e.type]:"textarea"===t}function rc(e,t,r,n){tb?tw?tw.push(n):tw=[n]:tb=n,0<(t=un(t,"onChange")).length&&(r=new tV("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rd=null,rp=null;function rh(e){l9(e,0)}function rf(e){if(e8(eq(e)))return e}function rg(e,t){if("change"===e)return t}var rm=!1;if(tP){if(tP){var rv="oninput"in document;if(!rv){var ry=document.createElement("div");ry.setAttribute("oninput","return;"),rv="function"==typeof ry.oninput}n=rv}else n=!1;rm=n&&(!document.documentMode||9<document.documentMode)}function rb(){rd&&(rd.detachEvent("onpropertychange",rw),rp=rd=null)}function rw(e){if("value"===e.propertyName&&rf(rp)){var t=[];rc(t,rp,e,ty(e)),tS(rh,t)}}function rk(e,t,r){"focusin"===e?(rb(),rd=t,rp=r,rd.attachEvent("onpropertychange",rw)):"focusout"===e&&rb()}function rx(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rf(rp)}function rS(e,t){if("click"===e)return rf(t)}function rC(e,t){if("input"===e||"change"===e)return rf(t)}var rP="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function rE(e,t){if(rP(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!Z.call(t,a)||!rP(e[a],t[a]))return!1}return!0}function rT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rR(e,t){var r,n=rT(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rT(n)}}function rO(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=e7(e.document);t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=e7(e.document)}return t}function rj(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rz=tP&&"documentMode"in document&&11>=document.documentMode,r_=null,rN=null,rA=null,rL=!1;function rI(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;rL||null==r_||r_!==e7(n)||(n="selectionStart"in(n=r_)&&rj(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},rA&&rE(rA,n)||(rA=n,0<(n=un(rN,"onSelect")).length&&(t=new tV("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=r_)))}function rM(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rF={animationend:rM("Animation","AnimationEnd"),animationiteration:rM("Animation","AnimationIteration"),animationstart:rM("Animation","AnimationStart"),transitionrun:rM("Transition","TransitionRun"),transitionstart:rM("Transition","TransitionStart"),transitioncancel:rM("Transition","TransitionCancel"),transitionend:rM("Transition","TransitionEnd")},rD={},rB={};function r$(e){if(rD[e])return rD[e];if(!rF[e])return e;var t,r=rF[e];for(t in r)if(r.hasOwnProperty(t)&&t in rB)return rD[e]=r[t];return e}tP&&(rB=document.createElement("div").style,"AnimationEvent"in window||(delete rF.animationend.animation,delete rF.animationiteration.animation,delete rF.animationstart.animation),"TransitionEvent"in window||delete rF.transitionend.transition);var rV=r$("animationend"),rU=r$("animationiteration"),rH=r$("animationstart"),rW=r$("transitionrun"),rq=r$("transitionstart"),rK=r$("transitioncancel"),rG=r$("transitionend"),rX=new Map,rY="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rQ(e,t){rX.set(e,t),eQ(t,[e])}rY.push("scrollEnd");var rZ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},rJ=[],r0=0,r1=0;function r2(){for(var e=r0,t=r1=r0=0;t<e;){var r=rJ[t];rJ[t++]=null;var n=rJ[t];rJ[t++]=null;var a=rJ[t];rJ[t++]=null;var o=rJ[t];if(rJ[t++]=null,null!==n&&null!==a){var i=n.pending;null===i?a.next=a:(a.next=i.next,i.next=a),n.pending=a}0!==o&&r4(r,a,o)}}function r3(e,t,r,n){rJ[r0++]=e,rJ[r0++]=t,rJ[r0++]=r,rJ[r0++]=n,r1|=n,e.lanes|=n,null!==(e=e.alternate)&&(e.lanes|=n)}function r5(e,t,r,n){return r3(e,t,r,n),r6(e)}function r9(e,t){return r3(e,null,null,t),r6(e)}function r4(e,t,r){e.lanes|=r;var n=e.alternate;null!==n&&(n.lanes|=r);for(var a=!1,o=e.return;null!==o;)o.childLanes|=r,null!==(n=o.alternate)&&(n.childLanes|=r),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eg(r),null===(n=(e=o.hiddenUpdates)[a])?e[a]=[t]:n.push(t),t.lane=0x20000000|r),o):null}function r6(e){if(50<ln)throw ln=0,la=null,Error(s(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var r8={};function r7(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ne(e,t,r,n){return new r7(e,t,r,n)}function nt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function nr(e,t){var r=e.alternate;return null===r?((r=ne(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=0x3e00000&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function nn(e,t){e.flags&=0x3e00002;var r=e.alternate;return null===r?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,e.dependencies=null===(t=r.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function na(e,t,r,n,a,o){var i=0;if(n=e,"function"==typeof e)nt(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,r){if(1===r||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,r,B.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case E:return(e=ne(31,r,t,a)).elementType=E,e.lanes=o,e;case m:return no(r.children,a,o,t);case v:i=8,a|=24;break;case y:return(e=ne(12,r,t,2|a)).elementType=y,e.lanes=o,e;case x:return(e=ne(13,r,t,a)).elementType=x,e.lanes=o,e;case S:return(e=ne(19,r,t,a)).elementType=S,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:i=10;break e;case b:i=9;break e;case k:i=11;break e;case C:i=14;break e;case P:i=16,n=null;break e}i=29,r=Error(s(130,null===e?"null":typeof e,"")),n=null}return(t=ne(i,r,t,a)).elementType=e,t.type=n,t.lanes=o,t}function no(e,t,r,n){return(e=ne(7,e,n,t)).lanes=r,e}function ni(e,t,r){return(e=ne(6,e,null,t)).lanes=r,e}function ns(e){var t=ne(18,null,null,0);return t.stateNode=e,t}function nl(e,t,r){return(t=ne(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var nu=new WeakMap;function nc(e,t){if("object"==typeof e&&null!==e){var r=nu.get(e);return void 0!==r?r:(t={value:e,source:t,stack:Q(t)},nu.set(e,t),t)}return{value:e,source:t,stack:Q(t)}}var nd=[],np=0,nh=null,nf=0,ng=[],nm=0,nv=null,ny=1,nb="";function nw(e,t){nd[np++]=nf,nd[np++]=nh,nh=e,nf=t}function nk(e,t,r){ng[nm++]=ny,ng[nm++]=nb,ng[nm++]=nv,nv=e;var n=ny;e=nb;var a=32-eg(n)-1;n&=~(1<<a),r+=1;var o=32-eg(t)+a;if(30<o){var i=a-a%5;o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,ny=1<<32-eg(t)+a|r<<a|n,nb=o+e}else ny=1<<o|r<<a|n,nb=e}function nx(e){null!==e.return&&(nw(e,1),nk(e,1,0))}function nS(e){for(;e===nh;)nh=nd[--np],nd[np]=null,nf=nd[--np],nd[np]=null;for(;e===nv;)nv=ng[--nm],ng[nm]=null,nb=ng[--nm],ng[nm]=null,ny=ng[--nm],ng[nm]=null}function nC(e,t){ng[nm++]=ny,ng[nm++]=nb,ng[nm++]=nv,ny=t.id,nb=t.overflow,nv=e}var nP=null,nE=null,nT=!1,nR=null,nO=!1,nj=Error(s(519));function nz(e){var t=Error(s(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw nM(nc(t,e)),nj}function n_(e){var t=e.stateNode,r=e.type,n=e.memoizedProps;switch(t[eL]=e,t[eI]=n,r){case"dialog":l4("cancel",t),l4("close",t);break;case"iframe":case"object":case"embed":l4("load",t);break;case"video":case"audio":for(r=0;r<l3.length;r++)l4(l3[r],t);break;case"source":l4("error",t);break;case"img":case"image":case"link":l4("error",t),l4("load",t);break;case"details":l4("toggle",t);break;case"input":l4("invalid",t),tn(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":l4("invalid",t);break;case"textarea":l4("invalid",t),ts(t,n.value,n.defaultValue,n.children)}"string"!=typeof(r=n.children)&&"number"!=typeof r&&"bigint"!=typeof r||t.textContent===""+r||!0===n.suppressHydrationWarning||uu(t.textContent,r)?(null!=n.popover&&(l4("beforetoggle",t),l4("toggle",t)),null!=n.onScroll&&l4("scroll",t),null!=n.onScrollEnd&&l4("scrollend",t),null!=n.onClick&&(t.onclick=tm),t=!0):t=!1,t||nz(e,!0)}function nN(e){for(nP=e.return;nP;)switch(nP.tag){case 5:case 31:case 13:nO=!1;return;case 27:case 3:nO=!0;return;default:nP=nP.return}}function nA(e){if(e!==nP)return!1;if(!nT)return nN(e),nT=!0,!1;var t,r=e.tag;if((t=3!==r&&27!==r)&&((t=5===r)&&(t="form"===(t=e.type)||"button"===t||ub(e.type,e.memoizedProps)),t=!t),t&&nE&&nz(e),nN(e),13===r){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));nE=uL(e)}else if(31===r){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));nE=uL(e)}else 27===r?(r=nE,uE(e.type)?(e=uA,uA=null,nE=e):nE=r):nE=nP?uN(e.stateNode.nextSibling):null;return!0}function nL(){nE=nP=null,nT=!1}function nI(){var e=nR;return null!==e&&(null===sJ?sJ=e:sJ.push.apply(sJ,e),nR=null),e}function nM(e){null===nR?nR=[e]:nR.push(e)}var nF=M(null),nD=null,nB=null;function n$(e,t,r){D(nF,t._currentValue),t._currentValue=r}function nV(e){e._currentValue=nF.current,F(nF)}function nU(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function nH(e,t,r,n){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=a;for(var u=0;u<t.length;u++)if(l.context===t[u]){o.lanes|=r,null!==(l=o.alternate)&&(l.lanes|=r),nU(o.return,r,e),n||(i=null);break e}o=l.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(s(341));i.lanes|=r,null!==(o=i.alternate)&&(o.lanes|=r),nU(i,r,e),i=null}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function nW(e,t,r,n){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(s(387));if(null!==(i=i.memoizedProps)){var l=a.type;rP(a.pendingProps.value,i.value)||(null!==e?e.push(l):e=[l])}}else if(a===U.current){if(null===(i=a.alternate))throw Error(s(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(ce):e=[ce])}a=a.return}null!==e&&nH(t,e,r,n),t.flags|=262144}function nq(e){for(e=e.firstContext;null!==e;){if(!rP(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function nK(e){nD=e,nB=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function nG(e){return nY(nD,e)}function nX(e,t){return null===nD&&nK(e),nY(e,t)}function nY(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},null===nB){if(null===e)throw Error(s(308));nB=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else nB=nB.next=t;return r}var nQ="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},nZ=a.unstable_scheduleCallback,nJ=a.unstable_NormalPriority,n0={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function n1(){return{controller:new nQ,data:new Map,refCount:0}}function n2(e){e.refCount--,0===e.refCount&&nZ(nJ,function(){e.controller.abort()})}var n3=null,n5=0,n9=0,n4=null;function n6(){if(0==--n5&&null!==n3){null!==n4&&(n4.status="fulfilled");var e=n3;n3=null,n9=0,n4=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var n8=_.S;_.S=function(e,t){s2=en(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===n3){var r=n3=[];n5=0,n9=lZ(),n4={status:"pending",value:void 0,then:function(e){r.push(e)}}}n5++,t.then(n6,n6)}(0,t),null!==n8&&n8(e,t)};var n7=M(null);function ae(){var e=n7.current;return null!==e?e:sM.pooledCache}function at(e,t){null===t?D(n7,n7.current):D(n7,t.pool)}function ar(){var e=ae();return null===e?null:{parent:n0._currentValue,pool:e}}var an=Error(s(460)),aa=Error(s(474)),ao=Error(s(542)),ai={then:function(){}};function as(e){return"fulfilled"===(e=e.status)||"rejected"===e}function al(e,t,r){switch(void 0===(r=e[r])?e.push(t):r!==t&&(t.then(tm,tm),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw ap(e=t.reason),e;default:if("string"==typeof t.status)t.then(tm,tm);else{if(null!==(e=sM)&&100<e.shellSuspendCounter)throw Error(s(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var r=t;r.status="fulfilled",r.value=e}},function(e){if("pending"===t.status){var r=t;r.status="rejected",r.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw ap(e=t.reason),e}throw ac=t,an}}function au(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw ac=e,an;throw e}}var ac=null;function ad(){if(null===ac)throw Error(s(459));var e=ac;return ac=null,e}function ap(e){if(e===an||e===ao)throw Error(s(483))}var ah=null,af=0;function ag(e){var t=af;return af+=1,null===ah&&(ah=[]),al(ah,e,t)}function am(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function av(e,t){if(t.$$typeof===h)throw Error(s(525));throw Error(s(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ay(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=nr(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=0x4000002,r):n:(t.flags|=0x4000002,r):(t.flags|=1048576,r)}function i(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function l(e,t,r,n){return null===t||6!==t.tag?(t=ni(r,e.mode,n)).return=e:(t=a(t,r)).return=e,t}function u(e,t,r,n){var o=r.type;return o===m?d(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&au(o)===t.type)?am(t=a(t,r.props),r):am(t=na(r.type,r.key,r.props,null,e.mode,n),r),t.return=e,t)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=nl(r,e.mode,n)).return=e:(t=a(t,r.children||[])).return=e,t}function d(e,t,r,n,o){return null===t||7!==t.tag?(t=no(r,e.mode,n,o)).return=e:(t=a(t,r)).return=e,t}function p(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=ni(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case f:return am(r=na(t.type,t.key,t.props,null,e.mode,r),t),r.return=e,r;case g:return(t=nl(t,e.mode,r)).return=e,t;case P:return p(e,t=au(t),r)}if(z(t)||O(t))return(t=no(t,e.mode,r,null)).return=e,t;if("function"==typeof t.then)return p(e,ag(t),r);if(t.$$typeof===w)return p(e,nX(e,t),r);av(e,t)}return null}function h(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return null!==a?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case f:return r.key===a?u(e,t,r,n):null;case g:return r.key===a?c(e,t,r,n):null;case P:return h(e,t,r=au(r),n)}if(z(r)||O(r))return null!==a?null:d(e,t,r,n,null);if("function"==typeof r.then)return h(e,t,ag(r),n);if(r.$$typeof===w)return h(e,t,nX(e,r),n);av(e,r)}return null}function v(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return l(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case f:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case g:return c(t,e=e.get(null===n.key?r:n.key)||null,n,a);case P:return v(e,t,r,n=au(n),a)}if(z(n)||O(n))return d(t,e=e.get(r)||null,n,a,null);if("function"==typeof n.then)return v(e,t,r,ag(n),a);if(n.$$typeof===w)return v(e,t,r,nX(t,n),a);av(t,n)}return null}return function(l,u,c,d){try{af=0;var y=function l(u,c,d,y){if("object"==typeof d&&null!==d&&d.type===m&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case f:e:{for(var b=d.key;null!==c;){if(c.key===b){if((b=d.type)===m){if(7===c.tag){r(u,c.sibling),(y=a(c,d.props.children)).return=u,u=y;break e}}else if(c.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===P&&au(b)===c.type){r(u,c.sibling),am(y=a(c,d.props),d),y.return=u,u=y;break e}r(u,c);break}t(u,c),c=c.sibling}d.type===m?(y=no(d.props.children,u.mode,y,d.key)).return=u:(am(y=na(d.type,d.key,d.props,null,u.mode,y),d),y.return=u),u=y}return i(u);case g:e:{for(b=d.key;null!==c;){if(c.key===b)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){r(u,c.sibling),(y=a(c,d.children||[])).return=u,u=y;break e}else{r(u,c);break}t(u,c),c=c.sibling}(y=nl(d,u.mode,y)).return=u,u=y}return i(u);case P:return l(u,c,d=au(d),y)}if(z(d))return function(a,i,s,l){for(var u=null,c=null,d=i,f=i=0,g=null;null!==d&&f<s.length;f++){d.index>f?(g=d,d=null):g=d.sibling;var m=h(a,d,s[f],l);if(null===m){null===d&&(d=g);break}e&&d&&null===m.alternate&&t(a,d),i=o(m,i,f),null===c?u=m:c.sibling=m,c=m,d=g}if(f===s.length)return r(a,d),nT&&nw(a,f),u;if(null===d){for(;f<s.length;f++)null!==(d=p(a,s[f],l))&&(i=o(d,i,f),null===c?u=d:c.sibling=d,c=d);return nT&&nw(a,f),u}for(d=n(d);f<s.length;f++)null!==(g=v(d,a,f,s[f],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?f:g.key),i=o(g,i,f),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),nT&&nw(a,f),u}(u,c,d,y);if(O(d)){if("function"!=typeof(b=O(d)))throw Error(s(150));return function(a,i,l,u){if(null==l)throw Error(s(151));for(var c=null,d=null,f=i,g=i=0,m=null,y=l.next();null!==f&&!y.done;g++,y=l.next()){f.index>g?(m=f,f=null):m=f.sibling;var b=h(a,f,y.value,u);if(null===b){null===f&&(f=m);break}e&&f&&null===b.alternate&&t(a,f),i=o(b,i,g),null===d?c=b:d.sibling=b,d=b,f=m}if(y.done)return r(a,f),nT&&nw(a,g),c;if(null===f){for(;!y.done;g++,y=l.next())null!==(y=p(a,y.value,u))&&(i=o(y,i,g),null===d?c=y:d.sibling=y,d=y);return nT&&nw(a,g),c}for(f=n(f);!y.done;g++,y=l.next())null!==(y=v(f,a,g,y.value,u))&&(e&&null!==y.alternate&&f.delete(null===y.key?g:y.key),i=o(y,i,g),null===d?c=y:d.sibling=y,d=y);return e&&f.forEach(function(e){return t(a,e)}),nT&&nw(a,g),c}(u,c,d=b.call(d),y)}if("function"==typeof d.then)return l(u,c,ag(d),y);if(d.$$typeof===w)return l(u,c,nX(u,d),y);av(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(r(u,c.sibling),(y=a(c,d)).return=u):(r(u,c),(y=ni(d,u.mode,y)).return=u),i(u=y)):r(u,c)}(l,u,c,d);return ah=null,y}catch(e){if(e===an||e===ao)throw e;var b=ne(29,e,null,l.mode);return b.lanes=d,b.return=l,b}finally{}}}var ab=ay(!0),aw=ay(!1),ak=!1;function ax(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aS(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aC(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aP(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&sI)){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=r6(e),r4(e,null,r),t}return r3(e,n,t,r),r6(e)}function aE(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,eR(e,r)}}function aT(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var i={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,r=r.next}while(null!==r);null===o?a=o=t:o=o.next=t}else a=o=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,callbacks:n.callbacks},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var aR=!1;function aO(){if(aR){var e=n4;if(null!==e)throw e}}function aj(e,t,r,n){aR=!1;var a=e.updateQueue;ak=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?o=u:i.next=u,i=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var d=a.baseState;for(i=0,c=u=l=null,s=o;;){var h=-0x20000001&s.lane,f=h!==s.lane;if(f?(sD&h)===h:(n&h)===h){0!==h&&h===n9&&(aR=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var g=e,m=s;switch(h=t,m.tag){case 1:if("function"==typeof(g=m.payload)){d=g.call(r,d,h);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=m.payload)?g.call(r,d,h):g))break e;d=p({},d,h);break e;case 2:ak=!0}}null!==(h=s.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=a.callbacks)?a.callbacks=[h]:f.push(h))}else f={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,i|=h;if(null===(s=s.next))if(null===(s=a.shared.pending))break;else s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),sK|=i,e.lanes=i,e.memoizedState=d}}function az(e,t){if("function"!=typeof e)throw Error(s(191,e));e.call(t)}function a_(e,t){var r=e.callbacks;if(null!==r)for(e.callbacks=null,e=0;e<r.length;e++)az(r[e],t)}var aN=M(null),aA=M(0);function aL(e,t){D(aA,e=sW),D(aN,t),sW=e|t.baseLanes}function aI(){D(aA,sW),D(aN,aN.current)}function aM(){sW=aA.current,F(aN),F(aA)}var aF=M(null),aD=null;function aB(e){var t=e.alternate;D(aW,1&aW.current),D(aF,e),null===aD&&(null===t||null!==aN.current?aD=e:null!==t.memoizedState&&(aD=e))}function a$(e){D(aW,aW.current),D(aF,e),null===aD&&(aD=e)}function aV(e){22===e.tag?(D(aW,aW.current),D(aF,e),null===aD&&(aD=e)):aU(e)}function aU(){D(aW,aW.current),D(aF,aF.current)}function aH(e){F(aF),aD===e&&(aD=null),F(aW)}var aW=M(0);function aq(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||uz(r)||u_(r)))return t}else if(19===t.tag&&("forwards"===t.memoizedProps.revealOrder||"backwards"===t.memoizedProps.revealOrder||"unstable_legacy-backwards"===t.memoizedProps.revealOrder||"together"===t.memoizedProps.revealOrder)){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aK=0,aG=null,aX=null,aY=null,aQ=!1,aZ=!1,aJ=!1,a0=0,a1=0,a2=null,a3=0;function a5(){throw Error(s(321))}function a9(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!rP(e[r],t[r]))return!1;return!0}function a4(e,t,r,n,a,o){return aK=o,aG=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_.H=null===e||null===e.memoizedState?ir:ia,aJ=!1,o=r(n,a),aJ=!1,aZ&&(o=a8(t,r,n,a)),a6(e),o}function a6(e){_.H=it;var t=null!==aX&&null!==aX.next;if(aK=0,aY=aX=aG=null,aQ=!1,a1=0,a2=null,t)throw Error(s(300));null===e||ik||null!==(e=e.dependencies)&&nq(e)&&(ik=!0)}function a8(e,t,r,n){aG=e;var a=0;do{if(aZ&&(a2=null),a1=0,aZ=!1,25<=a)throw Error(s(301));if(a+=1,aY=aX=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}_.H=io,o=t(r,n)}while(aZ);return o}function a7(){var e=_.H,t=e.useState()[0];return t="function"==typeof t.then?oi(t):t,e=e.useState()[0],(null!==aX?aX.memoizedState:null)!==e&&(aG.flags|=1024),t}function oe(){var e=0!==a0;return a0=0,e}function ot(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function or(e){if(aQ){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}aQ=!1}aK=0,aY=aX=aG=null,aZ=!1,a1=a0=0,a2=null}function on(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aY?aG.memoizedState=aY=e:aY=aY.next=e,aY}function oa(){if(null===aX){var e=aG.alternate;e=null!==e?e.memoizedState:null}else e=aX.next;var t=null===aY?aG.memoizedState:aY.next;if(null!==t)aY=t,aX=e;else{if(null===e){if(null===aG.alternate)throw Error(s(467));throw Error(s(310))}e={memoizedState:(aX=e).memoizedState,baseState:aX.baseState,baseQueue:aX.baseQueue,queue:aX.queue,next:null},null===aY?aG.memoizedState=aY=e:aY=aY.next=e}return aY}function oo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function oi(e){var t=a1;return a1+=1,null===a2&&(a2=[]),e=al(a2,e,t),t=aG,null===(null===aY?t.memoizedState:aY.next)&&(_.H=null===(t=t.alternate)||null===t.memoizedState?ir:ia),e}function os(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return oi(e);if(e.$$typeof===w)return nG(e)}throw Error(s(438,String(e)))}function ol(e){var t=null,r=aG.updateQueue;if(null!==r&&(t=r.memoCache),null==t){var n=aG.alternate;null!==n&&null!==(n=n.updateQueue)&&null!=(n=n.memoCache)&&(t={data:n.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===r&&(r=oo(),aG.updateQueue=r),r.memoCache=t,void 0===(r=t.data[t.index]))for(r=t.data[t.index]=Array(e),n=0;n<e;n++)r[n]=T;return t.index++,r}function ou(e,t){return"function"==typeof t?t(e):t}function oc(e){return od(oa(),aX,e)}function od(e,t,r){var n=e.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=r;var a=e.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,n.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var l=i=null,u=null,c=t,d=!1;do{var p=-0x20000001&c.lane;if(p!==c.lane?(sD&p)===p:(aK&p)===p){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===n9&&(d=!0);else if((aK&h)===h){c=c.next,h===n9&&(d=!0);continue}else p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,i=o):u=u.next=p,aG.lanes|=h,sK|=h;p=c.action,aJ&&r(o,p),o=c.hasEagerState?c.eagerState:r(o,p)}else h={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=h,i=o):u=u.next=h,aG.lanes|=p,sK|=p;c=c.next}while(null!==c&&c!==t);if(null===u?i=o:u.next=l,!rP(o,e.memoizedState)&&(ik=!0,d&&null!==(r=n4)))throw r;e.memoizedState=o,e.baseState=i,e.baseQueue=u,n.lastRenderedState=o}return null===a&&(n.lanes=0),[e.memoizedState,n.dispatch]}function op(e){var t=oa(),r=t.queue;if(null===r)throw Error(s(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(null!==a){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);rP(o,t.memoizedState)||(ik=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function oh(e,t,r){var n=aG,a=oa(),o=nT;if(o){if(void 0===r)throw Error(s(407));r=r()}else r=t();var i=!rP((aX||a).memoizedState,r);if(i&&(a.memoizedState=r,ik=!0),a=a.queue,oF(om.bind(null,n,a,e),[e]),a.getSnapshot!==t||i||null!==aY&&1&aY.memoizedState.tag){if(n.flags|=2048,oN(9,{destroy:void 0},og.bind(null,n,a,r,t),null),null===sM)throw Error(s(349));o||0!=(127&aK)||of(n,t,r)}return r}function of(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=aG.updateQueue)?(t=oo(),aG.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function og(e,t,r,n){t.value=r,t.getSnapshot=n,ov(t)&&oy(e)}function om(e,t,r){return r(function(){ov(t)&&oy(e)})}function ov(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!rP(e,r)}catch(e){return!0}}function oy(e){var t=r9(e,2);null!==t&&ls(t,e,2)}function ob(e){var t=on();if("function"==typeof e){var r=e;if(e=r(),aJ){ef(!0);try{r()}finally{ef(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:e},t}function ow(e,t,r,n){return e.baseState=r,od(e,aX,"function"==typeof n?n:ou)}function ok(e,t,r,n,a){if(o8(e))throw Error(s(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==_.T?r(!0):o.isTransition=!1,n(o),null===(r=t.pending)?(o.next=t.pending=o,ox(t,o)):(o.next=r.next,t.pending=r.next=o)}}function ox(e,t){var r=t.action,n=t.payload,a=e.state;if(t.isTransition){var o=_.T,i={};_.T=i;try{var s=r(a,n),l=_.S;null!==l&&l(i,s),oS(e,t,s)}catch(r){oP(e,t,r)}finally{null!==o&&null!==i.types&&(o.types=i.types),_.T=o}}else try{o=r(a,n),oS(e,t,o)}catch(r){oP(e,t,r)}}function oS(e,t,r){null!==r&&"object"==typeof r&&"function"==typeof r.then?r.then(function(r){oC(e,t,r)},function(r){return oP(e,t,r)}):oC(e,t,r)}function oC(e,t,r){t.status="fulfilled",t.value=r,oE(t),e.state=r,null!==(t=e.pending)&&((r=t.next)===t?e.pending=null:(r=r.next,t.next=r,ox(e,r)))}function oP(e,t,r){var n=e.pending;if(e.pending=null,null!==n){n=n.next;do t.status="rejected",t.reason=r,oE(t),t=t.next;while(t!==n)}e.action=null}function oE(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oT(e,t){return t}function oR(e,t){if(nT){var r=sM.formState;if(null!==r){e:{var n=aG;if(nT){if(nE){t:{for(var a=nE,o=nO;8!==a.nodeType;)if(!o||null===(a=uN(a.nextSibling))){a=null;break t}a="F!"===(o=a.data)||"F"===o?a:null}if(a){nE=uN(a.nextSibling),n="F!"===a.data;break e}}nz(n)}n=!1}n&&(t=r[0])}}return(r=on()).memoizedState=r.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oT,lastRenderedState:t},r.queue=n,r=o9.bind(null,aG,n),n.dispatch=r,n=ob(!1),o=o6.bind(null,aG,!1,n.queue),n=on(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,r=ok.bind(null,aG,a,o,r),a.dispatch=r,n.memoizedState=e,[t,r,!1]}function oO(e){return oj(oa(),aX,e)}function oj(e,t,r){if(t=od(e,t,oT)[0],e=oc(ou)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var n=oi(t)}catch(e){if(e===an)throw ao;throw e}else n=t;var a=(t=oa()).queue,o=a.dispatch;return r!==t.memoizedState&&(aG.flags|=2048,oN(9,{destroy:void 0},oz.bind(null,a,r),null)),[n,o,e]}function oz(e,t){e.action=t}function o_(e){var t=oa(),r=aX;if(null!==r)return oj(t,r,e);oa(),t=t.memoizedState;var n=(r=oa()).queue.dispatch;return r.memoizedState=e,[t,n,!1]}function oN(e,t,r,n){return e={tag:e,create:r,deps:n,inst:t,next:null},null===(t=aG.updateQueue)&&(t=oo(),aG.updateQueue=t),null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function oA(){return oa().memoizedState}function oL(e,t,r,n){var a=on();aG.flags|=e,a.memoizedState=oN(1|t,{destroy:void 0},r,void 0===n?null:n)}function oI(e,t,r,n){var a=oa();n=void 0===n?null:n;var o=a.memoizedState.inst;null!==aX&&null!==n&&a9(n,aX.memoizedState.deps)?a.memoizedState=oN(t,o,r,n):(aG.flags|=e,a.memoizedState=oN(1|t,o,r,n))}function oM(e,t){oL(8390656,8,e,t)}function oF(e,t){oI(2048,8,e,t)}function oD(e){var t=oa().memoizedState,r={ref:t,nextImpl:e};aG.flags|=4;var n=aG.updateQueue;if(null===n)n=oo(),aG.updateQueue=n,n.events=[r];else{var a=n.events;null===a?n.events=[r]:a.push(r)}return function(){if(0!=(2&sI))throw Error(s(440));return t.impl.apply(void 0,arguments)}}function oB(e,t){return oI(4,2,e,t)}function o$(e,t){return oI(4,4,e,t)}function oV(e,t){if("function"==typeof t){var r=t(e=e());return function(){"function"==typeof r?r():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oU(e,t,r){r=null!=r?r.concat([e]):null,oI(4,4,oV.bind(null,t,e),r)}function oH(){}function oW(e,t){var r=oa();t=void 0===t?null:t;var n=r.memoizedState;return null!==t&&a9(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function oq(e,t){var r=oa();t=void 0===t?null:t;var n=r.memoizedState;if(null!==t&&a9(t,n[1]))return n[0];if(n=e(),aJ){ef(!0);try{e()}finally{ef(!1)}}return r.memoizedState=[n,t],n}function oK(e,t,r){return void 0===r||0!=(0x40000000&aK)&&0==(261930&sD)?e.memoizedState=t:(e.memoizedState=r,e=li(),aG.lanes|=e,sK|=e,r)}function oG(e,t,r,n){return rP(r,t)?r:null!==aN.current?(rP(e=oK(e,r,n),t)||(ik=!0),e):0==(42&aK)||0!=(0x40000000&aK)&&0==(261930&sD)?(ik=!0,e.memoizedState=r):(e=li(),aG.lanes|=e,sK|=e,t)}function oX(e,t,r,n,a){var o=N.p;N.p=0!==o&&8>o?o:8;var i=_.T,s={};_.T=s,o6(e,!1,t,r);try{var l=a(),u=_.S;if(null!==u&&u(s,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,d,p=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){d.status="fulfilled",d.value=n;for(var e=0;e<c.length;e++)(0,c[e])(n)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);o4(e,t,p,lo(e))}else o4(e,t,n,lo(e))}catch(r){o4(e,t,{then:function(){},status:"rejected",reason:r},lo())}finally{N.p=o,null!==i&&null!==s.types&&(i.types=s.types),_.T=i}}function oY(){}function oQ(e,t,r,n){if(5!==e.tag)throw Error(s(476));var a=oZ(e).queue;oX(e,a,t,A,null===r?oY:function(){return oJ(e),r(n)})}function oZ(e){var t=e.memoizedState;if(null!==t)return t;var r={};return(t={memoizedState:A,baseState:A,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:A},next:null}).next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:r},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function oJ(e){var t=oZ(e);null===t.next&&(t=e.alternate.memoizedState),o4(e,t.next.queue,{},lo())}function o0(){return nG(ce)}function o1(){return oa().memoizedState}function o2(){return oa().memoizedState}function o3(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var r=lo(),n=aP(t,e=aC(r),r);null!==n&&(ls(n,t,r),aE(n,t,r)),t={cache:n1()},e.payload=t;return}t=t.return}}function o5(e,t,r){var n=lo();r={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},o8(e)?o7(t,r):null!==(r=r5(e,t,r,n))&&(ls(r,e,n),ie(r,t,n))}function o9(e,t,r){o4(e,t,r,lo())}function o4(e,t,r,n){var a={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(o8(e))o7(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,r);if(a.hasEagerState=!0,a.eagerState=s,rP(s,i))return r3(e,t,a,0),null===sM&&r2(),!1}catch(e){}finally{}if(null!==(r=r5(e,t,a,n)))return ls(r,e,n),ie(r,t,n),!0}return!1}function o6(e,t,r,n){if(n={lane:2,revertLane:lZ(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},o8(e)){if(t)throw Error(s(479))}else null!==(t=r5(e,r,n,2))&&ls(t,e,2)}function o8(e){var t=e.alternate;return e===aG||null!==t&&t===aG}function o7(e,t){aZ=aQ=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ie(e,t,r){if(0!=(4194048&r)){var n=t.lanes;n&=e.pendingLanes,t.lanes=r|=n,eR(e,r)}}var it={readContext:nG,use:os,useCallback:a5,useContext:a5,useEffect:a5,useImperativeHandle:a5,useLayoutEffect:a5,useInsertionEffect:a5,useMemo:a5,useReducer:a5,useRef:a5,useState:a5,useDebugValue:a5,useDeferredValue:a5,useTransition:a5,useSyncExternalStore:a5,useId:a5,useHostTransitionStatus:a5,useFormState:a5,useActionState:a5,useOptimistic:a5,useMemoCache:a5,useCacheRefresh:a5};it.useEffectEvent=a5;var ir={readContext:nG,use:os,useCallback:function(e,t){return on().memoizedState=[e,void 0===t?null:t],e},useContext:nG,useEffect:oM,useImperativeHandle:function(e,t,r){r=null!=r?r.concat([e]):null,oL(4194308,4,oV.bind(null,t,e),r)},useLayoutEffect:function(e,t){return oL(4194308,4,e,t)},useInsertionEffect:function(e,t){oL(4,2,e,t)},useMemo:function(e,t){var r=on();t=void 0===t?null:t;var n=e();if(aJ){ef(!0);try{e()}finally{ef(!1)}}return r.memoizedState=[n,t],n},useReducer:function(e,t,r){var n=on();if(void 0!==r){var a=r(t);if(aJ){ef(!0);try{r(t)}finally{ef(!1)}}}else a=t;return n.memoizedState=n.baseState=a,n.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=o5.bind(null,aG,e),[n.memoizedState,e]},useRef:function(e){return on().memoizedState={current:e}},useState:function(e){var t=(e=ob(e)).queue,r=o9.bind(null,aG,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:oH,useDeferredValue:function(e,t){return oK(on(),e,t)},useTransition:function(){var e=ob(!1);return e=oX.bind(null,aG,e.queue,!0,!1),on().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var n=aG,a=on();if(nT){if(void 0===r)throw Error(s(407));r=r()}else{if(r=t(),null===sM)throw Error(s(349));0!=(127&sD)||of(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,oM(om.bind(null,n,o,e),[e]),n.flags|=2048,oN(9,{destroy:void 0},og.bind(null,n,o,r,t),null),r},useId:function(){var e=on(),t=sM.identifierPrefix;if(nT){var r=nb,n=ny;t="_"+t+"R_"+(r=(n&~(1<<32-eg(n)-1)).toString(32)+r),0<(r=a0++)&&(t+="H"+r.toString(32)),t+="_"}else t="_"+t+"r_"+(r=a3++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:o0,useFormState:oR,useActionState:oR,useOptimistic:function(e){var t=on();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=o6.bind(null,aG,!0,r),r.dispatch=t,[e,t]},useMemoCache:ol,useCacheRefresh:function(){return on().memoizedState=o3.bind(null,aG)},useEffectEvent:function(e){var t=on(),r={impl:e};return t.memoizedState=r,function(){if(0!=(2&sI))throw Error(s(440));return r.impl.apply(void 0,arguments)}}},ia={readContext:nG,use:os,useCallback:oW,useContext:nG,useEffect:oF,useImperativeHandle:oU,useInsertionEffect:oB,useLayoutEffect:o$,useMemo:oq,useReducer:oc,useRef:oA,useState:function(){return oc(ou)},useDebugValue:oH,useDeferredValue:function(e,t){return oG(oa(),aX.memoizedState,e,t)},useTransition:function(){var e=oc(ou)[0],t=oa().memoizedState;return["boolean"==typeof e?e:oi(e),t]},useSyncExternalStore:oh,useId:o1,useHostTransitionStatus:o0,useFormState:oO,useActionState:oO,useOptimistic:function(e,t){return ow(oa(),aX,e,t)},useMemoCache:ol,useCacheRefresh:o2};ia.useEffectEvent=oD;var io={readContext:nG,use:os,useCallback:oW,useContext:nG,useEffect:oF,useImperativeHandle:oU,useInsertionEffect:oB,useLayoutEffect:o$,useMemo:oq,useReducer:op,useRef:oA,useState:function(){return op(ou)},useDebugValue:oH,useDeferredValue:function(e,t){var r=oa();return null===aX?oK(r,e,t):oG(r,aX.memoizedState,e,t)},useTransition:function(){var e=op(ou)[0],t=oa().memoizedState;return["boolean"==typeof e?e:oi(e),t]},useSyncExternalStore:oh,useId:o1,useHostTransitionStatus:o0,useFormState:o_,useActionState:o_,useOptimistic:function(e,t){var r=oa();return null!==aX?ow(r,aX,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:ol,useCacheRefresh:o2};function ii(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:p({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}io.useEffectEvent=oD;var is={enqueueSetState:function(e,t,r){e=e._reactInternals;var n=lo(),a=aC(n);a.payload=t,null!=r&&(a.callback=r),null!==(t=aP(e,a,n))&&(ls(t,e,n),aE(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=lo(),a=aC(n);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=aP(e,a,n))&&(ls(t,e,n),aE(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=lo(),n=aC(r);n.tag=2,null!=t&&(n.callback=t),null!==(t=aP(e,n,r))&&(ls(t,e,r),aE(t,e,r))}};function il(e,t,r,n,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,i):!t.prototype||!t.prototype.isPureReactComponent||!rE(r,n)||!rE(a,o)}function iu(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ic(e,t){var r=t;if("ref"in t)for(var n in r={},t)"ref"!==n&&(r[n]=t[n]);if(e=e.defaultProps)for(var a in r===t&&(r=p({},r)),e)void 0===r[a]&&(r[a]=e[a]);return r}function id(e){rZ(e)}function ip(e){console.error(e)}function ih(e){rZ(e)}function ig(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function im(e,t,r){try{(0,e.onCaughtError)(r.value,{componentStack:r.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iv(e,t,r){return(r=aC(r)).tag=3,r.payload={element:null},r.callback=function(){ig(e,t)},r}function iy(e){return(e=aC(e)).tag=3,e}function ib(e,t,r,n){var a=r.type.getDerivedStateFromError;if("function"==typeof a){var o=n.value;e.payload=function(){return a(o)},e.callback=function(){im(t,r,n)}}var i=r.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){im(t,r,n),"function"!=typeof a&&(null===s9?s9=new Set([this]):s9.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})})}var iw=Error(s(461)),ik=!1;function ix(e,t,r,n){t.child=null===e?aw(t,null,r,n):ab(t,e.child,r,n)}function iS(e,t,r,n,a){r=r.render;var o=t.ref;if("ref"in n){var i={};for(var s in n)"ref"!==s&&(i[s]=n[s])}else i=n;return(nK(t),n=a4(e,t,r,i,o,a),s=oe(),null===e||ik)?(nT&&s&&nx(t),t.flags|=1,ix(e,t,n,a),t.child):(ot(e,t,a),iq(e,t,a))}function iC(e,t,r,n,a){if(null===e){var o=r.type;return"function"!=typeof o||nt(o)||void 0!==o.defaultProps||null!==r.compare?((e=na(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,iP(e,t,o,n,a))}if(o=e.child,!iK(e,a)){var i=o.memoizedProps;if((r=null!==(r=r.compare)?r:rE)(i,n)&&e.ref===t.ref)return iq(e,t,a)}return t.flags|=1,(e=nr(o,n)).ref=t.ref,e.return=t,t.child=e}function iP(e,t,r,n,a){if(null!==e){var o=e.memoizedProps;if(rE(o,n)&&e.ref===t.ref)if(ik=!1,t.pendingProps=n=o,!iK(e,a))return t.lanes=e.lanes,iq(e,t,a);else 0!=(131072&e.flags)&&(ik=!0)}return i_(e,t,r,n,a)}function iE(e,t,r,n){var a=n.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===n.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|r:r,null!==e){for(a=0,n=t.child=e.child;null!==n;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~o}else n=0,t.child=null;return iR(e,t,o,r,n)}if(0==(0x20000000&r))return n=t.lanes=0x20000000,iR(e,t,null!==o?o.baseLanes|r:r,r,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&at(t,null!==o?o.cachePool:null),null!==o?aL(t,o):aI(),aV(t)}else null!==o?(at(t,o.cachePool),aL(t,o),aU(t),t.memoizedState=null):(null!==e&&at(t,null),aI(),aU(t));return ix(e,t,a,r),t.child}function iT(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iR(e,t,r,n,a){var o=ae();return t.memoizedState={baseLanes:r,cachePool:o=null===o?null:{parent:n0._currentValue,pool:o}},null!==e&&at(t,null),aI(),aV(t),null!==e&&nW(e,t,n,!0),t.childLanes=a,null}function iO(e,t){return(t=i$({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function ij(e,t,r){return ab(t,e.child,null,r),e=iO(t,t.pendingProps),e.flags|=2,aH(t),t.memoizedState=null,e}function iz(e,t){var r=t.ref;if(null===r)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof r&&"object"!=typeof r)throw Error(s(284));(null===e||e.ref!==r)&&(t.flags|=4194816)}}function i_(e,t,r,n,a){return(nK(t),r=a4(e,t,r,n,void 0,a),n=oe(),null===e||ik)?(nT&&n&&nx(t),t.flags|=1,ix(e,t,r,a),t.child):(ot(e,t,a),iq(e,t,a))}function iN(e,t,r,n,a,o){return(nK(t),t.updateQueue=null,r=a8(t,n,r,a),a6(e),n=oe(),null===e||ik)?(nT&&n&&nx(t),t.flags|=1,ix(e,t,r,o),t.child):(ot(e,t,o),iq(e,t,o))}function iA(e,t,r,n,a){if(nK(t),null===t.stateNode){var o=r8,i=r.contextType;"object"==typeof i&&null!==i&&(o=nG(i)),t.memoizedState=null!==(o=new r(n,o)).state&&void 0!==o.state?o.state:null,o.updater=is,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=n,o.state=t.memoizedState,o.refs={},ax(t),i=r.contextType,o.context="object"==typeof i&&null!==i?nG(i):r8,o.state=t.memoizedState,"function"==typeof(i=r.getDerivedStateFromProps)&&(ii(t,r,i,n),o.state=t.memoizedState),"function"==typeof r.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&is.enqueueReplaceState(o,o.state,null),aj(t,n,o,a),aO(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=ic(r,s);o.props=l;var u=o.context,c=r.contextType;i=r8,"object"==typeof c&&null!==c&&(i=nG(c));var d=r.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==i)&&iu(t,o,n,i),ak=!1;var p=t.memoizedState;o.state=p,aj(t,n,o,a),aO(),u=t.memoizedState,s||p!==u||ak?("function"==typeof d&&(ii(t,r,d,n),u=t.memoizedState),(l=ak||il(t,r,l,n,p,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),o.props=n,o.state=u,o.context=i,n=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,aS(e,t),c=ic(r,i=t.memoizedProps),o.props=c,d=t.pendingProps,p=o.context,u=r.contextType,l=r8,"object"==typeof u&&null!==u&&(l=nG(u)),(u="function"==typeof(s=r.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||p!==l)&&iu(t,o,n,l),ak=!1,p=t.memoizedState,o.state=p,aj(t,n,o,a),aO();var h=t.memoizedState;i!==d||p!==h||ak||null!==e&&null!==e.dependencies&&nq(e.dependencies)?("function"==typeof s&&(ii(t,r,s,n),h=t.memoizedState),(c=ak||il(t,r,c,n,p,h,l)||null!==e&&null!==e.dependencies&&nq(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(n,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),o.props=n,o.state=h,o.context=l,n=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return o=n,iz(e,t),n=0!=(128&t.flags),o||n?(o=t.stateNode,r=n&&"function"!=typeof r.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&n?(t.child=ab(t,e.child,null,a),t.child=ab(t,null,r,a)):ix(e,t,r,a),t.memoizedState=o.state,e=t.child):e=iq(e,t,a),e}function iL(e,t,r,n){return nL(),t.flags|=256,ix(e,t,r,n),t.child}var iI={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iM(e){return{baseLanes:e,cachePool:ar()}}function iF(e,t,r){return e=null!==e?e.childLanes&~r:0,t&&(e|=sY),e}function iD(e,t,r){var n,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((n=i)||(n=(null===e||null!==e.memoizedState)&&0!=(2&aW.current)),n&&(o=!0,t.flags&=-129),n=0!=(32&t.flags),t.flags&=-33,null===e){if(nT){if(o?aB(t):aU(t),(e=nE)?null!==(e=null!==(e=uj(e,nO))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==nv?{id:ny,overflow:nb}:null,retryLane:0x20000000,hydrationErrors:null},(r=ns(e)).return=t,t.child=r,nP=t,nE=null):e=null,null===e)throw nz(t);return u_(e)?t.lanes=32:t.lanes=0x20000000,null}var l=a.children;return(a=a.fallback,o)?(aU(t),l=i$({mode:"hidden",children:l},o=t.mode),a=no(a,o,r,null),l.return=t,a.return=t,l.sibling=a,t.child=l,(a=t.child).memoizedState=iM(r),a.childLanes=iF(e,n,r),t.memoizedState=iI,iT(null,a)):(aB(t),iB(t,l))}var u=e.memoizedState;if(null!==u&&null!==(l=u.dehydrated)){if(i)256&t.flags?(aB(t),t.flags&=-257,t=iV(e,t,r)):null!==t.memoizedState?(aU(t),t.child=e.child,t.flags|=128,t=null):(aU(t),l=a.fallback,o=t.mode,a=i$({mode:"visible",children:a.children},o),l=no(l,o,r,null),l.flags|=2,a.return=t,l.return=t,a.sibling=l,t.child=a,ab(t,e.child,null,r),(a=t.child).memoizedState=iM(r),a.childLanes=iF(e,n,r),t.memoizedState=iI,t=iT(null,a));else if(aB(t),u_(l)){if(n=l.nextSibling&&l.nextSibling.dataset)var c=n.dgst;n=c,(a=Error(s(419))).stack="",a.digest=n,nM({value:a,source:null,stack:null}),t=iV(e,t,r)}else if(ik||nW(e,t,r,!1),n=0!=(r&e.childLanes),ik||n){if(null!==(n=sM)&&0!==(a=eO(n,r))&&a!==u.retryLane)throw u.retryLane=a,r9(e,a),ls(n,e,a),iw;uz(l)||ly(),t=iV(e,t,r)}else uz(l)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,nE=uN(l.nextSibling),nP=t,nT=!0,nR=null,nO=!1,null!==e&&nC(t,e),t=iB(t,a.children),t.flags|=4096);return t}return o?(aU(t),l=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=nr(u,{mode:"hidden",children:a.children})).subtreeFlags=0x3e00000&u.subtreeFlags,null!==c?l=nr(c,l):(l=no(l,o,r,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,iT(null,a),a=t.child,null===(l=e.child.memoizedState)?l=iM(r):(null!==(o=l.cachePool)?(u=n0._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=ar(),l={baseLanes:l.baseLanes|r,cachePool:o}),a.memoizedState=l,a.childLanes=iF(e,n,r),t.memoizedState=iI,iT(e.child,a)):(aB(t),e=(r=e.child).sibling,(r=nr(r,{mode:"visible",children:a.children})).return=t,r.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r)}function iB(e,t){return(t=i$({mode:"visible",children:t},e.mode)).return=e,e.child=t}function i$(e,t){return(e=ne(22,e,null,t)).lanes=0,e}function iV(e,t,r){return ab(t,e.child,null,r),e=iB(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iU(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),nU(e.return,t,r)}function iH(e,t,r,n,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=a,i.treeForkCount=o)}function iW(e,t,r){var n=t.pendingProps,a=n.revealOrder,o=n.tail;n=n.children;var i=aW.current,s=0!=(2&i);if(s?(i=1&i|2,t.flags|=128):i&=1,D(aW,i),ix(e,t,n,r),n=nT?nf:0,!s&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iU(e,r,t);else if(19===e.tag)iU(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(a=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===aq(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),iH(t,!1,a,r,o,n);break;case"backwards":case"unstable_legacy-backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===aq(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}iH(t,!0,r,null,o,n);break;case"together":iH(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function iq(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),sK|=t.lanes,0==(r&t.childLanes)){if(null===e)return null;else if(nW(e,t,r,!1),0==(r&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(r=nr(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=nr(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function iK(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&nq(e))}function iG(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps)ik=!0;else{if(!iK(e,r)&&0==(128&t.flags))return ik=!1,function(e,t,r){switch(t.tag){case 3:H(t,t.stateNode.containerInfo),n$(t,n0,e.memoizedState.cache),nL();break;case 27:case 5:q(t);break;case 4:H(t,t.stateNode.containerInfo);break;case 10:n$(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,a$(t),null;break;case 13:var n=t.memoizedState;if(null!==n){if(null!==n.dehydrated)return aB(t),t.flags|=128,null;if(0!=(r&t.child.childLanes))return iD(e,t,r);return aB(t),null!==(e=iq(e,t,r))?e.sibling:null}aB(t);break;case 19:var a=0!=(128&e.flags);if((n=0!=(r&t.childLanes))||(nW(e,t,r,!1),n=0!=(r&t.childLanes)),a){if(n)return iW(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),D(aW,aW.current),!n)return null;break;case 22:return t.lanes=0,iE(e,t,r,t.pendingProps);case 24:n$(t,n0,e.memoizedState.cache)}return iq(e,t,r)}(e,t,r);ik=0!=(131072&e.flags)}else ik=!1,nT&&0!=(1048576&t.flags)&&nk(t,nf,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=au(t.elementType),t.type=e,"function"==typeof e)nt(e)?(n=ic(e,n),t.tag=1,t=iA(null,t,e,n,r)):(t.tag=0,t=i_(null,t,e,n,r));else{if(null!=e){var a=e.$$typeof;if(a===k){t.tag=11,t=iS(null,t,e,n,r);break e}if(a===C){t.tag=14,t=iC(null,t,e,n,r);break e}}throw Error(s(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===j?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case m:return"Fragment";case y:return"Profiler";case v:return"StrictMode";case x:return"Suspense";case S:return"SuspenseList";case E:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case g:return"Portal";case w:return t.displayName||"Context";case b:return(t._context.displayName||"Context")+".Consumer";case k:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case C:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case P:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return i_(e,t,t.type,t.pendingProps,r);case 1:return a=ic(n=t.type,t.pendingProps),iA(e,t,n,a,r);case 3:e:{if(H(t,t.stateNode.containerInfo),null===e)throw Error(s(387));n=t.pendingProps;var o=t.memoizedState;a=o.element,aS(e,t),aj(t,n,null,r);var i=t.memoizedState;if(n$(t,n0,n=i.cache),n!==o.cache&&nH(t,[n0],r,!0),aO(),n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=iL(e,t,n,r);break e}else if(n!==a){nM(a=nc(Error(s(424)),t)),t=iL(e,t,n,r);break e}else for(nE=uN((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),nP=t,nT=!0,nR=null,nO=!0,r=aw(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling;else{if(nL(),n===a){t=iq(e,t,r);break e}ix(e,t,n,r)}t=t.child}return t;case 26:return iz(e,t),null===e?(r=uW(t.type,null,t.pendingProps,null))?t.memoizedState=r:nT||(r=t.type,e=t.pendingProps,(n=um(V.current).createElement(r))[eL]=t,n[eI]=e,up(n,r,e),eG(n),t.stateNode=n):t.memoizedState=uW(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return q(t),null===e&&nT&&(n=t.stateNode=uM(t.type,t.pendingProps,V.current),nP=t,nO=!0,a=nE,uE(t.type)?(uA=a,nE=uN(n.firstChild)):nE=a),ix(e,t,t.pendingProps.children,r),iz(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&nT&&((a=n=nE)&&(null!==(n=function(e,t,r,n){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(n){if(!e[eV])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==r.rel||e.getAttribute("href")!==(null==r.href||""===r.href?null:r.href)||e.getAttribute("crossorigin")!==(null==r.crossOrigin?null:r.crossOrigin)||e.getAttribute("title")!==(null==r.title?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==r.src?null:r.src)||e.getAttribute("type")!==(null==r.type?null:r.type)||e.getAttribute("crossorigin")!==(null==r.crossOrigin?null:r.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==r.name?null:""+r.name;if("hidden"===r.type&&e.getAttribute("name")===a)return e}if(null===(e=uN(e.nextSibling)))break}return null}(n,t.type,t.pendingProps,nO))?(t.stateNode=n,nP=t,nE=uN(n.firstChild),nO=!1,a=!0):a=!1),a||nz(t)),q(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,n=o.children,ub(a,o)?n=null:null!==i&&ub(a,i)&&(t.flags|=32),null!==t.memoizedState&&(ce._currentValue=a=a4(e,t,a7,null,null,r)),iz(e,t),ix(e,t,n,r),t.child;case 6:return null===e&&nT&&((e=r=nE)&&(null!==(r=function(e,t,r){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!r||null===(e=uN(e.nextSibling)))return null;return e}(r,t.pendingProps,nO))?(t.stateNode=r,nP=t,nE=null,e=!0):e=!1),e||nz(t)),null;case 13:return iD(e,t,r);case 4:return H(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=ab(t,null,n,r):ix(e,t,n,r),t.child;case 11:return iS(e,t,t.type,t.pendingProps,r);case 7:return ix(e,t,t.pendingProps,r),t.child;case 8:case 12:return ix(e,t,t.pendingProps.children,r),t.child;case 10:return n=t.pendingProps,n$(t,t.type,n.value),ix(e,t,n.children,r),t.child;case 9:return a=t.type._context,n=t.pendingProps.children,nK(t),n=n(a=nG(a)),t.flags|=1,ix(e,t,n,r),t.child;case 14:return iC(e,t,t.type,t.pendingProps,r);case 15:return iP(e,t,t.type,t.pendingProps,r);case 19:return iW(e,t,r);case 31:var l=e,u=t,c=r,d=u.pendingProps,p=0!=(128&u.flags);if(u.flags&=-129,null===l){if(nT){if("hidden"===d.mode)return l=iO(u,d),u.lanes=0x20000000,iT(null,l);if(a$(u),(l=nE)?null!==(l=null!==(l=uj(l,nO))&&"&"===l.data?l:null)&&(u.memoizedState={dehydrated:l,treeContext:null!==nv?{id:ny,overflow:nb}:null,retryLane:0x20000000,hydrationErrors:null},(c=ns(l)).return=u,u.child=c,nP=u,nE=null):l=null,null===l)throw nz(u);return u.lanes=0x20000000,null}return iO(u,d)}var h=l.memoizedState;if(null!==h){var f=h.dehydrated;if(a$(u),p)if(256&u.flags)u.flags&=-257,u=ij(l,u,c);else if(null!==u.memoizedState)u.child=l.child,u.flags|=128,u=null;else throw Error(s(558));else if(ik||nW(l,u,c,!1),p=0!=(c&l.childLanes),ik||p){if(null!==(d=sM)&&0!==(f=eO(d,c))&&f!==h.retryLane)throw h.retryLane=f,r9(l,f),ls(d,l,f),iw;ly(),u=ij(l,u,c)}else l=h.treeContext,nE=uN(f.nextSibling),nP=u,nT=!0,nR=null,nO=!1,null!==l&&nC(u,l),u=iO(u,d),u.flags|=4096;return u}return(l=nr(l.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=l,l.return=u,l;case 22:return iE(e,t,r,t.pendingProps);case 24:return nK(t),n=nG(n0),null===e?(null===(a=ae())&&(a=sM,o=n1(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=r),a=o),t.memoizedState={parent:n,cache:a},ax(t),n$(t,n0,a)):(0!=(e.lanes&r)&&(aS(e,t),aj(t,null,null,r),aO()),a=e.memoizedState,o=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),n$(t,n0,n)):(n$(t,n0,n=o.cache),n!==a.cache&&nH(t,[n0],r,!0))),ix(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function iX(e){e.flags|=4}function iY(e,t,r,n,a){if((t=0!=(32&e.mode))&&(t=!1),t){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(lg())e.flags|=8192;else throw ac=ai,aa}else e.flags&=-0x1000001}function iQ(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!u5(t))if(lg())e.flags|=8192;else throw ac=ai,aa}function iZ(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eC():0x20000000,e.lanes|=t,sQ|=t)}function iJ(e,t){if(!nT)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function i0(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=0x3e00000&a.subtreeFlags,n|=0x3e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function i1(e,t){switch(nS(t),t.tag){case 3:nV(n0),W();break;case 26:case 27:case 5:K(t);break;case 4:W();break;case 31:null!==t.memoizedState&&aH(t);break;case 13:aH(t);break;case 19:F(aW);break;case 10:nV(t.type);break;case 22:case 23:aH(t),aM(),null!==e&&F(n7);break;case 24:nV(n0)}}function i2(e,t){try{var r=t.updateQueue,n=null!==r?r.lastEffect:null;if(null!==n){var a=n.next;r=a;do{if((r.tag&e)===e){n=void 0;var o=r.create;r.inst.destroy=n=o()}r=r.next}while(r!==a)}}catch(e){lN(t,t.return,e)}}function i3(e,t,r){try{var n=t.updateQueue,a=null!==n?n.lastEffect:null;if(null!==a){var o=a.next;n=o;do{if((n.tag&e)===e){var i=n.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,a=t;try{s()}catch(e){lN(a,r,e)}}}n=n.next}while(n!==o)}}catch(e){lN(t,t.return,e)}}function i5(e){var t=e.updateQueue;if(null!==t){var r=e.stateNode;try{a_(t,r)}catch(t){lN(e,e.return,t)}}}function i9(e,t,r){r.props=ic(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(r){lN(e,t,r)}}function i4(e,t){try{var r=e.ref;if(null!==r){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;default:n=e.stateNode}"function"==typeof r?e.refCleanup=r(n):r.current=n}}catch(r){lN(e,t,r)}}function i6(e,t){var r=e.ref,n=e.refCleanup;if(null!==r)if("function"==typeof n)try{n()}catch(r){lN(e,t,r)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof r)try{r(null)}catch(r){lN(e,t,r)}else r.current=null}function i8(e){var t=e.type,r=e.memoizedProps,n=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&n.focus();break;case"img":r.src?n.src=r.src:r.srcSet&&(n.srcset=r.srcSet)}}catch(t){lN(e,e.return,t)}}function i7(e,t,r){try{var n=e.stateNode;(function(e,t,r,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,i=null,l=null,u=null,c=null,d=null;for(f in r){var p=r[f];if(r.hasOwnProperty(f)&&null!=p)switch(f){case"checked":case"value":break;case"defaultValue":u=p;default:n.hasOwnProperty(f)||uc(e,t,f,null,n,p)}}for(var h in n){var f=n[h];if(p=r[h],n.hasOwnProperty(h)&&(null!=f||null!=p))switch(h){case"type":o=f;break;case"name":a=f;break;case"checked":c=f;break;case"defaultChecked":d=f;break;case"value":i=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(s(137,t));break;default:f!==p&&uc(e,t,h,f,n,p)}}tr(e,i,l,u,c,d,o,a);return;case"select":for(o in f=i=l=h=null,r)if(u=r[o],r.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":f=u;default:n.hasOwnProperty(o)||uc(e,t,o,null,n,u)}for(a in n)if(o=n[a],u=r[a],n.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":h=o;break;case"defaultValue":l=o;break;case"multiple":i=o;default:o!==u&&uc(e,t,a,o,n,u)}t=l,r=i,n=f,null!=h?to(e,!!r,h,!1):!!n!=!!r&&(null!=t?to(e,!!r,t,!0):to(e,!!r,r?[]:"",!1));return;case"textarea":for(l in f=h=null,r)if(a=r[l],r.hasOwnProperty(l)&&null!=a&&!n.hasOwnProperty(l))switch(l){case"value":case"children":break;default:uc(e,t,l,null,n,a)}for(i in n)if(a=n[i],o=r[i],n.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":h=a;break;case"defaultValue":f=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(s(91));break;default:a!==o&&uc(e,t,i,a,n,o)}ti(e,h,f);return;case"option":for(var g in r)h=r[g],r.hasOwnProperty(g)&&null!=h&&!n.hasOwnProperty(g)&&("selected"===g?e.selected=!1:uc(e,t,g,null,n,h));for(u in n)h=n[u],f=r[u],n.hasOwnProperty(u)&&h!==f&&(null!=h||null!=f)&&("selected"===u?e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h:uc(e,t,u,h,n,f));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in r)h=r[m],r.hasOwnProperty(m)&&null!=h&&!n.hasOwnProperty(m)&&uc(e,t,m,null,n,h);for(c in n)if(h=n[c],f=r[c],n.hasOwnProperty(c)&&h!==f&&(null!=h||null!=f))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(s(137,t));break;default:uc(e,t,c,h,n,f)}return;default:if(tp(t)){for(var v in r)h=r[v],r.hasOwnProperty(v)&&void 0!==h&&!n.hasOwnProperty(v)&&ud(e,t,v,void 0,n,h);for(d in n)h=n[d],f=r[d],n.hasOwnProperty(d)&&h!==f&&(void 0!==h||void 0!==f)&&ud(e,t,d,h,n,f);return}}for(var y in r)h=r[y],r.hasOwnProperty(y)&&null!=h&&!n.hasOwnProperty(y)&&uc(e,t,y,null,n,h);for(p in n)h=n[p],f=r[p],n.hasOwnProperty(p)&&h!==f&&(null!=h||null!=f)&&uc(e,t,p,h,n,f)})(n,e.type,r,t),n[eI]=t}catch(t){lN(e,e.return,t)}}function se(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&uE(e.type)||4===e.tag}function st(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||se(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&uE(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function sr(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&(27===n&&uE(e.type)&&(r=e.stateNode),null!==(e=e.child)))for(sr(e,t,r),e=e.sibling;null!==e;)sr(e,t,r),e=e.sibling}function sn(e){var t=e.stateNode,r=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);up(t,n,r),t[eL]=e,t[eI]=r}catch(t){lN(e,e.return,t)}}var sa=!1,so=!1,si=!1,ss="function"==typeof WeakSet?WeakSet:Set,sl=null;function su(e,t,r){var n=r.flags;switch(r.tag){case 0:case 11:case 15:sk(e,r),4&n&&i2(5,r);break;case 1:if(sk(e,r),4&n)if(e=r.stateNode,null===t)try{e.componentDidMount()}catch(e){lN(r,r.return,e)}else{var a=ic(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){lN(r,r.return,e)}}64&n&&i5(r),512&n&&i4(r,r.return);break;case 3:if(sk(e,r),64&n&&null!==(e=r.updateQueue)){if(t=null,null!==r.child)switch(r.child.tag){case 27:case 5:case 1:t=r.child.stateNode}try{a_(e,t)}catch(e){lN(r,r.return,e)}}break;case 27:null===t&&4&n&&sn(r);case 26:case 5:sk(e,r),null===t&&4&n&&i8(r),512&n&&i4(r,r.return);break;case 12:default:sk(e,r);break;case 31:sk(e,r),4&n&&sf(e,r);break;case 13:sk(e,r),4&n&&sg(e,r),64&n&&null!==(e=r.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var r=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==r.readyState)t();else{var n=function(){t(),r.removeEventListener("DOMContentLoaded",n)};r.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}(e,r=lM.bind(null,r));break;case 22:if(!(n=null!==r.memoizedState||sa)){t=null!==t&&null!==t.memoizedState||so,a=sa;var o=so;sa=n,(so=t)&&!o?function e(t,r,n){for(n=n&&0!=(8772&r.subtreeFlags),r=r.child;null!==r;){var a=r.alternate,o=t,i=r,s=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,n),i2(4,i);break;case 1:if(e(o,i,n),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){lN(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var l=a.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)az(u[o],l)}catch(e){lN(a,a.return,e)}}n&&64&s&&i5(i),i4(i,i.return);break;case 27:sn(i);case 26:case 5:e(o,i,n),n&&null===a&&4&s&&i8(i),i4(i,i.return);break;case 12:default:e(o,i,n);break;case 31:e(o,i,n),n&&4&s&&sf(o,i);break;case 13:e(o,i,n),n&&4&s&&sg(o,i);break;case 22:null===i.memoizedState&&e(o,i,n),i4(i,i.return);case 30:}r=r.sibling}}(e,r,0!=(8772&r.subtreeFlags)):sk(e,r),sa=a,so=o}case 30:}}var sc=null,sd=!1;function sp(e,t,r){for(r=r.child;null!==r;)sh(e,t,r),r=r.sibling}function sh(e,t,r){if(eh&&"function"==typeof eh.onCommitFiberUnmount)try{eh.onCommitFiberUnmount(ep,r)}catch(e){}switch(r.tag){case 26:so||i6(r,t),sp(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode).parentNode.removeChild(r);break;case 27:so||i6(r,t);var n=sc,a=sd;uE(r.type)&&(sc=r.stateNode,sd=!1),sp(e,t,r),uF(r.stateNode),sc=n,sd=a;break;case 5:so||i6(r,t);case 6:if(n=sc,a=sd,sc=null,sp(e,t,r),sc=n,sd=a,null!==sc)if(sd)try{(9===sc.nodeType?sc.body:"HTML"===sc.nodeName?sc.ownerDocument.body:sc).removeChild(r.stateNode)}catch(e){lN(r,t,e)}else try{sc.removeChild(r.stateNode)}catch(e){lN(r,t,e)}break;case 18:null!==sc&&(sd?(uT(9===(e=sc).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,r.stateNode),c_(e)):uT(sc,r.stateNode));break;case 4:n=sc,a=sd,sc=r.stateNode.containerInfo,sd=!0,sp(e,t,r),sc=n,sd=a;break;case 0:case 11:case 14:case 15:i3(2,r,t),so||i3(4,r,t),sp(e,t,r);break;case 1:so||(i6(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount&&i9(r,t,n)),sp(e,t,r);break;case 21:default:sp(e,t,r);break;case 22:so=(n=so)||null!==r.memoizedState,sp(e,t,r),so=n}}function sf(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{c_(e)}catch(e){lN(t,t.return,e)}}}function sg(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{c_(e)}catch(e){lN(t,t.return,e)}}function sm(e,t){var r=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new ss),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new ss),t;default:throw Error(s(435,e.tag))}}(e);t.forEach(function(t){if(!r.has(t)){r.add(t);var n=lF.bind(null,e,t);t.then(n,n)}})}function sv(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var a=r[n],o=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 27:if(uE(l.type)){sc=l.stateNode,sd=!1;break e}break;case 5:sc=l.stateNode,sd=!1;break e;case 3:case 4:sc=l.stateNode.containerInfo,sd=!0;break e}l=l.return}if(null===sc)throw Error(s(160));sh(o,i,a),sc=null,sd=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)sb(t,e),t=t.sibling}var sy=null;function sb(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sv(t,e),sw(e),4&n&&(i3(3,e,e.return),i2(3,e),i3(5,e,e.return));break;case 1:sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),64&n&&sa&&null!==(e=e.updateQueue)&&null!==(n=e.callbacks)&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===r?n:r.concat(n));break;case 26:var a=sy;if(sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),4&n){var o=null!==r?r.memoizedState:null;if(n=e.memoizedState,null===r)if(null===n)if(null===e.stateNode){e:{n=e.type,r=e.memoizedProps,a=a.ownerDocument||a;t:switch(n){case"title":(!(o=a.getElementsByTagName("title")[0])||o[eV]||o[eL]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(n),a.head.insertBefore(o,a.querySelector("head > title"))),up(o,n,r),o[eL]=e,eG(o),n=o;break e;case"link":var i=u2("link","href",a).get(n+(r.href||""));if(i){for(var l=0;l<i.length;l++)if((o=i[l]).getAttribute("href")===(null==r.href||""===r.href?null:r.href)&&o.getAttribute("rel")===(null==r.rel?null:r.rel)&&o.getAttribute("title")===(null==r.title?null:r.title)&&o.getAttribute("crossorigin")===(null==r.crossOrigin?null:r.crossOrigin)){i.splice(l,1);break t}}up(o=a.createElement(n),n,r),a.head.appendChild(o);break;case"meta":if(i=u2("meta","content",a).get(n+(r.content||""))){for(l=0;l<i.length;l++)if((o=i[l]).getAttribute("content")===(null==r.content?null:""+r.content)&&o.getAttribute("name")===(null==r.name?null:r.name)&&o.getAttribute("property")===(null==r.property?null:r.property)&&o.getAttribute("http-equiv")===(null==r.httpEquiv?null:r.httpEquiv)&&o.getAttribute("charset")===(null==r.charSet?null:r.charSet)){i.splice(l,1);break t}}up(o=a.createElement(n),n,r),a.head.appendChild(o);break;default:throw Error(s(468,n))}o[eL]=e,eG(o),n=o}e.stateNode=n}else u3(a,e.type,e.stateNode);else e.stateNode=uQ(a,n,e.memoizedProps);else o!==n?(null===o?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):o.count--,null===n?u3(a,e.type,e.stateNode):uQ(a,n,e.memoizedProps)):null===n&&null!==e.stateNode&&i7(e,e.memoizedProps,r.memoizedProps)}break;case 27:sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),null!==r&&4&n&&i7(e,e.memoizedProps,r.memoizedProps);break;case 5:if(sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),32&e.flags){a=e.stateNode;try{tl(a,"")}catch(t){lN(e,e.return,t)}}4&n&&null!=e.stateNode&&(a=e.memoizedProps,i7(e,a,null!==r?r.memoizedProps:a)),1024&n&&(si=!0);break;case 6:if(sv(t,e),sw(e),4&n){if(null===e.stateNode)throw Error(s(162));n=e.memoizedProps,r=e.stateNode;try{r.nodeValue=n}catch(t){lN(e,e.return,t)}}break;case 3:if(u1=null,a=sy,sy=u$(t.containerInfo),sv(t,e),sy=a,sw(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{c_(t.containerInfo)}catch(t){lN(e,e.return,t)}si&&(si=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var r=t;e(r),5===r.tag&&1024&r.flags&&r.stateNode.reset(),t=t.sibling}}(e));break;case 4:n=sy,sy=u$(e.stateNode.containerInfo),sv(t,e),sw(e),sy=n;break;case 12:default:sv(t,e),sw(e);break;case 31:case 19:sv(t,e),sw(e),4&n&&null!==(n=e.updateQueue)&&(e.updateQueue=null,sm(e,n));break;case 13:sv(t,e),sw(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(s1=en()),4&n&&null!==(n=e.updateQueue)&&(e.updateQueue=null,sm(e,n));break;case 22:a=null!==e.memoizedState;var u=null!==r&&null!==r.memoizedState,c=sa,d=so;if(sa=c||a,so=d||u,sv(t,e),so=d,sa=c,sw(e),8192&n)e:for((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===r||u||sa||so||function e(t){for(t=t.child;null!==t;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:i3(4,r,r.return),e(r);break;case 1:i6(r,r.return);var n=r.stateNode;"function"==typeof n.componentWillUnmount&&i9(r,r.return,n),e(r);break;case 27:uF(r.stateNode);case 26:case 5:i6(r,r.return),e(r);break;case 22:null===r.memoizedState&&e(r);break;default:e(r)}t=t.sibling}}(e)),r=null,t=e;;){if(5===t.tag||26===t.tag){if(null===r){u=r=t;try{if(o=u.stateNode,a)i=o.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none";else{l=u.stateNode;var p=u.memoizedProps.style,h=null!=p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==h||"boolean"==typeof h?"":(""+h).trim()}}catch(e){lN(u,u.return,e)}}}else if(6===t.tag){if(null===r){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){lN(u,u.return,e)}}}else if(18===t.tag){if(null===r){u=t;try{var f=u.stateNode;a?uR(f,!0):uR(u.stateNode,!1)}catch(e){lN(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}4&n&&null!==(n=e.updateQueue)&&null!==(r=n.retryQueue)&&(n.retryQueue=null,sm(e,r));case 30:case 21:}}function sw(e){var t=e.flags;if(2&t){try{for(var r,n=e.return;null!==n;){if(se(n)){r=n;break}n=n.return}if(null==r)throw Error(s(160));switch(r.tag){case 27:var a=r.stateNode,o=st(e);sr(e,o,a);break;case 5:var i=r.stateNode;32&r.flags&&(tl(i,""),r.flags&=-33);var l=st(e);sr(e,l,i);break;case 3:case 4:var u=r.stateNode.containerInfo,c=st(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(t,r):((r=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(t),null!=(n=n._reactRootContainer)||null!==r.onclick||(r.onclick=tm));else if(4!==a&&(27===a&&uE(t.type)&&(n=t.stateNode,r=null),null!==(t=t.child)))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,c,u);break;default:throw Error(s(161))}}catch(t){lN(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sk(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)su(e,t.alternate,t),t=t.sibling}function sx(e,t){var r=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==r&&(null!=e&&e.refCount++,null!=r&&n2(r))}function sS(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&n2(e))}function sC(e,t,r,n){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)sP(e,t,r,n),t=t.sibling}function sP(e,t,r,n){var a=t.flags;switch(t.tag){case 0:case 11:case 15:sC(e,t,r,n),2048&a&&i2(9,t);break;case 1:case 31:case 13:default:sC(e,t,r,n);break;case 3:sC(e,t,r,n),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&n2(e)));break;case 12:if(2048&a){sC(e,t,r,n),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,s=o.onPostCommit;"function"==typeof s&&s(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){lN(t,t.return,e)}}else sC(e,t,r,n);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?sC(e,t,r,n):sE(e,t):2&o._visibility?sC(e,t,r,n):(o._visibility|=2,function e(t,r,n,a,o){for(o=o&&0!=(10256&r.subtreeFlags),r=r.child;null!==r;){var i=r,s=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,n,a,o),i2(8,i);break;case 23:break;case 22:var l=i.stateNode;null!==i.memoizedState?2&l._visibility?e(t,i,n,a,o):sE(t,i):(l._visibility|=2,e(t,i,n,a,o)),o&&2048&s&&sx(i.alternate,i);break;case 24:e(t,i,n,a,o),o&&2048&s&&sS(i.alternate,i);break;default:e(t,i,n,a,o)}r=r.sibling}}(e,t,r,n,0!=(10256&t.subtreeFlags))),2048&a&&sx(i,t);break;case 24:sC(e,t,r,n),2048&a&&sS(t.alternate,t)}}function sE(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var r=t,n=r.flags;switch(r.tag){case 22:sE(e,r),2048&n&&sx(r.alternate,r);break;case 24:sE(e,r),2048&n&&sS(r.alternate,r);break;default:sE(e,r)}t=t.sibling}}var sT=8192;function sR(e,t,r){if(e.subtreeFlags&sT)for(e=e.child;null!==e;)sO(e,t,r),e=e.sibling}function sO(e,t,r){switch(e.tag){case 26:sR(e,t,r),e.flags&sT&&null!==e.memoizedState&&function(e,t,r,n){if("stylesheet"===r.type&&("string"!=typeof n.media||!1!==matchMedia(n.media).matches)&&0==(4&r.state.loading)){if(null===r.instance){var a=uq(n.href),o=t.querySelector(uK(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=u4.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=o,eG(o);return}o=t.ownerDocument||t,n=uG(n),(a=uD.get(a))&&uJ(n,a),eG(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),up(o,"link",n),r.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&0==(3&r.state.loading)&&(e.count++,r=u4.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}(r,sy,e.memoizedState,e.memoizedProps);break;case 5:default:sR(e,t,r);break;case 3:case 4:var n=sy;sy=u$(e.stateNode.containerInfo),sR(e,t,r),sy=n;break;case 22:null===e.memoizedState&&(null!==(n=e.alternate)&&null!==n.memoizedState?(n=sT,sT=0x1000000,sR(e,t,r),sT=n):sR(e,t,r))}}function sj(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sz(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var r=0;r<t.length;r++){var n=t[r];sl=n,sN(n,e)}sj(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)s_(e),e=e.sibling}function s_(e){switch(e.tag){case 0:case 11:case 15:sz(e),2048&e.flags&&i3(9,e,e.return);break;case 3:case 12:default:sz(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var r=t.deletions;if(0!=(16&t.flags)){if(null!==r)for(var n=0;n<r.length;n++){var a=r[n];sl=a,sN(a,t)}sj(t)}for(t=t.child;null!==t;){switch((r=t).tag){case 0:case 11:case 15:i3(8,r,r.return),e(r);break;case 22:2&(n=r.stateNode)._visibility&&(n._visibility&=-3,e(r));break;default:e(r)}t=t.sibling}}(e)):sz(e)}}function sN(e,t){for(;null!==sl;){var r=sl;switch(r.tag){case 0:case 11:case 15:i3(8,r,t);break;case 23:case 22:if(null!==r.memoizedState&&null!==r.memoizedState.cachePool){var n=r.memoizedState.cachePool.pool;null!=n&&n.refCount++}break;case 24:n2(r.memoizedState.cache)}if(null!==(n=r.child))n.return=r,sl=n;else for(r=e;null!==sl;){var a=(n=sl).sibling,o=n.return;if(!function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&eU(r),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(n),n===r){sl=null;break}if(null!==a){a.return=o,sl=a;break}sl=o}}}var sA={getCacheForType:function(e){var t=nG(n0),r=t.data.get(e);return void 0===r&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return nG(n0).controller.signal}},sL="function"==typeof WeakMap?WeakMap:Map,sI=0,sM=null,sF=null,sD=0,sB=0,s$=null,sV=!1,sU=!1,sH=!1,sW=0,sq=0,sK=0,sG=0,sX=0,sY=0,sQ=0,sZ=null,sJ=null,s0=!1,s1=0,s2=0,s3=1/0,s5=null,s9=null,s4=0,s6=null,s8=null,s7=0,le=0,lt=null,lr=null,ln=0,la=null;function lo(){return 0!=(2&sI)&&0!==sD?sD&-sD:null!==_.T?lZ():e_()}function li(){if(0===sY)if(0==(0x20000000&sD)||nT){var e=eb;0==(3932160&(eb<<=1))&&(eb=262144),sY=e}else sY=0x20000000;return null!==(e=aF.current)&&(e.flags|=32),sY}function ls(e,t,r){(e===sM&&(2===sB||9===sB)||null!==e.cancelPendingCommit)&&(lh(e,0),lc(e,sD,sY,!1)),eE(e,r),(0==(2&sI)||e!==sM)&&(e===sM&&(0==(2&sI)&&(sG|=r),4===sq&&lc(e,sD,sY,!1)),lW(e))}function ll(e,t,r){if(0!=(6&sI))throw Error(s(327));for(var n=!r&&0==(127&t)&&0==(t&e.expiredLanes)||eS(e,t),a=n?function(e,t){var r=sI;sI|=2;var n=lm(),a=lv();sM!==e||sD!==t?(s5=null,s3=en()+500,lh(e,t)):sU=eS(e,t);e:for(;;)try{if(0!==sB&&null!==sF){t=sF;var o=s$;t:switch(sB){case 1:sB=0,s$=null,lx(e,t,o,1);break;case 2:case 9:if(as(o)){sB=0,s$=null,lk(t);break}t=function(){2!==sB&&9!==sB||sM!==e||(sB=7),lW(e)},o.then(t,t);break e;case 3:sB=7;break e;case 4:sB=5;break e;case 7:as(o)?(sB=0,s$=null,lk(t)):(sB=0,s$=null,lx(e,t,o,7));break;case 5:var i=null;switch(sF.tag){case 26:i=sF.memoizedState;case 5:case 27:var l=sF;if(i?u5(i):l.stateNode.complete){sB=0,s$=null;var u=l.sibling;if(null!==u)sF=u;else{var c=l.return;null!==c?(sF=c,lS(c)):sF=null}break t}}sB=0,s$=null,lx(e,t,o,5);break;case 6:sB=0,s$=null,lx(e,t,o,6);break;case 8:lp(),sq=6;break e;default:throw Error(s(462))}}for(;null!==sF&&!et();)lw(sF);break}catch(t){lf(e,t)}return(nB=nD=null,_.H=n,_.A=a,sI=r,null!==sF)?0:(sM=null,sD=0,r2(),sq)}(e,t):lb(e,t,!0),o=n;;){if(0===a)sU&&!n&&lc(e,t,0,!1);else{if(r=e.current.alternate,o&&!function(e){for(var t=e;;){var r=t.tag;if((0===r||11===r||15===r)&&16384&t.flags&&null!==(r=t.updateQueue)&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],o=a.getSnapshot;a=a.value;try{if(!rP(o(),a))return!1}catch(e){return!1}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(r)){a=lb(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{a=sZ;var l=e.current.memoizedState.isDehydrated;if(l&&(lh(e,i).flags|=256),2!==(i=lb(e,i,!1))){if(sH&&!l){e.errorRecoveryDisabledLanes|=o,sG|=o,a=4;break e}o=sJ,sJ=a,null!==o&&(null===sJ?sJ=o:sJ.push.apply(sJ,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){lh(e,0),lc(e,t,0,!0);break}e:{switch(n=e,o=a){case 0:case 1:throw Error(s(345));case 4:if((4194048&t)!==t)break;case 6:lc(n,t,sY,!sV);break e;case 2:sJ=null;break;case 3:case 5:break;default:throw Error(s(329))}if((0x3c00000&t)===t&&10<(a=s1+300-en())){if(lc(n,t,sY,!sV),0!==ex(n,0,!0))break e;s7=t,n.timeoutHandle=uk(lu.bind(null,n,r,sJ,s5,s0,t,sY,sG,sQ,sV,o,"Throttled",-0,0),a);break e}lu(n,r,sJ,s5,s0,t,sY,sG,sQ,sV,o,null,-0,0)}}break}lW(e)}function lu(e,t,r,n,a,o,i,s,l,u,c,d,p,h){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||0x1002000==(0x1002000&d)){sO(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tm});var f,g,m=(0x3c00000&o)===o?s1-en():(4194048&o)===o?s2-en():0;if(null!==(f=d,g=m,f.stylesheets&&0===f.count&&u8(f,f.stylesheets),m=0<f.count||0<f.imgCount?function(e){var t=setTimeout(function(){if(f.stylesheets&&u8(f,f.stylesheets),f.unsuspend){var e=f.unsuspend;f.unsuspend=null,e()}},6e4+g);0<f.imgBytes&&0===u9&&(u9=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,r=performance.getEntriesByType("resource"),n=0;n<r.length;n++){var a=r[n],o=a.transferSize,i=a.initiatorType,s=a.duration;if(o&&s&&uh(i)){for(i=0,s=a.responseEnd,n+=1;n<r.length;n++){var l=r[n],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&uh(d)&&(i+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--n,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var r=setTimeout(function(){if(f.waitingForImages=!1,0===f.count&&(f.stylesheets&&u8(f,f.stylesheets),f.unsuspend)){var e=f.unsuspend;f.unsuspend=null,e()}},(f.imgBytes>u9?50:800)+g);return f.unsuspend=e,function(){f.unsuspend=null,clearTimeout(t),clearTimeout(r)}}:null)){s7=o,e.cancelPendingCommit=m(lP.bind(null,e,t,o,r,n,a,i,s,l,c,d,null,p,h)),lc(e,o,i,!u);return}}lP(e,t,o,r,n,a,i,s,l)}function lc(e,t,r,n){t&=~sX,t&=~sG,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var o=31-eg(a),i=1<<o;n[o]=-1,a&=~i}0!==r&&eT(e,r,t)}function ld(){return 0!=(6&sI)||(lq(0,!1),!1)}function lp(){if(null!==sF){if(0===sB)var e=sF.return;else e=sF,nB=nD=null,or(e),ah=null,af=0,e=sF;for(;null!==e;)i1(e.alternate,e),e=e.return;sF=null}}function lh(e,t){var r=e.timeoutHandle;-1!==r&&(e.timeoutHandle=-1,ux(r)),null!==(r=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,r()),s7=0,lp(),sM=e,sF=r=nr(e.current,null),sD=t,sB=0,s$=null,sV=!1,sU=eS(e,t),sH=!1,sQ=sY=sX=sG=sK=sq=0,sJ=sZ=null,s0=!1,0!=(8&t)&&(t|=32&t);var n=e.entangledLanes;if(0!==n)for(e=e.entanglements,n&=t;0<n;){var a=31-eg(n),o=1<<a;t|=e[a],n&=~o}return sW=t,r2(),r}function lf(e,t){aG=null,_.H=it,t===an||t===ao?(t=ad(),sB=3):t===aa?(t=ad(),sB=4):sB=t===iw?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,s$=t,null===sF&&(sq=1,ig(e,nc(t,e.current)))}function lg(){var e=aF.current;return null===e||((4194048&sD)===sD?null===aD:((0x3c00000&sD)===sD||0!=(0x20000000&sD))&&e===aD)}function lm(){var e=_.H;return _.H=it,null===e?it:e}function lv(){var e=_.A;return _.A=sA,e}function ly(){sq=4,sV||(4194048&sD)!==sD&&null!==aF.current||(sU=!0),0==(0x7ffffff&sK)&&0==(0x7ffffff&sG)||null===sM||lc(sM,sD,sY,!1)}function lb(e,t,r){var n=sI;sI|=2;var a=lm(),o=lv();(sM!==e||sD!==t)&&(s5=null,lh(e,t)),t=!1;var i=sq;e:for(;;)try{if(0!==sB&&null!==sF){var s=sF,l=s$;switch(sB){case 8:lp(),i=6;break e;case 3:case 2:case 9:case 6:null===aF.current&&(t=!0);var u=sB;if(sB=0,s$=null,lx(e,s,l,u),r&&sU){i=0;break e}break;default:u=sB,sB=0,s$=null,lx(e,s,l,u)}}(function(){for(;null!==sF;)lw(sF)})(),i=sq;break}catch(t){lf(e,t)}return t&&e.shellSuspendCounter++,nB=nD=null,sI=n,_.H=a,_.A=o,null===sF&&(sM=null,sD=0,r2()),i}function lw(e){var t=iG(e.alternate,e,sW);e.memoizedProps=e.pendingProps,null===t?lS(e):sF=t}function lk(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=iN(r,t,t.pendingProps,t.type,void 0,sD);break;case 11:t=iN(r,t,t.pendingProps,t.type.render,t.ref,sD);break;case 5:or(t);default:i1(r,t),t=iG(r,t=sF=nn(t,sW),sW)}e.memoizedProps=e.pendingProps,null===t?lS(e):sF=t}function lx(e,t,r,n){nB=nD=null,or(t),ah=null,af=0;var a=t.return;try{if(function(e,t,r,n,a){if(r.flags|=32768,null!==n&&"object"==typeof n&&"function"==typeof n.then){if(null!==(t=r.alternate)&&nW(t,r,a,!0),null!==(r=aF.current)){switch(r.tag){case 31:case 13:return null===aD?ly():null===r.alternate&&0===sq&&(sq=3),r.flags&=-257,r.flags|=65536,r.lanes=a,n===ai?r.flags|=16384:(null===(t=r.updateQueue)?r.updateQueue=new Set([n]):t.add(n),lA(e,n,a)),!1;case 22:return r.flags|=65536,n===ai?r.flags|=16384:(null===(t=r.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},r.updateQueue=t):null===(r=t.retryQueue)?t.retryQueue=new Set([n]):r.add(n),lA(e,n,a)),!1}throw Error(s(435,r.tag))}return lA(e,n,a),ly(),!1}if(nT)return null!==(t=aF.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==nj&&nM(nc(e=Error(s(422),{cause:n}),r))):(n!==nj&&nM(nc(t=Error(s(423),{cause:n}),r)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=nc(n,r),a=iv(e.stateNode,n,a),aT(e,a),4!==sq&&(sq=2)),!1;var o=Error(s(520),{cause:n});if(o=nc(o,r),null===sZ?sZ=[o]:sZ.push(o),4!==sq&&(sq=2),null===t)return!0;n=nc(n,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=a&-a,r.lanes|=e,e=iv(r.stateNode,n,e),aT(r,e),!1;case 1:if(t=r.type,o=r.stateNode,0==(128&r.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===s9||!s9.has(o))))return r.flags|=65536,a&=-a,r.lanes|=a,ib(a=iy(a),e,r,n),aT(r,a),!1}r=r.return}while(null!==r);return!1}(e,a,t,r,sD)){sq=1,ig(e,nc(r,e.current)),sF=null;return}}catch(t){if(null!==a)throw sF=a,t;sq=1,ig(e,nc(r,e.current)),sF=null;return}32768&t.flags?(nT||1===n?e=!0:sU||0!=(0x20000000&sD)?e=!1:(sV=e=!0,(2===n||9===n||3===n||6===n)&&null!==(n=aF.current)&&13===n.tag&&(n.flags|=16384)),lC(t,e)):lS(t)}function lS(e){var t=e;do{if(0!=(32768&t.flags))return void lC(t,sV);e=t.return;var r=function(e,t,r){var n=t.pendingProps;switch(nS(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return i0(t),null;case 3:return r=t.stateNode,n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),nV(n0),W(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(nA(t)?iX(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,nI())),i0(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(iX(t),null!==o?(i0(t),iQ(t,o)):(i0(t),iY(t,a,null,n,r))):o?o!==e.memoizedState?(iX(t),i0(t),iQ(t,o)):(i0(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==n&&iX(t),i0(t),iY(t,a,e,n,r)),null;case 27:if(K(t),r=V.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==n&&iX(t);else{if(!n){if(null===t.stateNode)throw Error(s(166));return i0(t),null}e=B.current,nA(t)?n_(t,e):(t.stateNode=e=uM(a,n,r),iX(t))}return i0(t),null;case 5:if(K(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==n&&iX(t);else{if(!n){if(null===t.stateNode)throw Error(s(166));return i0(t),null}if(o=B.current,nA(t))n_(t,o);else{var i=um(V.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof n.is?i.createElement("select",{is:n.is}):i.createElement("select"),n.multiple?o.multiple=!0:n.size&&(o.size=n.size);break;default:o="string"==typeof n.is?i.createElement(a,{is:n.is}):i.createElement(a)}}o[eL]=t,o[eI]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,up(o,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break;case"img":n=!0;break;default:n=!1}n&&iX(t)}}return i0(t),iY(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==n&&iX(t);else{if("string"!=typeof n&&null===t.stateNode)throw Error(s(166));if(e=V.current,nA(t)){if(e=t.stateNode,r=t.memoizedProps,n=null,null!==(a=nP))switch(a.tag){case 27:case 5:n=a.memoizedProps}e[eL]=t,(e=!!(e.nodeValue===r||null!==n&&!0===n.suppressHydrationWarning||uu(e.nodeValue,r)))||nz(t,!0)}else(e=um(e).createTextNode(n))[eL]=t,t.stateNode=e}return i0(t),null;case 31:if(r=t.memoizedState,null===e||null!==e.memoizedState){if(n=nA(t),null!==r){if(null===e){if(!n)throw Error(s(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(s(557));e[eL]=t}else nL(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i0(t),e=!1}else r=nI(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e){if(256&t.flags)return aH(t),t;return aH(t),null}if(0!=(128&t.flags))throw Error(s(558))}return i0(t),null;case 13:if(n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=nA(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(s(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(s(317));a[eL]=t}else nL(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i0(t),a=!1}else a=nI(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return aH(t),t;return aH(t),null}}if(aH(t),0!=(128&t.flags))return t.lanes=r,t;return r=null!==n,e=null!==e&&null!==e.memoizedState,r&&(n=t.child,a=null,null!==n.alternate&&null!==n.alternate.memoizedState&&null!==n.alternate.memoizedState.cachePool&&(a=n.alternate.memoizedState.cachePool.pool),o=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(o=n.memoizedState.cachePool.pool),o!==a&&(n.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),iZ(t,t.updateQueue),i0(t),null;case 4:return W(),null===e&&l7(t.stateNode.containerInfo),i0(t),null;case 10:return nV(t.type),i0(t),null;case 19:if(F(aW),null===(n=t.memoizedState))return i0(t),null;if(a=0!=(128&t.flags),null===(o=n.rendering))if(a)iJ(n,!1);else{if(0!==sq||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=aq(e))){for(t.flags|=128,iJ(n,!1),t.updateQueue=e=o.updateQueue,iZ(t,e),t.subtreeFlags=0,e=r,r=t.child;null!==r;)nn(r,e),r=r.sibling;return D(aW,1&aW.current|2),nT&&nw(t,n.treeForkCount),t.child}e=e.sibling}null!==n.tail&&en()>s3&&(t.flags|=128,a=!0,iJ(n,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=aq(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,iZ(t,e),iJ(n,!0),null===n.tail&&"hidden"===n.tailMode&&!o.alternate&&!nT)return i0(t),null}else 2*en()-n.renderingStartTime>s3&&0x20000000!==r&&(t.flags|=128,a=!0,iJ(n,!1),t.lanes=4194304);n.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=n.last)?e.sibling=o:t.child=o,n.last=o)}if(null!==n.tail)return e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=en(),e.sibling=null,r=aW.current,D(aW,a?1&r|2:1&r),nT&&nw(t,n.treeForkCount),e;return i0(t),null;case 22:case 23:return aH(t),aM(),n=null!==t.memoizedState,null!==e?null!==e.memoizedState!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?0!=(0x20000000&r)&&0==(128&t.flags)&&(i0(t),6&t.subtreeFlags&&(t.flags|=8192)):i0(t),null!==(r=t.updateQueue)&&iZ(t,r.retryQueue),r=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),n=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(n=t.memoizedState.cachePool.pool),n!==r&&(t.flags|=2048),null!==e&&F(n7),null;case 24:return r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),nV(n0),i0(t),null;case 25:case 30:return null}throw Error(s(156,t.tag))}(t.alternate,t,sW);if(null!==r){sF=r;return}if(null!==(t=t.sibling)){sF=t;return}sF=t=e}while(null!==t);0===sq&&(sq=5)}function lC(e,t){do{var r=function(e,t){switch(nS(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return nV(n0),W(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return K(t),null;case 31:if(null!==t.memoizedState){if(aH(t),null===t.alternate)throw Error(s(340));nL()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(aH(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));nL()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return F(aW),null;case 4:return W(),null;case 10:return nV(t.type),null;case 22:case 23:return aH(t),aM(),null!==e&&F(n7),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return nV(n0),null;default:return null}}(e.alternate,e);if(null!==r){r.flags&=32767,sF=r;return}if(null!==(r=e.return)&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&null!==(e=e.sibling)){sF=e;return}sF=e=r}while(null!==e);sq=6,sF=null}function lP(e,t,r,n,a,o,i,l,u){e.cancelPendingCommit=null;do lj();while(0!==s4);if(0!=(6&sI))throw Error(s(327));if(null!==t){if(t===e.current)throw Error(s(177));if(!function(e,t,r,n,a,o){var i=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(r=i&~r;0<r;){var c=31-eg(r),d=1<<c;s[c]=0,l[c]=-1;var p=u[c];if(null!==p)for(u[c]=null,c=0;c<p.length;c++){var h=p[c];null!==h&&(h.lane&=-0x20000001)}r&=~d}0!==n&&eT(e,n,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,r,o=t.lanes|t.childLanes|r1,i,l,u),e===sM&&(sF=sM=null,sD=0),s8=t,s6=e,s7=r,le=o,lt=a,lr=n,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,J(es,function(){return lz(),null})):(e.callbackNode=null,e.callbackPriority=0),n=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||n){n=_.T,_.T=null,a=N.p,N.p=2,i=sI,sI|=4;try{!function(e,t){if(e=e.containerInfo,uf=cs,rj(e=rO(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var a,o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,u=-1,c=-1,d=0,p=0,h=e,f=null;t:for(;;){for(;h!==r||0!==o&&3!==h.nodeType||(u=l+o),h!==i||0!==n&&3!==h.nodeType||(c=l+n),3===h.nodeType&&(l+=h.nodeValue.length),null!==(a=h.firstChild);)f=h,h=a;for(;;){if(h===e)break t;if(f===r&&++d===o&&(u=l),f===i&&++p===n&&(c=l),null!==(a=h.nextSibling))break;f=(h=f).parentNode}h=a}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(ug={focusedElem:e,selectionRange:r},cs=!1,sl=t;null!==sl;)if(e=(t=sl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,sl=e;else for(;null!==sl;){switch(i=(t=sl).alternate,e=t.flags,t.tag){case 0:if(0!=(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(r=0;r<e.length;r++)(o=e[r]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==i){e=void 0,r=t,o=i.memoizedProps,i=i.memoizedState,n=r.stateNode;try{var g=ic(r.type,o);e=n.getSnapshotBeforeUpdate(g,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(e){lN(r,r.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(r=(e=t.stateNode.containerInfo).nodeType))uO(e);else if(1===r)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uO(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(s(163))}if(null!==(e=t.sibling)){e.return=t.return,sl=e;break}sl=t.return}}(e,t,r)}finally{sI=i,N.p=a,_.T=n}}s4=1,lE(),lT(),lR()}}function lE(){if(1===s4){s4=0;var e=s6,t=s8,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=_.T,_.T=null;var n=N.p;N.p=2;var a=sI;sI|=4;try{sb(t,e);var o=ug,i=rO(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(i!==s&&s&&s.ownerDocument&&function e(t,r){return!!t&&!!r&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(s.ownerDocument.documentElement,s)){if(null!==l&&rj(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var h=p.getSelection(),f=s.textContent.length,g=Math.min(l.start,f),m=void 0===l.end?g:Math.min(l.end,f);!h.extend&&g>m&&(i=m,m=g,g=i);var v=rR(s,g),y=rR(s,m);if(v&&y&&(1!==h.rangeCount||h.anchorNode!==v.node||h.anchorOffset!==v.offset||h.focusNode!==y.node||h.focusOffset!==y.offset)){var b=d.createRange();b.setStart(v.node,v.offset),h.removeAllRanges(),g>m?(h.addRange(b),h.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),h.addRange(b))}}}}for(d=[],h=s;h=h.parentNode;)1===h.nodeType&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var w=d[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}cs=!!uf,ug=uf=null}finally{sI=a,N.p=n,_.T=r}}e.current=t,s4=2}}function lT(){if(2===s4){s4=0;var e=s6,t=s8,r=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||r){r=_.T,_.T=null;var n=N.p;N.p=2;var a=sI;sI|=4;try{su(e,t.alternate,t)}finally{sI=a,N.p=n,_.T=r}}s4=3}}function lR(){if(4===s4||3===s4){s4=0,er();var e=s6,t=s8,r=s7,n=lr;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?s4=5:(s4=0,s8=s6=null,lO(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(s9=null),ez(r),t=t.stateNode,eh&&"function"==typeof eh.onCommitFiberRoot)try{eh.onCommitFiberRoot(ep,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==n){t=_.T,a=N.p,N.p=2,_.T=null;try{for(var o=e.onRecoverableError,i=0;i<n.length;i++){var s=n[i];o(s.value,{componentStack:s.stack})}}finally{_.T=t,N.p=a}}0!=(3&s7)&&lj(),lW(e),a=e.pendingLanes,0!=(261930&r)&&0!=(42&a)?e===la?ln++:(ln=0,la=e):ln=0,lq(0,!1)}}function lO(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,n2(t))}function lj(){return lE(),lT(),lR(),lz()}function lz(){if(5!==s4)return!1;var e=s6,t=le;le=0;var r=ez(s7),n=_.T,a=N.p;try{N.p=32>r?32:r,_.T=null,r=lt,lt=null;var o=s6,i=s7;if(s4=0,s8=s6=null,s7=0,0!=(6&sI))throw Error(s(331));var l=sI;if(sI|=4,s_(o.current),sP(o,o.current,i,r),sI=l,lq(0,!1),eh&&"function"==typeof eh.onPostCommitFiberRoot)try{eh.onPostCommitFiberRoot(ep,o)}catch(e){}return!0}finally{N.p=a,_.T=n,lO(e,t)}}function l_(e,t,r){t=nc(r,t),t=iv(e.stateNode,t,2),null!==(e=aP(e,t,2))&&(eE(e,2),lW(e))}function lN(e,t,r){if(3===e.tag)l_(e,e,r);else for(;null!==t;){if(3===t.tag){l_(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===s9||!s9.has(n))){e=nc(r,e),null!==(n=aP(t,r=iy(2),2))&&(ib(r,n,t,e),eE(n,2),lW(n));break}}t=t.return}}function lA(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new sL;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(sH=!0,a.add(r),e=lL.bind(null,e,t,r),t.then(e,e))}function lL(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,sM===e&&(sD&r)===r&&(4===sq||3===sq&&(0x3c00000&sD)===sD&&300>en()-s1?0==(2&sI)&&lh(e,0):sX|=r,sQ===sD&&(sQ=0)),lW(e)}function lI(e,t){0===t&&(t=eC()),null!==(e=r9(e,t))&&(eE(e,t),lW(e))}function lM(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),lI(e,r)}function lF(e,t){var r=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==n&&n.delete(t),lI(e,r)}var lD=null,lB=null,l$=!1,lV=!1,lU=!1,lH=0;function lW(e){e!==lB&&null===e.next&&(null===lB?lD=lB=e:lB=lB.next=e),lV=!0,l$||(l$=!0,uC(function(){0!=(6&sI)?J(eo,lK):lG()}))}function lq(e,t){if(!lU&&lV){lU=!0;do for(var r=!1,n=lD;null!==n;){if(!t)if(0!==e){var a=n.pendingLanes;if(0===a)var o=0;else{var i=n.suspendedLanes,s=n.pingedLanes;o=0xc000095&(o=(1<<31-eg(42|e)+1)-1&(a&~(i&~s)))?0xc000095&o|1:o?2|o:0}0!==o&&(r=!0,lQ(n,o))}else o=sD,0==(3&(o=ex(n,n===sM?o:0,null!==n.cancelPendingCommit||-1!==n.timeoutHandle)))||eS(n,o)||(r=!0,lQ(n,o));n=n.next}while(r);lU=!1}}function lK(){lG()}function lG(){lV=l$=!1;var e,t=0;0===lH||((e=window.event)&&"popstate"===e.type?e===uw||(uw=e,0):(uw=null,1))||(t=lH);for(var r=en(),n=null,a=lD;null!==a;){var o=a.next,i=lX(a,r);0===i?(a.next=null,null===n?lD=o:n.next=o,null===o&&(lB=n)):(n=a,(0!==t||0!=(3&i))&&(lV=!0)),a=o}0!==s4&&5!==s4||lq(t,!1),0!==lH&&(lH=0)}function lX(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eg(o),s=1<<i,l=a[i];-1===l?(0==(s&r)||0!=(s&n))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(t=sM,r=sD,r=ex(e,e===t?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),n=e.callbackNode,0===r||e===t&&(2===sB||9===sB)||null!==e.cancelPendingCommit)return null!==n&&null!==n&&ee(n),e.callbackNode=null,e.callbackPriority=0;if(0==(3&r)||eS(e,r)){if((t=r&-r)===e.callbackPriority)return t;switch(null!==n&&ee(n),ez(r)){case 2:case 8:r=ei;break;case 32:default:r=es;break;case 0x10000000:r=eu}return r=J(r,n=lY.bind(null,e)),e.callbackPriority=t,e.callbackNode=r,t}return null!==n&&null!==n&&ee(n),e.callbackPriority=2,e.callbackNode=null,2}function lY(e,t){if(0!==s4&&5!==s4)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(lj()&&e.callbackNode!==r)return null;var n=sD;return 0===(n=ex(e,e===sM?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(ll(e,n,t),lX(e,en()),null!=e.callbackNode&&e.callbackNode===r?lY.bind(null,e):null)}function lQ(e,t){if(lj())return null;ll(e,t,!0)}function lZ(){if(0===lH){var e=n9;0===e&&(e=ey,0==(261888&(ey<<=1))&&(ey=256)),lH=e}return lH}function lJ(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tg(""+e)}function l0(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}for(var l1=0;l1<rY.length;l1++){var l2=rY[l1];rQ(l2.toLowerCase(),"on"+(l2[0].toUpperCase()+l2.slice(1)))}rQ(rV,"onAnimationEnd"),rQ(rU,"onAnimationIteration"),rQ(rH,"onAnimationStart"),rQ("dblclick","onDoubleClick"),rQ("focusin","onFocus"),rQ("focusout","onBlur"),rQ(rW,"onTransitionRun"),rQ(rq,"onTransitionStart"),rQ(rK,"onTransitionCancel"),rQ(rG,"onTransitionEnd"),eZ("onMouseEnter",["mouseout","mouseover"]),eZ("onMouseLeave",["mouseout","mouseover"]),eZ("onPointerEnter",["pointerout","pointerover"]),eZ("onPointerLeave",["pointerout","pointerover"]),eQ("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eQ("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eQ("onBeforeInput",["compositionend","keypress","textInput","paste"]),eQ("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eQ("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eQ("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var l3="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),l5=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(l3));function l9(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;o=s,a.currentTarget=u;try{o(a)}catch(e){rZ(e)}a.currentTarget=null,o=l}else for(i=0;i<n.length;i++){if(l=(s=n[i]).instance,u=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;o=s,a.currentTarget=u;try{o(a)}catch(e){rZ(e)}a.currentTarget=null,o=l}}}}function l4(e,t){var r=t[eF];void 0===r&&(r=t[eF]=new Set);var n=e+"__bubble";r.has(n)||(ue(t,e,2,!1),r.add(n))}function l6(e,t,r){var n=0;t&&(n|=4),ue(r,e,n,t)}var l8="_reactListening"+Math.random().toString(36).slice(2);function l7(e){if(!e[l8]){e[l8]=!0,eX.forEach(function(t){"selectionchange"!==t&&(l5.has(t)||l6(t,!1,e),l6(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[l8]||(t[l8]=!0,l6("selectionchange",!1,t))}}function ue(e,t,r,n){switch(cf(t)){case 2:var a=cl;break;case 8:a=cu;break;default:a=cc}r=a.bind(null,t,r,e),a=void 0,tE&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function ut(e,t,r,n,a){var o=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var s=n.stateNode.containerInfo;if(s===a)break;if(4===i)for(i=n.return;null!==i;){var u=i.tag;if((3===u||4===u)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==s;){if(null===(i=eH(s)))return;if(5===(u=i.tag)||6===u||26===u||27===u){n=o=i;continue e}s=s.parentNode}}n=n.return}tS(function(){var n=o,a=ty(r),i=[];e:{var s=rX.get(e);if(void 0!==s){var u=tV,c=e;switch(e){case"keypress":if(0===t_(r))break e;case"keydown":case"keyup":u=t3;break;case"focusin":c="focus",u=tG;break;case"focusout":c="blur",u=tG;break;case"beforeblur":case"afterblur":u=tG;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=tq;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=tK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=t9;break;case rV:case rU:case rH:u=tX;break;case rG:u=t4;break;case"scroll":case"scrollend":u=tH;break;case"wheel":u=t6;break;case"copy":case"cut":case"paste":u=tY;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=t5;break;case"toggle":case"beforetoggle":u=t8}var d=0!=(4&t),p=!d&&("scroll"===e||"scrollend"===e),h=d?null!==s?s+"Capture":null:s;d=[];for(var f,g=n;null!==g;){var m=g;if(f=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===f||null===h||null!=(m=tC(g,h))&&d.push(ur(g,m,f)),p)break;g=g.return}0<d.length&&(s=new u(s,c,null,r,a),i.push({event:s,listeners:d}))}}if(0==(7&t)){if((s="mouseover"===e||"pointerover"===e,u="mouseout"===e||"pointerout"===e,!(s&&r!==tv&&(c=r.relatedTarget||r.fromElement)&&(eH(c)||c[eM])))&&(u||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,u?(c=r.relatedTarget||r.toElement,u=n,null!==(c=c?eH(c):null)&&(p=l(c),d=c.tag,c!==p||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=n),u!==c)){if(d=tq,m="onMouseLeave",h="onMouseEnter",g="mouse",("pointerout"===e||"pointerover"===e)&&(d=t5,m="onPointerLeave",h="onPointerEnter",g="pointer"),p=null==u?s:eq(u),f=null==c?s:eq(c),(s=new d(m,g+"leave",u,r,a)).target=p,s.relatedTarget=f,m=null,eH(a)===n&&((d=new d(h,g+"enter",c,r,a)).target=f,d.relatedTarget=p,m=d),p=m,u&&c)t:{for(d=ua,h=u,g=c,f=0,m=h;m;m=d(m))f++;m=0;for(var v,y=g;y;y=d(y))m++;for(;0<f-m;)h=d(h),f--;for(;0<m-f;)g=d(g),m--;for(;f--;){if(h===g||null!==g&&h===g.alternate){d=h;break t}h=d(h),g=d(g)}d=null}else d=null;null!==u&&uo(i,s,u,d,!1),null!==c&&null!==p&&uo(i,p,c,d,!0)}e:{if("select"===(u=(s=n?eq(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var b=rg;else if(ru(s))if(rm)b=rC;else{b=rx;var w=rk}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)?b=rS:n&&tp(n.elementType)&&(b=rg);if(b&&(b=b(e,n))){rc(i,b,r,a);break e}w&&w(e,s,n),"focusout"===e&&n&&"number"===s.type&&null!=n.memoizedProps.value&&ta(s,"number",s.value)}switch(w=n?eq(n):window,e){case"focusin":(ru(w)||"true"===w.contentEditable)&&(r_=w,rN=n,rA=null);break;case"focusout":rA=rN=r_=null;break;case"mousedown":rL=!0;break;case"contextmenu":case"mouseup":case"dragend":rL=!1,rI(i,r,a);break;case"selectionchange":if(rz)break;case"keydown":case"keyup":rI(i,r,a)}if(re)t:{switch(e){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else rs?ro(e,r)&&(k="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(k="onCompositionStart");k&&(rn&&"ko"!==r.locale&&(rs||"onCompositionStart"!==k?"onCompositionEnd"===k&&rs&&(v=tz()):(tO="value"in(tR=a)?tR.value:tR.textContent,rs=!0)),0<(w=un(n,k)).length&&(k=new tQ(k,e,null,r,a),i.push({event:k,listeners:w}),v?k.data=v:null!==(v=ri(r))&&(k.data=v))),(v=rr?function(e,t){switch(e){case"compositionend":return ri(t);case"keypress":if(32!==t.which)return null;return ra=!0," ";case"textInput":return" "===(e=t.data)&&ra?null:e;default:return null}}(e,r):function(e,t){if(rs)return"compositionend"===e||!re&&ro(e,t)?(e=tz(),tj=tO=tR=null,rs=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rn&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(k=un(n,"onBeforeInput")).length&&(w=new tQ("onBeforeInput","beforeinput",null,r,a),i.push({event:w,listeners:k}),w.data=v);var x=e;if("submit"===x&&n&&n.stateNode===a){var S=lJ((a[eI]||null).action),C=r.submitter;C&&null!==(x=(x=C[eI]||null)?lJ(x.formAction):C.getAttribute("formAction"))&&(S=x,C=null);var P=new tV("action","action",null,r,a);i.push({event:P,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==lH){var e=C?l0(a,C):new FormData(a);oQ(n,{pending:!0,data:e,method:a.method,action:S},null,e)}}else"function"==typeof S&&(P.preventDefault(),oQ(n,{pending:!0,data:e=C?l0(a,C):new FormData(a),method:a.method,action:S},S,e))},currentTarget:a}]})}}l9(i,t)})}function ur(e,t,r){return{instance:e,listener:t,currentTarget:r}}function un(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tC(e,r))&&n.unshift(ur(e,a,o)),null!=(a=tC(e,t))&&n.push(ur(e,a,o))),3===e.tag)return n;e=e.return}return[]}function ua(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag);return e||null}function uo(e,t,r,n,a){for(var o=t._reactName,i=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===n)break;5!==s&&26!==s&&27!==s||null===u||(l=u,a?null!=(u=tC(r,o))&&i.unshift(ur(r,u,l)):a||null!=(u=tC(r,o))&&i.push(ur(r,u,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var ui=/\r\n?/g,us=/\u0000|\uFFFD/g;function ul(e){return("string"==typeof e?e:""+e).replace(ui,"\n").replace(us,"")}function uu(e,t){return t=ul(t),ul(e)===t}function uc(e,t,r,n,a,o){switch(r){case"children":"string"==typeof n?"body"===t||"textarea"===t&&""===n||tl(e,n):("number"==typeof n||"bigint"==typeof n)&&"body"!==t&&tl(e,""+n);break;case"className":e3(e,"class",n);break;case"tabIndex":e3(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":e3(e,r,n);break;case"style":td(e,n,o);break;case"data":if("object"!==t){e3(e,"data",n);break}case"src":case"href":if(""===n&&("a"!==t||"href"!==r)||null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n){e.removeAttribute(r);break}n=tg(""+n),e.setAttribute(r,n);break;case"action":case"formAction":if("function"==typeof n){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===r?("input"!==t&&uc(e,t,"name",a.name,a,null),uc(e,t,"formEncType",a.formEncType,a,null),uc(e,t,"formMethod",a.formMethod,a,null),uc(e,t,"formTarget",a.formTarget,a,null)):(uc(e,t,"encType",a.encType,a,null),uc(e,t,"method",a.method,a,null),uc(e,t,"target",a.target,a,null))),null==n||"symbol"==typeof n||"boolean"==typeof n){e.removeAttribute(r);break}n=tg(""+n),e.setAttribute(r,n);break;case"onClick":null!=n&&(e.onclick=tm);break;case"onScroll":null!=n&&l4("scroll",e);break;case"onScrollEnd":null!=n&&l4("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=n){if("object"!=typeof n||!("__html"in n))throw Error(s(61));if(null!=(r=n.__html)){if(null!=a.children)throw Error(s(60));e.innerHTML=r}}break;case"multiple":e.multiple=n&&"function"!=typeof n&&"symbol"!=typeof n;break;case"muted":e.muted=n&&"function"!=typeof n&&"symbol"!=typeof n;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==n||"function"==typeof n||"boolean"==typeof n||"symbol"==typeof n){e.removeAttribute("xlink:href");break}r=tg(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=n&&"function"!=typeof n&&"symbol"!=typeof n?e.setAttribute(r,""+n):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":!0===n?e.setAttribute(r,""):!1!==n&&null!=n&&"function"!=typeof n&&"symbol"!=typeof n?e.setAttribute(r,n):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":null!=n&&"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n?e.setAttribute(r,n):e.removeAttribute(r);break;case"rowSpan":case"start":null==n||"function"==typeof n||"symbol"==typeof n||isNaN(n)?e.removeAttribute(r):e.setAttribute(r,n);break;case"popover":l4("beforetoggle",e),l4("toggle",e),e2(e,"popover",n);break;case"xlinkActuate":e5(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":e5(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":e5(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":e5(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":e5(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":e5(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":e5(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":e5(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":e5(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":e2(e,"is",n);break;default:2<r.length&&("o"===r[0]||"O"===r[0])&&("n"===r[1]||"N"===r[1])||e2(e,r=th.get(r)||r,n)}}function ud(e,t,r,n,a,o){switch(r){case"style":td(e,n,o);break;case"dangerouslySetInnerHTML":if(null!=n){if("object"!=typeof n||!("__html"in n))throw Error(s(61));if(null!=(r=n.__html)){if(null!=a.children)throw Error(s(60));e.innerHTML=r}}break;case"children":"string"==typeof n?tl(e,n):("number"==typeof n||"bigint"==typeof n)&&tl(e,""+n);break;case"onScroll":null!=n&&l4("scroll",e);break;case"onScrollEnd":null!=n&&l4("scrollend",e);break;case"onClick":null!=n&&(e.onclick=tm);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eY.hasOwnProperty(r))e:{if("o"===r[0]&&"n"===r[1]&&(a=r.endsWith("Capture"),t=r.slice(2,a?r.length-7:void 0),"function"==typeof(o=null!=(o=e[eI]||null)?o[r]:null)&&e.removeEventListener(t,o,a),"function"==typeof n)){"function"!=typeof o&&null!==o&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,n,a);break e}r in e?e[r]=n:!0===n?e.setAttribute(r,""):e2(e,r,n)}}}function up(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":l4("error",e),l4("load",e);var n,a=!1,o=!1;for(n in r)if(r.hasOwnProperty(n)){var i=r[n];if(null!=i)switch(n){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:uc(e,t,n,i,r,null)}}o&&uc(e,t,"srcSet",r.srcSet,r,null),a&&uc(e,t,"src",r.src,r,null);return;case"input":l4("invalid",e);var l=n=i=o=null,u=null,c=null;for(a in r)if(r.hasOwnProperty(a)){var d=r[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":n=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(s(137,t));break;default:uc(e,t,a,d,r,null)}}tn(e,n,l,u,c,i,o,!1);return;case"select":for(o in l4("invalid",e),a=i=n=null,r)if(r.hasOwnProperty(o)&&null!=(l=r[o]))switch(o){case"value":n=l;break;case"defaultValue":i=l;break;case"multiple":a=l;default:uc(e,t,o,l,r,null)}t=n,r=i,e.multiple=!!a,null!=t?to(e,!!a,t,!1):null!=r&&to(e,!!a,r,!0);return;case"textarea":for(i in l4("invalid",e),n=o=a=null,r)if(r.hasOwnProperty(i)&&null!=(l=r[i]))switch(i){case"value":a=l;break;case"defaultValue":o=l;break;case"children":n=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(s(91));break;default:uc(e,t,i,l,r,null)}ts(e,a,o,n);return;case"option":for(u in r)r.hasOwnProperty(u)&&null!=(a=r[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:uc(e,t,u,a,r,null));return;case"dialog":l4("beforetoggle",e),l4("toggle",e),l4("cancel",e),l4("close",e);break;case"iframe":case"object":l4("load",e);break;case"video":case"audio":for(a=0;a<l3.length;a++)l4(l3[a],e);break;case"image":l4("error",e),l4("load",e);break;case"details":l4("toggle",e);break;case"embed":case"source":case"link":l4("error",e),l4("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in r)if(r.hasOwnProperty(c)&&null!=(a=r[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:uc(e,t,c,a,r,null)}return;default:if(tp(t)){for(d in r)r.hasOwnProperty(d)&&void 0!==(a=r[d])&&ud(e,t,d,a,r,void 0);return}}for(l in r)r.hasOwnProperty(l)&&null!=(a=r[l])&&uc(e,t,l,a,r,null)}function uh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var uf=null,ug=null;function um(e){return 9===e.nodeType?e:e.ownerDocument}function uv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uy(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ub(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var uw=null,uk="function"==typeof setTimeout?setTimeout:void 0,ux="function"==typeof clearTimeout?clearTimeout:void 0,uS="function"==typeof Promise?Promise:void 0,uC="function"==typeof queueMicrotask?queueMicrotask:void 0!==uS?function(e){return uS.resolve(null).then(e).catch(uP)}:uk;function uP(e){setTimeout(function(){throw e})}function uE(e){return"head"===e}function uT(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType)if("/$"===(r=a.data)||"/&"===r){if(0===n){e.removeChild(a),c_(t);return}n--}else if("$"===r||"$?"===r||"$~"===r||"$!"===r||"&"===r)n++;else if("html"===r)uF(e.ownerDocument.documentElement);else if("head"===r){uF(r=e.ownerDocument.head);for(var o=r.firstChild;o;){var i=o.nextSibling,s=o.nodeName;o[eV]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||r.removeChild(o),o=i}}else"body"===r&&uF(e.ownerDocument.body);r=a}while(r);c_(t)}function uR(e,t){var r=e;e=0;do{var n=r.nextSibling;if(1===r.nodeType?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",""===r.getAttribute("style")&&r.removeAttribute("style")):3===r.nodeType&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),n&&8===n.nodeType)if("/$"===(r=n.data))if(0===e)break;else e--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||e++;r=n}while(r)}function uO(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":uO(r),eU(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===r.rel.toLowerCase())continue}e.removeChild(r)}}function uj(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uN(e.nextSibling)))return null;return e}function uz(e){return"$?"===e.data||"$~"===e.data}function u_(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uN(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var uA=null;function uL(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r||"/&"===r){if(0===t)return uN(e.nextSibling);t--}else"$"!==r&&"$!"!==r&&"$?"!==r&&"$~"!==r&&"&"!==r||t++}e=e.nextSibling}return null}function uI(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r||"$~"===r||"&"===r){if(0===t)return e;t--}else"/$"!==r&&"/&"!==r||t++}e=e.previousSibling}return null}function uM(e,t,r){switch(t=um(r),e){case"html":if(!(e=t.documentElement))throw Error(s(452));return e;case"head":if(!(e=t.head))throw Error(s(453));return e;case"body":if(!(e=t.body))throw Error(s(454));return e;default:throw Error(s(451))}}function uF(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);eU(e)}var uD=new Map,uB=new Set;function u$(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var uV=N.d;N.d={f:function(){var e=uV.f(),t=ld();return e||t},r:function(e){var t=eW(e);null!==t&&5===t.tag&&"form"===t.type?oJ(t):uV.r(e)},D:function(e){uV.D(e),uH("dns-prefetch",e,null)},C:function(e,t){uV.C(e,t),uH("preconnect",e,t)},L:function(e,t,r){if(uV.L(e,t,r),uU&&e&&t){var n='link[rel="preload"][as="'+tt(t)+'"]';"image"===t&&r&&r.imageSrcSet?(n+='[imagesrcset="'+tt(r.imageSrcSet)+'"]',"string"==typeof r.imageSizes&&(n+='[imagesizes="'+tt(r.imageSizes)+'"]')):n+='[href="'+tt(e)+'"]';var a=n;switch(t){case"style":a=uq(e);break;case"script":a=uX(e)}uD.has(a)||(e=p({rel:"preload",href:"image"===t&&r&&r.imageSrcSet?void 0:e,as:t},r),uD.set(a,e),null!==uU.querySelector(n)||"style"===t&&uU.querySelector(uK(a))||"script"===t&&uU.querySelector(uY(a))||(up(t=uU.createElement("link"),"link",e),eG(t),uU.head.appendChild(t)))}},m:function(e,t){if(uV.m(e,t),uU&&e){var r=t&&"string"==typeof t.as?t.as:"script",n='link[rel="modulepreload"][as="'+tt(r)+'"][href="'+tt(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=uX(e)}if(!uD.has(a)&&(e=p({rel:"modulepreload",href:e},t),uD.set(a,e),null===uU.querySelector(n))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(uU.querySelector(uY(a)))return}up(r=uU.createElement("link"),"link",e),eG(r),uU.head.appendChild(r)}}},X:function(e,t){if(uV.X(e,t),uU&&e){var r=eK(uU).hoistableScripts,n=uX(e),a=r.get(n);a||((a=uU.querySelector(uY(n)))||(e=p({src:e,async:!0},t),(t=uD.get(n))&&u0(e,t),eG(a=uU.createElement("script")),up(a,"link",e),uU.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}},S:function(e,t,r){if(uV.S(e,t,r),uU&&e){var n=eK(uU).hoistableStyles,a=uq(e);t=t||"default";var o=n.get(a);if(!o){var i={loading:0,preload:null};if(o=uU.querySelector(uK(a)))i.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},r),(r=uD.get(a))&&uJ(e,r);var s=o=uU.createElement("link");eG(s),up(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){i.loading|=1}),s.addEventListener("error",function(){i.loading|=2}),i.loading|=4,uZ(o,t,uU)}o={type:"stylesheet",instance:o,count:1,state:i},n.set(a,o)}}},M:function(e,t){if(uV.M(e,t),uU&&e){var r=eK(uU).hoistableScripts,n=uX(e),a=r.get(n);a||((a=uU.querySelector(uY(n)))||(e=p({src:e,async:!0,type:"module"},t),(t=uD.get(n))&&u0(e,t),eG(a=uU.createElement("script")),up(a,"link",e),uU.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}};var uU="u"<typeof document?null:document;function uH(e,t,r){if(uU&&"string"==typeof t&&t){var n=tt(t);n='link[rel="'+e+'"][href="'+n+'"]',"string"==typeof r&&(n+='[crossorigin="'+r+'"]'),uB.has(n)||(uB.add(n),e={rel:e,crossOrigin:r,href:t},null===uU.querySelector(n)&&(up(t=uU.createElement("link"),"link",e),eG(t),uU.head.appendChild(t)))}}function uW(e,t,r,n){var a=(a=V.current)?u$(a):null;if(!a)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof r.precedence&&"string"==typeof r.href?(t=uq(r.href),(n=(r=eK(a).hoistableStyles).get(t))||(n={type:"style",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===r.rel&&"string"==typeof r.href&&"string"==typeof r.precedence){e=uq(r.href);var o,i,l,u,c=eK(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(uK(e)))&&!c._p&&(d.instance=c,d.state.loading=5),uD.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},uD.set(e,r),c||(o=a,i=e,l=r,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),up(i,"link",l),eG(i),o.head.appendChild(i))))),t&&null===n)throw Error(s(528,""));return d}if(t&&null!==n)throw Error(s(529,""));return null;case"script":return t=r.async,"string"==typeof(r=r.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=uX(r),(n=(r=eK(a).hoistableScripts).get(t))||(n={type:"script",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function uq(e){return'href="'+tt(e)+'"'}function uK(e){return'link[rel="stylesheet"]['+e+"]"}function uG(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function uX(e){return'[src="'+tt(e)+'"]'}function uY(e){return"script[async]"+e}function uQ(e,t,r){if(t.count++,null===t.instance)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+tt(r.href)+'"]');if(n)return t.instance=n,eG(n),n;var a=p({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return eG(n=(e.ownerDocument||e).createElement("style")),up(n,"style",a),uZ(n,r.precedence,e),t.instance=n;case"stylesheet":a=uq(r.href);var o=e.querySelector(uK(a));if(o)return t.state.loading|=4,t.instance=o,eG(o),o;n=uG(r),(a=uD.get(a))&&uJ(n,a),eG(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),up(o,"link",n),t.state.loading|=4,uZ(o,r.precedence,e),t.instance=o;case"script":if(o=uX(r.src),a=e.querySelector(uY(o)))return t.instance=a,eG(a),a;return n=r,(a=uD.get(o))&&u0(n=p({},r),a),eG(a=(e=e.ownerDocument||e).createElement("script")),up(a,"link",n),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(s(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(n=t.instance,t.state.loading|=4,uZ(n,r.precedence,e)),t.instance}function uZ(e,t,r){for(var n=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,o=a,i=0;i<n.length;i++){var s=n[i];if(s.dataset.precedence===t)o=s;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===r.nodeType?r.head:r).insertBefore(e,t.firstChild)}function uJ(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function u0(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var u1=null;function u2(e,t,r){if(null===u1){var n=new Map,a=u1=new Map;a.set(r,n)}else(n=(a=u1).get(r))||(n=new Map,a.set(r,n));if(n.has(e))return n;for(n.set(e,null),r=r.getElementsByTagName(e),a=0;a<r.length;a++){var o=r[a];if(!(o[eV]||o[eL]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var s=n.get(i);s?s.push(o):n.set(i,[o])}}return n}function u3(e,t,r){(e=e.ownerDocument||e).head.insertBefore(r,"title"===t?e.querySelector("head > title"):null)}function u5(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var u9=0;function u4(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)u8(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var u6=null;function u8(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,u6=new Map,t.forEach(u7,e),u6=null,u4.call(e))}function u7(e,t){if(!(4&t.state.loading)){var r=u6.get(e);if(r)var n=r.get(null);else{r=new Map,u6.set(e,r);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(r.set(i.dataset.precedence,i),n=i)}n&&r.set(null,n)}i=(a=t.instance).getAttribute("data-precedence"),(o=r.get(i)||n)===n&&r.set(null,a),r.set(i,a),this.count++,n=u4.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var ce={$$typeof:w,Provider:null,Consumer:null,_currentValue:A,_currentValue2:A,_threadCount:0};function ct(e,t,r,n,a,o,i,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eP(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eP(0),this.hiddenUpdates=eP(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function cr(e,t,r,n,a,o){a=a?r8:r8,null===n.context?n.context=a:n.pendingContext=a,(n=aC(t)).payload={element:r},null!==(o=void 0===o?null:o)&&(n.callback=o),null!==(r=aP(e,n,t))&&(ls(r,e,t),aE(r,e,t))}function cn(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function ca(e,t){cn(e,t),(e=e.alternate)&&cn(e,t)}function co(e){if(13===e.tag||31===e.tag){var t=r9(e,0x4000000);null!==t&&ls(t,e,0x4000000),ca(e,0x4000000)}}function ci(e){if(13===e.tag||31===e.tag){var t=lo(),r=r9(e,t=ej(t));null!==r&&ls(r,e,t),ca(e,t)}}var cs=!0;function cl(e,t,r,n){var a=_.T;_.T=null;var o=N.p;try{N.p=2,cc(e,t,r,n)}finally{N.p=o,_.T=a}}function cu(e,t,r,n){var a=_.T;_.T=null;var o=N.p;try{N.p=8,cc(e,t,r,n)}finally{N.p=o,_.T=a}}function cc(e,t,r,n){if(cs){var a=cd(n);if(null===a)ut(e,t,n,cp,r),cS(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return cm=cC(cm,e,t,r,n,a),!0;case"dragenter":return cv=cC(cv,e,t,r,n,a),!0;case"mouseover":return cy=cC(cy,e,t,r,n,a),!0;case"pointerover":var o=a.pointerId;return cb.set(o,cC(cb.get(o)||null,e,t,r,n,a)),!0;case"gotpointercapture":return o=a.pointerId,cw.set(o,cC(cw.get(o)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(cS(e,n),4&t&&-1<cx.indexOf(e)){for(;null!==a;){var o=eW(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=ek(o.pendingLanes);if(0!==i){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-eg(i);s.entanglements[1]|=l,i&=~l}lW(o),0==(6&sI)&&(s3=en()+500,lq(0,!1))}}break;case 31:case 13:null!==(s=r9(o,2))&&ls(s,o,2),ld(),ca(o,2)}if(null===(o=cd(n))&&ut(e,t,n,cp,r),o===a)break;a=o}null!==a&&n.stopPropagation()}else ut(e,t,n,null,r)}}function cd(e){return ch(e=ty(e))}var cp=null;function ch(e){if(cp=null,null!==(e=eH(e))){var t=l(e);if(null===t)e=null;else{var r=t.tag;if(13===r){if(null!==(e=u(t)))return e;e=null}else if(31===r){if(null!==(e=c(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cp=e,null}function cf(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ea()){case eo:return 2;case ei:return 8;case es:case el:return 32;case eu:return 0x10000000;default:return 32}default:return 32}}var cg=!1,cm=null,cv=null,cy=null,cb=new Map,cw=new Map,ck=[],cx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function cS(e,t){switch(e){case"focusin":case"focusout":cm=null;break;case"dragenter":case"dragleave":cv=null;break;case"mouseover":case"mouseout":cy=null;break;case"pointerover":case"pointerout":cb.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cw.delete(t.pointerId)}}function cC(e,t,r,n,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=eW(t))&&co(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function cP(e){var t=eH(e.target);if(null!==t){var r=l(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=u(r))){e.blockedOn=t,eN(e.priority,function(){ci(r)});return}}else if(31===t){if(null!==(t=c(r))){e.blockedOn=t,eN(e.priority,function(){ci(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cE(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=cd(e.nativeEvent);if(null!==r)return null!==(t=eW(r))&&co(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);tv=n,r.target.dispatchEvent(n),tv=null,t.shift()}return!0}function cT(e,t,r){cE(e)&&r.delete(t)}function cR(){cg=!1,null!==cm&&cE(cm)&&(cm=null),null!==cv&&cE(cv)&&(cv=null),null!==cy&&cE(cy)&&(cy=null),cb.forEach(cT),cw.forEach(cT)}function cO(e,t){e.blockedOn===t&&(e.blockedOn=null,cg||(cg=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,cR)))}var cj=null;function cz(e){cj!==e&&(cj=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){cj===e&&(cj=null);for(var t=0;t<e.length;t+=3){var r=e[t],n=e[t+1],a=e[t+2];if("function"!=typeof n)if(null===ch(n||r))continue;else break;var o=eW(r);null!==o&&(e.splice(t,3),t-=3,oQ(o,{pending:!0,data:a,method:r.method,action:n},n,a))}}))}function c_(e){function t(t){return cO(t,e)}null!==cm&&cO(cm,e),null!==cv&&cO(cv,e),null!==cy&&cO(cy,e),cb.forEach(t),cw.forEach(t);for(var r=0;r<ck.length;r++){var n=ck[r];n.blockedOn===e&&(n.blockedOn=null)}for(;0<ck.length&&null===(r=ck[0]).blockedOn;)cP(r),null===r.blockedOn&&ck.shift();if(null!=(r=(e.ownerDocument||e).$$reactFormReplay))for(n=0;n<r.length;n+=3){var a=r[n],o=r[n+1],i=a[eI]||null;if("function"==typeof o)i||cz(r);else if(i){var s=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eI]||null)s=i.formAction;else if(null!==ch(a))continue}else s=i.action;"function"==typeof s?r[n+1]=s:(r.splice(n,3),n-=3),cz(r)}}}function cN(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),n||setTimeout(r,20)}function r(){if(!n&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function cA(e){this._internalRoot=e}function cL(e){this._internalRoot=e}cL.prototype.render=cA.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));cr(t.current,lo(),e,t,null,null)},cL.prototype.unmount=cA.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cr(e.current,2,null,e,null,null),ld(),t[eM]=null}},cL.prototype.unstable_scheduleHydration=function(e){if(e){var t=e_();e={blockedOn:null,target:e,priority:t};for(var r=0;r<ck.length&&0!==t&&t<ck[r].priority;r++);ck.splice(r,0,e),0===r&&cP(e)}};var cI=o.version;if("19.2.3"!==cI)throw Error(s(527,cI,"19.2.3"));if(N.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw Error(s(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=l(e)))throw Error(s(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(n=a.return)){r=n;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===r)return d(a),e;if(o===n)return d(a),t;o=o.sibling}throw Error(s(188))}if(r.return!==n.return)r=a,n=o;else{for(var i=!1,u=a.child;u;){if(u===r){i=!0,r=a,n=o;break}if(u===n){i=!0,n=a,r=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===r){i=!0,r=o,n=a;break}if(u===n){i=!0,n=o,r=a;break}u=u.sibling}if(!i)throw Error(s(189))}}if(r.alternate!==n)throw Error(s(190))}if(3!==r.tag)throw Error(s(188));return r.stateNode.current===r?e:t}(t))?function e(t){var r=t.tag;if(5===r||26===r||27===r||6===r)return t;for(t=t.child;null!==t;){if(null!==(r=e(t)))return r;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var cM=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cM.isDisabled&&cM.supportsFiber)try{ep=cM.inject({bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.3"}),eh=cM}catch(e){}}t.createRoot=function(e,t){if(!(r=e)||1!==r.nodeType&&9!==r.nodeType&&11!==r.nodeType)throw Error(s(299));var r,n,a,o,i,l,u,c,d=!1,p="",h=id,f=ip,g=ih;return null!=t&&(!0===t.unstable_strictMode&&(d=!0),void 0!==t.identifierPrefix&&(p=t.identifierPrefix),void 0!==t.onUncaughtError&&(h=t.onUncaughtError),void 0!==t.onCaughtError&&(f=t.onCaughtError),void 0!==t.onRecoverableError&&(g=t.onRecoverableError)),n=e,a=1,o=!1,i=null,l=0,u=d,c=null,n=new ct(n,a,o,p,h,f,g,cN,null),a=1,!0===u&&(a|=24),u=ne(3,null,null,a),n.current=u,u.stateNode=n,a=n1(),a.refCount++,n.pooledCache=a,a.refCount++,u.memoizedState={element:null,isDehydrated:o,cache:a},ax(u),t=n,e[eM]=t.current,l7(e),new cA(t)}},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),a=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),b=Symbol.for("react.activity"),w=Symbol.for("react.legacy_hidden"),k=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),S=Symbol.iterator;function C(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=S&&e[S]||e["@@iterator"])?e:null}var P=Array.isArray;function E(e,t){var r=3&e.length,n=e.length-r,a=t;for(t=0;t<n;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,a^=o=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)|0,a=(65535&(a=5*(65535&(a=a<<13|a>>>19))+((5*(a>>>16)&65535)<<16)|0))+27492+(((a>>>16)+58964&65535)<<16)}switch(o=0,r){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:o^=255&e.charCodeAt(t),a^=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)}return a^=e.length,a^=a>>>16,a=0x85ebca6b*(65535&a)+((0x85ebca6b*(a>>>16)&65535)<<16)|0,a^=a>>>13,((a=0xc2b2ae35*(65535&a)+((0xc2b2ae35*(a>>>16)&65535)<<16)|0)^a>>>16)>>>0}var T=Object.assign,R=Object.prototype.hasOwnProperty,O=RegExp("^[: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]*$"),j={},z={};function _(e){return!!R.call(z,e)||!R.call(j,e)&&(O.test(e)?z[e]=!0:(j[e]=!0,!1))}var N=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),A=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),L=/["'&<>]/;function I(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=L.exec(e);if(t){var r,n="",a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.slice(a,r)),a=r+1,n+=t}e=a!==r?n+e.slice(a,r):n}return e}var M=/([A-Z])/g,F=/^ms-/,D=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function B(e){return D.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var $=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},H=V.d;V.d={f:H.f,r:H.r,D:function(e){var t=tY||null;if(t){var r,n,a=t.resumableState,o=t.renderState;"string"==typeof e&&e&&(a.dnsResources.hasOwnProperty(e)||(a.dnsResources[e]=null,(n=(a=o.headers)&&0<a.remainingCapacity)&&(r="<"+(""+e).replace(eq,eK)+">; rel=dns-prefetch",n=0<=(a.remainingCapacity-=r.length+2)),n?(o.resets.dns[e]=null,a.preconnects&&(a.preconnects+=", "),a.preconnects+=r):(ep(r=[],{href:e,rel:"dns-prefetch"}),o.preconnects.add(r))),rA(t))}else H.D(e)},C:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if("string"==typeof e&&e){var o,i,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";n.connectResources[s].hasOwnProperty(e)||(n.connectResources[s][e]=null,(i=(n=a.headers)&&0<n.remainingCapacity)&&(i="<"+(""+e).replace(eq,eK)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(eG,eX)+'"'),o=i,i=0<=(n.remainingCapacity-=o.length+2)),i?(a.resets.connect[s][e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(ep(s=[],{rel:"preconnect",href:e,crossOrigin:t}),a.preconnects.add(s))),rA(r)}}else H.C(e,t)},L:function(e,t,r){var n=tY||null;if(n){var a=n.resumableState,o=n.renderState;if(t&&e){switch(t){case"image":if(r)var i,s=r.imageSrcSet,l=r.imageSizes,u=r.fetchPriority;var c=s?s+"\n"+(l||""):e;if(a.imageResources.hasOwnProperty(c))return;a.imageResources[c]=W,(a=o.headers)&&0<a.remainingCapacity&&"string"!=typeof s&&"high"===u&&(i=eW(e,t,r),0<=(a.remainingCapacity-=i.length+2))?(o.resets.image[c]=W,a.highImagePreloads&&(a.highImagePreloads+=", "),a.highImagePreloads+=i):(ep(a=[],T({rel:"preload",href:s?void 0:e,as:t},r)),"high"===u?o.highImagePreloads.add(a):(o.bulkPreloads.add(a),o.preloads.images.set(c,a)));break;case"style":if(a.styleResources.hasOwnProperty(e))return;ep(s=[],T({rel:"preload",href:e,as:t},r)),a.styleResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:W,o.preloads.stylesheets.set(e,s),o.bulkPreloads.add(s);break;case"script":if(a.scriptResources.hasOwnProperty(e))return;s=[],o.preloads.scripts.set(e,s),o.bulkPreloads.add(s),ep(s,T({rel:"preload",href:e,as:t},r)),a.scriptResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:W;break;default:if(a.unknownResources.hasOwnProperty(t)){if((s=a.unknownResources[t]).hasOwnProperty(e))return}else s={},a.unknownResources[t]=s;s[e]=W,(a=o.headers)&&0<a.remainingCapacity&&"font"===t&&(c=eW(e,t,r),0<=(a.remainingCapacity-=c.length+2))?(o.resets.font[e]=W,a.fontPreloads&&(a.fontPreloads+=", "),a.fontPreloads+=c):(ep(a=[],e=T({rel:"preload",href:e,as:t},r)),"font"===t)?o.fontPreloads.add(a):o.bulkPreloads.add(a)}rA(n)}}else H.L(e,t,r)},m:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(n.moduleScriptResources.hasOwnProperty(e))return;o=[],n.moduleScriptResources[e]=t&&("string"==typeof t.crossOrigin||"string"==typeof t.integrity)?[t.crossOrigin,t.integrity]:W,a.preloads.moduleScripts.set(e,o)}else{if(n.moduleUnknownResources.hasOwnProperty(o)){var i=n.unknownResources[o];if(i.hasOwnProperty(e))return}else i={},n.moduleUnknownResources[o]=i;o=[],i[e]=W}ep(o,T({rel:"modulepreload",href:e},t)),a.bulkPreloads.add(o),rA(r)}}else H.m(e,t)},X:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.scriptResources.hasOwnProperty(e)?n.scriptResources[e]:void 0;null!==o&&(n.scriptResources[e]=null,t=T({src:e,async:!0},t),o&&(2===o.length&&eH(t,o),e=a.preloads.scripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),ev(e,t),rA(r))}}else H.X(e,t)},S:function(e,t,r){var n=tY||null;if(n){var a=n.resumableState,o=n.renderState;if(e){t=t||"default";var i=o.styles.get(t),s=a.styleResources.hasOwnProperty(e)?a.styleResources[e]:void 0;null!==s&&(a.styleResources[e]=null,i||(i={precedence:I(t),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,i)),t={state:0,props:T({rel:"stylesheet",href:e,"data-precedence":t},r)},s&&(2===s.length&&eH(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),i.sheets.set(e,t),rA(n))}}else H.S(e,t,r)},M:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.moduleScriptResources.hasOwnProperty(e)?n.moduleScriptResources[e]:void 0;null!==o&&(n.moduleScriptResources[e]=null,t=T({src:e,type:"module",async:!0},t),o&&(2===o.length&&eH(t,o),e=a.preloads.moduleScripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),ev(e,t),rA(r))}}else H.M(e,t)}};var W=[],q=null,K=/(<\/|<)(s)(cript)/gi;function G(e,t,r,n){return""+t+("s"===r?"\\u0073":"\\u0053")+n}function X(e,t,r,n){return{insertionMode:e,selectedValue:t,tagScope:r,viewTransition:n}}function Y(e,t,r){var n=-25&e.tagScope;switch(t){case"noscript":return X(2,null,1|n,null);case"select":return X(2,null!=r.value?r.value:r.defaultValue,n,null);case"svg":return X(4,null,n,null);case"picture":return X(2,null,2|n,null);case"math":return X(5,null,n,null);case"foreignObject":return X(2,null,n,null);case"table":return X(6,null,n,null);case"thead":case"tbody":case"tfoot":return X(7,null,n,null);case"colgroup":return X(9,null,n,null);case"tr":return X(8,null,n,null);case"head":if(2>e.insertionMode)return X(3,null,n,null);break;case"html":if(0===e.insertionMode)return X(1,null,n,null)}return 6<=e.insertionMode||2>e.insertionMode?X(2,null,n,null):e.tagScope!==n?X(e.insertionMode,e.selectedValue,n,null):e}function Q(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Z(e,t){return 32&t.tagScope&&(e.instructions|=128),X(t.insertionMode,t.selectedValue,12|t.tagScope,Q(t.viewTransition))}function J(e,t){e=Q(t.viewTransition);var r=16|t.tagScope;return null!==e&&"none"!==e.share&&(r|=64),X(t.insertionMode,t.selectedValue,r,e)}var ee=new Map;function et(e,t){if("object"!=typeof t)throw Error(o(62));var r,n=!0;for(r in t)if(R.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=I(r);a=I((""+a).trim())}else void 0===(i=ee.get(r))&&(i=I(r.replace(M,"-$1").toLowerCase().replace(F,"-ms-")),ee.set(r,i)),a="number"==typeof a?0===a||N.has(r)?""+a:a+"px":I((""+a).trim());n?(n=!1,e.push(' style="',i,":",a)):e.push(";",i,":",a)}}n||e.push('"')}function er(e,t,r){r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'=""')}function en(e,t,r){"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r&&e.push(" ",t,'="',I(r),'"')}var ea=I("javascript:throw new Error('React form unexpectedly submitted.')");function eo(e,t){this.push('<input type="hidden"'),ei(e),en(this,"name",t),en(this,"value",e),this.push("/>")}function ei(e){if("string"!=typeof e)throw Error(o(480))}function es(e,t){if("function"==typeof t.$$FORM_ACTION){var r=e.nextFormID++;e=e.idPrefix+r;try{var n=t.$$FORM_ACTION(e);if(n){var a=n.data;null!=a&&a.forEach(ei)}return n}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function el(e,t,r,n,a,o,i,s){var l=null;if("function"==typeof n){var u=es(t,n);null!==u?(s=u.name,n=u.action||"",a=u.encType,o=u.method,i=u.target,l=u.data):(e.push(" ","formAction",'="',ea,'"'),i=o=a=n=s=null,ed(t,r))}return null!=s&&eu(e,"name",s),null!=n&&eu(e,"formAction",n),null!=a&&eu(e,"formEncType",a),null!=o&&eu(e,"formMethod",o),null!=i&&eu(e,"formTarget",i),l}function eu(e,t,r){switch(t){case"className":en(e,"class",r);break;case"tabIndex":en(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":en(e,t,r);break;case"style":et(e,r);break;case"src":case"href":if(""===r)break;case"action":case"formAction":if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=B(""+r),e.push(" ",t,'="',I(r),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":er(e,t.toLowerCase(),r);break;case"xlinkHref":if("function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=B(""+r),e.push(" ","xlink:href",'="',I(r),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'="',I(r),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'=""');break;case"capture":case"download":!0===r?e.push(" ",t,'=""'):!1!==r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'="',I(r),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r&&e.push(" ",t,'="',I(r),'"');break;case"rowSpan":case"start":"function"==typeof r||"symbol"==typeof r||isNaN(r)||e.push(" ",t,'="',I(r),'"');break;case"xlinkActuate":en(e,"xlink:actuate",r);break;case"xlinkArcrole":en(e,"xlink:arcrole",r);break;case"xlinkRole":en(e,"xlink:role",r);break;case"xlinkShow":en(e,"xlink:show",r);break;case"xlinkTitle":en(e,"xlink:title",r);break;case"xlinkType":en(e,"xlink:type",r);break;case"xmlBase":en(e,"xml:base",r);break;case"xmlLang":en(e,"xml:lang",r);break;case"xmlSpace":en(e,"xml:space",r);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&_(t=A.get(t)||t)){switch(typeof r){case"function":case"symbol":return;case"boolean":var n=t.toLowerCase().slice(0,5);if("data-"!==n&&"aria-"!==n)return}e.push(" ",t,'="',I(r),'"')}}}function ec(e,t,r){if(null!=t){if(null!=r)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function ed(e,t){if(0==(16&e.instructions)){e.instructions|=16;var r=t.preamble,n=t.bootstrapChunks;(r.htmlChunks||r.headChunks)&&0===n.length?(n.push(t.startInlineScript),eV(n,e),n.push(">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")):n.unshift(t.startInlineScript,">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")}}function ep(e,t){for(var r in e.push(ex("link")),t)if(R.call(t,r)){var n=t[r];if(null!=n)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:eu(e,r,n)}}return e.push("/>"),null}var eh=/(<\/|<)(s)(tyle)/gi;function ef(e,t,r,n){return""+t+("s"===r?"\\73 ":"\\53 ")+n}function eg(e,t,r){for(var n in e.push(ex(r)),t)if(R.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,r));default:eu(e,n,a)}}return e.push("/>"),null}function em(e,t){e.push(ex("title"));var r,n=null,a=null;for(r in t)if(R.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,r,o)}}return e.push(">"),"function"!=typeof(t=Array.isArray(n)?2>n.length?n[0]:null:n)&&"symbol"!=typeof t&&null!=t&&e.push(I(""+t)),ec(e,a,n),e.push(eC("title")),null}function ev(e,t){e.push(ex("script"));var r,n=null,a=null;for(r in t)if(R.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,r,o)}}return e.push(">"),ec(e,a,n),"string"==typeof n&&e.push((""+n).replace(K,G)),e.push(eC("script")),null}function ey(e,t,r){e.push(ex(r));var n,a=r=null;for(n in t)if(R.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,n,o)}}return e.push(">"),ec(e,a,r),r}function eb(e,t,r){e.push(ex(r));var n,a=r=null;for(n in t)if(R.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,n,o)}}return e.push(">"),ec(e,a,r),"string"==typeof r?(e.push(I(r)),null):r}var ew=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ek=new Map;function ex(e){var t=ek.get(e);if(void 0===t){if(!ew.test(e))throw Error(o(65,e));t="<"+e,ek.set(e,t)}return t}var eS=new Map;function eC(e){var t=eS.get(e);return void 0===t&&(t="</"+e+">",eS.set(e,t)),t}function eP(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function eE(e,t){t=t.bootstrapChunks;for(var r=0;r<t.length-1;r++)e.push(t[r]);return!(r<t.length)||(r=t[r],t.length=0,e.push(r))}function eT(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(o(395));return e.push(t.boundaryPrefix),t=r.toString(16),e.push(t),e.push('"></template>')}var eR=/[<\u2028\u2029]/g,eO=/[&><\u2028\u2029]/g;function ej(e){return JSON.stringify(e).replace(eO,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var ez=!1,e_=!0;function eN(e){var t=e.rules,r=e.hrefs,n=0;if(r.length){for(this.push(q.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');n<r.length-1;n++)this.push(r[n]),this.push(" ");for(this.push(r[n]),this.push('">'),n=0;n<t.length;n++)this.push(t[n]);e_=this.push("</style>"),ez=!0,t.length=0,r.length=0}}function eA(e){return 2!==e.state&&(ez=!0)}function eL(e,t,r){return ez=!1,e_=!0,q=r,t.styles.forEach(eN,e),q=null,t.stylesheets.forEach(eA),ez&&(r.stylesToHoist=!0),e_}function eI(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var eM=[];function eF(e){ep(eM,e.props);for(var t=0;t<eM.length;t++)this.push(eM[t]);eM.length=0,e.state=2}function eD(e){var t=0<e.sheets.size;e.sheets.forEach(eF,this),e.sheets.clear();var r=e.rules,n=e.hrefs;if(!t||n.length){if(this.push(q.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,n.length){for(this.push('" data-href="');e<n.length-1;e++)this.push(n[e]),this.push(" ");this.push(n[e])}for(this.push('">'),e=0;e<r.length;e++)this.push(r[e]);this.push("</style>"),r.length=0,n.length=0}}function eB(e){if(0===e.state){e.state=1;var t=e.props;for(ep(eM,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<eM.length;e++)this.push(eM[e]);eM.length=0}}function e$(e){e.sheets.forEach(eB,this),e.sheets.clear()}function eV(e,t){0==(32&t.instructions)&&(t.instructions|=32,e.push(' id="',I("_"+t.idPrefix+"R_"),'"'))}function eU(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function eH(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function eW(e,t,r){for(var n in t="<"+(e=(""+e).replace(eq,eK))+'>; rel=preload; as="'+(t=(""+t).replace(eG,eX))+'"',r)R.call(r,n)&&"string"==typeof(e=r[n])&&(t+="; "+n.toLowerCase()+'="'+(""+e).replace(eG,eX)+'"');return t}var eq=/[<>\r\n]/g;function eK(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var eG=/["';,\r\n]/g;function eX(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function eY(e){this.styles.add(e)}function eQ(e){this.stylesheets.add(e)}function eZ(e,t){t.styles.forEach(eY,e),t.stylesheets.forEach(eQ,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function eJ(e,t,r,n){return r.generateStaticMarkup?(e.push(I(t)),!1):(""===t?e=n:(n&&e.push("\x3c!-- --\x3e"),e.push(I(t)),e=!0),e)}function e0(e,t,r,n){t.generateStaticMarkup||r&&n&&e.push("\x3c!-- --\x3e")}var e1=Function.prototype.bind,e2=Symbol.for("react.client.reference");function e3(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===e2?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case p:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case h:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case m:return null!==(t=e.displayName||null)?t:e3(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return e3(e(t))}catch(e){}}return null}var e5={},e9=null;function e4(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(o(401))}else{if(null===r)throw Error(o(401));e4(e,r)}t.context._currentValue2=t.value}}function e6(e){var t=e9;t!==e&&(null===t?function e(t){var r=t.parent;null!==r&&e(r),t.context._currentValue2=t.value}(e):null===e?function e(t){t.context._currentValue2=t.parentValue,null!==(t=t.parent)&&e(t)}(t):t.depth===e.depth?e4(t,e):t.depth>e.depth?function e(t,r){if(t.context._currentValue2=t.parentValue,null===(t=t.parent))throw Error(o(402));t.depth===r.depth?e4(t,r):e(t,r)}(t,e):function e(t,r){var n=r.parent;if(null===n)throw Error(o(402));t.depth===n.depth?e4(t,n):e(t,n),r.context._currentValue2=r.value}(t,e),e9=e)}var e8={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},e7={id:1,overflow:""};function te(e,t,r){var n=e.id;e=e.overflow;var a=32-tt(n)-1;n&=~(1<<a),r+=1;var o=32-tt(t)+a;if(30<o){var i=a-a%5;return o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,{id:1<<32-tt(t)+a|r<<a|n,overflow:o+e}}return{id:1<<o|r<<a|n,overflow:e}}var tt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(tr(e)/tn|0)|0},tr=Math.log,tn=Math.LN2;function ta(){}var to=Error(o(460)),ti=null;function ts(){if(null===ti)throw Error(o(459));var e=ti;return ti=null,e}var tl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},tu=null,tc=null,td=null,tp=null,th=null,tf=null,tg=!1,tm=!1,tv=0,ty=0,tb=-1,tw=0,tk=null,tx=null,tS=0;function tC(){if(null===tu)throw Error(o(321));return tu}function tP(){if(0<tS)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function tE(){return null===tf?null===th?(tg=!1,th=tf=tP()):(tg=!0,tf=th):null===tf.next?(tg=!1,tf=tf.next=tP()):(tg=!0,tf=tf.next),tf}function tT(){var e=tk;return tk=null,e}function tR(){tp=td=tc=tu=null,tm=!1,th=null,tS=0,tf=tx=null}function tO(e,t){return"function"==typeof t?t(e):t}function tj(e,t,r){if(tu=tC(),tf=tE(),tg){var n=tf.queue;if(t=n.dispatch,null!==tx&&void 0!==(r=tx.get(n))){tx.delete(n),n=tf.memoizedState;do n=e(n,r.action),r=r.next;while(null!==r);return tf.memoizedState=n,[n,t]}return[tf.memoizedState,t]}return e=e===tO?"function"==typeof t?t():t:void 0!==r?r(t):t,tf.memoizedState=e,e=(e=tf.queue={last:null,dispatch:null}).dispatch=t_.bind(null,tu,e),[tf.memoizedState,e]}function tz(e,t){if(tu=tC(),tf=tE(),t=void 0===t?null:t,null!==tf){var r=tf.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var a=0;a<n.length&&a<t.length;a++)if(!tl(t[a],n[a])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),tf.memoizedState=[e,t],e}function t_(e,t,r){if(25<=tS)throw Error(o(301));if(e===tu)if(tm=!0,e={action:r,next:null},null===tx&&(tx=new Map),void 0===(r=tx.get(t)))tx.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function tN(){throw Error(o(440))}function tA(){throw Error(o(394))}function tL(){throw Error(o(479))}function tI(e,t,r){tC();var n=ty++,a=td;if("function"==typeof e.$$FORM_ACTION){var o=null,i=tp;a=a.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==a&&"function"==typeof s){var l=a[1];s.call(e,a[2],a[3])&&l===(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0))&&(tb=n,t=a[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==r&&(r+="",e.action=r);var t=e.data;return t&&(null===o&&(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function tM(e){var t=tw;tw+=1,null===tk&&(tk=[]);var r=tk,n=e,a=t;switch(void 0===(a=r[a])?r.push(n):a!==n&&(n.then(ta,ta),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch("string"==typeof n.status?n.then(ta,ta):((r=n).status="pending",r.then(function(e){if("pending"===n.status){var t=n;t.status="fulfilled",t.value=e}},function(e){if("pending"===n.status){var t=n;t.status="rejected",t.reason=e}})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}throw ti=n,to}}function tF(){throw Error(o(393))}var tD,tB,t$={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return tM(e);if(e.$$typeof===p)return e._currentValue2}throw Error(o(438,String(e)))},useContext:function(e){return tC(),e._currentValue2},useMemo:tz,useReducer:tj,useRef:function(e){tu=tC();var t=(tf=tE()).memoizedState;return null===t?(e={current:e},tf.memoizedState=e):t},useState:function(e){return tj(tO,e)},useInsertionEffect:ta,useLayoutEffect:ta,useCallback:function(e,t){return tz(function(){return e},t)},useImperativeHandle:ta,useEffect:ta,useDebugValue:ta,useDeferredValue:function(e,t){return tC(),void 0!==t?t:e},useTransition:function(){return tC(),[!1,tA]},useId:function(){var e=tc.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-tt(e)-1)).toString(32)+t;var r=tV;if(null===r)throw Error(o(404));return t=tv++,e="_"+r.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(o(407));return r()},useOptimistic:function(e){return tC(),[e,tL]},useActionState:tI,useFormState:tI,useHostTransitionStatus:function(){return tC(),U},useMemoCache:function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=k;return t},useCacheRefresh:function(){return tF},useEffectEvent:function(){return tN}},tV=null,tU={getCacheForType:function(){throw Error(o(248))},cacheSignal:function(){throw Error(o(248))}};function tH(e){if(void 0===tD)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tD=t&&t[1]||"",tB=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tD+e+tB}var tW=!1;function tq(e,t){if(!e||tW)return"";tW=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch(function(){})}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===l.length||a===u.length)for(n=l.length-1,a=u.length-1;1<=n&&0<=a&&l[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(l[n]!==u[a]){if(1!==n||1!==a)do if(n--,a--,0>a||l[n]!==u[a]){var c="\n"+l[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{tW=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?tH(r):""}function tK(e,t){return 500<t.byteSize&&null===t.contentPreamble}function tG(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e])[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),(t=e1.apply(console.error,e))()}else console.error(e);return null}function tX(e,t,r,n,a,o,i,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=r,this.progressiveChunkSize=void 0===n?12800:n,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===a?tG:a,this.onPostpone=void 0===u?ta:u,this.onAllReady=void 0===o?ta:o,this.onShellReady=void 0===i?ta:i,this.onShellError=void 0===s?ta:s,this.onFatalError=void 0===l?ta:l,this.formState=void 0===c?null:c}var tY=null;function tQ(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,rx(e))}function tZ(e,t,r,n,a){return r={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null,contentState:eU(),fallbackState:eU(),contentPreamble:n,fallbackPreamble:a,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(n=t.boundaries)&&(e.allPendingTasks++,r.pendingTasks++,n.push(r)),null!==(e=t.inheritedHoistables)&&eZ(r.contentState,e)),r}function tJ(e,t,r,n,a,o,i,s,l,u,c,d,p,h,f){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,null!==h&&h.pendingTasks++;var g={replay:null,node:r,childIndex:n,ping:function(){return tQ(e,g)},blockedBoundary:a,blockedSegment:o,blockedPreamble:i,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:p,row:h,componentStack:f,thenableState:t};return l.add(g),g}function t0(e,t,r,n,a,o,i,s,l,u,c,d,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++,r.pendingTasks++;var f={replay:r,node:n,childIndex:a,ping:function(){return tQ(e,f)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:p,componentStack:h,thenableState:t};return s.add(f),f}function t1(e,t,r,n,a,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:n,boundary:r,lastPushedText:a,textEmbedded:o}}function t2(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===i&&(e.componentStack={parent:e.componentStack,type:t.type})}function t3(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function t5(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var r="",n=e;do r+=function e(t){if("string"==typeof t)return tH(t);if("function"==typeof t)return t.prototype&&t.prototype.isReactComponent?tq(t,!0):tq(t,!1);if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return tq(t.render,!1);case m:return tq(t.type,!1);case v:var r=t,n=r._payload;r=r._init;try{t=r(n)}catch(e){return tH("Lazy")}return e(t)}if("string"==typeof t.name){e:{n=t.name,r=t.env;var a=t.debugLocation;if(null!=a&&(t=Error.prepareStackTrace,Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=t,a.startsWith("Error: react-stack-top-frame\n")&&(a=a.slice(29)),-1!==(t=a.indexOf("\n"))&&(a=a.slice(t+1)),-1!==(t=a.indexOf("react_stack_bottom_frame"))&&(t=a.lastIndexOf("\n",t)),-1!==(t=-1===(a=(t=-1!==t?a=a.slice(0,t):"").lastIndexOf("\n"))?t:t.slice(a+1)).indexOf(n))){n="\n"+t;break e}n=tH(n+(r?" ["+r+"]":""))}return n}}switch(t){case g:return tH("SuspenseList");case f:return tH("Suspense")}return""}(n.type),n=n.parent;while(n);var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:a}),a}}),t}function t9(e,t,r){if(null==(t=(e=e.onError)(t,r))||"string"==typeof t)return t}function t4(e,t){var r=e.onShellError,n=e.onFatalError;r(t),n(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function t6(e,t){t8(e,t.next,t.hoistables)}function t8(e,t,r){for(;null!==t;){null!==r&&(eZ(t.hoistables,r),t.inheritedHoistables=r);var n=t.boundaries;if(null!==n){t.boundaries=null;for(var a=0;a<n.length;a++){var o=n[a];null!==r&&eZ(o.contentState,r),rk(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;r=t.hoistables,t=t.next}}function t7(e,t){var r=t.boundaries;if(null!==r&&t.pendingTasks===r.length){for(var n=!0,a=0;a<r.length;a++){var o=r[a];if(1!==o.pendingTasks||o.parentFlushed||tK(e,o)){n=!1;break}}n&&t8(e,t,t.hoistables)}}function re(e){var t={pendingTasks:1,boundaries:null,hoistables:eU(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function rt(e,t,r,n,a){var o=t.keyPath,i=t.treeContext,s=t.row;t.keyPath=r,r=n.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<r;c++){var d="backwards"!==a&&"unstable_legacy-backwards"!==a?c:r-1-c,p=n[d];t.row=l=re(l),t.treeContext=te(i,r,d);var h=u[d];"number"==typeof h?(ro(e,t,h,p,d),delete u[d]):rf(e,t,p,d),0==--l.pendingTasks&&t6(e,l)}else for(u=0;u<r;u++)d=n[c="backwards"!==a&&"unstable_legacy-backwards"!==a?u:r-1-u],t.row=l=re(l),t.treeContext=te(i,r,c),rf(e,t,d,c),0==--l.pendingTasks&&t6(e,l)}else if("backwards"!==a&&"unstable_legacy-backwards"!==a)for(a=0;a<r;a++)u=n[a],t.row=l=re(l),t.treeContext=te(i,r,a),rf(e,t,u,a),0==--l.pendingTasks&&t6(e,l);else{for(u=(a=t.blockedSegment).children.length,c=a.chunks.length,d=r-1;0<=d;d--){p=n[d],t.row=l=re(l),t.treeContext=te(i,r,d),h=t1(e,c,null,t.formatContext,0!==d||a.lastPushedText,!0),a.children.splice(u,0,h),t.blockedSegment=h;try{rf(e,t,p,d),e0(h.chunks,e.renderState,h.lastPushedText,h.textEmbedded),h.status=1,0==--l.pendingTasks&&t6(e,l)}catch(t){throw h.status=12===e.status?3:4,t}}t.blockedSegment=a,a.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=i,t.row=s,t.keyPath=o}function rr(e,t,r,n,a,o){var i=t.thenableState;for(t.thenableState=null,tu={},tc=t,td=e,tp=r,ty=tv=0,tb=-1,tw=0,tk=i,e=n(a,o);tm;)tm=!1,ty=tv=0,tb=-1,tw=0,tS+=1,tf=null,e=n(a,o);return tR(),e}function rn(e,t,r,n,a,o,i){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<o;u++)u===i?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}o=t.keyPath,t.keyPath=r,a?(r=t.treeContext,t.treeContext=te(r,1,0),rf(e,t,n,-1),t.treeContext=r):s?rf(e,t,n,-1):ri(e,t,n,-1),t.keyPath=o}function ra(e,t,r,a,i,s){if("function"==typeof a)if(a.prototype&&a.prototype.isReactComponent){var k=i;if("ref"in i)for(var S in k={},i)"ref"!==S&&(k[S]=i[S]);var E=a.defaultProps;if(E)for(var O in k===i&&(k=T({},k,i)),E)void 0===k[O]&&(k[O]=E[O]);i=k,k=e5,"object"==typeof(E=a.contextType)&&null!==E&&(k=E._currentValue2);var j=void 0!==(k=new a(i,k)).state?k.state:null;if(k.updater=e8,k.props=i,k.state=j,E={queue:[],replace:!1},k._reactInternals=E,s=a.contextType,k.context="object"==typeof s&&null!==s?s._currentValue2:e5,"function"==typeof(s=a.getDerivedStateFromProps)&&(j=null==(s=s(i,j))?j:T({},j,s),k.state=j),"function"!=typeof a.getDerivedStateFromProps&&"function"!=typeof k.getSnapshotBeforeUpdate&&("function"==typeof k.UNSAFE_componentWillMount||"function"==typeof k.componentWillMount))if(a=k.state,"function"==typeof k.componentWillMount&&k.componentWillMount(),"function"==typeof k.UNSAFE_componentWillMount&&k.UNSAFE_componentWillMount(),a!==k.state&&e8.enqueueReplaceState(k,k.state,null),null!==E.queue&&0<E.queue.length)if(a=E.queue,s=E.replace,E.queue=null,E.replace=!1,s&&1===a.length)k.state=a[0];else{for(E=s?a[0]:k.state,j=!0,s=+!!s;s<a.length;s++)null!=(O="function"==typeof(O=a[s])?O.call(k,E,i,void 0):O)&&(j?(j=!1,E=T({},E,O)):T(E,O));k.state=E}else E.queue=null;if(a=k.render(),12===e.status)throw null;i=t.keyPath,t.keyPath=r,ri(e,t,a,-1),t.keyPath=i}else{if(a=rr(e,t,r,a,i,void 0),12===e.status)throw null;rn(e,t,r,a,0!==tv,ty,tb)}else if("string"==typeof a)if(null===(k=t.blockedSegment))k=i.children,E=t.formatContext,j=t.keyPath,t.formatContext=Y(E,a,i),t.keyPath=r,rf(e,t,k,-1),t.formatContext=E,t.keyPath=j;else{if(j=function(e,t,r,a,i,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(ex("a"));var d,p=null,h=null;for(d in r)if(R.call(r,d)){var f=r[d];if(null!=f)switch(d){case"children":p=f;break;case"dangerouslySetInnerHTML":h=f;break;case"href":""===f?en(e,"href",""):eu(e,d,f);break;default:eu(e,d,f)}}if(e.push(">"),ec(e,h,p),"string"==typeof p){e.push(I(p));var g=null}else g=p;return g;case"select":e.push(ex("select"));var m,v=null,y=null;for(m in r)if(R.call(r,m)){var b=r[m];if(null!=b)switch(m){case"children":v=b;break;case"dangerouslySetInnerHTML":y=b;break;case"defaultValue":case"value":break;default:eu(e,m,b)}}return e.push(">"),ec(e,y,v),v;case"option":var w=u.selectedValue;e.push(ex("option"));var k,x=null,S=null,C=null,E=null;for(k in r)if(R.call(r,k)){var O=r[k];if(null!=O)switch(k){case"children":x=O;break;case"selected":C=O;break;case"dangerouslySetInnerHTML":E=O;break;case"value":S=O;default:eu(e,k,O)}}if(null!=w){var j,z,N=null!==S?""+S:(j=x,z="",n.Children.forEach(j,function(e){null!=e&&(z+=e)}),z);if(P(w)){for(var A=0;A<w.length;A++)if(""+w[A]===N){e.push(' selected=""');break}}else""+w===N&&e.push(' selected=""')}else C&&e.push(' selected=""');return e.push(">"),ec(e,E,x),x;case"textarea":e.push(ex("textarea"));var L,M=null,F=null,D=null;for(L in r)if(R.call(r,L)){var $=r[L];if(null!=$)switch(L){case"children":D=$;break;case"value":M=$;break;case"defaultValue":F=$;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:eu(e,L,$)}}if(null===M&&null!==F&&(M=F),e.push(">"),null!=D){if(null!=M)throw Error(o(92));if(P(D)){if(1<D.length)throw Error(o(93));M=""+D[0]}M=""+D}return"string"==typeof M&&"\n"===M[0]&&e.push("\n"),null!==M&&e.push(I(""+M)),null;case"input":e.push(ex("input"));var V,U=null,H=null,q=null,K=null,G=null,X=null,Y=null,Q=null,Z=null;for(V in r)if(R.call(r,V)){var J=r[V];if(null!=J)switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"name":U=J;break;case"formAction":H=J;break;case"formEncType":q=J;break;case"formMethod":K=J;break;case"formTarget":G=J;break;case"defaultChecked":Z=J;break;case"defaultValue":Y=J;break;case"checked":Q=J;break;case"value":X=J;break;default:eu(e,V,J)}}var ee=el(e,a,i,H,q,K,G,U);return null!==Q?er(e,"checked",Q):null!==Z&&er(e,"checked",Z),null!==X?eu(e,"value",X):null!==Y&&eu(e,"value",Y),e.push("/>"),null!=ee&&ee.forEach(eo,e),null;case"button":e.push(ex("button"));var ei,ew=null,ek=null,eS=null,eP=null,eE=null,eT=null,eR=null;for(ei in r)if(R.call(r,ei)){var eO=r[ei];if(null!=eO)switch(ei){case"children":ew=eO;break;case"dangerouslySetInnerHTML":ek=eO;break;case"name":eS=eO;break;case"formAction":eP=eO;break;case"formEncType":eE=eO;break;case"formMethod":eT=eO;break;case"formTarget":eR=eO;break;default:eu(e,ei,eO)}}var ej=el(e,a,i,eP,eE,eT,eR,eS);if(e.push(">"),null!=ej&&ej.forEach(eo,e),ec(e,ek,ew),"string"==typeof ew){e.push(I(ew));var ez=null}else ez=ew;return ez;case"form":e.push(ex("form"));var e_,eN=null,eA=null,eL=null,eI=null,eM=null,eF=null;for(e_ in r)if(R.call(r,e_)){var eD=r[e_];if(null!=eD)switch(e_){case"children":eN=eD;break;case"dangerouslySetInnerHTML":eA=eD;break;case"action":eL=eD;break;case"encType":eI=eD;break;case"method":eM=eD;break;case"target":eF=eD;break;default:eu(e,e_,eD)}}var eB=null,e$=null;if("function"==typeof eL){var eV=es(a,eL);null!==eV?(eL=eV.action||"",eI=eV.encType,eM=eV.method,eF=eV.target,eB=eV.data,e$=eV.name):(e.push(" ","action",'="',ea,'"'),eF=eM=eI=eL=null,ed(a,i))}if(null!=eL&&eu(e,"action",eL),null!=eI&&eu(e,"encType",eI),null!=eM&&eu(e,"method",eM),null!=eF&&eu(e,"target",eF),e.push(">"),null!==e$&&(e.push('<input type="hidden"'),en(e,"name",e$),e.push("/>"),null!=eB&&eB.forEach(eo,e)),ec(e,eA,eN),"string"==typeof eN){e.push(I(eN));var eU=null}else eU=eN;return eU;case"menuitem":for(var eq in e.push(ex("menuitem")),r)if(R.call(r,eq)){var eK=r[eq];if(null!=eK)switch(eq){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:eu(e,eq,eK)}}return e.push(">"),null;case"object":e.push(ex("object"));var eG,eX=null,eY=null;for(eG in r)if(R.call(r,eG)){var eQ=r[eG];if(null!=eQ)switch(eG){case"children":eX=eQ;break;case"dangerouslySetInnerHTML":eY=eQ;break;case"data":var eZ=B(""+eQ);if(""===eZ)break;e.push(" ","data",'="',I(eZ),'"');break;default:eu(e,eG,eQ)}}if(e.push(">"),ec(e,eY,eX),"string"==typeof eX){e.push(I(eX));var eJ=null}else eJ=eX;return eJ;case"title":var e0=1&u.tagScope,e1=4&u.tagScope;if(4===u.insertionMode||e0||null!=r.itemProp)var e2=em(e,r);else e1?e2=null:(em(i.hoistableChunks,r),e2=void 0);return e2;case"link":var e3=1&u.tagScope,e5=4&u.tagScope,e9=r.rel,e4=r.href,e6=r.precedence;if(4===u.insertionMode||e3||null!=r.itemProp||"string"!=typeof e9||"string"!=typeof e4||""===e4){ep(e,r);var e8=null}else if("stylesheet"===r.rel)if("string"!=typeof e6||null!=r.disabled||r.onLoad||r.onError)e8=ep(e,r);else{var e7=i.styles.get(e6),te=a.styleResources.hasOwnProperty(e4)?a.styleResources[e4]:void 0;if(null!==te){a.styleResources[e4]=null,e7||(e7={precedence:I(e6),rules:[],hrefs:[],sheets:new Map},i.styles.set(e6,e7));var tt={state:0,props:T({},r,{"data-precedence":r.precedence,precedence:null})};if(te){2===te.length&&eH(tt.props,te);var tr=i.preloads.stylesheets.get(e4);tr&&0<tr.length?tr.length=0:tt.state=1}e7.sheets.set(e4,tt),l&&l.stylesheets.add(tt)}else if(e7){var tn=e7.sheets.get(e4);tn&&l&&l.stylesheets.add(tn)}c&&e.push("\x3c!-- --\x3e"),e8=null}else r.onLoad||r.onError?e8=ep(e,r):(c&&e.push("\x3c!-- --\x3e"),e8=e5?null:ep(i.hoistableChunks,r));return e8;case"script":var ta=1&u.tagScope,to=r.async;if("string"!=typeof r.src||!r.src||!to||"function"==typeof to||"symbol"==typeof to||r.onLoad||r.onError||4===u.insertionMode||ta||null!=r.itemProp)var ti=ev(e,r);else{var ts=r.src;if("module"===r.type)var tl=a.moduleScriptResources,tu=i.preloads.moduleScripts;else tl=a.scriptResources,tu=i.preloads.scripts;var tc=tl.hasOwnProperty(ts)?tl[ts]:void 0;if(null!==tc){tl[ts]=null;var td=r;if(tc){2===tc.length&&eH(td=T({},r),tc);var tp=tu.get(ts);tp&&(tp.length=0)}var th=[];i.scripts.add(th),ev(th,td)}c&&e.push("\x3c!-- --\x3e"),ti=null}return ti;case"style":var tf=1&u.tagScope,tg=r.precedence,tm=r.href,tv=r.nonce;if(4===u.insertionMode||tf||null!=r.itemProp||"string"!=typeof tg||"string"!=typeof tm||""===tm){e.push(ex("style"));var ty,tb=null,tw=null;for(ty in r)if(R.call(r,ty)){var tk=r[ty];if(null!=tk)switch(ty){case"children":tb=tk;break;case"dangerouslySetInnerHTML":tw=tk;break;default:eu(e,ty,tk)}}e.push(">");var tx=Array.isArray(tb)?2>tb.length?tb[0]:null:tb;"function"!=typeof tx&&"symbol"!=typeof tx&&null!=tx&&e.push((""+tx).replace(eh,ef)),ec(e,tw,tb),e.push(eC("style"));var tS=null}else{var tC=i.styles.get(tg);if(null!==(a.styleResources.hasOwnProperty(tm)?a.styleResources[tm]:void 0)){a.styleResources[tm]=null,tC||(tC={precedence:I(tg),rules:[],hrefs:[],sheets:new Map},i.styles.set(tg,tC));var tP=i.nonce.style;if(!tP||tP===tv){tC.hrefs.push(I(tm));var tE,tT=tC.rules,tR=null,tO=null;for(tE in r)if(R.call(r,tE)){var tj=r[tE];if(null!=tj)switch(tE){case"children":tR=tj;break;case"dangerouslySetInnerHTML":tO=tj}}var tz=Array.isArray(tR)?2>tR.length?tR[0]:null:tR;"function"!=typeof tz&&"symbol"!=typeof tz&&null!=tz&&tT.push((""+tz).replace(eh,ef)),ec(tT,tO,tR)}}tC&&l&&l.styles.add(tC),c&&e.push("\x3c!-- --\x3e"),tS=void 0}return tS;case"meta":var t_=1&u.tagScope,tN=4&u.tagScope;if(4===u.insertionMode||t_||null!=r.itemProp)var tA=eg(e,r,"meta");else c&&e.push("\x3c!-- --\x3e"),tA=tN?null:"string"==typeof r.charSet?eg(i.charsetChunks,r,"meta"):"viewport"===r.name?eg(i.viewportChunks,r,"meta"):eg(i.hoistableChunks,r,"meta");return tA;case"listing":case"pre":e.push(ex(t));var tL,tI=null,tM=null;for(tL in r)if(R.call(r,tL)){var tF=r[tL];if(null!=tF)switch(tL){case"children":tI=tF;break;case"dangerouslySetInnerHTML":tM=tF;break;default:eu(e,tL,tF)}}if(e.push(">"),null!=tM){if(null!=tI)throw Error(o(60));if("object"!=typeof tM||!("__html"in tM))throw Error(o(61));var tD=tM.__html;null!=tD&&("string"==typeof tD&&0<tD.length&&"\n"===tD[0]?e.push("\n",tD):e.push(""+tD))}return"string"==typeof tI&&"\n"===tI[0]&&e.push("\n"),tI;case"img":var tB=3&u.tagScope,t$=r.src,tV=r.srcSet;if(!("lazy"===r.loading||!t$&&!tV||"string"!=typeof t$&&null!=t$||"string"!=typeof tV&&null!=tV||"low"===r.fetchPriority||tB)&&("string"!=typeof t$||":"!==t$[4]||"d"!==t$[0]&&"D"!==t$[0]||"a"!==t$[1]&&"A"!==t$[1]||"t"!==t$[2]&&"T"!==t$[2]||"a"!==t$[3]&&"A"!==t$[3])&&("string"!=typeof tV||":"!==tV[4]||"d"!==tV[0]&&"D"!==tV[0]||"a"!==tV[1]&&"A"!==tV[1]||"t"!==tV[2]&&"T"!==tV[2]||"a"!==tV[3]&&"A"!==tV[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var tU="string"==typeof r.sizes?r.sizes:void 0,tH=tV?tV+"\n"+(tU||""):t$,tW=i.preloads.images,tq=tW.get(tH);if(tq)("high"===r.fetchPriority||10>i.highImagePreloads.size)&&(tW.delete(tH),i.highImagePreloads.add(tq));else if(!a.imageResources.hasOwnProperty(tH)){a.imageResources[tH]=W;var tK,tG=r.crossOrigin,tX="string"==typeof tG?"use-credentials"===tG?tG:"":void 0,tY=i.headers;tY&&0<tY.remainingCapacity&&"string"!=typeof r.srcSet&&("high"===r.fetchPriority||500>tY.highImagePreloads.length)&&(tK=eW(t$,"image",{imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:tX,integrity:r.integrity,nonce:r.nonce,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.refererPolicy}),0<=(tY.remainingCapacity-=tK.length+2))?(i.resets.image[tH]=W,tY.highImagePreloads&&(tY.highImagePreloads+=", "),tY.highImagePreloads+=tK):(ep(tq=[],{rel:"preload",as:"image",href:tV?void 0:t$,imageSrcSet:tV,imageSizes:tU,crossOrigin:tX,integrity:r.integrity,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.referrerPolicy}),"high"===r.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(tq):(i.bulkPreloads.add(tq),tW.set(tH,tq)))}}return eg(e,r,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return eg(e,r,t);case"head":if(2>u.insertionMode){var tQ=s||i.preamble;if(tQ.headChunks)throw Error(o(545,"`<head>`"));null!==s&&e.push("\x3c!--head--\x3e"),tQ.headChunks=[];var tZ=ey(tQ.headChunks,r,"head")}else tZ=eb(e,r,"head");return tZ;case"body":if(2>u.insertionMode){var tJ=s||i.preamble;if(tJ.bodyChunks)throw Error(o(545,"`<body>`"));null!==s&&e.push("\x3c!--body--\x3e"),tJ.bodyChunks=[];var t0=ey(tJ.bodyChunks,r,"body")}else t0=eb(e,r,"body");return t0;case"html":if(0===u.insertionMode){var t1=s||i.preamble;if(t1.htmlChunks)throw Error(o(545,"`<html>`"));null!==s&&e.push("\x3c!--html--\x3e"),t1.htmlChunks=[""];var t2=ey(t1.htmlChunks,r,"html")}else t2=eb(e,r,"html");return t2;default:if(-1!==t.indexOf("-")){e.push(ex(t));var t3,t5=null,t9=null;for(t3 in r)if(R.call(r,t3)){var t4=r[t3];if(null!=t4){var t6=t3;switch(t3){case"children":t5=t4;break;case"dangerouslySetInnerHTML":t9=t4;break;case"style":et(e,t4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":t6="class";default:if(_(t3)&&"function"!=typeof t4&&"symbol"!=typeof t4&&!1!==t4){if(!0===t4)t4="";else if("object"==typeof t4)continue;e.push(" ",t6,'="',I(t4),'"')}}}}return e.push(">"),ec(e,t9,t5),t5}}return eb(e,r,t)}(k.chunks,a,i,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,k.lastPushedText),k.lastPushedText=!1,E=t.formatContext,s=t.keyPath,t.keyPath=r,3===(t.formatContext=Y(E,a,i)).insertionMode){r=t1(e,0,null,t.formatContext,!1,!1),k.preambleChildren.push(r),t.blockedSegment=r;try{r.status=6,rf(e,t,j,-1),e0(r.chunks,e.renderState,r.lastPushedText,r.textEmbedded),r.status=1}finally{t.blockedSegment=k}}else rf(e,t,j,-1);t.formatContext=E,t.keyPath=s;e:{switch(t=k.chunks,e=e.resumableState,a){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=E.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===E.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=E.insertionMode)break e}t.push(eC(a))}k.lastPushedText=!1}else{switch(a){case w:case u:case c:case l:a=t.keyPath,t.keyPath=r,ri(e,t,i.children,-1),t.keyPath=a;return;case b:null===(a=t.blockedSegment)?"hidden"!==i.mode&&(a=t.keyPath,t.keyPath=r,rf(e,t,i.children,-1),t.keyPath=a):"hidden"!==i.mode&&(e.renderState.generateStaticMarkup||a.chunks.push("\x3c!--&--\x3e"),a.lastPushedText=!1,k=t.keyPath,t.keyPath=r,rf(e,t,i.children,-1),t.keyPath=k,e.renderState.generateStaticMarkup||a.chunks.push("\x3c!--/&--\x3e"),a.lastPushedText=!1);return;case g:e:{if(a=i.children,"forwards"===(i=i.revealOrder)||"backwards"===i||"unstable_legacy-backwards"===i){if(P(a)){rt(e,t,r,a,i);break e}if((k=C(a))&&(k=k.call(a))){if(!(E=k.next()).done){do E=k.next();while(!E.done);rt(e,t,r,a,i)}break e}}"together"===i?(i=t.keyPath,k=t.row,(E=t.row=re(null)).boundaries=[],E.together=!0,t.keyPath=r,ri(e,t,a,-1),0==--E.pendingTasks&&t6(e,E),t.keyPath=i,t.row=k,null!==k&&0<E.pendingTasks&&(k.pendingTasks++,E.next=k)):(i=t.keyPath,t.keyPath=r,ri(e,t,a,-1),t.keyPath=i)}return;case x:case y:throw Error(o(343));case f:e:if(null!==t.replay){a=t.keyPath,k=t.formatContext,E=t.row,t.keyPath=r,t.formatContext=J(e.resumableState,k),t.row=null,r=i.children;try{rf(e,t,r,-1)}finally{t.keyPath=a,t.formatContext=k,t.row=E}}else{a=t.keyPath,s=t.formatContext;var z=t.row,N=t.blockedBoundary;O=t.blockedPreamble;var A=t.hoistableState;S=t.blockedSegment;var L=i.fallback;i=i.children;var M=new Set,F=tZ(e,t.row,M,null,null);null!==e.trackedPostpones&&(F.trackedContentKeyPath=r);var D=t1(e,S.chunks.length,F,t.formatContext,!1,!1);S.children.push(D),S.lastPushedText=!1;var $=t1(e,0,null,t.formatContext,!1,!1);if($.parentFlushed=!0,null!==e.trackedPostpones){k=t.componentStack,j=[(E=[r[0],"Suspense Fallback",r[2]])[1],E[2],[],null],e.trackedPostpones.workingMap.set(E,j),F.trackedFallbackNode=j,t.blockedSegment=D,t.blockedPreamble=F.fallbackPreamble,t.keyPath=E,t.formatContext=Z(e.resumableState,s),t.componentStack=t3(k),D.status=6;try{rf(e,t,L,-1),e0(D.chunks,e.renderState,D.lastPushedText,D.textEmbedded),D.status=1}catch(t){throw D.status=12===e.status?3:4,t}finally{t.blockedSegment=S,t.blockedPreamble=O,t.keyPath=a,t.formatContext=s}t2(t=tJ(e,null,i,-1,F,$,F.contentPreamble,F.contentState,t.abortSet,r,J(e.resumableState,t.formatContext),t.context,t.treeContext,null,k)),e.pingedTasks.push(t)}else{t.blockedBoundary=F,t.blockedPreamble=F.contentPreamble,t.hoistableState=F.contentState,t.blockedSegment=$,t.keyPath=r,t.formatContext=J(e.resumableState,s),t.row=null,$.status=6;try{if(rf(e,t,i,-1),e0($.chunks,e.renderState,$.lastPushedText,$.textEmbedded),$.status=1,rw(F,$),0===F.pendingTasks&&0===F.status){if(F.status=1,!tK(e,F)){null!==z&&0==--z.pendingTasks&&t6(e,z),0===e.pendingRootTasks&&t.blockedPreamble&&rP(e);break e}}else null!==z&&z.together&&t7(e,z)}catch(r){F.status=4,12===e.status?($.status=3,k=e.fatalError):($.status=4,k=r),F.errorDigest=j=t9(e,k,E=t5(t.componentStack)),rd(e,F)}finally{t.blockedBoundary=N,t.blockedPreamble=O,t.hoistableState=A,t.blockedSegment=S,t.keyPath=a,t.formatContext=s,t.row=z}t2(t=tJ(e,null,L,-1,N,D,F.fallbackPreamble,F.fallbackState,M,[r[0],"Suspense Fallback",r[2]],Z(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,t3(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:if("ref"in i)for(L in k={},i)"ref"!==L&&(k[L]=i[L]);else k=i;a=rr(e,t,r,a.render,k,s),rn(e,t,r,a,0!==tv,ty,tb);return;case m:ra(e,t,r,a.type,i,s);return;case p:if(E=i.children,k=t.keyPath,i=i.value,j=a._currentValue2,a._currentValue2=i,e9=a={parent:s=e9,depth:null===s?0:s.depth+1,context:a,parentValue:j,value:i},t.context=a,t.keyPath=r,ri(e,t,E,-1),null===(e=e9))throw Error(o(403));e.context._currentValue2=e.parentValue,e=e9=e.parent,t.context=e,t.keyPath=k;return;case d:a=(i=i.children)(a._context._currentValue2),i=t.keyPath,t.keyPath=r,ri(e,t,a,-1),t.keyPath=i;return;case v:if(a=(k=a._init)(a._payload),12===e.status)throw null;ra(e,t,r,a,i,s);return}throw Error(o(130,null==a?a:typeof a,""))}}function ro(e,t,r,n,a){var o=t.replay,i=t.blockedBoundary,s=t1(e,0,null,t.formatContext,!1,!1);s.id=r,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,rf(e,t,n,a),s.status=1,null===i?e.completedRootSegment=s:(rw(i,s),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=o,t.blockedSegment=null}}function ri(e,t,r,n){null!==t.replay&&"number"==typeof t.replay.slots?ro(e,t,t.replay.slots,r,n):(t.node=r,t.childIndex=n,r=t.componentStack,t2(t),rs(e,t),t.componentStack=r)}function rs(e,t){var r=t.node,n=t.childIndex;if(null!==r){if("object"==typeof r){switch(r.$$typeof){case i:var a=r.type,l=r.key,u=r.props,c=void 0!==(r=u.ref)?r:null,d=e3(a),h=null==l?-1===n?0:n:l;if(l=[t.keyPath,d,h],null!==t.replay)e:{var g=t.replay;for(r=0,n=g.nodes;r<n.length;r++){var m=n[r];if(h===m[1]){if(4===m.length){if(null!==d&&d!==m[0])throw Error(o(490,m[0],d));var y=m[2];d=m[3],h=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(ra(e,t,l,a,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===to||"function"==typeof o.then))throw t.node===h?t.replay=g:n.splice(r,1),o;t.replay.pendingTasks--,u=t5(t.componentStack),l=e,e=t.blockedBoundary,u=t9(l,a=o,u),rm(l,e,y,d,a,u)}t.replay=g}else{if(a!==f)throw Error(o(490,"Suspense",e3(a)||"Unknown"));t:{g=void 0,a=m[5],c=m[2],d=m[3],h=null===m[4]?[]:m[4][2],m=null===m[4]?null:m[4][3];var b=t.keyPath,w=t.formatContext,k=t.row,x=t.replay,S=t.blockedBoundary,E=t.hoistableState,T=u.children,R=u.fallback,O=new Set;(u=tZ(e,t.row,O,null,null)).parentFlushed=!0,u.rootSegmentID=a,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=J(e.resumableState,w),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(rf(e,t,T,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(r){u.status=4,g=t9(e,r,y=t5(t.componentStack)),u.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=S,t.hoistableState=E,t.replay=x,t.keyPath=b,t.formatContext=w,t.row=k}t2(y=t0(e,null,{nodes:h,slots:m,pendingTasks:0},R,-1,S,u.fallbackState,O,[l[0],"Suspense Fallback",l[2]],Z(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,t3(t.componentStack))),e.pingedTasks.push(y)}}n.splice(r,1);break e}}}else ra(e,t,l,a,u,c);return;case s:throw Error(o(257));case v:if(r=(y=r._init)(r._payload),12===e.status)throw null;ri(e,t,r,n);return}if(P(r))return void rl(e,t,r,n);if((y=C(r))&&(y=y.call(r))){if(!(r=y.next()).done){u=[];do u.push(r.value),r=y.next();while(!r.done);rl(e,t,u,n)}return}if("function"==typeof r.then)return t.thenableState=null,ri(e,t,tM(r),n);if(r.$$typeof===p)return ri(e,t,r._currentValue2,n);throw Error(o(31,"[object Object]"===(n=Object.prototype.toString.call(r))?"object with keys {"+Object.keys(r).join(", ")+"}":n))}"string"==typeof r?null!==(n=t.blockedSegment)&&(n.lastPushedText=eJ(n.chunks,r,e.renderState,n.lastPushedText)):("number"==typeof r||"bigint"==typeof r)&&null!==(n=t.blockedSegment)&&(n.lastPushedText=eJ(n.chunks,""+r,e.renderState,n.lastPushedText))}}function rl(e,t,r,n){var a=t.keyPath;if(-1!==n&&(t.keyPath=[t.keyPath,"Fragment",n],null!==t.replay)){for(var i=t.replay,s=i.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===n){t.replay={nodes:n=u[2],slots:u=u[3],pendingTasks:1};try{if(rl(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(a){if("object"==typeof a&&null!==a&&(a===to||"function"==typeof a.then))throw a;t.replay.pendingTasks--,r=t5(t.componentStack);var c=t.blockedBoundary;r=t9(e,a,r),rm(e,c,n,u,a,r)}t.replay=i,s.splice(l,1);break}}t.keyPath=a;return}if(i=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(n=0;n<s;n++)u=r[n],t.treeContext=te(i,s,n),"number"==typeof(c=l[n])?(ro(e,t,c,u,n),delete l[n]):rf(e,t,u,n);t.treeContext=i,t.keyPath=a;return}for(l=0;l<s;l++)n=r[l],t.treeContext=te(i,s,l),rf(e,t,n,l);t.treeContext=i,t.keyPath=a}function ru(e,t,r){if(r.status=5,r.rootSegmentID=e.nextSegmentId++,null===(e=r.trackedContentKeyPath))throw Error(o(486));var n=r.trackedFallbackNode,a=t.workingMap.get(e);return void 0===a?(r=[e[1],e[2],[],null,n,r.rootSegmentID],t.workingMap.set(e,r),rL(r,e[0],t),r):(a[4]=n,a[5]=r.rootSegmentID,a)}function rc(e,t,r,n){n.status=5;var a=r.keyPath,i=r.blockedBoundary;if(null===i)n.id=e.nextSegmentId++,t.rootSlots=n.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==i&&0===i.status){var s=ru(e,t,i);if(i.trackedContentKeyPath===a&&-1===r.childIndex){-1===n.id&&(n.id=n.parentFlushed?i.rootSegmentID:e.nextSegmentId++),s[3]=n.id;return}}if(-1===n.id&&(n.id=n.parentFlushed&&null!==i?i.rootSegmentID:e.nextSegmentId++),-1===r.childIndex)null===a?t.rootSlots=n.id:void 0===(r=t.workingMap.get(a))?rL(r=[a[1],a[2],[],n.id],a[0],t):r[3]=n.id;else{if(null===a){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(o(491))}else if(void 0===(s=(i=t.workingMap).get(a)))e={},s=[a[1],a[2],[],e],i.set(a,s),rL(s,a[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(o(491));e[r.childIndex]=n.id}}}function rd(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function rp(e,t,r){return t0(e,r,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function rh(e,t,r){var n=t.blockedSegment,a=t1(e,n.chunks.length,null,t.formatContext,n.lastPushedText,!0);return n.children.push(a),n.lastPushedText=!1,tJ(e,r,t.node,t.childIndex,t.blockedBoundary,a,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function rf(e,t,r,n){var a=t.formatContext,o=t.context,i=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return ri(e,t,r,n)}catch(c){if(tR(),r=c===to?ts():c,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){e=rp(e,t,n=c===to?tT():null).ping,r.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,e6(o);return}if("Maximum call stack size exceeded"===r.message){r=rp(e,t,r=c===to?tT():null),e.pingedTasks.push(r),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,e6(o);return}}}}else{var c=u.children.length,d=u.chunks.length;try{return ri(e,t,r,n)}catch(n){if(tR(),u.children.length=c,u.chunks.length=d,r=n===to?ts():n,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){u=r,e=rh(e,t,r=n===to?tT():null).ping,u.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,e6(o);return}if("Maximum call stack size exceeded"===r.message){u=rh(e,t,u=n===to?tT():null),e.pingedTasks.push(u),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,e6(o);return}}}}throw t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,e6(o),r}function rg(e){var t=e.blockedBoundary,r=e.blockedSegment;null!==r&&(r.status=3,rk(this,t,e.row,r))}function rm(e,t,r,n,a,i){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)rm(e,t,l[2],l[3],a,i);else{l=l[5];var u=tZ(e,null,new Set,null,null);u.parentFlushed=!0,u.rootSegmentID=l,u.status=4,u.errorDigest=i,u.parentFlushed&&e.clientRenderedBoundaries.push(u)}}if(r.length=0,null!==n){if(null===t)throw Error(o(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof n)for(var c in n)delete n[c]}}function rv(e,t){try{var r=e.renderState,n=r.onHeaders;if(n){var a=r.headers;if(a){r.headers=null;var o=a.preconnects;if(a.fontPreloads&&(o&&(o+=", "),o+=a.fontPreloads),a.highImagePreloads&&(o&&(o+=", "),o+=a.highImagePreloads),!t){var i=r.styles.values(),s=i.next();t:for(;0<a.remainingCapacity&&!s.done;s=i.next())for(var l=s.value.sheets.values(),u=l.next();0<a.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,p=d.href,h=c.props,f=eW(h.href,"style",{crossOrigin:h.crossOrigin,integrity:h.integrity,nonce:h.nonce,type:h.type,fetchPriority:h.fetchPriority,referrerPolicy:h.referrerPolicy,media:h.media});if(0<=(a.remainingCapacity-=f.length+2))r.resets.style[p]=W,o&&(o+=", "),o+=f,r.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:W;else break t}}n(o?{Link:o}:{})}}}catch(t){t9(e,t,{})}}function ry(e){null===e.trackedPostpones&&rv(e,!0),null===e.trackedPostpones&&rP(e),e.onShellError=ta,(e=e.onShellReady)()}function rb(e){rv(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),rP(e),(e=e.onAllReady)()}function rw(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1!==r.status&&3!==r.status&&4!==r.status||rw(e,r)}else e.completedSegments.push(t)}function rk(e,t,r,n){if(null!==r&&(0==--r.pendingTasks?t6(e,r):r.together&&t7(e,r)),e.allPendingTasks--,null===t){if(null!==n&&n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&ry(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==n&&n.parentFlushed&&(1===n.status||3===n.status)&&rw(t,n),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(r=t.row)&&eZ(r.hoistables,t.contentState),tK(e,t)||(t.fallbackAbortableTasks.forEach(rg,e),t.fallbackAbortableTasks.clear(),null!==r&&0==--r.pendingTasks&&t6(e,r)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&rP(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){r=e.trackedPostpones;var a=t.next;if(null!==a&&null!==(n=a.boundaries))for(a.boundaries=null,a=0;a<n.length;a++){var i=n[a];ru(e,r,i),rk(e,i,null,null)}}0==--t.pendingTasks&&t6(e,t)}}else null===n||!n.parentFlushed||1!==n.status&&3!==n.status||(rw(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&t7(e,t);0===e.allPendingTasks&&rb(e)}function rx(e){if(14!==e.status&&13!==e.status){var t=e9,r=$.H;$.H=t$;var n=$.A;$.A=tU;var a=tY;tY=e;var i=tV;tV=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var p=c;if(0!==u.replay.pendingTasks){e6(u.context);try{if("number"==typeof u.replay.slots?ro(p,u,u.replay.slots,u.node,u.childIndex):rs(p,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(o(488));u.replay.pendingTasks--,u.abortSet.delete(u),rk(p,u.blockedBoundary,u.row,null)}catch(e){tR();var h=e===to?ts():e;if("object"==typeof h&&null!==h&&"function"==typeof h.then){var f=u.ping;h.then(f,f),u.thenableState=e===to?tT():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var g=t5(u.componentStack);c=void 0;var m=p,v=u.blockedBoundary,y=12===p.status?p.fatalError:h,b=u.replay.nodes,w=u.replay.slots;c=t9(m,y,g),rm(m,v,b,w,y,c),p.pendingRootTasks--,0===p.pendingRootTasks&&ry(p),p.allPendingTasks--,0===p.allPendingTasks&&rb(p)}}finally{}}}else if(p=void 0,m=d,0===m.status){m.status=6,e6(u.context);var k=m.children.length,x=m.chunks.length;try{rs(c,u),e0(m.chunks,c.renderState,m.lastPushedText,m.textEmbedded),u.abortSet.delete(u),m.status=1,rk(c,u.blockedBoundary,u.row,m)}catch(e){tR(),m.children.length=k,m.chunks.length=x;var S=e===to?ts():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var C=c.trackedPostpones,P=t5(u.componentStack);u.abortSet.delete(u),t9(c,S,P),rc(c,C,u,m),rk(c,u.blockedBoundary,u.row,m)}else if("object"==typeof S&&null!==S&&"function"==typeof S.then){m.status=0,u.thenableState=e===to?tT():null;var E=u.ping;S.then(E,E)}else{var T=t5(u.componentStack);u.abortSet.delete(u),m.status=4;var R=u.blockedBoundary,O=u.row;if(null!==O&&0==--O.pendingTasks&&t6(c,O),c.allPendingTasks--,p=t9(c,S,T),null===R)t4(c,S);else if(R.pendingTasks--,4!==R.status){R.status=4,R.errorDigest=p,rd(c,R);var j=R.row;null!==j&&0==--j.pendingTasks&&t6(c,j),R.parentFlushed&&c.clientRenderedBoundaries.push(R),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==R.contentPreamble&&rP(c)}0===c.allPendingTasks&&rb(c)}}finally{}}}l.splice(0,s),null!==e.destination&&rN(e,e.destination)}catch(t){t9(e,t,{}),t4(e,t)}finally{tV=i,$.H=r,$.A=n,r===t$&&e6(t),tY=a}}}function rS(e,t,r){t.preambleChildren.length&&r.push(t.preambleChildren);for(var n=!1,a=0;a<t.children.length;a++)n=rC(e,t.children[a],r)||n;return n}function rC(e,t,r){var n=t.boundary;if(null===n)return rS(e,t,r);var a=n.contentPreamble,i=n.fallbackPreamble;if(null===a||null===i)return!1;switch(n.status){case 1:if(eP(e.renderState,a),e.byteSize+=n.byteSize,!(t=n.completedSegments[0]))throw Error(o(391));return rS(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return eP(e.renderState,i),rS(e,t,r);default:return!0}}function rP(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],r=e.byteSize,n=rC(e,e.completedRootSegment,t),a=e.renderState.preamble;!1===n||a.headChunks&&a.bodyChunks?e.completedPreambleSegments=t:e.byteSize=r}}function rE(e,t,r,n){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return n=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=n.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var a=!0,i=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(a=r[l];s<a.index;s++)t.push(i[s]);a=rR(e,t,a,n)}for(;s<i.length-1;s++)t.push(i[s]);return s<i.length&&(a=t.push(i[s])),a;case 3:return!0;default:throw Error(o(390))}}var rT=0;function rR(e,t,r,n){var a=r.boundary;if(null===a)return rE(e,t,r,n);if(a.parentFlushed=!0,4===a.status){var i=a.row;return null!==i&&0==--i.pendingTasks&&t6(e,i),e.renderState.generateStaticMarkup||(a=a.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),a&&(t.push(' data-dgst="'),a=I(a),t.push(a),t.push('"')),t.push("></template>")),rE(e,t,r,n),e=!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),eT(t,e.renderState,a.rootSegmentID),n&&eZ(n,a.fallbackState),rE(e,t,r,n),t.push("\x3c!--/$--\x3e");if(!r_&&tK(e,a)&&rT+a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),eT(t,e.renderState,a.rootSegmentID),rE(e,t,r,n),t.push("\x3c!--/$--\x3e");if(rT+=a.byteSize,n&&eZ(n,a.contentState),null!==(r=a.row)&&tK(e,a)&&0==--r.pendingTasks&&t6(e,r),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=a.completedSegments).length)throw Error(o(391));return rR(e,t,r[0],n),e=!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function rO(e,t,r,n){switch(!function(e,t,r,n){switch(r.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.renderState,r.parentFormatContext,r.id),rR(e,t,r,n),r.parentFormatContext.insertionMode){case 0:case 1:case 3:case 2:return t.push("</div>");case 4:return t.push("</svg>");case 5:return t.push("</math>");case 6:return t.push("</table>");case 7:return t.push("</tbody></table>");case 8:return t.push("</tr></table>");case 9:return t.push("</colgroup></table>");default:throw Error(o(397))}}function rj(e,t,r){rT=r.byteSize;for(var n,a,i=r.completedSegments,s=0;s<i.length;s++)rz(e,t,r,i[s]);i.length=0,null!==(i=r.row)&&tK(e,r)&&0==--i.pendingTasks&&t6(e,i),eL(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,s=r.rootSegmentID,r=r.contentState;var l=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),l?(0==(4&i.instructions)&&(i.instructions|=4,t.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),0==(2&i.instructions)&&(i.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),0==(8&i.instructions)?(i.instructions|=8,t.push('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("')):t.push('$RR("')):(0==(2&i.instructions)&&(i.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),t.push('$RC("')),i=s.toString(16),t.push(e.boundaryPrefix),t.push(i),t.push('","'),t.push(e.segmentPrefix),t.push(i),l?(t.push('",'),n=r,t.push("["),a="[",n.stylesheets.forEach(function(e){if(2!==e.state)if(3===e.state)t.push(a),e=ej(""+e.props.href),t.push(e),t.push("]"),a=",[";else{t.push(a);var r=e.props["data-precedence"],n=e.props,i=B(""+e.props.href);for(var s in i=ej(i),t.push(i),r=""+r,t.push(","),r=ej(r),t.push(r),n)if(R.call(n,s)&&null!=(r=n[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:!function(e,t,r){var n=t.toLowerCase();switch(typeof r){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":n="class",t=""+r;break;case"hidden":if(!1===r)return;t="";break;case"src":case"href":t=""+(r=B(r));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!_(t))return;t=""+r}e.push(","),n=ej(n),e.push(n),e.push(","),n=ej(t),e.push(n)}(t,s,r)}t.push("]"),a=",[",e.state=3}}),t.push("]")):t.push('"'),r=t.push(")<\/script>"),eE(t,e)&&r}function rz(e,t,r,n){if(2===n.status)return!0;var a=r.contentState,i=n.id;if(-1===i){if(-1===(n.id=r.rootSegmentID))throw Error(o(392));return rO(e,t,n,a)}return i===r.rootSegmentID?rO(e,t,n,a):(rO(e,t,n,a),r=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),0==(1&r.instructions)?(r.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')):t.push('$RS("'),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t=t.push('")<\/script>'))}var r_=!1;function rN(e,t){try{if(!(0<e.pendingRootTasks)){var r,n=e.completedRootSegment;if(null!==n){if(5===n.status)return;var a=e.completedPreambleSegments;if(null===a)return;rT=e.byteSize;var o,i=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(o=0;o<u.length;o++)t.push(u[o]);if(c)for(o=0;o<c.length;o++)t.push(c[o]);else{var d=ex("head");t.push(d),t.push(">")}}else if(c)for(o=0;o<c.length;o++)t.push(c[o]);var p=s.charsetChunks;for(o=0;o<p.length;o++)t.push(p[o]);p.length=0,s.preconnects.forEach(eI,t),s.preconnects.clear();var h=s.viewportChunks;for(o=0;o<h.length;o++)t.push(h[o]);h.length=0,s.fontPreloads.forEach(eI,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(eI,t),s.highImagePreloads.clear(),q=s,s.styles.forEach(eD,t),q=null;var f=s.importMapChunks;for(o=0;o<f.length;o++)t.push(f[o]);f.length=0,s.bootstrapScripts.forEach(eI,t),s.scripts.forEach(eI,t),s.scripts.clear(),s.bulkPreloads.forEach(eI,t),s.bulkPreloads.clear(),i.instructions|=32;var g=s.hoistableChunks;for(o=0;o<g.length;o++)t.push(g[o]);for(i=g.length=0;i<a.length;i++){var m=a[i];for(s=0;s<m.length;s++)rR(e,t,m[s],null)}var v=e.renderState.preamble,y=v.headChunks;if(v.htmlChunks||y){var b=eC("head");t.push(b)}var w=v.bodyChunks;if(w)for(a=0;a<w.length;a++)t.push(w[a]);rR(e,t,n,null),e.completedRootSegment=null;var k=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var x=e.resumableState;if(0==(64&x.instructions)){if(x.instructions|=64,t.push(k.startInlineScript),0==(32&x.instructions)){x.instructions|=32;var S="_"+x.idPrefix+"R_";t.push(' id="');var C=I(S);t.push(C),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}eE(t,k)}var P=e.renderState;n=0;var E=P.viewportChunks;for(n=0;n<E.length;n++)t.push(E[n]);E.length=0,P.preconnects.forEach(eI,t),P.preconnects.clear(),P.fontPreloads.forEach(eI,t),P.fontPreloads.clear(),P.highImagePreloads.forEach(eI,t),P.highImagePreloads.clear(),P.styles.forEach(e$,t),P.scripts.forEach(eI,t),P.scripts.clear(),P.bulkPreloads.forEach(eI,t),P.bulkPreloads.clear();var T=P.hoistableChunks;for(n=0;n<T.length;n++)t.push(T[n]);T.length=0;var R=e.clientRenderedBoundaries;for(r=0;r<R.length;r++){var O=R[r];P=t;var j=e.resumableState,z=e.renderState,_=O.rootSegmentID,N=O.errorDigest;P.push(z.startInlineScript),P.push(">"),0==(4&j.instructions)?(j.instructions|=4,P.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')):P.push('$RX("'),P.push(z.boundaryPrefix);var A=_.toString(16);if(P.push(A),P.push('"'),N){P.push(",");var L,M=(L=N||"",JSON.stringify(L).replace(eR,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}));P.push(M)}var F=P.push(")<\/script>");if(!F){e.destination=null,r++,R.splice(0,r);return}}R.splice(0,r);var D=e.completedBoundaries;for(r=0;r<D.length;r++)if(!rj(e,t,D[r])){e.destination=null,r++,D.splice(0,r);return}D.splice(0,r),r_=!0;var B=e.partialBoundaries;for(r=0;r<B.length;r++){var $=B[r];e:{R=e,O=t,rT=$.byteSize;var V=$.completedSegments;for(F=0;F<V.length;F++)if(!rz(R,O,$,V[F])){F++,V.splice(0,F);var U=!1;break e}V.splice(0,F);var H=$.row;null!==H&&H.together&&1===$.pendingTasks&&(1===H.pendingTasks?t8(R,H,H.hoistables):H.pendingTasks--),U=eL(O,$.contentState,R.renderState)}if(!U){e.destination=null,r++,B.splice(0,r);return}}B.splice(0,r),r_=!1;var W=e.completedBoundaries;for(r=0;r<W.length;r++)if(!rj(e,t,W[r])){e.destination=null,r++,W.splice(0,r);return}W.splice(0,r)}}finally{r_=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(r=e.resumableState).hasBody&&(B=eC("body"),t.push(B)),r.hasHtml&&(r=eC("html"),t.push(r)),e.status=14,t.push(null),e.destination=null)}}function rA(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?rN(e,t):e.flushScheduled=!1}}function rL(e,t,r){if(null===t)r.rootNodes.push(e);else{var n=r.workingMap,a=n.get(t);void 0===a&&(a=[t[1],t[2],[],null],n.set(t,a),rL(a,t[0],r)),a[2].push(e)}}function rI(){}function rM(e,t,r,n){var a,i,s,l,u,c=!1,d=null,p="",h=!1;t={idPrefix:void 0===(a=t?t.identifierPrefix:void 0)?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:void 0,bootstrapScripts:void 0,bootstrapModules:void 0,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},i=e,s=t,l=function(e,t){var r=e.idPrefix,n=[],a=e.bootstrapScriptContent,o=e.bootstrapScripts,i=e.bootstrapModules;void 0!==a&&(n.push("<script"),eV(n,e),n.push(">",(""+a).replace(K,G),"<\/script>")),a=r+"P:";var s=r+"S:";r+="B:";var l=new Set,u=new Set,c=new Set,d=new Map,p=new Set,h=new Set,f=new Set,g={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==o)for(var m=0;m<o.length;m++){var v,y=o[m],b=void 0,w=void 0,k={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof y?k.href=v=y:(k.href=v=y.src,k.integrity=w="string"==typeof y.integrity?y.integrity:void 0,k.crossOrigin=b="string"==typeof y||null==y.crossOrigin?void 0:"use-credentials"===y.crossOrigin?"use-credentials":"");var x=v;(y=e).scriptResources[x]=null,y.moduleScriptResources[x]=null,ep(y=[],k),p.add(y),n.push('<script src="',I(v),'"'),"string"==typeof w&&n.push(' integrity="',I(w),'"'),"string"==typeof b&&n.push(' crossorigin="',I(b),'"'),eV(n,e),n.push(' async=""><\/script>')}if(void 0!==i)for(o=0;o<i.length;o++)k=i[o],b=v=void 0,w={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof k?w.href=m=k:(w.href=m=k.src,w.integrity=b="string"==typeof k.integrity?k.integrity:void 0,w.crossOrigin=v="string"==typeof k||null==k.crossOrigin?void 0:"use-credentials"===k.crossOrigin?"use-credentials":""),k=e,y=m,k.scriptResources[y]=null,k.moduleScriptResources[y]=null,ep(k=[],w),p.add(k),n.push('<script type="module" src="',I(m),'"'),"string"==typeof b&&n.push(' integrity="',I(b),'"'),"string"==typeof v&&n.push(' crossorigin="',I(v),'"'),eV(n,e),n.push(' async=""><\/script>');return{placeholderPrefix:a,segmentPrefix:s,boundaryPrefix:r,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:n,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:u,highImagePreloads:c,styles:d,bootstrapScripts:p,scripts:h,bulkPreloads:f,preloads:g,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}(t,r),(l=t1(s=new tX(s,l,u=X(0,null,0,null),1/0,rI,void 0,function(){h=!0},void 0,void 0,void 0,void 0),0,null,u,!1,!1)).parentFlushed=!0,t2(i=tJ(s,null,i,-1,null,l,null,null,s.abortableTasks,null,u,null,e7,null,null)),s.pingedTasks.push(i),(e=s).flushScheduled=null!==e.destination,rx(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&rv(e,0===e.pendingRootTasks);var f=e;(11===f.status||10===f.status)&&(f.status=12);try{var g=f.abortableTasks;if(0<g.size){var m=void 0===n?Error(o(432)):"object"==typeof n&&null!==n&&"function"==typeof n.then?Error(o(530)):n;f.fatalError=m,g.forEach(function(e){return function e(t,r,n){var a=t.blockedBoundary,o=t.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=t5(t.componentStack);if(null===a){if(13!==r.status&&14!==r.status){if(null===(a=t.replay))return void(null!==r.trackedPostpones&&null!==o?(a=r.trackedPostpones,t9(r,n,i),rc(r,a,t,o),rk(r,null,t.row,o)):(t9(r,n,i),t4(r,n)));a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(o=t9(r,n,i),rm(r,null,a.nodes,a.slots,n,o)),r.pendingRootTasks--,0===r.pendingRootTasks&&ry(r)}}else{var s=r.trackedPostpones;if(4!==a.status){if(null!==s&&null!==o)return t9(r,n,i),rc(r,s,t,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear(),rk(r,a,t.row,o);a.status=4,o=t9(r,n,i),a.status=4,a.errorDigest=o,rd(r,a),a.parentFlushed&&r.clientRenderedBoundaries.push(a)}a.pendingTasks--,null!==(o=a.row)&&0==--o.pendingTasks&&t6(r,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear()}null!==(t=t.row)&&0==--t.pendingTasks&&t6(r,t),r.allPendingTasks--,0===r.allPendingTasks&&rb(r)}(e,f,m)}),g.clear()}null!==f.destination&&rN(f,f.destination)}catch(e){t9(f,e,{}),t4(f,e)}var v=e,y={push:function(e){return null!==e&&(p+=e),!0},destroy:function(e){c=!0,d=e}};if(13===v.status)v.status=14,y.destroy(v.fatalError);else if(14!==v.status&&null===v.destination){v.destination=y;try{rN(v,y)}catch(e){t9(v,e,{}),t4(v,e)}}if(c&&d!==n)throw d;if(!h)throw Error(o(426));return p}t.renderToStaticMarkup=function(e,t){return rM(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToString=function(e,t){return rM(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="19.2.3"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server.browser.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),a=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),b=Symbol.for("react.activity"),w=Symbol.for("react.legacy_hidden"),k=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),S=Symbol.iterator;function C(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=S&&e[S]||e["@@iterator"])?e:null}var P=Array.isArray;function E(e,t){var r=3&e.length,n=e.length-r,a=t;for(t=0;t<n;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,a^=o=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)|0,a=(65535&(a=5*(65535&(a=a<<13|a>>>19))+((5*(a>>>16)&65535)<<16)|0))+27492+(((a>>>16)+58964&65535)<<16)}switch(o=0,r){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:o^=255&e.charCodeAt(t),a^=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)}return a^=e.length,a^=a>>>16,a=0x85ebca6b*(65535&a)+((0x85ebca6b*(a>>>16)&65535)<<16)|0,a^=a>>>13,((a=0xc2b2ae35*(65535&a)+((0xc2b2ae35*(a>>>16)&65535)<<16)|0)^a>>>16)>>>0}var T=new MessageChannel,R=[];function O(e){R.push(e),T.port2.postMessage(null)}function j(e){setTimeout(function(){throw e})}T.port1.onmessage=function(){var e=R.shift();e&&e()};var z=Promise,_="function"==typeof queueMicrotask?queueMicrotask:function(e){z.resolve(null).then(e).catch(j)},N=null,A=0;function L(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<A&&(e.enqueue(new Uint8Array(N.buffer,0,A)),N=new Uint8Array(2048),A=0),e.enqueue(t);else{var r=N.length-A;r<t.byteLength&&(0===r?e.enqueue(N):(N.set(t.subarray(0,r),A),e.enqueue(N),t=t.subarray(r)),N=new Uint8Array(2048),A=0),N.set(t,A),A+=t.byteLength}}function I(e,t){return L(e,t),!0}function M(e){N&&0<A&&(e.enqueue(new Uint8Array(N.buffer,0,A)),N=null,A=0)}var F=new TextEncoder;function D(e){return F.encode(e)}function B(e){return F.encode(e)}function $(e){return e.byteLength}function V(e,t){"function"==typeof e.error?e.error(t):e.close()}var U=Object.assign,H=Object.prototype.hasOwnProperty,W=RegExp("^[: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]*$"),q={},K={};function G(e){return!!H.call(K,e)||!H.call(q,e)&&(W.test(e)?K[e]=!0:(q[e]=!0,!1))}var X=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Y=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Q=/["'&<>]/;function Z(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=Q.exec(e);if(t){var r,n="",a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.slice(a,r)),a=r+1,n+=t}e=a!==r?n+e.slice(a,r):n}return e}var J=/([A-Z])/g,ee=/^ms-/,et=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function er(e){return et.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var en=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ea=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eo={pending:!1,data:null,method:null,action:null},ei=ea.d;ea.d={f:ei.f,r:ei.r,D:function(e){var t=nV||null;if(t){var r,n,a=t.resumableState,o=t.renderState;"string"==typeof e&&e&&(a.dnsResources.hasOwnProperty(e)||(a.dnsResources[e]=null,(n=(a=o.headers)&&0<a.remainingCapacity)&&(r="<"+(""+e).replace(rM,rF)+">; rel=dns-prefetch",n=0<=(a.remainingCapacity-=r.length+2)),n?(o.resets.dns[e]=null,a.preconnects&&(a.preconnects+=", "),a.preconnects+=r):(e9(r=[],{href:e,rel:"dns-prefetch"}),o.preconnects.add(r))),aR(t))}else ei.D(e)},C:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if("string"==typeof e&&e){var o,i,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";n.connectResources[s].hasOwnProperty(e)||(n.connectResources[s][e]=null,(i=(n=a.headers)&&0<n.remainingCapacity)&&(i="<"+(""+e).replace(rM,rF)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(rD,rB)+'"'),o=i,i=0<=(n.remainingCapacity-=o.length+2)),i?(a.resets.connect[s][e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(e9(s=[],{rel:"preconnect",href:e,crossOrigin:t}),a.preconnects.add(s))),aR(r)}}else ei.C(e,t)},L:function(e,t,r){var n=nV||null;if(n){var a=n.resumableState,o=n.renderState;if(t&&e){switch(t){case"image":if(r)var i,s=r.imageSrcSet,l=r.imageSizes,u=r.fetchPriority;var c=s?s+"\n"+(l||""):e;if(a.imageResources.hasOwnProperty(c))return;a.imageResources[c]=es,(a=o.headers)&&0<a.remainingCapacity&&"string"!=typeof s&&"high"===u&&(i=rI(e,t,r),0<=(a.remainingCapacity-=i.length+2))?(o.resets.image[c]=es,a.highImagePreloads&&(a.highImagePreloads+=", "),a.highImagePreloads+=i):(e9(a=[],U({rel:"preload",href:s?void 0:e,as:t},r)),"high"===u?o.highImagePreloads.add(a):(o.bulkPreloads.add(a),o.preloads.images.set(c,a)));break;case"style":if(a.styleResources.hasOwnProperty(e))return;e9(s=[],U({rel:"preload",href:e,as:t},r)),a.styleResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:es,o.preloads.stylesheets.set(e,s),o.bulkPreloads.add(s);break;case"script":if(a.scriptResources.hasOwnProperty(e))return;s=[],o.preloads.scripts.set(e,s),o.bulkPreloads.add(s),e9(s,U({rel:"preload",href:e,as:t},r)),a.scriptResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:es;break;default:if(a.unknownResources.hasOwnProperty(t)){if((s=a.unknownResources[t]).hasOwnProperty(e))return}else s={},a.unknownResources[t]=s;s[e]=es,(a=o.headers)&&0<a.remainingCapacity&&"font"===t&&(c=rI(e,t,r),0<=(a.remainingCapacity-=c.length+2))?(o.resets.font[e]=es,a.fontPreloads&&(a.fontPreloads+=", "),a.fontPreloads+=c):(e9(a=[],e=U({rel:"preload",href:e,as:t},r)),"font"===t)?o.fontPreloads.add(a):o.bulkPreloads.add(a)}aR(n)}}else ei.L(e,t,r)},m:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(n.moduleScriptResources.hasOwnProperty(e))return;o=[],n.moduleScriptResources[e]=t&&("string"==typeof t.crossOrigin||"string"==typeof t.integrity)?[t.crossOrigin,t.integrity]:es,a.preloads.moduleScripts.set(e,o)}else{if(n.moduleUnknownResources.hasOwnProperty(o)){var i=n.unknownResources[o];if(i.hasOwnProperty(e))return}else i={},n.moduleUnknownResources[o]=i;o=[],i[e]=es}e9(o,U({rel:"modulepreload",href:e},t)),a.bulkPreloads.add(o),aR(r)}}else ei.m(e,t)},X:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.scriptResources.hasOwnProperty(e)?n.scriptResources[e]:void 0;null!==o&&(n.scriptResources[e]=null,t=U({src:e,async:!0},t),o&&(2===o.length&&rL(t,o),e=a.preloads.scripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),tn(e,t),aR(r))}}else ei.X(e,t)},S:function(e,t,r){var n=nV||null;if(n){var a=n.resumableState,o=n.renderState;if(e){t=t||"default";var i=o.styles.get(t),s=a.styleResources.hasOwnProperty(e)?a.styleResources[e]:void 0;null!==s&&(a.styleResources[e]=null,i||(i={precedence:D(Z(t)),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,i)),t={state:0,props:U({rel:"stylesheet",href:e,"data-precedence":t},r)},s&&(2===s.length&&rL(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),i.sheets.set(e,t),aR(n))}}else ei.S(e,t,r)},M:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.moduleScriptResources.hasOwnProperty(e)?n.moduleScriptResources[e]:void 0;null!==o&&(n.moduleScriptResources[e]=null,t=U({src:e,type:"module",async:!0},t),o&&(2===o.length&&rL(t,o),e=a.preloads.moduleScripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),tn(e,t),aR(r))}}else ei.M(e,t)}};var es=[],el=null;B('"></template>');var eu=B("<script"),ec=B("<\/script>"),ed=B('<script src="'),ep=B('<script type="module" src="'),eh=B(' nonce="'),ef=B(' integrity="'),eg=B(' crossorigin="'),em=B(' async=""><\/script>'),ev=B("<style"),ey=/(<\/|<)(s)(cript)/gi;function eb(e,t,r,n){return""+t+("s"===r?"\\u0073":"\\u0053")+n}var ew=B('<script type="importmap">'),ek=B("<\/script>");function ex(e,t,r,n,a,o){var i=void 0===(r="string"==typeof t?t:t&&t.script)?eu:B('<script nonce="'+Z(r)+'"'),s="string"==typeof t?void 0:t&&t.style,l=void 0===s?ev:B('<style nonce="'+Z(s)+'"'),u=e.idPrefix,c=[],d=e.bootstrapScriptContent,p=e.bootstrapScripts,h=e.bootstrapModules;if(void 0!==d&&(c.push(i),rO(c,e),c.push(eQ,D((""+d).replace(ey,eb)),ec)),d=[],void 0!==n&&(d.push(ew),d.push(D((""+JSON.stringify(n)).replace(ey,eb))),d.push(ek)),n=a?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof o?o:2e3)}:null,a={placeholderPrefix:B(u+"P:"),segmentPrefix:B(u+"S:"),boundaryPrefix:B(u+"B:"),startInlineScript:i,startInlineStyle:l,preamble:eC(),externalRuntimeScript:null,bootstrapChunks:c,importMapChunks:d,onHeaders:a,headers:n,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:r,style:s},hoistableState:null,stylesToHoist:!1},void 0!==p)for(n=0;n<p.length;n++)u=p[n],s=i=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof u?l.href=o=u:(l.href=o=u.src,l.integrity=s="string"==typeof u.integrity?u.integrity:void 0,l.crossOrigin=i="string"==typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":""),u=e,d=o,u.scriptResources[d]=null,u.moduleScriptResources[d]=null,e9(u=[],l),a.bootstrapScripts.add(u),c.push(ed,D(Z(o)),eB),r&&c.push(eh,D(Z(r)),eB),"string"==typeof s&&c.push(ef,D(Z(s)),eB),"string"==typeof i&&c.push(eg,D(Z(i)),eB),rO(c,e),c.push(em);if(void 0!==h)for(t=0;t<h.length;t++)s=h[t],o=n=void 0,i={rel:"modulepreload",fetchPriority:"low",nonce:r},"string"==typeof s?i.href=p=s:(i.href=p=s.src,i.integrity=o="string"==typeof s.integrity?s.integrity:void 0,i.crossOrigin=n="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),s=e,l=p,s.scriptResources[l]=null,s.moduleScriptResources[l]=null,e9(s=[],i),a.bootstrapScripts.add(s),c.push(ep,D(Z(p)),eB),r&&c.push(eh,D(Z(r)),eB),"string"==typeof o&&c.push(ef,D(Z(o)),eB),"string"==typeof n&&c.push(eg,D(Z(n)),eB),rO(c,e),c.push(em);return a}function eS(e,t,r,n,a){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:r,bootstrapScripts:n,bootstrapModules:a,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function eC(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function eP(e,t,r,n){return{insertionMode:e,selectedValue:t,tagScope:r,viewTransition:n}}function eE(e){return eP("http://www.w3.org/2000/svg"===e?4:5*("http://www.w3.org/1998/Math/MathML"===e),null,0,null)}function eT(e,t,r){var n=-25&e.tagScope;switch(t){case"noscript":return eP(2,null,1|n,null);case"select":return eP(2,null!=r.value?r.value:r.defaultValue,n,null);case"svg":return eP(4,null,n,null);case"picture":return eP(2,null,2|n,null);case"math":return eP(5,null,n,null);case"foreignObject":return eP(2,null,n,null);case"table":return eP(6,null,n,null);case"thead":case"tbody":case"tfoot":return eP(7,null,n,null);case"colgroup":return eP(9,null,n,null);case"tr":return eP(8,null,n,null);case"head":if(2>e.insertionMode)return eP(3,null,n,null);break;case"html":if(0===e.insertionMode)return eP(1,null,n,null)}return 6<=e.insertionMode||2>e.insertionMode?eP(2,null,n,null):e.tagScope!==n?eP(e.insertionMode,e.selectedValue,n,null):e}function eR(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function eO(e,t){return 32&t.tagScope&&(e.instructions|=128),eP(t.insertionMode,t.selectedValue,12|t.tagScope,eR(t.viewTransition))}function ej(e,t){e=eR(t.viewTransition);var r=16|t.tagScope;return null!==e&&"none"!==e.share&&(r|=64),eP(t.insertionMode,t.selectedValue,r,e)}var ez=B("\x3c!-- --\x3e");function e_(e,t,r,n){return""===t?n:(n&&e.push(ez),e.push(D(Z(t))),!0)}var eN=new Map,eA=B(' style="'),eL=B(":"),eI=B(";");function eM(e,t){if("object"!=typeof t)throw Error(o(62));var r,n=!0;for(r in t)if(H.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=D(Z(r));a=D(Z((""+a).trim()))}else void 0===(i=eN.get(r))&&(i=B(Z(r.replace(J,"-$1").toLowerCase().replace(ee,"-ms-"))),eN.set(r,i)),a="number"==typeof a?0===a||X.has(r)?D(""+a):D(a+"px"):D(Z((""+a).trim()));n?(n=!1,e.push(eA,i,eL,a)):e.push(eI,i,eL,a)}}n||e.push(eB)}var eF=B(" "),eD=B('="'),eB=B('"'),e$=B('=""');function eV(e,t,r){r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),e$)}function eU(e,t,r){"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r&&e.push(eF,D(t),eD,D(Z(r)),eB)}var eH=B(Z("javascript:throw new Error('React form unexpectedly submitted.')")),eW=B('<input type="hidden"');function eq(e,t){this.push(eW),eK(e),eU(this,"name",t),eU(this,"value",e),this.push(eZ)}function eK(e){if("string"!=typeof e)throw Error(o(480))}function eG(e,t){if("function"==typeof t.$$FORM_ACTION){var r=e.nextFormID++;e=e.idPrefix+r;try{var n=t.$$FORM_ACTION(e);if(n){var a=n.data;null!=a&&a.forEach(eK)}return n}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function eX(e,t,r,n,a,o,i,s){var l=null;if("function"==typeof n){var u=eG(t,n);null!==u?(s=u.name,n=u.action||"",a=u.encType,o=u.method,i=u.target,l=u.data):(e.push(eF,D("formAction"),eD,eH,eB),i=o=a=n=s=null,e2(t,r))}return null!=s&&eY(e,"name",s),null!=n&&eY(e,"formAction",n),null!=a&&eY(e,"formEncType",a),null!=o&&eY(e,"formMethod",o),null!=i&&eY(e,"formTarget",i),l}function eY(e,t,r){switch(t){case"className":eU(e,"class",r);break;case"tabIndex":eU(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":eU(e,t,r);break;case"style":eM(e,r);break;case"src":case"href":if(""===r)break;case"action":case"formAction":if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=er(""+r),e.push(eF,D(t),eD,D(Z(r)),eB);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":eV(e,t.toLowerCase(),r);break;case"xlinkHref":if("function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=er(""+r),e.push(eF,D("xlink:href"),eD,D(Z(r)),eB);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),eD,D(Z(r)),eB);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),e$);break;case"capture":case"download":!0===r?e.push(eF,D(t),e$):!1!==r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),eD,D(Z(r)),eB);break;case"cols":case"rows":case"size":case"span":"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r&&e.push(eF,D(t),eD,D(Z(r)),eB);break;case"rowSpan":case"start":"function"==typeof r||"symbol"==typeof r||isNaN(r)||e.push(eF,D(t),eD,D(Z(r)),eB);break;case"xlinkActuate":eU(e,"xlink:actuate",r);break;case"xlinkArcrole":eU(e,"xlink:arcrole",r);break;case"xlinkRole":eU(e,"xlink:role",r);break;case"xlinkShow":eU(e,"xlink:show",r);break;case"xlinkTitle":eU(e,"xlink:title",r);break;case"xlinkType":eU(e,"xlink:type",r);break;case"xmlBase":eU(e,"xml:base",r);break;case"xmlLang":eU(e,"xml:lang",r);break;case"xmlSpace":eU(e,"xml:space",r);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&G(t=Y.get(t)||t)){switch(typeof r){case"function":case"symbol":return;case"boolean":var n=t.toLowerCase().slice(0,5);if("data-"!==n&&"aria-"!==n)return}e.push(eF,D(t),eD,D(Z(r)),eB)}}}var eQ=B(">"),eZ=B("/>");function eJ(e,t,r){if(null!=t){if(null!=r)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(D(""+t))}}var e0=B(' selected=""'),e1=B('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function e2(e,t){if(0==(16&e.instructions)){e.instructions|=16;var r=t.preamble,n=t.bootstrapChunks;(r.htmlChunks||r.headChunks)&&0===n.length?(n.push(t.startInlineScript),rO(n,e),n.push(eQ,e1,ec)):n.unshift(t.startInlineScript,eQ,e1,ec)}}var e3=B("\x3c!--F!--\x3e"),e5=B("\x3c!--F--\x3e");function e9(e,t){for(var r in e.push(tu("link")),t)if(H.call(t,r)){var n=t[r];if(null!=n)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:eY(e,r,n)}}return e.push(eZ),null}var e4=/(<\/|<)(s)(tyle)/gi;function e6(e,t,r,n){return""+t+("s"===r?"\\73 ":"\\53 ")+n}function e8(e,t,r){for(var n in e.push(tu(r)),t)if(H.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,r));default:eY(e,n,a)}}return e.push(eZ),null}function e7(e,t){e.push(tu("title"));var r,n=null,a=null;for(r in t)if(H.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,r,o)}}return e.push(eQ),"function"!=typeof(t=Array.isArray(n)?2>n.length?n[0]:null:n)&&"symbol"!=typeof t&&null!=t&&e.push(D(Z(""+t))),eJ(e,a,n),e.push(tp("title")),null}var te=B("\x3c!--head--\x3e"),tt=B("\x3c!--body--\x3e"),tr=B("\x3c!--html--\x3e");function tn(e,t){e.push(tu("script"));var r,n=null,a=null;for(r in t)if(H.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,r,o)}}return e.push(eQ),eJ(e,a,n),"string"==typeof n&&e.push(D((""+n).replace(ey,eb))),e.push(tp("script")),null}function ta(e,t,r){e.push(tu(r));var n,a=r=null;for(n in t)if(H.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,n,o)}}return e.push(eQ),eJ(e,a,r),r}function to(e,t,r){e.push(tu(r));var n,a=r=null;for(n in t)if(H.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,n,o)}}return e.push(eQ),eJ(e,a,r),"string"==typeof r?(e.push(D(Z(r))),null):r}var ti=B("\n"),ts=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,tl=new Map;function tu(e){var t=tl.get(e);if(void 0===t){if(!ts.test(e))throw Error(o(65,e));t=B("<"+e),tl.set(e,t)}return t}var tc=B("<!DOCTYPE html>"),td=new Map;function tp(e){var t=td.get(e);return void 0===t&&(t=B("</"+e+">"),td.set(e,t)),t}function th(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function tf(e,t){t=t.bootstrapChunks;for(var r=0;r<t.length-1;r++)L(e,t[r]);return!(r<t.length)||(r=t[r],t.length=0,I(e,r))}var tg=B("requestAnimationFrame(function(){$RT=performance.now()});"),tm=B('<template id="'),tv=B('"></template>'),ty=B("\x3c!--&--\x3e"),tb=B("\x3c!--/&--\x3e"),tw=B("\x3c!--$--\x3e"),tk=B('\x3c!--$?--\x3e<template id="'),tx=B('"></template>'),tS=B("\x3c!--$!--\x3e"),tC=B("\x3c!--/$--\x3e"),tP=B("<template"),tE=B('"'),tT=B(' data-dgst="');B(' data-msg="'),B(' data-stck="'),B(' data-cstck="');var tR=B("></template>");function tO(e,t,r){if(L(e,tk),null===r)throw Error(o(395));return L(e,t.boundaryPrefix),L(e,D(r.toString(16))),I(e,tx)}var tj=B('<div hidden id="'),tz=B('">'),t_=B("</div>"),tN=B('<svg aria-hidden="true" style="display:none" id="'),tA=B('">'),tL=B("</svg>"),tI=B('<math aria-hidden="true" style="display:none" id="'),tM=B('">'),tF=B("</math>"),tD=B('<table hidden id="'),tB=B('">'),t$=B("</table>"),tV=B('<table hidden><tbody id="'),tU=B('">'),tH=B("</tbody></table>"),tW=B('<table hidden><tr id="'),tq=B('">'),tK=B("</tr></table>"),tG=B('<table hidden><colgroup id="'),tX=B('">'),tY=B("</colgroup></table>"),tQ=B('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),tZ=B('$RS("'),tJ=B('","'),t0=B('")<\/script>');B('<template data-rsi="" data-sid="'),B('" data-pid="');var t1=B('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};');D('$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);');var t2=B('$RC("'),t3=B('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),t5=B('$RR("'),t9=B('","'),t4=B('",'),t6=B('"'),t8=B(")<\/script>");B('<template data-rci="" data-bid="'),B('<template data-rri="" data-bid="'),B('" data-sid="'),B('" data-sty="');var t7=B('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),re=B('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),rt=B('$RX("'),rr=B('"'),rn=B(","),ra=B(")<\/script>");B('<template data-rxi="" data-bid="'),B('" data-dgst="'),B('" data-msg="'),B('" data-stck="'),B('" data-cstck="');var ro=/[<\u2028\u2029]/g,ri=/[&><\u2028\u2029]/g;function rs(e){return JSON.stringify(e).replace(ri,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var rl=B(' media="not all" data-precedence="'),ru=B('" data-href="'),rc=B('">'),rd=B("</style>"),rp=!1,rh=!0;function rf(e){var t=e.rules,r=e.hrefs,n=0;if(r.length){for(L(this,el.startInlineStyle),L(this,rl),L(this,e.precedence),L(this,ru);n<r.length-1;n++)L(this,r[n]),L(this,rx);for(L(this,r[n]),L(this,rc),n=0;n<t.length;n++)L(this,t[n]);rh=I(this,rd),rp=!0,t.length=0,r.length=0}}function rg(e){return 2!==e.state&&(rp=!0)}function rm(e,t,r){return rp=!1,rh=!0,el=r,t.styles.forEach(rf,e),el=null,t.stylesheets.forEach(rg),rp&&(r.stylesToHoist=!0),rh}function rv(e){for(var t=0;t<e.length;t++)L(this,e[t]);e.length=0}var ry=[];function rb(e){e9(ry,e.props);for(var t=0;t<ry.length;t++)L(this,ry[t]);ry.length=0,e.state=2}var rw=B(' data-precedence="'),rk=B('" data-href="'),rx=B(" "),rS=B('">'),rC=B("</style>");function rP(e){var t=0<e.sheets.size;e.sheets.forEach(rb,this),e.sheets.clear();var r=e.rules,n=e.hrefs;if(!t||n.length){if(L(this,el.startInlineStyle),L(this,rw),L(this,e.precedence),e=0,n.length){for(L(this,rk);e<n.length-1;e++)L(this,n[e]),L(this,rx);L(this,n[e])}for(L(this,rS),e=0;e<r.length;e++)L(this,r[e]);L(this,rC),r.length=0,n.length=0}}function rE(e){if(0===e.state){e.state=1;var t=e.props;for(e9(ry,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<ry.length;e++)L(this,ry[e]);ry.length=0}}function rT(e){e.sheets.forEach(rE,this),e.sheets.clear()}B('<link rel="expect" href="#'),B('" blocking="render"/>');var rR=B(' id="');function rO(e,t){0==(32&t.instructions)&&(t.instructions|=32,e.push(rR,D(Z("_"+t.idPrefix+"R_")),eB))}var rj=B("["),rz=B(",["),r_=B(","),rN=B("]");function rA(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function rL(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function rI(e,t,r){for(var n in t="<"+(e=(""+e).replace(rM,rF))+'>; rel=preload; as="'+(t=(""+t).replace(rD,rB))+'"',r)H.call(r,n)&&"string"==typeof(e=r[n])&&(t+="; "+n.toLowerCase()+'="'+(""+e).replace(rD,rB)+'"');return t}var rM=/[<>\r\n]/g;function rF(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var rD=/["';,\r\n]/g;function rB(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function r$(e){this.styles.add(e)}function rV(e){this.stylesheets.add(e)}function rU(e,t){t.styles.forEach(r$,e),t.stylesheets.forEach(rV,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function rH(e){return 0<e.stylesheets.size||e.suspenseyImages}var rW=Function.prototype.bind,rq=Symbol.for("react.client.reference");function rK(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===rq?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case p:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case h:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case m:return null!==(t=e.displayName||null)?t:rK(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return rK(e(t))}catch(e){}}return null}var rG={},rX=null;function rY(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(o(401))}else{if(null===r)throw Error(o(401));rY(e,r)}t.context._currentValue=t.value}}function rQ(e){var t=rX;t!==e&&(null===t?function e(t){var r=t.parent;null!==r&&e(r),t.context._currentValue=t.value}(e):null===e?function e(t){t.context._currentValue=t.parentValue,null!==(t=t.parent)&&e(t)}(t):t.depth===e.depth?rY(t,e):t.depth>e.depth?function e(t,r){if(t.context._currentValue=t.parentValue,null===(t=t.parent))throw Error(o(402));t.depth===r.depth?rY(t,r):e(t,r)}(t,e):function e(t,r){var n=r.parent;if(null===n)throw Error(o(402));t.depth===n.depth?rY(t,n):e(t,n),r.context._currentValue=r.value}(t,e),rX=e)}var rZ={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},rJ={id:1,overflow:""};function r0(e,t,r){var n=e.id;e=e.overflow;var a=32-r1(n)-1;n&=~(1<<a),r+=1;var o=32-r1(t)+a;if(30<o){var i=a-a%5;return o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,{id:1<<32-r1(t)+a|r<<a|n,overflow:o+e}}return{id:1<<o|r<<a|n,overflow:e}}var r1=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(r2(e)/r3|0)|0},r2=Math.log,r3=Math.LN2;function r5(){}var r9=Error(o(460)),r4=null;function r6(){if(null===r4)throw Error(o(459));var e=r4;return r4=null,e}var r8="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r7=null,ne=null,nt=null,nr=null,nn=null,na=null,no=!1,ni=!1,ns=0,nl=0,nu=-1,nc=0,nd=null,np=null,nh=0;function nf(){if(null===r7)throw Error(o(321));return r7}function ng(){if(0<nh)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function nm(){return null===na?null===nn?(no=!1,nn=na=ng()):(no=!0,na=nn):null===na.next?(no=!1,na=na.next=ng()):(no=!0,na=na.next),na}function nv(){var e=nd;return nd=null,e}function ny(){nr=nt=ne=r7=null,ni=!1,nn=null,nh=0,na=np=null}function nb(e,t){return"function"==typeof t?t(e):t}function nw(e,t,r){if(r7=nf(),na=nm(),no){var n=na.queue;if(t=n.dispatch,null!==np&&void 0!==(r=np.get(n))){np.delete(n),n=na.memoizedState;do n=e(n,r.action),r=r.next;while(null!==r);return na.memoizedState=n,[n,t]}return[na.memoizedState,t]}return e=e===nb?"function"==typeof t?t():t:void 0!==r?r(t):t,na.memoizedState=e,e=(e=na.queue={last:null,dispatch:null}).dispatch=nx.bind(null,r7,e),[na.memoizedState,e]}function nk(e,t){if(r7=nf(),na=nm(),t=void 0===t?null:t,null!==na){var r=na.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var a=0;a<n.length&&a<t.length;a++)if(!r8(t[a],n[a])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),na.memoizedState=[e,t],e}function nx(e,t,r){if(25<=nh)throw Error(o(301));if(e===r7)if(ni=!0,e={action:r,next:null},null===np&&(np=new Map),void 0===(r=np.get(t)))np.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function nS(){throw Error(o(440))}function nC(){throw Error(o(394))}function nP(){throw Error(o(479))}function nE(e,t,r){nf();var n=nl++,a=nt;if("function"==typeof e.$$FORM_ACTION){var o=null,i=nr;a=a.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==a&&"function"==typeof s){var l=a[1];s.call(e,a[2],a[3])&&l===(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0))&&(nu=n,t=a[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==r&&(r+="",e.action=r);var t=e.data;return t&&(null===o&&(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function nT(e){var t=nc;nc+=1,null===nd&&(nd=[]);var r=nd,n=e,a=t;switch(void 0===(a=r[a])?r.push(n):a!==n&&(n.then(r5,r5),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch("string"==typeof n.status?n.then(r5,r5):((r=n).status="pending",r.then(function(e){if("pending"===n.status){var t=n;t.status="fulfilled",t.value=e}},function(e){if("pending"===n.status){var t=n;t.status="rejected",t.reason=e}})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}throw r4=n,r9}}function nR(){throw Error(o(393))}var nO,nj,nz={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return nT(e);if(e.$$typeof===p)return e._currentValue}throw Error(o(438,String(e)))},useContext:function(e){return nf(),e._currentValue},useMemo:nk,useReducer:nw,useRef:function(e){r7=nf();var t=(na=nm()).memoizedState;return null===t?(e={current:e},na.memoizedState=e):t},useState:function(e){return nw(nb,e)},useInsertionEffect:r5,useLayoutEffect:r5,useCallback:function(e,t){return nk(function(){return e},t)},useImperativeHandle:r5,useEffect:r5,useDebugValue:r5,useDeferredValue:function(e,t){return nf(),void 0!==t?t:e},useTransition:function(){return nf(),[!1,nC]},useId:function(){var e=ne.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-r1(e)-1)).toString(32)+t;var r=n_;if(null===r)throw Error(o(404));return t=ns++,e="_"+r.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(o(407));return r()},useOptimistic:function(e){return nf(),[e,nP]},useActionState:nE,useFormState:nE,useHostTransitionStatus:function(){return nf(),eo},useMemoCache:function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=k;return t},useCacheRefresh:function(){return nR},useEffectEvent:function(){return nS}},n_=null,nN={getCacheForType:function(){throw Error(o(248))},cacheSignal:function(){throw Error(o(248))}};function nA(e){if(void 0===nO)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);nO=t&&t[1]||"",nj=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+nO+e+nj}var nL=!1;function nI(e,t){if(!e||nL)return"";nL=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch(function(){})}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===l.length||a===u.length)for(n=l.length-1,a=u.length-1;1<=n&&0<=a&&l[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(l[n]!==u[a]){if(1!==n||1!==a)do if(n--,a--,0>a||l[n]!==u[a]){var c="\n"+l[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{nL=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?nA(r):""}function nM(e,t){return(500<t.byteSize||rH(t.contentState))&&null===t.contentPreamble}function nF(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e])[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=rW.apply(console.error,e))()}else console.error(e);return null}function nD(e,t,r,n,a,o,i,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=r,this.progressiveChunkSize=void 0===n?12800:n,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===a?nF:a,this.onPostpone=void 0===u?r5:u,this.onAllReady=void 0===o?r5:o,this.onShellReady=void 0===i?r5:i,this.onShellError=void 0===s?r5:s,this.onFatalError=void 0===l?r5:l,this.formState=void 0===c?null:c}function nB(e,t,r,n,a,o,i,s,l,u,c,d){return(r=nK(t=new nD(t,r,n,a,o,i,s,l,u,c,d),0,null,n,!1,!1)).parentFlushed=!0,nG(e=nW(t,null,e,-1,null,r,null,null,t.abortableTasks,null,n,null,rJ,null,null)),t.pingedTasks.push(e),t}function n$(e,t,r,n,a,o,i,s,l){return((r=new nD(t.resumableState,r,t.rootFormatContext,t.progressiveChunkSize,n,a,o,i,s,l,null)).nextSegmentId=t.nextSegmentId,"number"==typeof t.replaySlots)?((n=nK(r,0,null,t.rootFormatContext,!1,!1)).parentFlushed=!0,nG(e=nW(r,null,e,-1,null,n,null,null,r.abortableTasks,null,t.rootFormatContext,null,rJ,null,null))):nG(e=nq(r,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,r.abortableTasks,null,t.rootFormatContext,null,rJ,null,null)),r.pingedTasks.push(e),r}var nV=null;function nU(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?_(function(){return ag(e)}):O(function(){return ag(e)}))}function nH(e,t,r,n,a){return r={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null,contentState:rA(),fallbackState:rA(),contentPreamble:n,fallbackPreamble:a,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(n=t.boundaries)&&(e.allPendingTasks++,r.pendingTasks++,n.push(r)),null!==(e=t.inheritedHoistables)&&rU(r.contentState,e)),r}function nW(e,t,r,n,a,o,i,s,l,u,c,d,p,h,f){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,null!==h&&h.pendingTasks++;var g={replay:null,node:r,childIndex:n,ping:function(){return nU(e,g)},blockedBoundary:a,blockedSegment:o,blockedPreamble:i,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:p,row:h,componentStack:f,thenableState:t};return l.add(g),g}function nq(e,t,r,n,a,o,i,s,l,u,c,d,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++,r.pendingTasks++;var f={replay:r,node:n,childIndex:a,ping:function(){return nU(e,f)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:p,componentStack:h,thenableState:t};return s.add(f),f}function nK(e,t,r,n,a,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:n,boundary:r,lastPushedText:a,textEmbedded:o}}function nG(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===i&&(e.componentStack={parent:e.componentStack,type:t.type})}function nX(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function nY(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var r="",n=e;do r+=function e(t){if("string"==typeof t)return nA(t);if("function"==typeof t)return t.prototype&&t.prototype.isReactComponent?nI(t,!0):nI(t,!1);if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return nI(t.render,!1);case m:return nI(t.type,!1);case v:var r=t,n=r._payload;r=r._init;try{t=r(n)}catch(e){return nA("Lazy")}return e(t)}if("string"==typeof t.name){e:{n=t.name,r=t.env;var a=t.debugLocation;if(null!=a&&(t=Error.prepareStackTrace,Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=t,a.startsWith("Error: react-stack-top-frame\n")&&(a=a.slice(29)),-1!==(t=a.indexOf("\n"))&&(a=a.slice(t+1)),-1!==(t=a.indexOf("react_stack_bottom_frame"))&&(t=a.lastIndexOf("\n",t)),-1!==(t=-1===(a=(t=-1!==t?a=a.slice(0,t):"").lastIndexOf("\n"))?t:t.slice(a+1)).indexOf(n))){n="\n"+t;break e}n=nA(n+(r?" ["+r+"]":""))}return n}}switch(t){case g:return nA("SuspenseList");case f:return nA("Suspense")}return""}(n.type),n=n.parent;while(n);var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:a}),a}}),t}function nQ(e,t,r){if(null==(t=(e=e.onError)(t,r))||"string"==typeof t)return t}function nZ(e,t){var r=e.onShellError,n=e.onFatalError;r(t),n(t),null!==e.destination?(e.status=14,V(e.destination,t)):(e.status=13,e.fatalError=t)}function nJ(e,t){n0(e,t.next,t.hoistables)}function n0(e,t,r){for(;null!==t;){null!==r&&(rU(t.hoistables,r),t.inheritedHoistables=r);var n=t.boundaries;if(null!==n){t.boundaries=null;for(var a=0;a<n.length;a++){var o=n[a];null!==r&&rU(o.contentState,r),af(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;r=t.hoistables,t=t.next}}function n1(e,t){var r=t.boundaries;if(null!==r&&t.pendingTasks===r.length){for(var n=!0,a=0;a<r.length;a++){var o=r[a];if(1!==o.pendingTasks||o.parentFlushed||nM(e,o)){n=!1;break}}n&&n0(e,t,t.hoistables)}}function n2(e){var t={pendingTasks:1,boundaries:null,hoistables:rA(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function n3(e,t,r,n,a){var o=t.keyPath,i=t.treeContext,s=t.row;t.keyPath=r,r=n.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<r;c++){var d="backwards"!==a&&"unstable_legacy-backwards"!==a?c:r-1-c,p=n[d];t.row=l=n2(l),t.treeContext=r0(i,r,d);var h=u[d];"number"==typeof h?(n6(e,t,h,p,d),delete u[d]):ai(e,t,p,d),0==--l.pendingTasks&&nJ(e,l)}else for(u=0;u<r;u++)d=n[c="backwards"!==a&&"unstable_legacy-backwards"!==a?u:r-1-u],t.row=l=n2(l),t.treeContext=r0(i,r,c),ai(e,t,d,c),0==--l.pendingTasks&&nJ(e,l)}else if("backwards"!==a&&"unstable_legacy-backwards"!==a)for(a=0;a<r;a++)u=n[a],t.row=l=n2(l),t.treeContext=r0(i,r,a),ai(e,t,u,a),0==--l.pendingTasks&&nJ(e,l);else{for(u=(a=t.blockedSegment).children.length,c=a.chunks.length,d=r-1;0<=d;d--){p=n[d],t.row=l=n2(l),t.treeContext=r0(i,r,d),h=nK(e,c,null,t.formatContext,0!==d||a.lastPushedText,!0),a.children.splice(u,0,h),t.blockedSegment=h;try{ai(e,t,p,d),h.lastPushedText&&h.textEmbedded&&h.chunks.push(ez),h.status=1,ah(e,t.blockedBoundary,h),0==--l.pendingTasks&&nJ(e,l)}catch(t){throw h.status=12===e.status?3:4,t}}t.blockedSegment=a,a.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=i,t.row=s,t.keyPath=o}function n5(e,t,r,n,a,o){var i=t.thenableState;for(t.thenableState=null,r7={},ne=t,nt=e,nr=r,nl=ns=0,nu=-1,nc=0,nd=i,e=n(a,o);ni;)ni=!1,nl=ns=0,nu=-1,nc=0,nh+=1,na=null,e=n(a,o);return ny(),e}function n9(e,t,r,n,a,o,i){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<o;u++)u===i?l.push(e3):l.push(e5)}}o=t.keyPath,t.keyPath=r,a?(r=t.treeContext,t.treeContext=r0(r,1,0),ai(e,t,n,-1),t.treeContext=r):s?ai(e,t,n,-1):n8(e,t,n,-1),t.keyPath=o}function n4(e,t,r,a,i,s){if("function"==typeof a)if(a.prototype&&a.prototype.isReactComponent){var k=i;if("ref"in i)for(var S in k={},i)"ref"!==S&&(k[S]=i[S]);var E=a.defaultProps;if(E)for(var T in k===i&&(k=U({},k,i)),E)void 0===k[T]&&(k[T]=E[T]);i=k,k=rG,"object"==typeof(E=a.contextType)&&null!==E&&(k=E._currentValue);var R=void 0!==(k=new a(i,k)).state?k.state:null;if(k.updater=rZ,k.props=i,k.state=R,E={queue:[],replace:!1},k._reactInternals=E,s=a.contextType,k.context="object"==typeof s&&null!==s?s._currentValue:rG,"function"==typeof(s=a.getDerivedStateFromProps)&&(R=null==(s=s(i,R))?R:U({},R,s),k.state=R),"function"!=typeof a.getDerivedStateFromProps&&"function"!=typeof k.getSnapshotBeforeUpdate&&("function"==typeof k.UNSAFE_componentWillMount||"function"==typeof k.componentWillMount))if(a=k.state,"function"==typeof k.componentWillMount&&k.componentWillMount(),"function"==typeof k.UNSAFE_componentWillMount&&k.UNSAFE_componentWillMount(),a!==k.state&&rZ.enqueueReplaceState(k,k.state,null),null!==E.queue&&0<E.queue.length)if(a=E.queue,s=E.replace,E.queue=null,E.replace=!1,s&&1===a.length)k.state=a[0];else{for(E=s?a[0]:k.state,R=!0,s=+!!s;s<a.length;s++)null!=(T="function"==typeof(T=a[s])?T.call(k,E,i,void 0):T)&&(R?(R=!1,E=U({},E,T)):U(E,T));k.state=E}else E.queue=null;if(a=k.render(),12===e.status)throw null;i=t.keyPath,t.keyPath=r,n8(e,t,a,-1),t.keyPath=i}else{if(a=n5(e,t,r,a,i,void 0),12===e.status)throw null;n9(e,t,r,a,0!==ns,nl,nu)}else if("string"==typeof a)if(null===(k=t.blockedSegment))k=i.children,E=t.formatContext,R=t.keyPath,t.formatContext=eT(E,a,i),t.keyPath=r,ai(e,t,k,-1),t.formatContext=E,t.keyPath=R;else{if(R=function(e,t,r,a,i,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(tu("a"));var d,p=null,h=null;for(d in r)if(H.call(r,d)){var f=r[d];if(null!=f)switch(d){case"children":p=f;break;case"dangerouslySetInnerHTML":h=f;break;case"href":""===f?eU(e,"href",""):eY(e,d,f);break;default:eY(e,d,f)}}if(e.push(eQ),eJ(e,h,p),"string"==typeof p){e.push(D(Z(p)));var g=null}else g=p;return g;case"select":e.push(tu("select"));var m,v=null,y=null;for(m in r)if(H.call(r,m)){var b=r[m];if(null!=b)switch(m){case"children":v=b;break;case"dangerouslySetInnerHTML":y=b;break;case"defaultValue":case"value":break;default:eY(e,m,b)}}return e.push(eQ),eJ(e,y,v),v;case"option":var w=u.selectedValue;e.push(tu("option"));var k,x=null,S=null,C=null,E=null;for(k in r)if(H.call(r,k)){var T=r[k];if(null!=T)switch(k){case"children":x=T;break;case"selected":C=T;break;case"dangerouslySetInnerHTML":E=T;break;case"value":S=T;default:eY(e,k,T)}}if(null!=w){var R,O,j=null!==S?""+S:(R=x,O="",n.Children.forEach(R,function(e){null!=e&&(O+=e)}),O);if(P(w)){for(var z=0;z<w.length;z++)if(""+w[z]===j){e.push(e0);break}}else""+w===j&&e.push(e0)}else C&&e.push(e0);return e.push(eQ),eJ(e,E,x),x;case"textarea":e.push(tu("textarea"));var _,N=null,A=null,L=null;for(_ in r)if(H.call(r,_)){var I=r[_];if(null!=I)switch(_){case"children":L=I;break;case"value":N=I;break;case"defaultValue":A=I;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:eY(e,_,I)}}if(null===N&&null!==A&&(N=A),e.push(eQ),null!=L){if(null!=N)throw Error(o(92));if(P(L)){if(1<L.length)throw Error(o(93));N=""+L[0]}N=""+L}return"string"==typeof N&&"\n"===N[0]&&e.push(ti),null!==N&&e.push(D(Z(""+N))),null;case"input":e.push(tu("input"));var M,F=null,B=null,$=null,V=null,W=null,q=null,K=null,X=null,Y=null;for(M in r)if(H.call(r,M)){var Q=r[M];if(null!=Q)switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"name":F=Q;break;case"formAction":B=Q;break;case"formEncType":$=Q;break;case"formMethod":V=Q;break;case"formTarget":W=Q;break;case"defaultChecked":Y=Q;break;case"defaultValue":K=Q;break;case"checked":X=Q;break;case"value":q=Q;break;default:eY(e,M,Q)}}var J=eX(e,a,i,B,$,V,W,F);return null!==X?eV(e,"checked",X):null!==Y&&eV(e,"checked",Y),null!==q?eY(e,"value",q):null!==K&&eY(e,"value",K),e.push(eZ),null!=J&&J.forEach(eq,e),null;case"button":e.push(tu("button"));var ee,et=null,en=null,ea=null,eo=null,ei=null,el=null,eu=null;for(ee in r)if(H.call(r,ee)){var ec=r[ee];if(null!=ec)switch(ee){case"children":et=ec;break;case"dangerouslySetInnerHTML":en=ec;break;case"name":ea=ec;break;case"formAction":eo=ec;break;case"formEncType":ei=ec;break;case"formMethod":el=ec;break;case"formTarget":eu=ec;break;default:eY(e,ee,ec)}}var ed=eX(e,a,i,eo,ei,el,eu,ea);if(e.push(eQ),null!=ed&&ed.forEach(eq,e),eJ(e,en,et),"string"==typeof et){e.push(D(Z(et)));var ep=null}else ep=et;return ep;case"form":e.push(tu("form"));var eh,ef=null,eg=null,em=null,ev=null,ey=null,eb=null;for(eh in r)if(H.call(r,eh)){var ew=r[eh];if(null!=ew)switch(eh){case"children":ef=ew;break;case"dangerouslySetInnerHTML":eg=ew;break;case"action":em=ew;break;case"encType":ev=ew;break;case"method":ey=ew;break;case"target":eb=ew;break;default:eY(e,eh,ew)}}var ek=null,ex=null;if("function"==typeof em){var eS=eG(a,em);null!==eS?(em=eS.action||"",ev=eS.encType,ey=eS.method,eb=eS.target,ek=eS.data,ex=eS.name):(e.push(eF,D("action"),eD,eH,eB),eb=ey=ev=em=null,e2(a,i))}if(null!=em&&eY(e,"action",em),null!=ev&&eY(e,"encType",ev),null!=ey&&eY(e,"method",ey),null!=eb&&eY(e,"target",eb),e.push(eQ),null!==ex&&(e.push(eW),eU(e,"name",ex),e.push(eZ),null!=ek&&ek.forEach(eq,e)),eJ(e,eg,ef),"string"==typeof ef){e.push(D(Z(ef)));var eC=null}else eC=ef;return eC;case"menuitem":for(var eP in e.push(tu("menuitem")),r)if(H.call(r,eP)){var eE=r[eP];if(null!=eE)switch(eP){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:eY(e,eP,eE)}}return e.push(eQ),null;case"object":e.push(tu("object"));var eT,eR=null,eO=null;for(eT in r)if(H.call(r,eT)){var ej=r[eT];if(null!=ej)switch(eT){case"children":eR=ej;break;case"dangerouslySetInnerHTML":eO=ej;break;case"data":var e_=er(""+ej);if(""===e_)break;e.push(eF,D("data"),eD,D(Z(e_)),eB);break;default:eY(e,eT,ej)}}if(e.push(eQ),eJ(e,eO,eR),"string"==typeof eR){e.push(D(Z(eR)));var eN=null}else eN=eR;return eN;case"title":var eA=1&u.tagScope,eL=4&u.tagScope;if(4===u.insertionMode||eA||null!=r.itemProp)var eI=e7(e,r);else eL?eI=null:(e7(i.hoistableChunks,r),eI=void 0);return eI;case"link":var e$=1&u.tagScope,eK=4&u.tagScope,e1=r.rel,e3=r.href,e5=r.precedence;if(4===u.insertionMode||e$||null!=r.itemProp||"string"!=typeof e1||"string"!=typeof e3||""===e3){e9(e,r);var ts=null}else if("stylesheet"===r.rel)if("string"!=typeof e5||null!=r.disabled||r.onLoad||r.onError)ts=e9(e,r);else{var tl=i.styles.get(e5),td=a.styleResources.hasOwnProperty(e3)?a.styleResources[e3]:void 0;if(null!==td){a.styleResources[e3]=null,tl||(tl={precedence:D(Z(e5)),rules:[],hrefs:[],sheets:new Map},i.styles.set(e5,tl));var th={state:0,props:U({},r,{"data-precedence":r.precedence,precedence:null})};if(td){2===td.length&&rL(th.props,td);var tf=i.preloads.stylesheets.get(e3);tf&&0<tf.length?tf.length=0:th.state=1}tl.sheets.set(e3,th),l&&l.stylesheets.add(th)}else if(tl){var tg=tl.sheets.get(e3);tg&&l&&l.stylesheets.add(tg)}c&&e.push(ez),ts=null}else r.onLoad||r.onError?ts=e9(e,r):(c&&e.push(ez),ts=eK?null:e9(i.hoistableChunks,r));return ts;case"script":var tm=1&u.tagScope,tv=r.async;if("string"!=typeof r.src||!r.src||!tv||"function"==typeof tv||"symbol"==typeof tv||r.onLoad||r.onError||4===u.insertionMode||tm||null!=r.itemProp)var ty=tn(e,r);else{var tb=r.src;if("module"===r.type)var tw=a.moduleScriptResources,tk=i.preloads.moduleScripts;else tw=a.scriptResources,tk=i.preloads.scripts;var tx=tw.hasOwnProperty(tb)?tw[tb]:void 0;if(null!==tx){tw[tb]=null;var tS=r;if(tx){2===tx.length&&rL(tS=U({},r),tx);var tC=tk.get(tb);tC&&(tC.length=0)}var tP=[];i.scripts.add(tP),tn(tP,tS)}c&&e.push(ez),ty=null}return ty;case"style":var tE=1&u.tagScope,tT=r.precedence,tR=r.href,tO=r.nonce;if(4===u.insertionMode||tE||null!=r.itemProp||"string"!=typeof tT||"string"!=typeof tR||""===tR){e.push(tu("style"));var tj,tz=null,t_=null;for(tj in r)if(H.call(r,tj)){var tN=r[tj];if(null!=tN)switch(tj){case"children":tz=tN;break;case"dangerouslySetInnerHTML":t_=tN;break;default:eY(e,tj,tN)}}e.push(eQ);var tA=Array.isArray(tz)?2>tz.length?tz[0]:null:tz;"function"!=typeof tA&&"symbol"!=typeof tA&&null!=tA&&e.push(D((""+tA).replace(e4,e6))),eJ(e,t_,tz),e.push(tp("style"));var tL=null}else{var tI=i.styles.get(tT);if(null!==(a.styleResources.hasOwnProperty(tR)?a.styleResources[tR]:void 0)){a.styleResources[tR]=null,tI||(tI={precedence:D(Z(tT)),rules:[],hrefs:[],sheets:new Map},i.styles.set(tT,tI));var tM=i.nonce.style;if(!tM||tM===tO){tI.hrefs.push(D(Z(tR)));var tF,tD=tI.rules,tB=null,t$=null;for(tF in r)if(H.call(r,tF)){var tV=r[tF];if(null!=tV)switch(tF){case"children":tB=tV;break;case"dangerouslySetInnerHTML":t$=tV}}var tU=Array.isArray(tB)?2>tB.length?tB[0]:null:tB;"function"!=typeof tU&&"symbol"!=typeof tU&&null!=tU&&tD.push(D((""+tU).replace(e4,e6))),eJ(tD,t$,tB)}}tI&&l&&l.styles.add(tI),c&&e.push(ez),tL=void 0}return tL;case"meta":var tH=1&u.tagScope,tW=4&u.tagScope;if(4===u.insertionMode||tH||null!=r.itemProp)var tq=e8(e,r,"meta");else c&&e.push(ez),tq=tW?null:"string"==typeof r.charSet?e8(i.charsetChunks,r,"meta"):"viewport"===r.name?e8(i.viewportChunks,r,"meta"):e8(i.hoistableChunks,r,"meta");return tq;case"listing":case"pre":e.push(tu(t));var tK,tG=null,tX=null;for(tK in r)if(H.call(r,tK)){var tY=r[tK];if(null!=tY)switch(tK){case"children":tG=tY;break;case"dangerouslySetInnerHTML":tX=tY;break;default:eY(e,tK,tY)}}if(e.push(eQ),null!=tX){if(null!=tG)throw Error(o(60));if("object"!=typeof tX||!("__html"in tX))throw Error(o(61));var tQ=tX.__html;null!=tQ&&("string"==typeof tQ&&0<tQ.length&&"\n"===tQ[0]?e.push(ti,D(tQ)):e.push(D(""+tQ)))}return"string"==typeof tG&&"\n"===tG[0]&&e.push(ti),tG;case"img":var tZ=3&u.tagScope,tJ=r.src,t0=r.srcSet;if(!("lazy"===r.loading||!tJ&&!t0||"string"!=typeof tJ&&null!=tJ||"string"!=typeof t0&&null!=t0||"low"===r.fetchPriority||tZ)&&("string"!=typeof tJ||":"!==tJ[4]||"d"!==tJ[0]&&"D"!==tJ[0]||"a"!==tJ[1]&&"A"!==tJ[1]||"t"!==tJ[2]&&"T"!==tJ[2]||"a"!==tJ[3]&&"A"!==tJ[3])&&("string"!=typeof t0||":"!==t0[4]||"d"!==t0[0]&&"D"!==t0[0]||"a"!==t0[1]&&"A"!==t0[1]||"t"!==t0[2]&&"T"!==t0[2]||"a"!==t0[3]&&"A"!==t0[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var t1="string"==typeof r.sizes?r.sizes:void 0,t2=t0?t0+"\n"+(t1||""):tJ,t3=i.preloads.images,t5=t3.get(t2);if(t5)("high"===r.fetchPriority||10>i.highImagePreloads.size)&&(t3.delete(t2),i.highImagePreloads.add(t5));else if(!a.imageResources.hasOwnProperty(t2)){a.imageResources[t2]=es;var t9,t4=r.crossOrigin,t6="string"==typeof t4?"use-credentials"===t4?t4:"":void 0,t8=i.headers;t8&&0<t8.remainingCapacity&&"string"!=typeof r.srcSet&&("high"===r.fetchPriority||500>t8.highImagePreloads.length)&&(t9=rI(tJ,"image",{imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:t6,integrity:r.integrity,nonce:r.nonce,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.refererPolicy}),0<=(t8.remainingCapacity-=t9.length+2))?(i.resets.image[t2]=es,t8.highImagePreloads&&(t8.highImagePreloads+=", "),t8.highImagePreloads+=t9):(e9(t5=[],{rel:"preload",as:"image",href:t0?void 0:tJ,imageSrcSet:t0,imageSizes:t1,crossOrigin:t6,integrity:r.integrity,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.referrerPolicy}),"high"===r.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(t5):(i.bulkPreloads.add(t5),t3.set(t2,t5)))}}return e8(e,r,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return e8(e,r,t);case"head":if(2>u.insertionMode){var t7=s||i.preamble;if(t7.headChunks)throw Error(o(545,"`<head>`"));null!==s&&e.push(te),t7.headChunks=[];var re=ta(t7.headChunks,r,"head")}else re=to(e,r,"head");return re;case"body":if(2>u.insertionMode){var rt=s||i.preamble;if(rt.bodyChunks)throw Error(o(545,"`<body>`"));null!==s&&e.push(tt),rt.bodyChunks=[];var rr=ta(rt.bodyChunks,r,"body")}else rr=to(e,r,"body");return rr;case"html":if(0===u.insertionMode){var rn=s||i.preamble;if(rn.htmlChunks)throw Error(o(545,"`<html>`"));null!==s&&e.push(tr),rn.htmlChunks=[tc];var ra=ta(rn.htmlChunks,r,"html")}else ra=to(e,r,"html");return ra;default:if(-1!==t.indexOf("-")){e.push(tu(t));var ro,ri=null,rs=null;for(ro in r)if(H.call(r,ro)){var rl=r[ro];if(null!=rl){var ru=ro;switch(ro){case"children":ri=rl;break;case"dangerouslySetInnerHTML":rs=rl;break;case"style":eM(e,rl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":ru="class";default:if(G(ro)&&"function"!=typeof rl&&"symbol"!=typeof rl&&!1!==rl){if(!0===rl)rl="";else if("object"==typeof rl)continue;e.push(eF,D(ru),eD,D(Z(rl)),eB)}}}}return e.push(eQ),eJ(e,rs,ri),ri}}return to(e,r,t)}(k.chunks,a,i,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,k.lastPushedText),k.lastPushedText=!1,E=t.formatContext,s=t.keyPath,t.keyPath=r,3===(t.formatContext=eT(E,a,i)).insertionMode){r=nK(e,0,null,t.formatContext,!1,!1),k.preambleChildren.push(r),t.blockedSegment=r;try{r.status=6,ai(e,t,R,-1),r.lastPushedText&&r.textEmbedded&&r.chunks.push(ez),r.status=1,ah(e,t.blockedBoundary,r)}finally{t.blockedSegment=k}}else ai(e,t,R,-1);t.formatContext=E,t.keyPath=s;e:{switch(t=k.chunks,e=e.resumableState,a){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=E.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===E.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=E.insertionMode)break e}t.push(tp(a))}k.lastPushedText=!1}else{switch(a){case w:case u:case c:case l:a=t.keyPath,t.keyPath=r,n8(e,t,i.children,-1),t.keyPath=a;return;case b:null===(a=t.blockedSegment)?"hidden"!==i.mode&&(a=t.keyPath,t.keyPath=r,ai(e,t,i.children,-1),t.keyPath=a):"hidden"!==i.mode&&(a.chunks.push(ty),a.lastPushedText=!1,k=t.keyPath,t.keyPath=r,ai(e,t,i.children,-1),t.keyPath=k,a.chunks.push(tb),a.lastPushedText=!1);return;case g:e:{if(a=i.children,"forwards"===(i=i.revealOrder)||"backwards"===i||"unstable_legacy-backwards"===i){if(P(a)){n3(e,t,r,a,i);break e}if((k=C(a))&&(k=k.call(a))){if(!(E=k.next()).done){do E=k.next();while(!E.done);n3(e,t,r,a,i)}break e}}"together"===i?(i=t.keyPath,k=t.row,(E=t.row=n2(null)).boundaries=[],E.together=!0,t.keyPath=r,n8(e,t,a,-1),0==--E.pendingTasks&&nJ(e,E),t.keyPath=i,t.row=k,null!==k&&0<E.pendingTasks&&(k.pendingTasks++,E.next=k)):(i=t.keyPath,t.keyPath=r,n8(e,t,a,-1),t.keyPath=i)}return;case x:case y:throw Error(o(343));case f:e:if(null!==t.replay){a=t.keyPath,k=t.formatContext,E=t.row,t.keyPath=r,t.formatContext=ej(e.resumableState,k),t.row=null,r=i.children;try{ai(e,t,r,-1)}finally{t.keyPath=a,t.formatContext=k,t.row=E}}else{a=t.keyPath,s=t.formatContext;var O=t.row;T=t.blockedBoundary,S=t.blockedPreamble;var j=t.hoistableState,z=t.blockedSegment,_=i.fallback;i=i.children;var N=new Set,A=2>t.formatContext.insertionMode?nH(e,t.row,N,eC(),eC()):nH(e,t.row,N,null,null);null!==e.trackedPostpones&&(A.trackedContentKeyPath=r);var L=nK(e,z.chunks.length,A,t.formatContext,!1,!1);z.children.push(L),z.lastPushedText=!1;var I=nK(e,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,null!==e.trackedPostpones){k=t.componentStack,R=[(E=[r[0],"Suspense Fallback",r[2]])[1],E[2],[],null],e.trackedPostpones.workingMap.set(E,R),A.trackedFallbackNode=R,t.blockedSegment=L,t.blockedPreamble=A.fallbackPreamble,t.keyPath=E,t.formatContext=eO(e.resumableState,s),t.componentStack=nX(k),L.status=6;try{ai(e,t,_,-1),L.lastPushedText&&L.textEmbedded&&L.chunks.push(ez),L.status=1,ah(e,T,L)}catch(t){throw L.status=12===e.status?3:4,t}finally{t.blockedSegment=z,t.blockedPreamble=S,t.keyPath=a,t.formatContext=s}nG(t=nW(e,null,i,-1,A,I,A.contentPreamble,A.contentState,t.abortSet,r,ej(e.resumableState,t.formatContext),t.context,t.treeContext,null,k)),e.pingedTasks.push(t)}else{t.blockedBoundary=A,t.blockedPreamble=A.contentPreamble,t.hoistableState=A.contentState,t.blockedSegment=I,t.keyPath=r,t.formatContext=ej(e.resumableState,s),t.row=null,I.status=6;try{if(ai(e,t,i,-1),I.lastPushedText&&I.textEmbedded&&I.chunks.push(ez),I.status=1,ah(e,A,I),ap(A,I),0===A.pendingTasks&&0===A.status){if(A.status=1,!nM(e,A)){null!==O&&0==--O.pendingTasks&&nJ(e,O),0===e.pendingRootTasks&&t.blockedPreamble&&ay(e);break e}}else null!==O&&O.together&&n1(e,O)}catch(r){A.status=4,12===e.status?(I.status=3,k=e.fatalError):(I.status=4,k=r),A.errorDigest=R=nQ(e,k,E=nY(t.componentStack)),an(e,A)}finally{t.blockedBoundary=T,t.blockedPreamble=S,t.hoistableState=j,t.blockedSegment=z,t.keyPath=a,t.formatContext=s,t.row=O}nG(t=nW(e,null,_,-1,T,L,A.fallbackPreamble,A.fallbackState,N,[r[0],"Suspense Fallback",r[2]],eO(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,nX(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:if("ref"in i)for(z in k={},i)"ref"!==z&&(k[z]=i[z]);else k=i;a=n5(e,t,r,a.render,k,s),n9(e,t,r,a,0!==ns,nl,nu);return;case m:n4(e,t,r,a.type,i,s);return;case p:if(E=i.children,k=t.keyPath,i=i.value,R=a._currentValue,a._currentValue=i,rX=a={parent:s=rX,depth:null===s?0:s.depth+1,context:a,parentValue:R,value:i},t.context=a,t.keyPath=r,n8(e,t,E,-1),null===(e=rX))throw Error(o(403));e.context._currentValue=e.parentValue,e=rX=e.parent,t.context=e,t.keyPath=k;return;case d:a=(i=i.children)(a._context._currentValue),i=t.keyPath,t.keyPath=r,n8(e,t,a,-1),t.keyPath=i;return;case v:if(a=(k=a._init)(a._payload),12===e.status)throw null;n4(e,t,r,a,i,s);return}throw Error(o(130,null==a?a:typeof a,""))}}function n6(e,t,r,n,a){var o=t.replay,i=t.blockedBoundary,s=nK(e,0,null,t.formatContext,!1,!1);s.id=r,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ai(e,t,n,a),s.status=1,ah(e,i,s),null===i?e.completedRootSegment=s:(ap(i,s),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=o,t.blockedSegment=null}}function n8(e,t,r,n){null!==t.replay&&"number"==typeof t.replay.slots?n6(e,t,t.replay.slots,r,n):(t.node=r,t.childIndex=n,r=t.componentStack,nG(t),n7(e,t),t.componentStack=r)}function n7(e,t){var r=t.node,n=t.childIndex;if(null!==r){if("object"==typeof r){switch(r.$$typeof){case i:var a=r.type,l=r.key,u=r.props,c=void 0!==(r=u.ref)?r:null,d=rK(a),h=null==l?-1===n?0:n:l;if(l=[t.keyPath,d,h],null!==t.replay)e:{var g=t.replay;for(r=0,n=g.nodes;r<n.length;r++){var m=n[r];if(h===m[1]){if(4===m.length){if(null!==d&&d!==m[0])throw Error(o(490,m[0],d));var y=m[2];d=m[3],h=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(n4(e,t,l,a,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===r9||"function"==typeof o.then))throw t.node===h?t.replay=g:n.splice(r,1),o;t.replay.pendingTasks--,u=nY(t.componentStack),l=e,e=t.blockedBoundary,u=nQ(l,a=o,u),al(l,e,y,d,a,u)}t.replay=g}else{if(a!==f)throw Error(o(490,"Suspense",rK(a)||"Unknown"));t:{g=void 0,a=m[5],c=m[2],d=m[3],h=null===m[4]?[]:m[4][2],m=null===m[4]?null:m[4][3];var b=t.keyPath,w=t.formatContext,k=t.row,x=t.replay,S=t.blockedBoundary,E=t.hoistableState,T=u.children,R=u.fallback,O=new Set;(u=2>t.formatContext.insertionMode?nH(e,t.row,O,eC(),eC()):nH(e,t.row,O,null,null)).parentFlushed=!0,u.rootSegmentID=a,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=ej(e.resumableState,w),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(ai(e,t,T,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(r){u.status=4,g=nQ(e,r,y=nY(t.componentStack)),u.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=S,t.hoistableState=E,t.replay=x,t.keyPath=b,t.formatContext=w,t.row=k}nG(y=nq(e,null,{nodes:h,slots:m,pendingTasks:0},R,-1,S,u.fallbackState,O,[l[0],"Suspense Fallback",l[2]],eO(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,nX(t.componentStack))),e.pingedTasks.push(y)}}n.splice(r,1);break e}}}else n4(e,t,l,a,u,c);return;case s:throw Error(o(257));case v:if(r=(y=r._init)(r._payload),12===e.status)throw null;n8(e,t,r,n);return}if(P(r))return void ae(e,t,r,n);if((y=C(r))&&(y=y.call(r))){if(!(r=y.next()).done){u=[];do u.push(r.value),r=y.next();while(!r.done);ae(e,t,u,n)}return}if("function"==typeof r.then)return t.thenableState=null,n8(e,t,nT(r),n);if(r.$$typeof===p)return n8(e,t,r._currentValue,n);throw Error(o(31,"[object Object]"===(n=Object.prototype.toString.call(r))?"object with keys {"+Object.keys(r).join(", ")+"}":n))}"string"==typeof r?null!==(n=t.blockedSegment)&&(n.lastPushedText=e_(n.chunks,r,e.renderState,n.lastPushedText)):("number"==typeof r||"bigint"==typeof r)&&null!==(n=t.blockedSegment)&&(n.lastPushedText=e_(n.chunks,""+r,e.renderState,n.lastPushedText))}}function ae(e,t,r,n){var a=t.keyPath;if(-1!==n&&(t.keyPath=[t.keyPath,"Fragment",n],null!==t.replay)){for(var i=t.replay,s=i.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===n){t.replay={nodes:n=u[2],slots:u=u[3],pendingTasks:1};try{if(ae(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(a){if("object"==typeof a&&null!==a&&(a===r9||"function"==typeof a.then))throw a;t.replay.pendingTasks--,r=nY(t.componentStack);var c=t.blockedBoundary;r=nQ(e,a,r),al(e,c,n,u,a,r)}t.replay=i,s.splice(l,1);break}}t.keyPath=a;return}if(i=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(n=0;n<s;n++)u=r[n],t.treeContext=r0(i,s,n),"number"==typeof(c=l[n])?(n6(e,t,c,u,n),delete l[n]):ai(e,t,u,n);t.treeContext=i,t.keyPath=a;return}for(l=0;l<s;l++)n=r[l],t.treeContext=r0(i,s,l),ai(e,t,n,l);t.treeContext=i,t.keyPath=a}function at(e,t,r){if(r.status=5,r.rootSegmentID=e.nextSegmentId++,null===(e=r.trackedContentKeyPath))throw Error(o(486));var n=r.trackedFallbackNode,a=t.workingMap.get(e);return void 0===a?(r=[e[1],e[2],[],null,n,r.rootSegmentID],t.workingMap.set(e,r),az(r,e[0],t),r):(a[4]=n,a[5]=r.rootSegmentID,a)}function ar(e,t,r,n){n.status=5;var a=r.keyPath,i=r.blockedBoundary;if(null===i)n.id=e.nextSegmentId++,t.rootSlots=n.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==i&&0===i.status){var s=at(e,t,i);if(i.trackedContentKeyPath===a&&-1===r.childIndex){-1===n.id&&(n.id=n.parentFlushed?i.rootSegmentID:e.nextSegmentId++),s[3]=n.id;return}}if(-1===n.id&&(n.id=n.parentFlushed&&null!==i?i.rootSegmentID:e.nextSegmentId++),-1===r.childIndex)null===a?t.rootSlots=n.id:void 0===(r=t.workingMap.get(a))?az(r=[a[1],a[2],[],n.id],a[0],t):r[3]=n.id;else{if(null===a){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(o(491))}else if(void 0===(s=(i=t.workingMap).get(a)))e={},s=[a[1],a[2],[],e],i.set(a,s),az(s,a[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(o(491));e[r.childIndex]=n.id}}}function an(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function aa(e,t,r){return nq(e,r,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ao(e,t,r){var n=t.blockedSegment,a=nK(e,n.chunks.length,null,t.formatContext,n.lastPushedText,!0);return n.children.push(a),n.lastPushedText=!1,nW(e,r,t.node,t.childIndex,t.blockedBoundary,a,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ai(e,t,r,n){var a=t.formatContext,o=t.context,i=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return n8(e,t,r,n)}catch(c){if(ny(),r=c===r9?r6():c,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){e=aa(e,t,n=c===r9?nv():null).ping,r.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,rQ(o);return}if("Maximum call stack size exceeded"===r.message){r=aa(e,t,r=c===r9?nv():null),e.pingedTasks.push(r),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,rQ(o);return}}}}else{var c=u.children.length,d=u.chunks.length;try{return n8(e,t,r,n)}catch(n){if(ny(),u.children.length=c,u.chunks.length=d,r=n===r9?r6():n,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){u=r,e=ao(e,t,r=n===r9?nv():null).ping,u.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,rQ(o);return}if("Maximum call stack size exceeded"===r.message){u=ao(e,t,u=n===r9?nv():null),e.pingedTasks.push(u),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,rQ(o);return}}}}throw t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,rQ(o),r}function as(e){var t=e.blockedBoundary,r=e.blockedSegment;null!==r&&(r.status=3,af(this,t,e.row,r))}function al(e,t,r,n,a,i){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)al(e,t,l[2],l[3],a,i);else{l=l[5];var u=nH(e,null,new Set,null,null);u.parentFlushed=!0,u.rootSegmentID=l,u.status=4,u.errorDigest=i,u.parentFlushed&&e.clientRenderedBoundaries.push(u)}}if(r.length=0,null!==n){if(null===t)throw Error(o(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof n)for(var c in n)delete n[c]}}function au(e,t){try{var r=e.renderState,n=r.onHeaders;if(n){var a=r.headers;if(a){r.headers=null;var o=a.preconnects;if(a.fontPreloads&&(o&&(o+=", "),o+=a.fontPreloads),a.highImagePreloads&&(o&&(o+=", "),o+=a.highImagePreloads),!t){var i=r.styles.values(),s=i.next();t:for(;0<a.remainingCapacity&&!s.done;s=i.next())for(var l=s.value.sheets.values(),u=l.next();0<a.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,p=d.href,h=c.props,f=rI(h.href,"style",{crossOrigin:h.crossOrigin,integrity:h.integrity,nonce:h.nonce,type:h.type,fetchPriority:h.fetchPriority,referrerPolicy:h.referrerPolicy,media:h.media});if(0<=(a.remainingCapacity-=f.length+2))r.resets.style[p]=es,o&&(o+=", "),o+=f,r.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:es;else break t}}n(o?{Link:o}:{})}}}catch(t){nQ(e,t,{})}}function ac(e){null===e.trackedPostpones&&au(e,!0),null===e.trackedPostpones&&ay(e),e.onShellError=r5,(e=e.onShellReady)()}function ad(e){au(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),ay(e),(e=e.onAllReady)()}function ap(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1!==r.status&&3!==r.status&&4!==r.status||ap(e,r)}else e.completedSegments.push(t)}function ah(e,t,r){if(null!==$){r=r.chunks;for(var n=0,a=0;a<r.length;a++)n+=r[a].byteLength;null===t?e.byteSize+=n:t.byteSize+=n}}function af(e,t,r,n){if(null!==r&&(0==--r.pendingTasks?nJ(e,r):r.together&&n1(e,r)),e.allPendingTasks--,null===t){if(null!==n&&n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&ac(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==n&&n.parentFlushed&&(1===n.status||3===n.status)&&ap(t,n),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(r=t.row)&&rU(r.hoistables,t.contentState),nM(e,t)||(t.fallbackAbortableTasks.forEach(as,e),t.fallbackAbortableTasks.clear(),null!==r&&0==--r.pendingTasks&&nJ(e,r)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&ay(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){r=e.trackedPostpones;var a=t.next;if(null!==a&&null!==(n=a.boundaries))for(a.boundaries=null,a=0;a<n.length;a++){var i=n[a];at(e,r,i),af(e,i,null,null)}}0==--t.pendingTasks&&nJ(e,t)}}else null===n||!n.parentFlushed||1!==n.status&&3!==n.status||(ap(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&n1(e,t);0===e.allPendingTasks&&ad(e)}function ag(e){if(14!==e.status&&13!==e.status){var t=rX,r=en.H;en.H=nz;var n=en.A;en.A=nN;var a=nV;nV=e;var i=n_;n_=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var p=c;if(0!==u.replay.pendingTasks){rQ(u.context);try{if("number"==typeof u.replay.slots?n6(p,u,u.replay.slots,u.node,u.childIndex):n7(p,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(o(488));u.replay.pendingTasks--,u.abortSet.delete(u),af(p,u.blockedBoundary,u.row,null)}catch(e){ny();var h=e===r9?r6():e;if("object"==typeof h&&null!==h&&"function"==typeof h.then){var f=u.ping;h.then(f,f),u.thenableState=e===r9?nv():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var g=nY(u.componentStack);c=void 0;var m=p,v=u.blockedBoundary,y=12===p.status?p.fatalError:h,b=u.replay.nodes,w=u.replay.slots;c=nQ(m,y,g),al(m,v,b,w,y,c),p.pendingRootTasks--,0===p.pendingRootTasks&&ac(p),p.allPendingTasks--,0===p.allPendingTasks&&ad(p)}}finally{}}}else if(p=void 0,m=d,0===m.status){m.status=6,rQ(u.context);var k=m.children.length,x=m.chunks.length;try{n7(c,u),m.lastPushedText&&m.textEmbedded&&m.chunks.push(ez),u.abortSet.delete(u),m.status=1,ah(c,u.blockedBoundary,m),af(c,u.blockedBoundary,u.row,m)}catch(e){ny(),m.children.length=k,m.chunks.length=x;var S=e===r9?r6():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var C=c.trackedPostpones,P=nY(u.componentStack);u.abortSet.delete(u),nQ(c,S,P),ar(c,C,u,m),af(c,u.blockedBoundary,u.row,m)}else if("object"==typeof S&&null!==S&&"function"==typeof S.then){m.status=0,u.thenableState=e===r9?nv():null;var E=u.ping;S.then(E,E)}else{var T=nY(u.componentStack);u.abortSet.delete(u),m.status=4;var R=u.blockedBoundary,O=u.row;if(null!==O&&0==--O.pendingTasks&&nJ(c,O),c.allPendingTasks--,p=nQ(c,S,T),null===R)nZ(c,S);else if(R.pendingTasks--,4!==R.status){R.status=4,R.errorDigest=p,an(c,R);var j=R.row;null!==j&&0==--j.pendingTasks&&nJ(c,j),R.parentFlushed&&c.clientRenderedBoundaries.push(R),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==R.contentPreamble&&ay(c)}0===c.allPendingTasks&&ad(c)}}finally{}}}l.splice(0,s),null!==e.destination&&aE(e,e.destination)}catch(t){nQ(e,t,{}),nZ(e,t)}finally{n_=i,en.H=r,en.A=n,r===nz&&rQ(t),nV=a}}}function am(e,t,r){t.preambleChildren.length&&r.push(t.preambleChildren);for(var n=!1,a=0;a<t.children.length;a++)n=av(e,t.children[a],r)||n;return n}function av(e,t,r){var n=t.boundary;if(null===n)return am(e,t,r);var a=n.contentPreamble,i=n.fallbackPreamble;if(null===a||null===i)return!1;switch(n.status){case 1:if(th(e.renderState,a),e.byteSize+=n.byteSize,!(t=n.completedSegments[0]))throw Error(o(391));return am(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return th(e.renderState,i),am(e,t,r);default:return!0}}function ay(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],r=e.byteSize,n=av(e,e.completedRootSegment,t),a=e.renderState.preamble;!1===n||a.headChunks&&a.bodyChunks?e.completedPreambleSegments=t:e.byteSize=r}}function ab(e,t,r,n){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return n=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,L(t,tm),L(t,e.placeholderPrefix),L(t,e=D(n.toString(16))),I(t,tv);case 1:r.status=2;var a=!0,i=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(a=r[l];s<a.index;s++)L(t,i[s]);a=ak(e,t,a,n)}for(;s<i.length-1;s++)L(t,i[s]);return s<i.length&&(a=I(t,i[s])),a;case 3:return!0;default:throw Error(o(390))}}var aw=0;function ak(e,t,r,n){var a=r.boundary;if(null===a)return ab(e,t,r,n);if(a.parentFlushed=!0,4===a.status){var i=a.row;null!==i&&0==--i.pendingTasks&&nJ(e,i),a=a.errorDigest,I(t,tS),L(t,tP),a&&(L(t,tT),L(t,D(Z(a))),L(t,tE)),I(t,tR),ab(e,t,r,n)}else if(1!==a.status)0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),tO(t,e.renderState,a.rootSegmentID),n&&rU(n,a.fallbackState),ab(e,t,r,n);else if(!aP&&nM(e,a)&&(aw+a.byteSize>e.progressiveChunkSize||rH(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),tO(t,e.renderState,a.rootSegmentID),ab(e,t,r,n);else{if(aw+=a.byteSize,n&&rU(n,a.contentState),null!==(r=a.row)&&nM(e,a)&&0==--r.pendingTasks&&nJ(e,r),I(t,tw),1!==(r=a.completedSegments).length)throw Error(o(391));ak(e,t,r[0],n)}return I(t,tC)}function ax(e,t,r,n){switch(!function(e,t,r,n){switch(r.insertionMode){case 0:case 1:case 3:case 2:return L(e,tj),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tz);case 4:return L(e,tN),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tA);case 5:return L(e,tI),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tM);case 6:return L(e,tD),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tB);case 7:return L(e,tV),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tU);case 8:return L(e,tW),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tq);case 9:return L(e,tG),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tX);default:throw Error(o(397))}}(t,e.renderState,r.parentFormatContext,r.id),ak(e,t,r,n),r.parentFormatContext.insertionMode){case 0:case 1:case 3:case 2:return I(t,t_);case 4:return I(t,tL);case 5:return I(t,tF);case 6:return I(t,t$);case 7:return I(t,tH);case 8:return I(t,tK);case 9:return I(t,tY);default:throw Error(o(397))}}function aS(e,t,r){aw=r.byteSize;for(var n,a,i=r.completedSegments,s=0;s<i.length;s++)aC(e,t,r,i[s]);i.length=0,null!==(i=r.row)&&nM(e,r)&&0==--i.pendingTasks&&nJ(e,i),rm(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,s=r.rootSegmentID,r=r.contentState;var l=e.stylesToHoist;return e.stylesToHoist=!1,L(t,e.startInlineScript),L(t,eQ),l?(0==(4&i.instructions)&&(i.instructions|=4,L(t,t7)),0==(2&i.instructions)&&(i.instructions|=2,L(t,t1)),0==(8&i.instructions)?(i.instructions|=8,L(t,t3)):L(t,t5)):(0==(2&i.instructions)&&(i.instructions|=2,L(t,t1)),L(t,t2)),i=D(s.toString(16)),L(t,e.boundaryPrefix),L(t,i),L(t,t9),L(t,e.segmentPrefix),L(t,i),l?(L(t,t4),n=r,L(t,rj),a=rj,n.stylesheets.forEach(function(e){if(2!==e.state)if(3===e.state)L(t,a),L(t,D(rs(""+e.props.href))),L(t,rN),a=rz;else{L(t,a);var r=e.props["data-precedence"],n=e.props;for(var i in L(t,D(rs(er(""+e.props.href)))),r=""+r,L(t,r_),L(t,D(rs(r))),n)if(H.call(n,i)&&null!=(r=n[i]))switch(i){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:!function(e,t,r){var n=t.toLowerCase();switch(typeof r){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":n="class",t=""+r;break;case"hidden":if(!1===r)return;t="";break;case"src":case"href":t=""+(r=er(r));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!G(t))return;t=""+r}L(e,r_),L(e,D(rs(n))),L(e,r_),L(e,D(rs(t)))}(t,i,r)}L(t,rN),a=rz,e.state=3}}),L(t,rN)):L(t,t6),r=I(t,t8),tf(t,e)&&r}function aC(e,t,r,n){if(2===n.status)return!0;var a=r.contentState,i=n.id;if(-1===i){if(-1===(n.id=r.rootSegmentID))throw Error(o(392));return ax(e,t,n,a)}return i===r.rootSegmentID?ax(e,t,n,a):(ax(e,t,n,a),r=e.resumableState,L(t,(e=e.renderState).startInlineScript),L(t,eQ),0==(1&r.instructions)?(r.instructions|=1,L(t,tQ)):L(t,tZ),L(t,e.segmentPrefix),L(t,i=D(i.toString(16))),L(t,tJ),L(t,e.placeholderPrefix),L(t,i),t=I(t,t0))}var aP=!1;function aE(e,t){N=new Uint8Array(2048),A=0;try{if(!(0<e.pendingRootTasks)){var r,n=e.completedRootSegment;if(null!==n){if(5===n.status)return;var a=e.completedPreambleSegments;if(null===a)return;aw=e.byteSize;var o,i=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(o=0;o<u.length;o++)L(t,u[o]);if(c)for(o=0;o<c.length;o++)L(t,c[o]);else L(t,tu("head")),L(t,eQ)}else if(c)for(o=0;o<c.length;o++)L(t,c[o]);var d=s.charsetChunks;for(o=0;o<d.length;o++)L(t,d[o]);d.length=0,s.preconnects.forEach(rv,t),s.preconnects.clear();var p=s.viewportChunks;for(o=0;o<p.length;o++)L(t,p[o]);p.length=0,s.fontPreloads.forEach(rv,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(rv,t),s.highImagePreloads.clear(),el=s,s.styles.forEach(rP,t),el=null;var h=s.importMapChunks;for(o=0;o<h.length;o++)L(t,h[o]);h.length=0,s.bootstrapScripts.forEach(rv,t),s.scripts.forEach(rv,t),s.scripts.clear(),s.bulkPreloads.forEach(rv,t),s.bulkPreloads.clear(),u||c||(i.instructions|=32);var f=s.hoistableChunks;for(o=0;o<f.length;o++)L(t,f[o]);for(i=f.length=0;i<a.length;i++){var g=a[i];for(s=0;s<g.length;s++)ak(e,t,g[s],null)}var m=e.renderState.preamble,v=m.headChunks;(m.htmlChunks||v)&&L(t,tp("head"));var y=m.bodyChunks;if(y)for(a=0;a<y.length;a++)L(t,y[a]);ak(e,t,n,null),e.completedRootSegment=null;var b=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var w=e.resumableState;if(0==(64&w.instructions)){if(w.instructions|=64,L(t,b.startInlineScript),0==(32&w.instructions)){w.instructions|=32;var k="_"+w.idPrefix+"R_";L(t,rR),L(t,D(Z(k))),L(t,eB)}L(t,eQ),L(t,tg),I(t,ec)}}tf(t,b)}var x=e.renderState;n=0;var S=x.viewportChunks;for(n=0;n<S.length;n++)L(t,S[n]);S.length=0,x.preconnects.forEach(rv,t),x.preconnects.clear(),x.fontPreloads.forEach(rv,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(rv,t),x.highImagePreloads.clear(),x.styles.forEach(rT,t),x.scripts.forEach(rv,t),x.scripts.clear(),x.bulkPreloads.forEach(rv,t),x.bulkPreloads.clear();var C=x.hoistableChunks;for(n=0;n<C.length;n++)L(t,C[n]);C.length=0;var P=e.clientRenderedBoundaries;for(r=0;r<P.length;r++){var E,T=P[r];x=t;var R=e.resumableState,O=e.renderState,j=T.rootSegmentID,z=T.errorDigest;L(x,O.startInlineScript),L(x,eQ),0==(4&R.instructions)?(R.instructions|=4,L(x,re)):L(x,rt),L(x,O.boundaryPrefix),L(x,D(j.toString(16))),L(x,rr),z&&(L(x,rn),L(x,D((E=z||"",JSON.stringify(E).replace(ro,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})))));var _=I(x,ra);if(!_){e.destination=null,r++,P.splice(0,r);return}}P.splice(0,r);var F=e.completedBoundaries;for(r=0;r<F.length;r++)if(!aS(e,t,F[r])){e.destination=null,r++,F.splice(0,r);return}F.splice(0,r),M(t),N=new Uint8Array(2048),A=0,aP=!0;var B=e.partialBoundaries;for(r=0;r<B.length;r++){var $=B[r];e:{P=e,T=t,aw=$.byteSize;var V=$.completedSegments;for(_=0;_<V.length;_++)if(!aC(P,T,$,V[_])){_++,V.splice(0,_);var U=!1;break e}V.splice(0,_);var H=$.row;null!==H&&H.together&&1===$.pendingTasks&&(1===H.pendingTasks?n0(P,H,H.hoistables):H.pendingTasks--),U=rm(T,$.contentState,P.renderState)}if(!U){e.destination=null,r++,B.splice(0,r);return}}B.splice(0,r),aP=!1;var W=e.completedBoundaries;for(r=0;r<W.length;r++)if(!aS(e,t,W[r])){e.destination=null,r++,W.splice(0,r);return}W.splice(0,r)}}finally{aP=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(r=e.resumableState).hasBody&&L(t,tp("body")),r.hasHtml&&L(t,tp("html")),M(t),e.status=14,t.close(),e.destination=null):M(t)}}function aT(e){e.flushScheduled=null!==e.destination,_(function(){return ag(e)}),O(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&au(e,0===e.pendingRootTasks)})}function aR(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,O(function(){var t=e.destination;t?aE(e,t):e.flushScheduled=!1}))}function aO(e,t){if(13===e.status)e.status=14,V(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{aE(e,t)}catch(t){nQ(e,t,{}),nZ(e,t)}}}function aj(e,t){(11===e.status||10===e.status)&&(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var n=void 0===t?Error(o(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(o(530)):t;e.fatalError=n,r.forEach(function(t){return function e(t,r,n){var a=t.blockedBoundary,o=t.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=nY(t.componentStack);if(null===a){if(13!==r.status&&14!==r.status){if(null===(a=t.replay))return void(null!==r.trackedPostpones&&null!==o?(a=r.trackedPostpones,nQ(r,n,i),ar(r,a,t,o),af(r,null,t.row,o)):(nQ(r,n,i),nZ(r,n)));a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(o=nQ(r,n,i),al(r,null,a.nodes,a.slots,n,o)),r.pendingRootTasks--,0===r.pendingRootTasks&&ac(r)}}else{var s=r.trackedPostpones;if(4!==a.status){if(null!==s&&null!==o)return nQ(r,n,i),ar(r,s,t,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear(),af(r,a,t.row,o);a.status=4,o=nQ(r,n,i),a.status=4,a.errorDigest=o,an(r,a),a.parentFlushed&&r.clientRenderedBoundaries.push(a)}a.pendingTasks--,null!==(o=a.row)&&0==--o.pendingTasks&&nJ(r,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear()}null!==(t=t.row)&&0==--t.pendingTasks&&nJ(r,t),r.allPendingTasks--,0===r.allPendingTasks&&ad(r)}(t,e,n)}),r.clear()}null!==e.destination&&aE(e,e.destination)}catch(t){nQ(e,t,{}),nZ(e,t)}}function az(e,t,r){if(null===t)r.rootNodes.push(e);else{var n=r.workingMap,a=n.get(t);void 0===a&&(a=[t[1],t[2],[],null],n.set(t,a),az(a,t[0],r)),a[2].push(e)}}function a_(e){var t=e.trackedPostpones;if(null===t||0===t.rootNodes.length&&null===t.rootSlots)return e.trackedPostpones=null;if(null===e.completedRootSegment||5!==e.completedRootSegment.status&&null!==e.completedPreambleSegments){var r=e.nextSegmentId,n=t.rootSlots,a=e.resumableState;a.bootstrapScriptContent=void 0,a.bootstrapScripts=void 0,a.bootstrapModules=void 0}else{r=0,n=-1,a=e.resumableState;var o=e.renderState;a.nextFormID=0,a.hasBody=!1,a.hasHtml=!1,a.unknownResources={font:o.resets.font},a.dnsResources=o.resets.dns,a.connectResources=o.resets.connect,a.imageResources=o.resets.image,a.styleResources=o.resets.style,a.scriptResources={},a.moduleUnknownResources={},a.moduleScriptResources={},a.instructions=0}return{nextSegmentId:r,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:n}}function aN(){var e=n.version;if("19.2.3"!==e)throw Error(o(527,e,"19.2.3"))}aN(),aN(),t.prerender=function(e,t){return new Promise(function(r,n){var a,o,i,s,l,u=t?t.onHeaders:void 0;u&&(l=function(e){u(new Headers(e))});var c=eS(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),d=(a=e,o=ex(c,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,l,t?t.maxHeadersLength:void 0),i=eE(t?t.namespaceURI:void 0),s=t?t.progressiveChunkSize:void 0,(a=nB(a,c,o,i,s,t?t.onError:void 0,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(d,e)},cancel:function(e){d.destination=null,aj(d,e)}},{highWaterMark:0});r(e={postponed:a_(d),prelude:e})},void 0,void 0,n,t?t.onPostpone:void 0,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},a);if(t&&t.signal){var p=t.signal;if(p.aborted)aj(d,p.reason);else{var h=function(){aj(d,p.reason),p.removeEventListener("abort",h)};p.addEventListener("abort",h)}}aT(d)})},t.renderToReadableStream=function(e,t){return new Promise(function(r,n){var a,o,i,s=new Promise(function(e,t){o=e,a=t}),l=t?t.onHeaders:void 0;l&&(i=function(e){l(new Headers(e))});var u=eS(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),c=nB(e,u,ex(u,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),eE(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,o,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(c,e)},cancel:function(e){c.destination=null,aj(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),n(e)},a,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)aj(c,d.reason);else{var p=function(){aj(c,d.reason),d.removeEventListener("abort",p)};d.addEventListener("abort",p)}}aT(c)})},t.resume=function(e,t,r){return new Promise(function(n,a){var o,i,s=new Promise(function(e,t){i=e,o=t}),l=n$(e,t,ex(t.resumableState,r?r.nonce:void 0,void 0,void 0,void 0,void 0),r?r.onError:void 0,i,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(l,e)},cancel:function(e){l.destination=null,aj(l,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),a(e)},o,r?r.onPostpone:void 0);if(r&&r.signal){var u=r.signal;if(u.aborted)aj(l,u.reason);else{var c=function(){aj(l,u.reason),u.removeEventListener("abort",c)};u.addEventListener("abort",c)}}aT(l)})},t.resumeAndPrerender=function(e,t,r){return new Promise(function(n,a){var o,i,s=(o=e,i=ex(t.resumableState,void 0,void 0,void 0,void 0,void 0),(o=n$(o,t,i,r?r.onError:void 0,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(s,e)},cancel:function(e){s.destination=null,aj(s,e)}},{highWaterMark:0});n(e={postponed:a_(s),prelude:e})},void 0,void 0,a,r?r.onPostpone:void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},o);if(r&&r.signal){var l=r.signal;if(l.aborted)aj(s,l.reason);else{var u=function(){aj(s,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}}aT(s)})},t.version="19.2.3"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js");function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.flushSync=function(e){var t=l.T,r=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=r,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=u(r,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:o}):"script"===r&&i.d.X(e,{crossOrigin:n,integrity:a,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=u(r,t.crossOrigin);i.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,r){return l.H.useFormState(e,t,r)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.3"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js"(e,t,r){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-client.production.js")},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js"(e,t,r){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom.production.js")},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/server.browser.js"(e,t,r){"use strict";var n,a;n=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js"),a=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server.browser.production.js"),n.version,t.renderToString=n.renderToString,n.renderToStaticMarkup,a.renderToReadableStream,a.resume},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js"(e,t){"use strict";var r=Symbol.for("react.transitional.element");function n(e,t,n){var a=null;if(void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return{$$typeof:r,type:e,key:a,ref:void 0!==(t=n.ref)?t:null,props:n}}t.Fragment=Symbol.for("react.fragment"),t.jsx=n,t.jsxs=n},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js"(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),f=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||g}function b(){}function w(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var k=w.prototype=new b;k.constructor=w,m(k,y.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function E(e,t,n){var a=n.ref;return{$$typeof:r,type:e,key:t,ref:void 0!==a?a:null,props:n}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var R=/\/+/g;function O(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function j(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,s){var l,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var h=!1;if(null===t)h=!0;else switch(d){case"bigint":case"string":case"number":h=!0;break;case"object":switch(t.$$typeof){case r:case n:h=!0;break;case p:return e((h=t._init)(t._payload),a,o,i,s)}}if(h)return s=s(t),h=""===i?"."+O(t,0):i,x(s)?(o="",null!=h&&(o=h.replace(R,"$&/")+"/"),e(s,a,o,"",function(e){return e})):null!=s&&(T(s)&&(l=s,u=o+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+h,s=E(l.type,u,l.props)),a.push(s)),1;h=0;var g=""===i?".":i+":";if(x(t))for(var m=0;m<t.length;m++)d=g+O(i=t[m],m),h+=e(i,a,o,d,s);else if("function"==typeof(m=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=f&&c[f]||c["@@iterator"])?c:null))for(t=m.call(t),m=0;!(i=t.next()).done;)d=g+O(i=i.value,m++),h+=e(i,a,o,d,s);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),a,o,i,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return h}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function z(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var _="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};t.Activity=h,t.Children={map:j,forEach:function(e,t,r){j(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)P.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(n[o]=t[o]);var o=arguments.length-2;if(1===o)n.children=r;else if(1<o){for(var i=Array(o),s=0;s<o;s++)i[s]=arguments[s+2];n.children=i}return E(e.type,a,n)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,r){var n,a={},o=null;if(null!=t)for(n in void 0!==t.key&&(o=""+t.key),t)P.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(a[n]=t[n]);var i=arguments.length-2;if(1===i)a.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];a.children=s}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===a[n]&&(a[n]=i[n]);return E(e,o,a)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:z}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=C.T,r={};C.T=r;try{var n=e(),a=C.S;null!==a&&a(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(S,_)}catch(e){_(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),C.T=t}},t.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},t.use=function(e){return C.H.use(e)},t.useActionState=function(e,t,r){return C.H.useActionState(e,t,r)},t.useCallback=function(e,t){return C.H.useCallback(e,t)},t.useContext=function(e){return C.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return C.H.useEffect(e,t)},t.useEffectEvent=function(e){return C.H.useEffectEvent(e)},t.useId=function(){return C.H.useId()},t.useImperativeHandle=function(e,t,r){return C.H.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return C.H.useMemo(e,t)},t.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},t.useReducer=function(e,t,r){return C.H.useReducer(e,t,r)},t.useRef=function(e){return C.H.useRef(e)},t.useState=function(e){return C.H.useState(e)},t.useSyncExternalStore=function(e,t,r){return C.H.useSyncExternalStore(e,t,r)},t.useTransition=function(){return C.H.useTransition()},t.version="19.2.3"},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js")},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js")},"../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js"(e,t){"use strict";function r(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,a=e[n];if(0<o(a,t))e[n]=t,e[r]=a,r=n;else break}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,a=e.length,i=a>>>1;n<i;){var s=2*(n+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,r))u<a&&0>o(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[s]=r,n=s);else if(u<a&&0>o(c,r))e[n]=c,e[u]=r,n=u;else break}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var c=[],d=[],p=1,h=null,f=3,g=!1,m=!1,v=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function x(e){for(var t=n(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,r(c,t);else break;t=n(d)}}function S(e){if(v=!1,x(e),!m)if(null!==n(c))m=!0,C||(C=!0,i());else{var t=n(d);null!==t&&_(S,t.startTime-e)}}var C=!1,P=-1,E=5,T=-1;function R(){return!!y||!(t.unstable_now()-T<E)}function O(){if(y=!1,C){var e=t.unstable_now();T=e;var r=!0;try{e:{m=!1,v&&(v=!1,w(P),P=-1),g=!0;var o=f;try{t:{for(x(e),h=n(c);null!==h&&!(h.expirationTime>e&&R());){var s=h.callback;if("function"==typeof s){h.callback=null,f=h.priorityLevel;var l=s(h.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof l){h.callback=l,x(e),r=!0;break t}h===n(c)&&a(c),x(e)}else a(c);h=n(c)}if(null!==h)r=!0;else{var u=n(d);null!==u&&_(S,u.startTime-e),r=!1}}break e}finally{h=null,f=o,g=!1}}}finally{r?i():C=!1}}}if("function"==typeof k)i=function(){k(O)};else if("u">typeof MessageChannel){var j=new MessageChannel,z=j.port2;j.port1.onmessage=O,i=function(){z.postMessage(null)}}else i=function(){b(O,0)};function _(e,r){P=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,a,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:p++,callback:a,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>s?(e.sortIndex=o,r(d,e),null===n(c)&&e===n(d)&&(v?(w(P),P=-1):v=!0,_(S,o-s))):(e.sortIndex=l,r(c,e),m||g||(m=!0,C||(C=!0,i()))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},"../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js")},"../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,i=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),a=n[0].inst,c=n[1];return s(function(){a.value=r,a.getSnapshot=t,u(a)&&c({inst:a})},[e,r,t]),i(function(){return u(a)&&c({inst:a}),e(function(){u(a)&&c({inst:a})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},"../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/index.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js")},"../../node_modules/.pnpm/void-elements@3.1.0/node_modules/void-elements/index.js"(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);r.r(o);var i={};n=n||[null,a({}),a([]),a(a)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~n.indexOf(s);s=a(s))Object.getOwnPropertyNames(s).forEach(t=>{i[t]=()=>e[t]});return i.default=()=>e,r.d(o,i),o},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,r.g.importScripts&&(o=r.g.location+"");var n,a,o,i=r.g.document;if(!o&&i&&(i.currentScript&&"SCRIPT"===i.currentScript.tagName.toUpperCase()&&(o=i.currentScript.src),!o)){var s=i.getElementsByTagName("script");if(s.length)for(var l=s.length-1;l>-1&&(!o||!/^http(s?):/.test(o));)o=s[l--].src}if(!o)throw Error("Automatic publicPath is not supported in this browser");r.p=o=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),(()=>{"use strict";let e,t,n,a,o,i,s,l,u,c,d,p,h,f,g;var m,v,y,b,w,k,x,S,C,P,E,T,R,O,j,z,_={};r.r(_),r.d(_,{hasBrowserEnv:()=>n$,hasStandardBrowserEnv:()=>nU,hasStandardBrowserWebWorkerEnv:()=>nH,navigator:()=>nV,origin:()=>nW});var N=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js"),A=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),L=r.t(A,2);function I(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function M(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function F(...e){return t=>{let r=!1,n=e.map(e=>{let n=M(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():M(e[t],null)}}}}function D(...e){return A.useCallback(F(...e),e)}"u">typeof window&&window.document&&window.document.createElement;var B=globalThis?.document?A.useLayoutEffect:()=>{},$=L[" useId ".trim().toString()]||(()=>void 0),V=0;function U(e){let[t,r]=A.useState($());return B(()=>{e||r(e=>e??String(V++))},[e]),e||(t?`radix-${t}`:"")}var H=L[" useInsertionEffect ".trim().toString()]||B;Symbol("RADIX:SYNC_STATE");var W=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function q(e){var t;let r,n=(t=e,(r=A.forwardRef((e,t)=>{let{children:r,...n}=e;if(A.isValidElement(r)){var a;let e,o,i=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==A.Fragment&&(s.ref=t?F(t,i):i),A.cloneElement(r,s)}return A.Children.count(r)>1?A.Children.only(null):null})).displayName=`${t}.SlotClone`,r),a=A.forwardRef((e,t)=>{let{children:r,...a}=e,o=A.Children.toArray(r),i=o.find(G);if(i){let e=i.props.children,r=o.map(t=>t!==i?t:A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null);return(0,N.jsx)(n,{...a,ref:t,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,N.jsx)(n,{...a,ref:t,children:r})});return a.displayName=`${e}.Slot`,a}var K=Symbol("radix.slottable");function G(e){return A.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===K}var X=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=q(`Primitive.${t}`),n=A.forwardRef((e,n)=>{let{asChild:a,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,N.jsx)(a?r:t,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Y(e){let t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...e)=>t.current?.(...e),[])}var Q="dismissableLayer.update",Z=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),J=A.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:i,onDismiss:s,...l}=e,u=A.useContext(Z),[c,d]=A.useState(null),p=c?.ownerDocument??globalThis?.document,[,h]=A.useState({}),f=D(t,e=>d(e)),g=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(m),y=c?g.indexOf(c):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,w=y>=v,k=function(e,t=globalThis?.document){let r=Y(e),n=A.useRef(!1),a=A.useRef(()=>{});return A.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){et("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=n,t.addEventListener("click",a.current,{once:!0})):n()}else t.removeEventListener("click",a.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...u.branches].some(e=>e.contains(t));w&&!r&&(a?.(e),i?.(e),e.defaultPrevented||s?.())},p),x=function(e,t=globalThis?.document){let r=Y(e),n=A.useRef(!1);return A.useEffect(()=>{let e=e=>{e.target&&!n.current&&et("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(o?.(e),i?.(e),e.defaultPrevented||s?.())},p);return!function(e,t=globalThis?.document){let r=Y(e);A.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{y===u.layers.size-1&&(n?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},p),A.useEffect(()=>{if(c)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(j=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ee(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=j)}},[c,p,r,u]),A.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ee())},[c,u]),A.useEffect(()=>{let e=()=>h({});return document.addEventListener(Q,e),()=>document.removeEventListener(Q,e)},[]),(0,N.jsx)(X.div,{...l,ref:f,style:{pointerEvents:b?w?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,k.onPointerDownCapture)})});function ee(){let e=new CustomEvent(Q);document.dispatchEvent(e)}function et(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});if(t&&a.addEventListener(e,t,{once:!0}),n)a&&W.flushSync(()=>a.dispatchEvent(o));else a.dispatchEvent(o)}J.displayName="DismissableLayer",A.forwardRef((e,t)=>{let r=A.useContext(Z),n=A.useRef(null),a=D(t,n);return A.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,N.jsx)(X.div,{...e,ref:a})}).displayName="DismissableLayerBranch";var er="focusScope.autoFocusOnMount",en="focusScope.autoFocusOnUnmount",ea={bubbles:!1,cancelable:!0},eo=A.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,l]=A.useState(null),u=Y(a),c=Y(o),d=A.useRef(null),p=D(t,e=>l(e)),h=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(n){let e=function(e){if(h.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:el(d.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||el(d.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&el(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,h.paused]),A.useEffect(()=>{if(s){eu.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(er,ea);s.addEventListener(er,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(el(n,{select:t}),document.activeElement!==r)return}(ei(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&el(s))}return()=>{s.removeEventListener(er,u),setTimeout(()=>{let t=new CustomEvent(en,ea);s.addEventListener(en,c),s.dispatchEvent(t),t.defaultPrevented||el(e??document.body,{select:!0}),s.removeEventListener(en,c),eu.remove(h)},0)}}},[s,u,c,h]);let f=A.useCallback(e=>{if(!r&&!n||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){var o;let t,n=e.currentTarget,[i,s]=[es(t=ei(o=n),o),es(t.reverse(),o)];i&&s?e.shiftKey||a!==s?e.shiftKey&&a===i&&(e.preventDefault(),r&&el(s,{select:!0})):(e.preventDefault(),r&&el(i,{select:!0})):a===n&&e.preventDefault()}},[r,n,h.paused]);return(0,N.jsx)(X.div,{tabIndex:-1,...i,ref:p,onKeyDown:f})});function ei(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function es(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function el(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}eo.displayName="FocusScope";var eu=(f=[],{add(e){let t=f[0];e!==t&&t?.pause(),(f=ec(f,e)).unshift(e)},remove(e){f=ec(f,e),f[0]?.resume()}});function ec(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var ed=A.forwardRef((e,t)=>{let{container:r,...n}=e,[a,o]=A.useState(!1);B(()=>o(!0),[]);let i=r||a&&globalThis?.document?.body;return i?W.createPortal((0,N.jsx)(X.div,{...n,ref:t}),i):null});ed.displayName="Portal";var ep=e=>{var t;let r,n,{present:a,children:o}=e,i=function(e){var t,r;let[n,a]=A.useState(),o=A.useRef(null),i=A.useRef(e),s=A.useRef("none"),[l,u]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},A.useReducer((e,t)=>r[e][t]??e,t));return A.useEffect(()=>{let e=eh(o.current);s.current="mounted"===l?e:"none"},[l]),B(()=>{let t=o.current,r=i.current;if(r!==e){let n=s.current,a=eh(t);e?u("MOUNT"):"none"===a||t?.display==="none"?u("UNMOUNT"):r&&n!==a?u("ANIMATION_OUT"):u("UNMOUNT"),i.current=e}},[e,u]),B(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let a=eh(o.current).includes(CSS.escape(r.animationName));if(r.target===n&&a&&(u("ANIMATION_END"),!i.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},a=e=>{e.target===n&&(s.current=eh(o.current))};return n.addEventListener("animationstart",a),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",a),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:A.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}(a),s="function"==typeof o?o({present:i.isPresent}):A.Children.only(o),l=D(i.ref,(t=s,(n=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(n=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof o||i.isPresent?A.cloneElement(s,{ref:l}):null};function eh(e){return e?.animationName||"none"}ep.displayName="Presence";var ef=0;function eg(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var em=function(){return(em=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function ev(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}var ey="right-scroll-bar-position",eb="width-before-scroll-bar";function ew(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ek="u">typeof window?A.useLayoutEffect:A.useEffect,ex=new WeakMap,eS=(void 0===w&&(w={}),(void 0===k&&(k=function(e){return e}),x=[],S=!1,C={read:function(){if(S)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return x.length?x[x.length-1]:null},useMedium:function(e){var t=k(e,S);return x.push(t),function(){x=x.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(S=!0;x.length;){var t=x;x=[],t.forEach(e)}x={push:function(t){return e(t)},filter:function(){return x}}},assignMedium:function(e){S=!0;var t=[];if(x.length){var r=x;x=[],r.forEach(e),t=x}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),x={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),x}}}}).options=em({async:!0,ssr:!1},w),C),eC=function(){},eP=A.forwardRef(function(e,t){var r,n,a,o,i=A.useRef(null),s=A.useState({onScrollCapture:eC,onWheelCapture:eC,onTouchMoveCapture:eC}),l=s[0],u=s[1],c=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,f=e.enabled,g=e.shards,m=e.sideCar,v=e.noRelative,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,k=e.as,x=e.gapMode,S=ev(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(r=[i,t],n=function(e){return r.forEach(function(t){return ew(t,e)})},(a=(0,A.useState)(function(){return{value:null,callback:n,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=n,o=a.facade,ek(function(){var e=ex.get(o);if(e){var t=new Set(e),n=new Set(r),a=o.current;t.forEach(function(e){n.has(e)||ew(e,null)}),n.forEach(function(e){t.has(e)||ew(e,a)})}ex.set(o,r)},[r]),o),P=em(em({},S),l);return A.createElement(A.Fragment,null,f&&A.createElement(m,{sideCar:eS,removeScrollBar:h,shards:g,noRelative:v,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!w,lockRef:i,gapMode:x}),c?A.cloneElement(A.Children.only(d),em(em({},P),{ref:C})):A.createElement(void 0===k?"div":k,em({},P,{className:p,ref:C}),d))});eP.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eP.classNames={fullWidth:eb,zeroRight:ey};var eE=function(e){var t=e.sideCar,r=ev(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return A.createElement(n,em({},r))};eE.isSideCarExport=!0;var eT=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=z||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,o;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eR=function(){var e=eT();return function(t,r){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eO=function(){var e=eR();return function(t){return e(t.styles,t.dynamic),null}},ej={left:0,top:0,right:0,gap:0},ez=function(e){return parseInt(e||"",10)||0},e_=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[ez(r),ez(n),ez(a)]},eN=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return ej;var t=e_(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},eA=eO(),eL="data-scroll-locked",eI=function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(eL,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(ey," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(eb," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(ey," .").concat(ey," {\n right: 0 ").concat(n,";\n }\n \n .").concat(eb," .").concat(eb," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(eL,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},eM=function(){var e=parseInt(document.body.getAttribute(eL)||"0",10);return isFinite(e)?e:0},eF=function(){A.useEffect(function(){return document.body.setAttribute(eL,(eM()+1).toString()),function(){var e=eM()-1;e<=0?document.body.removeAttribute(eL):document.body.setAttribute(eL,e.toString())}},[])},eD=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;eF();var o=A.useMemo(function(){return eN(a)},[a]);return A.createElement(eA,{styles:eI(o,!t,a,r?"":"!important")})},eB=!1;if("u">typeof window)try{var e$=Object.defineProperty({},"passive",{get:function(){return eB=!0,!0}});window.addEventListener("test",e$,e$),window.removeEventListener("test",e$,e$)}catch(e){eB=!1}var eV=!!eB&&{passive:!1},eU=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},eH=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eW(e,n)){var a=eq(e,n);if(a[1]>a[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eW=function(e,t){return"v"===e?eU(t,"overflowY"):eU(t,"overflowX")},eq=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eK=function(e,t,r,n,a){var o,i=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=i*n,l=r.target,u=t.contains(l),c=!1,d=s>0,p=0,h=0;do{if(!l)break;var f=eq(e,l),g=f[0],m=f[1]-f[2]-i*g;(g||m)&&eW(e,l)&&(p+=m,h+=g);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(a&&1>Math.abs(p)||!a&&s>p)?c=!0:!d&&(a&&1>Math.abs(h)||!a&&-s>h)&&(c=!0),c},eG=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eX=function(e){return[e.deltaX,e.deltaY]},eY=function(e){return e&&"current"in e?e.current:e},eQ=0,eZ=[];let eJ=(P=function(e){var t=A.useRef([]),r=A.useRef([0,0]),n=A.useRef(),a=A.useState(eQ++)[0],o=A.useState(eO)[0],i=A.useRef(e);A.useEffect(function(){i.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eY),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=A.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var a,o=eG(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=window.getSelection(),h=p&&p.anchorNode;if(h&&(h===c||h.contains(c)))return!1;var f=eH(d,c);if(!f)return!0;if(f?a=d:(a="v"===d?"h":"v",f=eH(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=a),!a)return!0;var g=n.current||a;return eK(g,t,e,"h"===g?l:u,!0)},[]),l=A.useCallback(function(e){if(eZ.length&&eZ[eZ.length-1]===o){var r="deltaY"in e?eX(e):eG(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var a=(i.current.shards||[]).map(eY).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?s(e,a[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=A.useCallback(function(e,r,n,a){var o={name:e,delta:r,target:n,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=A.useCallback(function(e){r.current=eG(e),n.current=void 0},[]),d=A.useCallback(function(t){u(t.type,eX(t),t.target,s(t,e.lockRef.current))},[]),p=A.useCallback(function(t){u(t.type,eG(t),t.target,s(t,e.lockRef.current))},[]);A.useEffect(function(){return eZ.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,eV),document.addEventListener("touchmove",l,eV),document.addEventListener("touchstart",c,eV),function(){eZ=eZ.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,eV),document.removeEventListener("touchmove",l,eV),document.removeEventListener("touchstart",c,eV)}},[]);var h=e.removeScrollBar,f=e.inert;return A.createElement(A.Fragment,null,f?A.createElement(o,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,h?A.createElement(eD,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},eS.useMedium(P),eE);var e0=A.forwardRef(function(e,t){return A.createElement(eP,em({},e,{ref:t,sideCar:eJ}))});e0.classNames=eP.classNames;var e1=new WeakMap,e2=new WeakMap,e3={},e5=0,e9=function(e){return e&&(e.host||e9(e.parentNode))},e4=function(e,t,r,n){var a=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=e9(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});e3[r]||(e3[r]=new WeakMap);var o=e3[r],i=[],s=new Set,l=new Set(a),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};a.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),a=null!==t&&"false"!==t,l=(e1.get(e)||0)+1,u=(o.get(e)||0)+1;e1.set(e,l),o.set(e,u),i.push(e),1===l&&a&&e2.set(e,!0),1===u&&e.setAttribute(r,"true"),a||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),e5++,function(){i.forEach(function(e){var t=e1.get(e)-1,a=o.get(e)-1;e1.set(e,t),o.set(e,a),t||(e2.has(e)||e.removeAttribute(n),e2.delete(e)),a||e.removeAttribute(r)}),--e5||(e1=new WeakMap,e1=new WeakMap,e2=new WeakMap,e3={})}},e6=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),e4(n,a,r,"aria-hidden")):function(){return null}},e8="Dialog",[e7,te]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>A.createContext(e));return function(r){let n=r?.[e]||t;return A.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let a=A.createContext(n),o=r.length;r=[...r,n];let i=t=>{let{scope:r,children:n,...i}=t,s=r?.[e]?.[o]||a,l=A.useMemo(()=>i,Object.values(i));return(0,N.jsx)(s.Provider,{value:l,children:n})};return i.displayName=t+"Provider",[i,function(r,i){let s=i?.[e]?.[o]||a,l=A.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(e8),[tt,tr]=e7(e8),tn=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=A.useRef(null),l=A.useRef(null),[u,c]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[a,o,i]=function({defaultProp:e,onChange:t}){let[r,n]=A.useState(e),a=A.useRef(r),o=A.useRef(t);return H(()=>{o.current=t},[t]),A.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,n,o]}({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:a;{let t=A.useRef(void 0!==e);A.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[l,A.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&i.current?.(r)}else o(t)},[s,e,o,i])]}({prop:n,defaultProp:a??!1,onChange:o,caller:e8});return(0,N.jsx)(tt,{scope:t,triggerRef:s,contentRef:l,contentId:U(),titleId:U(),descriptionId:U(),open:u,onOpenChange:c,onOpenToggle:A.useCallback(()=>c(e=>!e),[c]),modal:i,children:r})};tn.displayName=e8;var ta="DialogTrigger";A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(ta,r),o=D(t,a.triggerRef);return(0,N.jsx)(X.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":tC(a.open),...n,ref:o,onClick:I(e.onClick,a.onOpenToggle)})}).displayName=ta;var to="DialogPortal",[ti,ts]=e7(to,{forceMount:void 0}),tl=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=tr(to,t);return(0,N.jsx)(ti,{scope:t,forceMount:r,children:A.Children.map(n,e=>(0,N.jsx)(ep,{present:r||o.open,children:(0,N.jsx)(ed,{asChild:!0,container:a,children:e})}))})};tl.displayName=to;var tu="DialogOverlay",tc=A.forwardRef((e,t)=>{let r=ts(tu,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=tr(tu,e.__scopeDialog);return o.modal?(0,N.jsx)(ep,{present:n||o.open,children:(0,N.jsx)(tp,{...a,ref:t})}):null});tc.displayName=tu;var td=q("DialogOverlay.RemoveScroll"),tp=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(tu,r);return(0,N.jsx)(e0,{as:td,allowPinchZoom:!0,shards:[a.contentRef],children:(0,N.jsx)(X.div,{"data-state":tC(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),th="DialogContent",tf=A.forwardRef((e,t)=>{let r=ts(th,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=tr(th,e.__scopeDialog);return(0,N.jsx)(ep,{present:n||o.open,children:o.modal?(0,N.jsx)(tg,{...a,ref:t}):(0,N.jsx)(tm,{...a,ref:t})})});tf.displayName=th;var tg=A.forwardRef((e,t)=>{let r=tr(th,e.__scopeDialog),n=A.useRef(null),a=D(t,r.contentRef,n);return A.useEffect(()=>{let e=n.current;if(e)return e6(e)},[]),(0,N.jsx)(tv,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:I(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:I(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:I(e.onFocusOutside,e=>e.preventDefault())})}),tm=A.forwardRef((e,t)=>{let r=tr(th,e.__scopeDialog),n=A.useRef(!1),a=A.useRef(!1);return(0,N.jsx)(tv,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),tv=A.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=tr(th,r),l=A.useRef(null),u=D(t,l);return A.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eg()),document.body.insertAdjacentElement("beforeend",e[1]??eg()),ef++,()=>{1===ef&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),ef--}},[]),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(eo,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,N.jsx)(J,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":tC(s.open),...i,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(tR,{titleId:s.titleId}),(0,N.jsx)(tO,{contentRef:l,descriptionId:s.descriptionId})]})]})}),ty="DialogTitle",tb=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(ty,r);return(0,N.jsx)(X.h2,{id:a.titleId,...n,ref:t})});tb.displayName=ty;var tw="DialogDescription",tk=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(tw,r);return(0,N.jsx)(X.p,{id:a.descriptionId,...n,ref:t})});tk.displayName=tw;var tx="DialogClose",tS=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(tx,r);return(0,N.jsx)(X.button,{type:"button",...n,ref:t,onClick:I(e.onClick,()=>a.onOpenChange(!1))})});function tC(e){return e?"open":"closed"}tS.displayName=tx;var tP="DialogTitleWarning",[tE,tT]=(E={contentName:th,titleName:ty,docsSlug:"dialog"},n=A.createContext(E),(a=e=>{let{children:t,...r}=e,a=A.useMemo(()=>r,Object.values(r));return(0,N.jsx)(n.Provider,{value:a,children:t})}).displayName=tP+"Provider",[a,function(e){let t=A.useContext(n);if(t)return t;if(void 0!==E)return E;throw Error(`\`${e}\` must be used within \`${tP}\``)}]),tR=({titleId:e})=>{let t=tT(tP),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
2
|
+
(()=>{var e={"../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js");function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},"../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"(e,t,r){e.exports=r("../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js")()},"../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js"(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-client.production.js"(e,t,r){"use strict";var n,a=r("../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js"),o=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),i=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function u(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function c(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(s(188))}var p=Object.assign,h=Symbol.for("react.element"),f=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),w=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope");var E=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var R=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var j=Symbol.for("react.client.reference"),z=Array.isArray,N=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A={pending:!1,data:null,method:null,action:null},L=[],I=-1;function M(e){return{current:e}}function F(e){0>I||(e.current=L[I],L[I]=null,I--)}function D(e,t){L[++I]=e.current,e.current=t}var B=M(null),$=M(null),V=M(null),U=M(null);function H(e,t){switch(D(V,t),D($,e),D(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uy(t=uv(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(B),D(B,e)}function W(){F(B),F($),F(V)}function q(e){null!==e.memoizedState&&D(U,e);var t=B.current,r=uy(t,e.type);t!==r&&(D($,e),D(B,r))}function K(e){$.current===e&&(F(B),F($)),U.current===e&&(F(U),ce._currentValue=A)}function G(e){if(void 0===tI)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tI=t&&t[1]||"",tM=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tI+e+tM}var X=!1;function Y(e,t){if(!e||X)return"";X=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch(function(){})}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===l.length||a===u.length)for(n=l.length-1,a=u.length-1;1<=n&&0<=a&&l[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(l[n]!==u[a]){if(1!==n||1!==a)do if(n--,a--,0>a||l[n]!==u[a]){var c="\n"+l[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{X=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?G(r):""}function Q(e){try{var t="",r=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return G(e.type);case 16:return G("Lazy");case 13:return e.child!==t&&null!==t?G("Suspense Fallback"):G("Suspense");case 19:return G("SuspenseList");case 0:case 15:return Y(e.type,!1);case 11:return Y(e.type.render,!1);case 1:return Y(e.type,!0);case 31:return G("Activity");default:return""}}(e,r),r=e,e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var Z=Object.prototype.hasOwnProperty,J=a.unstable_scheduleCallback,ee=a.unstable_cancelCallback,et=a.unstable_shouldYield,er=a.unstable_requestPaint,en=a.unstable_now,ea=a.unstable_getCurrentPriorityLevel,eo=a.unstable_ImmediatePriority,ei=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,el=a.unstable_LowPriority,eu=a.unstable_IdlePriority,ec=a.log,ed=a.unstable_setDisableYieldValue,ep=null,eh=null;function ef(e){if("function"==typeof ec&&ed(e),eh&&"function"==typeof eh.setStrictMode)try{eh.setStrictMode(ep,e)}catch(e){}}var eg=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(em(e)/ev|0)|0},em=Math.log,ev=Math.LN2,ey=256,eb=262144,ew=4194304;function ek(e){var t=42&e;if(0!==t)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function ex(e,t,r){var n=e.pendingLanes;if(0===n)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=0x7ffffff&n;return 0!==s?0!=(n=s&~o)?a=ek(n):0!=(i&=s)?a=ek(i):r||0!=(r=s&~e)&&(a=ek(r)):0!=(s=n&~o)?a=ek(s):0!==i?a=ek(i):r||0!=(r=n&~e)&&(a=ek(r)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(r=t&-t)||32===o&&0!=(4194048&r))?t:a}function eS(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eC(){var e=ew;return 0==(0x3c00000&(ew<<=1))&&(ew=4194304),e}function eP(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function eE(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eT(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-eg(t);e.entangledLanes|=t,e.entanglements[n]=0x40000000|e.entanglements[n]|261930&r}function eR(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-eg(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}function eO(e,t){var r=t&-t;return 0!=((r=0!=(42&r)?1:ej(r))&(e.suspendedLanes|t))?0:r}function ej(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function ez(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eN(){var e=_.p;return 0!==e?e:void 0===(e=window.event)?32:cf(e.type)}function e_(e,t){var r=_.p;try{return _.p=e,t()}finally{_.p=r}}var eA=Math.random().toString(36).slice(2),eL="__reactFiber$"+eA,eI="__reactProps$"+eA,eM="__reactContainer$"+eA,eF="__reactEvents$"+eA,eD="__reactListeners$"+eA,eB="__reactHandles$"+eA,e$="__reactResources$"+eA,eV="__reactMarker$"+eA;function eU(e){delete e[eL],delete e[eI],delete e[eF],delete e[eD],delete e[eB]}function eH(e){var t=e[eL];if(t)return t;for(var r=e.parentNode;r;){if(t=r[eM]||r[eL]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=uI(e);null!==e;){if(r=e[eL])return r;e=uI(e)}return t}r=(e=r).parentNode}return null}function eW(e){if(e=e[eL]||e[eM]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function eq(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(s(33))}function eK(e){var t=e[e$];return t||(t=e[e$]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eG(e){e[eV]=!0}var eX=new Set,eY={};function eQ(e,t){eZ(e,t),eZ(e+"Capture",t)}function eZ(e,t){for(eY[e]=t,e=0;e<t.length;e++)eX.add(t[e])}var eJ=RegExp("^[: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]*$"),e0={},e1={};function e2(e,t,r){if(Z.call(e1,t)||!Z.call(e0,t)&&(eJ.test(t)?e1[t]=!0:(e0[t]=!0,!1)))if(null===r)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if("data-"!==n&&"aria-"!==n)return void e.removeAttribute(t)}e.setAttribute(t,""+r)}}function e3(e,t,r){if(null===r)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function e5(e,t,r,n){if(null===n)e.removeAttribute(r);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+n)}}function e9(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e4(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e6(e){if(!e._valueTracker){var t=e4(e)?"checked":"value";e._valueTracker=function(e,t,r){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function e8(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=e4(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function e7(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var te=/[\n"\\]/g;function tt(e){return e.replace(te,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tr(e,t,r,n,a,o,i,s){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e9(t)):e.value!==""+e9(t)&&(e.value=""+e9(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?ta(e,i,e9(t)):null!=r?ta(e,i,e9(r)):null!=n&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+e9(s):e.removeAttribute("name")}function tn(e,t,r,n,a,o,i,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=r){if(("submit"===o||"reset"===o)&&null==t)return void e6(e);r=null!=r?""+e9(r):"",t=null!=t?""+e9(t):r,s||t===e.value||(e.value=t),e.defaultValue=t}n="function"!=typeof(n=null!=n?n:a)&&"symbol"!=typeof n&&!!n,e.checked=s?e.checked:!!n,e.defaultChecked=!!n,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),e6(e)}function ta(e,t,r){"number"===t&&e7(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function to(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(a=0,r=""+e9(r),t=null;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ti(e,t,r){if(null!=t&&((t=""+e9(t))!==e.value&&(e.value=t),null==r)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=r?""+e9(r):""}function ts(e,t,r,n){if(null==t){if(null!=n){if(null!=r)throw Error(s(92));if(z(n)){if(1<n.length)throw Error(s(93));n=n[0]}r=n}null==r&&(r=""),t=r}e.defaultValue=r=e9(t),(n=e.textContent)===r&&""!==n&&null!==n&&(e.value=n),e6(e)}function tl(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var tu=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tc(e,t,r){var n=0===t.indexOf("--");null==r||"boolean"==typeof r||""===r?n?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":n?e.setProperty(t,r):"number"!=typeof r||0===r||tu.has(t)?"float"===t?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function td(e,t,r){if(null!=t&&"object"!=typeof t)throw Error(s(62));if(e=e.style,null!=r){for(var n in r)!r.hasOwnProperty(n)||null!=t&&t.hasOwnProperty(n)||(0===n.indexOf("--")?e.setProperty(n,""):"float"===n?e.cssFloat="":e[n]="");for(var a in t)n=t[a],t.hasOwnProperty(a)&&r[a]!==n&&tc(e,a,n)}else for(var o in t)t.hasOwnProperty(o)&&tc(e,o,t[o])}function tp(e){if(-1===e.indexOf("-"))return!1;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 th=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tf=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tg(e){return tf.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tm(){}var tv=null;function ty(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tb=null,tw=null;function tk(e){var t=eW(e);if(t&&(e=t.stateNode)){var r=e[eI]||null;switch(e=t.stateNode,t.type){case"input":if(tr(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+tt(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=n[eI]||null;if(!a)throw Error(s(90));tr(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<r.length;t++)(n=r[t]).form===e.form&&e8(n)}break;case"textarea":ti(e,r.value,r.defaultValue);break;case"select":null!=(t=r.value)&&to(e,!!r.multiple,t,!1)}}}var tx=!1;function tS(e,t,r){if(tx)return e(t,r);tx=!0;try{return e(t)}finally{if(tx=!1,(null!==tb||null!==tw)&&(ld(),tb&&(t=tb,e=tw,tw=tb=null,tk(t),e)))for(t=0;t<e.length;t++)tk(e[t])}}function tC(e,t){var r=e.stateNode;if(null===r)return null;var n=r[eI]||null;if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(s(231,t,typeof r));return r}var tP="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tE=!1;if(tP)try{var tT={};Object.defineProperty(tT,"passive",{get:function(){tE=!0}}),window.addEventListener("test",tT,tT),window.removeEventListener("test",tT,tT)}catch(e){tE=!1}var tR=null,tO=null,tj=null;function tz(){if(tj)return tj;var e,t,r=tO,n=r.length,a="value"in tR?tR.value:tR.textContent,o=a.length;for(e=0;e<n&&r[e]===a[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===a[o-t];t++);return tj=a.slice(e,1<t?1-t:void 0)}function tN(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function t_(){return!0}function tA(){return!1}function tL(e){function t(t,r,n,a,o){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?t_:tA,this.isPropagationStopped=tA,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=t_)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=t_)},persist:function(){},isPersistent:t_}),t}var tI,tM,tF,tD,tB,t$={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tV=tL(t$),tU=p({},t$,{view:0,detail:0}),tH=tL(tU),tW=p({},tU,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t2,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tB&&(tB&&"mousemove"===e.type?(tF=e.screenX-tB.screenX,tD=e.screenY-tB.screenY):tD=tF=0,tB=e),tF)},movementY:function(e){return"movementY"in e?e.movementY:tD}}),tq=tL(tW),tK=tL(p({},tW,{dataTransfer:0})),tG=tL(p({},tU,{relatedTarget:0})),tX=tL(p({},t$,{animationName:0,elapsedTime:0,pseudoElement:0})),tY=tL(p({},t$,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tQ=tL(p({},t$,{data:0})),tZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tJ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t0[e])&&!!t[e]}function t2(){return t1}var t3=tL(p({},tU,{key:function(e){if(e.key){var t=tZ[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tN(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?tJ[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t2,charCode:function(e){return"keypress"===e.type?tN(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tN(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tL(p({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t9=tL(p({},tU,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t2})),t4=tL(p({},t$,{propertyName:0,elapsedTime:0,pseudoElement:0})),t6=tL(p({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t8=tL(p({},t$,{newState:0,oldState:0})),t7=[9,13,27,32],re=tP&&"CompositionEvent"in window,rt=null;tP&&"documentMode"in document&&(rt=document.documentMode);var rr=tP&&"TextEvent"in window&&!rt,rn=tP&&(!re||rt&&8<rt&&11>=rt),ra=!1;function ro(e,t){switch(e){case"keyup":return -1!==t7.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ri(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rs=!1,rl={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ru(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rl[e.type]:"textarea"===t}function rc(e,t,r,n){tb?tw?tw.push(n):tw=[n]:tb=n,0<(t=un(t,"onChange")).length&&(r=new tV("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rd=null,rp=null;function rh(e){l9(e,0)}function rf(e){if(e8(eq(e)))return e}function rg(e,t){if("change"===e)return t}var rm=!1;if(tP){if(tP){var rv="oninput"in document;if(!rv){var ry=document.createElement("div");ry.setAttribute("oninput","return;"),rv="function"==typeof ry.oninput}n=rv}else n=!1;rm=n&&(!document.documentMode||9<document.documentMode)}function rb(){rd&&(rd.detachEvent("onpropertychange",rw),rp=rd=null)}function rw(e){if("value"===e.propertyName&&rf(rp)){var t=[];rc(t,rp,e,ty(e)),tS(rh,t)}}function rk(e,t,r){"focusin"===e?(rb(),rd=t,rp=r,rd.attachEvent("onpropertychange",rw)):"focusout"===e&&rb()}function rx(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rf(rp)}function rS(e,t){if("click"===e)return rf(t)}function rC(e,t){if("input"===e||"change"===e)return rf(t)}var rP="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function rE(e,t){if(rP(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!Z.call(t,a)||!rP(e[a],t[a]))return!1}return!0}function rT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rR(e,t){var r,n=rT(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rT(n)}}function rO(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=e7(e.document);t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=e7(e.document)}return t}function rj(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rz=tP&&"documentMode"in document&&11>=document.documentMode,rN=null,r_=null,rA=null,rL=!1;function rI(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;rL||null==rN||rN!==e7(n)||(n="selectionStart"in(n=rN)&&rj(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},rA&&rE(rA,n)||(rA=n,0<(n=un(r_,"onSelect")).length&&(t=new tV("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=rN)))}function rM(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rF={animationend:rM("Animation","AnimationEnd"),animationiteration:rM("Animation","AnimationIteration"),animationstart:rM("Animation","AnimationStart"),transitionrun:rM("Transition","TransitionRun"),transitionstart:rM("Transition","TransitionStart"),transitioncancel:rM("Transition","TransitionCancel"),transitionend:rM("Transition","TransitionEnd")},rD={},rB={};function r$(e){if(rD[e])return rD[e];if(!rF[e])return e;var t,r=rF[e];for(t in r)if(r.hasOwnProperty(t)&&t in rB)return rD[e]=r[t];return e}tP&&(rB=document.createElement("div").style,"AnimationEvent"in window||(delete rF.animationend.animation,delete rF.animationiteration.animation,delete rF.animationstart.animation),"TransitionEvent"in window||delete rF.transitionend.transition);var rV=r$("animationend"),rU=r$("animationiteration"),rH=r$("animationstart"),rW=r$("transitionrun"),rq=r$("transitionstart"),rK=r$("transitioncancel"),rG=r$("transitionend"),rX=new Map,rY="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rQ(e,t){rX.set(e,t),eQ(t,[e])}rY.push("scrollEnd");var rZ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},rJ=[],r0=0,r1=0;function r2(){for(var e=r0,t=r1=r0=0;t<e;){var r=rJ[t];rJ[t++]=null;var n=rJ[t];rJ[t++]=null;var a=rJ[t];rJ[t++]=null;var o=rJ[t];if(rJ[t++]=null,null!==n&&null!==a){var i=n.pending;null===i?a.next=a:(a.next=i.next,i.next=a),n.pending=a}0!==o&&r4(r,a,o)}}function r3(e,t,r,n){rJ[r0++]=e,rJ[r0++]=t,rJ[r0++]=r,rJ[r0++]=n,r1|=n,e.lanes|=n,null!==(e=e.alternate)&&(e.lanes|=n)}function r5(e,t,r,n){return r3(e,t,r,n),r6(e)}function r9(e,t){return r3(e,null,null,t),r6(e)}function r4(e,t,r){e.lanes|=r;var n=e.alternate;null!==n&&(n.lanes|=r);for(var a=!1,o=e.return;null!==o;)o.childLanes|=r,null!==(n=o.alternate)&&(n.childLanes|=r),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eg(r),null===(n=(e=o.hiddenUpdates)[a])?e[a]=[t]:n.push(t),t.lane=0x20000000|r),o):null}function r6(e){if(50<ln)throw ln=0,la=null,Error(s(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var r8={};function r7(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ne(e,t,r,n){return new r7(e,t,r,n)}function nt(e){return!(!(e=e.prototype)||!e.isReactComponent)}function nr(e,t){var r=e.alternate;return null===r?((r=ne(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=0x3e00000&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function nn(e,t){e.flags&=0x3e00002;var r=e.alternate;return null===r?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,e.dependencies=null===(t=r.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function na(e,t,r,n,a,o){var i=0;if(n=e,"function"==typeof e)nt(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,r){if(1===r||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,r,B.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case E:return(e=ne(31,r,t,a)).elementType=E,e.lanes=o,e;case m:return no(r.children,a,o,t);case v:i=8,a|=24;break;case y:return(e=ne(12,r,t,2|a)).elementType=y,e.lanes=o,e;case x:return(e=ne(13,r,t,a)).elementType=x,e.lanes=o,e;case S:return(e=ne(19,r,t,a)).elementType=S,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:i=10;break e;case b:i=9;break e;case k:i=11;break e;case C:i=14;break e;case P:i=16,n=null;break e}i=29,r=Error(s(130,null===e?"null":typeof e,"")),n=null}return(t=ne(i,r,t,a)).elementType=e,t.type=n,t.lanes=o,t}function no(e,t,r,n){return(e=ne(7,e,n,t)).lanes=r,e}function ni(e,t,r){return(e=ne(6,e,null,t)).lanes=r,e}function ns(e){var t=ne(18,null,null,0);return t.stateNode=e,t}function nl(e,t,r){return(t=ne(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var nu=new WeakMap;function nc(e,t){if("object"==typeof e&&null!==e){var r=nu.get(e);return void 0!==r?r:(t={value:e,source:t,stack:Q(t)},nu.set(e,t),t)}return{value:e,source:t,stack:Q(t)}}var nd=[],np=0,nh=null,nf=0,ng=[],nm=0,nv=null,ny=1,nb="";function nw(e,t){nd[np++]=nf,nd[np++]=nh,nh=e,nf=t}function nk(e,t,r){ng[nm++]=ny,ng[nm++]=nb,ng[nm++]=nv,nv=e;var n=ny;e=nb;var a=32-eg(n)-1;n&=~(1<<a),r+=1;var o=32-eg(t)+a;if(30<o){var i=a-a%5;o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,ny=1<<32-eg(t)+a|r<<a|n,nb=o+e}else ny=1<<o|r<<a|n,nb=e}function nx(e){null!==e.return&&(nw(e,1),nk(e,1,0))}function nS(e){for(;e===nh;)nh=nd[--np],nd[np]=null,nf=nd[--np],nd[np]=null;for(;e===nv;)nv=ng[--nm],ng[nm]=null,nb=ng[--nm],ng[nm]=null,ny=ng[--nm],ng[nm]=null}function nC(e,t){ng[nm++]=ny,ng[nm++]=nb,ng[nm++]=nv,ny=t.id,nb=t.overflow,nv=e}var nP=null,nE=null,nT=!1,nR=null,nO=!1,nj=Error(s(519));function nz(e){var t=Error(s(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw nM(nc(t,e)),nj}function nN(e){var t=e.stateNode,r=e.type,n=e.memoizedProps;switch(t[eL]=e,t[eI]=n,r){case"dialog":l4("cancel",t),l4("close",t);break;case"iframe":case"object":case"embed":l4("load",t);break;case"video":case"audio":for(r=0;r<l3.length;r++)l4(l3[r],t);break;case"source":l4("error",t);break;case"img":case"image":case"link":l4("error",t),l4("load",t);break;case"details":l4("toggle",t);break;case"input":l4("invalid",t),tn(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":l4("invalid",t);break;case"textarea":l4("invalid",t),ts(t,n.value,n.defaultValue,n.children)}"string"!=typeof(r=n.children)&&"number"!=typeof r&&"bigint"!=typeof r||t.textContent===""+r||!0===n.suppressHydrationWarning||uu(t.textContent,r)?(null!=n.popover&&(l4("beforetoggle",t),l4("toggle",t)),null!=n.onScroll&&l4("scroll",t),null!=n.onScrollEnd&&l4("scrollend",t),null!=n.onClick&&(t.onclick=tm),t=!0):t=!1,t||nz(e,!0)}function n_(e){for(nP=e.return;nP;)switch(nP.tag){case 5:case 31:case 13:nO=!1;return;case 27:case 3:nO=!0;return;default:nP=nP.return}}function nA(e){if(e!==nP)return!1;if(!nT)return n_(e),nT=!0,!1;var t,r=e.tag;if((t=3!==r&&27!==r)&&((t=5===r)&&(t="form"===(t=e.type)||"button"===t||ub(e.type,e.memoizedProps)),t=!t),t&&nE&&nz(e),n_(e),13===r){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));nE=uL(e)}else if(31===r){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));nE=uL(e)}else 27===r?(r=nE,uE(e.type)?(e=uA,uA=null,nE=e):nE=r):nE=nP?u_(e.stateNode.nextSibling):null;return!0}function nL(){nE=nP=null,nT=!1}function nI(){var e=nR;return null!==e&&(null===sJ?sJ=e:sJ.push.apply(sJ,e),nR=null),e}function nM(e){null===nR?nR=[e]:nR.push(e)}var nF=M(null),nD=null,nB=null;function n$(e,t,r){D(nF,t._currentValue),t._currentValue=r}function nV(e){e._currentValue=nF.current,F(nF)}function nU(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function nH(e,t,r,n){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=a;for(var u=0;u<t.length;u++)if(l.context===t[u]){o.lanes|=r,null!==(l=o.alternate)&&(l.lanes|=r),nU(o.return,r,e),n||(i=null);break e}o=l.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(s(341));i.lanes|=r,null!==(o=i.alternate)&&(o.lanes|=r),nU(i,r,e),i=null}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function nW(e,t,r,n){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(s(387));if(null!==(i=i.memoizedProps)){var l=a.type;rP(a.pendingProps.value,i.value)||(null!==e?e.push(l):e=[l])}}else if(a===U.current){if(null===(i=a.alternate))throw Error(s(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(ce):e=[ce])}a=a.return}null!==e&&nH(t,e,r,n),t.flags|=262144}function nq(e){for(e=e.firstContext;null!==e;){if(!rP(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function nK(e){nD=e,nB=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function nG(e){return nY(nD,e)}function nX(e,t){return null===nD&&nK(e),nY(e,t)}function nY(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},null===nB){if(null===e)throw Error(s(308));nB=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else nB=nB.next=t;return r}var nQ="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},nZ=a.unstable_scheduleCallback,nJ=a.unstable_NormalPriority,n0={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function n1(){return{controller:new nQ,data:new Map,refCount:0}}function n2(e){e.refCount--,0===e.refCount&&nZ(nJ,function(){e.controller.abort()})}var n3=null,n5=0,n9=0,n4=null;function n6(){if(0==--n5&&null!==n3){null!==n4&&(n4.status="fulfilled");var e=n3;n3=null,n9=0,n4=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var n8=N.S;N.S=function(e,t){s2=en(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===n3){var r=n3=[];n5=0,n9=lZ(),n4={status:"pending",value:void 0,then:function(e){r.push(e)}}}n5++,t.then(n6,n6)}(0,t),null!==n8&&n8(e,t)};var n7=M(null);function ae(){var e=n7.current;return null!==e?e:sM.pooledCache}function at(e,t){null===t?D(n7,n7.current):D(n7,t.pool)}function ar(){var e=ae();return null===e?null:{parent:n0._currentValue,pool:e}}var an=Error(s(460)),aa=Error(s(474)),ao=Error(s(542)),ai={then:function(){}};function as(e){return"fulfilled"===(e=e.status)||"rejected"===e}function al(e,t,r){switch(void 0===(r=e[r])?e.push(t):r!==t&&(t.then(tm,tm),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw ap(e=t.reason),e;default:if("string"==typeof t.status)t.then(tm,tm);else{if(null!==(e=sM)&&100<e.shellSuspendCounter)throw Error(s(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var r=t;r.status="fulfilled",r.value=e}},function(e){if("pending"===t.status){var r=t;r.status="rejected",r.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw ap(e=t.reason),e}throw ac=t,an}}function au(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw ac=e,an;throw e}}var ac=null;function ad(){if(null===ac)throw Error(s(459));var e=ac;return ac=null,e}function ap(e){if(e===an||e===ao)throw Error(s(483))}var ah=null,af=0;function ag(e){var t=af;return af+=1,null===ah&&(ah=[]),al(ah,e,t)}function am(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function av(e,t){if(t.$$typeof===h)throw Error(s(525));throw Error(s(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ay(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=nr(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=0x4000002,r):n:(t.flags|=0x4000002,r):(t.flags|=1048576,r)}function i(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function l(e,t,r,n){return null===t||6!==t.tag?(t=ni(r,e.mode,n)).return=e:(t=a(t,r)).return=e,t}function u(e,t,r,n){var o=r.type;return o===m?d(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&au(o)===t.type)?am(t=a(t,r.props),r):am(t=na(r.type,r.key,r.props,null,e.mode,n),r),t.return=e,t)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=nl(r,e.mode,n)).return=e:(t=a(t,r.children||[])).return=e,t}function d(e,t,r,n,o){return null===t||7!==t.tag?(t=no(r,e.mode,n,o)).return=e:(t=a(t,r)).return=e,t}function p(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=ni(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case f:return am(r=na(t.type,t.key,t.props,null,e.mode,r),t),r.return=e,r;case g:return(t=nl(t,e.mode,r)).return=e,t;case P:return p(e,t=au(t),r)}if(z(t)||O(t))return(t=no(t,e.mode,r,null)).return=e,t;if("function"==typeof t.then)return p(e,ag(t),r);if(t.$$typeof===w)return p(e,nX(e,t),r);av(e,t)}return null}function h(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return null!==a?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case f:return r.key===a?u(e,t,r,n):null;case g:return r.key===a?c(e,t,r,n):null;case P:return h(e,t,r=au(r),n)}if(z(r)||O(r))return null!==a?null:d(e,t,r,n,null);if("function"==typeof r.then)return h(e,t,ag(r),n);if(r.$$typeof===w)return h(e,t,nX(e,r),n);av(e,r)}return null}function v(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return l(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case f:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case g:return c(t,e=e.get(null===n.key?r:n.key)||null,n,a);case P:return v(e,t,r,n=au(n),a)}if(z(n)||O(n))return d(t,e=e.get(r)||null,n,a,null);if("function"==typeof n.then)return v(e,t,r,ag(n),a);if(n.$$typeof===w)return v(e,t,r,nX(t,n),a);av(t,n)}return null}return function(l,u,c,d){try{af=0;var y=function l(u,c,d,y){if("object"==typeof d&&null!==d&&d.type===m&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case f:e:{for(var b=d.key;null!==c;){if(c.key===b){if((b=d.type)===m){if(7===c.tag){r(u,c.sibling),(y=a(c,d.props.children)).return=u,u=y;break e}}else if(c.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===P&&au(b)===c.type){r(u,c.sibling),am(y=a(c,d.props),d),y.return=u,u=y;break e}r(u,c);break}t(u,c),c=c.sibling}d.type===m?(y=no(d.props.children,u.mode,y,d.key)).return=u:(am(y=na(d.type,d.key,d.props,null,u.mode,y),d),y.return=u),u=y}return i(u);case g:e:{for(b=d.key;null!==c;){if(c.key===b)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){r(u,c.sibling),(y=a(c,d.children||[])).return=u,u=y;break e}else{r(u,c);break}t(u,c),c=c.sibling}(y=nl(d,u.mode,y)).return=u,u=y}return i(u);case P:return l(u,c,d=au(d),y)}if(z(d))return function(a,i,s,l){for(var u=null,c=null,d=i,f=i=0,g=null;null!==d&&f<s.length;f++){d.index>f?(g=d,d=null):g=d.sibling;var m=h(a,d,s[f],l);if(null===m){null===d&&(d=g);break}e&&d&&null===m.alternate&&t(a,d),i=o(m,i,f),null===c?u=m:c.sibling=m,c=m,d=g}if(f===s.length)return r(a,d),nT&&nw(a,f),u;if(null===d){for(;f<s.length;f++)null!==(d=p(a,s[f],l))&&(i=o(d,i,f),null===c?u=d:c.sibling=d,c=d);return nT&&nw(a,f),u}for(d=n(d);f<s.length;f++)null!==(g=v(d,a,f,s[f],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?f:g.key),i=o(g,i,f),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),nT&&nw(a,f),u}(u,c,d,y);if(O(d)){if("function"!=typeof(b=O(d)))throw Error(s(150));return function(a,i,l,u){if(null==l)throw Error(s(151));for(var c=null,d=null,f=i,g=i=0,m=null,y=l.next();null!==f&&!y.done;g++,y=l.next()){f.index>g?(m=f,f=null):m=f.sibling;var b=h(a,f,y.value,u);if(null===b){null===f&&(f=m);break}e&&f&&null===b.alternate&&t(a,f),i=o(b,i,g),null===d?c=b:d.sibling=b,d=b,f=m}if(y.done)return r(a,f),nT&&nw(a,g),c;if(null===f){for(;!y.done;g++,y=l.next())null!==(y=p(a,y.value,u))&&(i=o(y,i,g),null===d?c=y:d.sibling=y,d=y);return nT&&nw(a,g),c}for(f=n(f);!y.done;g++,y=l.next())null!==(y=v(f,a,g,y.value,u))&&(e&&null!==y.alternate&&f.delete(null===y.key?g:y.key),i=o(y,i,g),null===d?c=y:d.sibling=y,d=y);return e&&f.forEach(function(e){return t(a,e)}),nT&&nw(a,g),c}(u,c,d=b.call(d),y)}if("function"==typeof d.then)return l(u,c,ag(d),y);if(d.$$typeof===w)return l(u,c,nX(u,d),y);av(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(r(u,c.sibling),(y=a(c,d)).return=u):(r(u,c),(y=ni(d,u.mode,y)).return=u),i(u=y)):r(u,c)}(l,u,c,d);return ah=null,y}catch(e){if(e===an||e===ao)throw e;var b=ne(29,e,null,l.mode);return b.lanes=d,b.return=l,b}finally{}}}var ab=ay(!0),aw=ay(!1),ak=!1;function ax(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aS(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aC(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aP(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&sI)){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=r6(e),r4(e,null,r),t}return r3(e,n,t,r),r6(e)}function aE(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,eR(e,r)}}function aT(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var i={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,r=r.next}while(null!==r);null===o?a=o=t:o=o.next=t}else a=o=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,callbacks:n.callbacks},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var aR=!1;function aO(){if(aR){var e=n4;if(null!==e)throw e}}function aj(e,t,r,n){aR=!1;var a=e.updateQueue;ak=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?o=u:i.next=u,i=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var d=a.baseState;for(i=0,c=u=l=null,s=o;;){var h=-0x20000001&s.lane,f=h!==s.lane;if(f?(sD&h)===h:(n&h)===h){0!==h&&h===n9&&(aR=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var g=e,m=s;switch(h=t,m.tag){case 1:if("function"==typeof(g=m.payload)){d=g.call(r,d,h);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=m.payload)?g.call(r,d,h):g))break e;d=p({},d,h);break e;case 2:ak=!0}}null!==(h=s.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=a.callbacks)?a.callbacks=[h]:f.push(h))}else f={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,i|=h;if(null===(s=s.next))if(null===(s=a.shared.pending))break;else s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),sK|=i,e.lanes=i,e.memoizedState=d}}function az(e,t){if("function"!=typeof e)throw Error(s(191,e));e.call(t)}function aN(e,t){var r=e.callbacks;if(null!==r)for(e.callbacks=null,e=0;e<r.length;e++)az(r[e],t)}var a_=M(null),aA=M(0);function aL(e,t){D(aA,e=sW),D(a_,t),sW=e|t.baseLanes}function aI(){D(aA,sW),D(a_,a_.current)}function aM(){sW=aA.current,F(a_),F(aA)}var aF=M(null),aD=null;function aB(e){var t=e.alternate;D(aW,1&aW.current),D(aF,e),null===aD&&(null===t||null!==a_.current?aD=e:null!==t.memoizedState&&(aD=e))}function a$(e){D(aW,aW.current),D(aF,e),null===aD&&(aD=e)}function aV(e){22===e.tag?(D(aW,aW.current),D(aF,e),null===aD&&(aD=e)):aU(e)}function aU(){D(aW,aW.current),D(aF,aF.current)}function aH(e){F(aF),aD===e&&(aD=null),F(aW)}var aW=M(0);function aq(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||uz(r)||uN(r)))return t}else if(19===t.tag&&("forwards"===t.memoizedProps.revealOrder||"backwards"===t.memoizedProps.revealOrder||"unstable_legacy-backwards"===t.memoizedProps.revealOrder||"together"===t.memoizedProps.revealOrder)){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aK=0,aG=null,aX=null,aY=null,aQ=!1,aZ=!1,aJ=!1,a0=0,a1=0,a2=null,a3=0;function a5(){throw Error(s(321))}function a9(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!rP(e[r],t[r]))return!1;return!0}function a4(e,t,r,n,a,o){return aK=o,aG=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,N.H=null===e||null===e.memoizedState?ir:ia,aJ=!1,o=r(n,a),aJ=!1,aZ&&(o=a8(t,r,n,a)),a6(e),o}function a6(e){N.H=it;var t=null!==aX&&null!==aX.next;if(aK=0,aY=aX=aG=null,aQ=!1,a1=0,a2=null,t)throw Error(s(300));null===e||ik||null!==(e=e.dependencies)&&nq(e)&&(ik=!0)}function a8(e,t,r,n){aG=e;var a=0;do{if(aZ&&(a2=null),a1=0,aZ=!1,25<=a)throw Error(s(301));if(a+=1,aY=aX=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}N.H=io,o=t(r,n)}while(aZ);return o}function a7(){var e=N.H,t=e.useState()[0];return t="function"==typeof t.then?oi(t):t,e=e.useState()[0],(null!==aX?aX.memoizedState:null)!==e&&(aG.flags|=1024),t}function oe(){var e=0!==a0;return a0=0,e}function ot(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function or(e){if(aQ){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}aQ=!1}aK=0,aY=aX=aG=null,aZ=!1,a1=a0=0,a2=null}function on(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aY?aG.memoizedState=aY=e:aY=aY.next=e,aY}function oa(){if(null===aX){var e=aG.alternate;e=null!==e?e.memoizedState:null}else e=aX.next;var t=null===aY?aG.memoizedState:aY.next;if(null!==t)aY=t,aX=e;else{if(null===e){if(null===aG.alternate)throw Error(s(467));throw Error(s(310))}e={memoizedState:(aX=e).memoizedState,baseState:aX.baseState,baseQueue:aX.baseQueue,queue:aX.queue,next:null},null===aY?aG.memoizedState=aY=e:aY=aY.next=e}return aY}function oo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function oi(e){var t=a1;return a1+=1,null===a2&&(a2=[]),e=al(a2,e,t),t=aG,null===(null===aY?t.memoizedState:aY.next)&&(N.H=null===(t=t.alternate)||null===t.memoizedState?ir:ia),e}function os(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return oi(e);if(e.$$typeof===w)return nG(e)}throw Error(s(438,String(e)))}function ol(e){var t=null,r=aG.updateQueue;if(null!==r&&(t=r.memoCache),null==t){var n=aG.alternate;null!==n&&null!==(n=n.updateQueue)&&null!=(n=n.memoCache)&&(t={data:n.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===r&&(r=oo(),aG.updateQueue=r),r.memoCache=t,void 0===(r=t.data[t.index]))for(r=t.data[t.index]=Array(e),n=0;n<e;n++)r[n]=T;return t.index++,r}function ou(e,t){return"function"==typeof t?t(e):t}function oc(e){return od(oa(),aX,e)}function od(e,t,r){var n=e.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=r;var a=e.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,n.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var l=i=null,u=null,c=t,d=!1;do{var p=-0x20000001&c.lane;if(p!==c.lane?(sD&p)===p:(aK&p)===p){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===n9&&(d=!0);else if((aK&h)===h){c=c.next,h===n9&&(d=!0);continue}else p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,i=o):u=u.next=p,aG.lanes|=h,sK|=h;p=c.action,aJ&&r(o,p),o=c.hasEagerState?c.eagerState:r(o,p)}else h={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=h,i=o):u=u.next=h,aG.lanes|=p,sK|=p;c=c.next}while(null!==c&&c!==t);if(null===u?i=o:u.next=l,!rP(o,e.memoizedState)&&(ik=!0,d&&null!==(r=n4)))throw r;e.memoizedState=o,e.baseState=i,e.baseQueue=u,n.lastRenderedState=o}return null===a&&(n.lanes=0),[e.memoizedState,n.dispatch]}function op(e){var t=oa(),r=t.queue;if(null===r)throw Error(s(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(null!==a){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);rP(o,t.memoizedState)||(ik=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function oh(e,t,r){var n=aG,a=oa(),o=nT;if(o){if(void 0===r)throw Error(s(407));r=r()}else r=t();var i=!rP((aX||a).memoizedState,r);if(i&&(a.memoizedState=r,ik=!0),a=a.queue,oF(om.bind(null,n,a,e),[e]),a.getSnapshot!==t||i||null!==aY&&1&aY.memoizedState.tag){if(n.flags|=2048,o_(9,{destroy:void 0},og.bind(null,n,a,r,t),null),null===sM)throw Error(s(349));o||0!=(127&aK)||of(n,t,r)}return r}function of(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=aG.updateQueue)?(t=oo(),aG.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function og(e,t,r,n){t.value=r,t.getSnapshot=n,ov(t)&&oy(e)}function om(e,t,r){return r(function(){ov(t)&&oy(e)})}function ov(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!rP(e,r)}catch(e){return!0}}function oy(e){var t=r9(e,2);null!==t&&ls(t,e,2)}function ob(e){var t=on();if("function"==typeof e){var r=e;if(e=r(),aJ){ef(!0);try{r()}finally{ef(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:e},t}function ow(e,t,r,n){return e.baseState=r,od(e,aX,"function"==typeof n?n:ou)}function ok(e,t,r,n,a){if(o8(e))throw Error(s(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==N.T?r(!0):o.isTransition=!1,n(o),null===(r=t.pending)?(o.next=t.pending=o,ox(t,o)):(o.next=r.next,t.pending=r.next=o)}}function ox(e,t){var r=t.action,n=t.payload,a=e.state;if(t.isTransition){var o=N.T,i={};N.T=i;try{var s=r(a,n),l=N.S;null!==l&&l(i,s),oS(e,t,s)}catch(r){oP(e,t,r)}finally{null!==o&&null!==i.types&&(o.types=i.types),N.T=o}}else try{o=r(a,n),oS(e,t,o)}catch(r){oP(e,t,r)}}function oS(e,t,r){null!==r&&"object"==typeof r&&"function"==typeof r.then?r.then(function(r){oC(e,t,r)},function(r){return oP(e,t,r)}):oC(e,t,r)}function oC(e,t,r){t.status="fulfilled",t.value=r,oE(t),e.state=r,null!==(t=e.pending)&&((r=t.next)===t?e.pending=null:(r=r.next,t.next=r,ox(e,r)))}function oP(e,t,r){var n=e.pending;if(e.pending=null,null!==n){n=n.next;do t.status="rejected",t.reason=r,oE(t),t=t.next;while(t!==n)}e.action=null}function oE(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oT(e,t){return t}function oR(e,t){if(nT){var r=sM.formState;if(null!==r){e:{var n=aG;if(nT){if(nE){t:{for(var a=nE,o=nO;8!==a.nodeType;)if(!o||null===(a=u_(a.nextSibling))){a=null;break t}a="F!"===(o=a.data)||"F"===o?a:null}if(a){nE=u_(a.nextSibling),n="F!"===a.data;break e}}nz(n)}n=!1}n&&(t=r[0])}}return(r=on()).memoizedState=r.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oT,lastRenderedState:t},r.queue=n,r=o9.bind(null,aG,n),n.dispatch=r,n=ob(!1),o=o6.bind(null,aG,!1,n.queue),n=on(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,r=ok.bind(null,aG,a,o,r),a.dispatch=r,n.memoizedState=e,[t,r,!1]}function oO(e){return oj(oa(),aX,e)}function oj(e,t,r){if(t=od(e,t,oT)[0],e=oc(ou)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var n=oi(t)}catch(e){if(e===an)throw ao;throw e}else n=t;var a=(t=oa()).queue,o=a.dispatch;return r!==t.memoizedState&&(aG.flags|=2048,o_(9,{destroy:void 0},oz.bind(null,a,r),null)),[n,o,e]}function oz(e,t){e.action=t}function oN(e){var t=oa(),r=aX;if(null!==r)return oj(t,r,e);oa(),t=t.memoizedState;var n=(r=oa()).queue.dispatch;return r.memoizedState=e,[t,n,!1]}function o_(e,t,r,n){return e={tag:e,create:r,deps:n,inst:t,next:null},null===(t=aG.updateQueue)&&(t=oo(),aG.updateQueue=t),null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function oA(){return oa().memoizedState}function oL(e,t,r,n){var a=on();aG.flags|=e,a.memoizedState=o_(1|t,{destroy:void 0},r,void 0===n?null:n)}function oI(e,t,r,n){var a=oa();n=void 0===n?null:n;var o=a.memoizedState.inst;null!==aX&&null!==n&&a9(n,aX.memoizedState.deps)?a.memoizedState=o_(t,o,r,n):(aG.flags|=e,a.memoizedState=o_(1|t,o,r,n))}function oM(e,t){oL(8390656,8,e,t)}function oF(e,t){oI(2048,8,e,t)}function oD(e){var t=oa().memoizedState,r={ref:t,nextImpl:e};aG.flags|=4;var n=aG.updateQueue;if(null===n)n=oo(),aG.updateQueue=n,n.events=[r];else{var a=n.events;null===a?n.events=[r]:a.push(r)}return function(){if(0!=(2&sI))throw Error(s(440));return t.impl.apply(void 0,arguments)}}function oB(e,t){return oI(4,2,e,t)}function o$(e,t){return oI(4,4,e,t)}function oV(e,t){if("function"==typeof t){var r=t(e=e());return function(){"function"==typeof r?r():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oU(e,t,r){r=null!=r?r.concat([e]):null,oI(4,4,oV.bind(null,t,e),r)}function oH(){}function oW(e,t){var r=oa();t=void 0===t?null:t;var n=r.memoizedState;return null!==t&&a9(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function oq(e,t){var r=oa();t=void 0===t?null:t;var n=r.memoizedState;if(null!==t&&a9(t,n[1]))return n[0];if(n=e(),aJ){ef(!0);try{e()}finally{ef(!1)}}return r.memoizedState=[n,t],n}function oK(e,t,r){return void 0===r||0!=(0x40000000&aK)&&0==(261930&sD)?e.memoizedState=t:(e.memoizedState=r,e=li(),aG.lanes|=e,sK|=e,r)}function oG(e,t,r,n){return rP(r,t)?r:null!==a_.current?(rP(e=oK(e,r,n),t)||(ik=!0),e):0==(42&aK)||0!=(0x40000000&aK)&&0==(261930&sD)?(ik=!0,e.memoizedState=r):(e=li(),aG.lanes|=e,sK|=e,t)}function oX(e,t,r,n,a){var o=_.p;_.p=0!==o&&8>o?o:8;var i=N.T,s={};N.T=s,o6(e,!1,t,r);try{var l=a(),u=N.S;if(null!==u&&u(s,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,d,p=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){d.status="fulfilled",d.value=n;for(var e=0;e<c.length;e++)(0,c[e])(n)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);o4(e,t,p,lo(e))}else o4(e,t,n,lo(e))}catch(r){o4(e,t,{then:function(){},status:"rejected",reason:r},lo())}finally{_.p=o,null!==i&&null!==s.types&&(i.types=s.types),N.T=i}}function oY(){}function oQ(e,t,r,n){if(5!==e.tag)throw Error(s(476));var a=oZ(e).queue;oX(e,a,t,A,null===r?oY:function(){return oJ(e),r(n)})}function oZ(e){var t=e.memoizedState;if(null!==t)return t;var r={};return(t={memoizedState:A,baseState:A,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:A},next:null}).next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ou,lastRenderedState:r},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function oJ(e){var t=oZ(e);null===t.next&&(t=e.alternate.memoizedState),o4(e,t.next.queue,{},lo())}function o0(){return nG(ce)}function o1(){return oa().memoizedState}function o2(){return oa().memoizedState}function o3(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var r=lo(),n=aP(t,e=aC(r),r);null!==n&&(ls(n,t,r),aE(n,t,r)),t={cache:n1()},e.payload=t;return}t=t.return}}function o5(e,t,r){var n=lo();r={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},o8(e)?o7(t,r):null!==(r=r5(e,t,r,n))&&(ls(r,e,n),ie(r,t,n))}function o9(e,t,r){o4(e,t,r,lo())}function o4(e,t,r,n){var a={lane:n,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(o8(e))o7(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,r);if(a.hasEagerState=!0,a.eagerState=s,rP(s,i))return r3(e,t,a,0),null===sM&&r2(),!1}catch(e){}finally{}if(null!==(r=r5(e,t,a,n)))return ls(r,e,n),ie(r,t,n),!0}return!1}function o6(e,t,r,n){if(n={lane:2,revertLane:lZ(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},o8(e)){if(t)throw Error(s(479))}else null!==(t=r5(e,r,n,2))&&ls(t,e,2)}function o8(e){var t=e.alternate;return e===aG||null!==t&&t===aG}function o7(e,t){aZ=aQ=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ie(e,t,r){if(0!=(4194048&r)){var n=t.lanes;n&=e.pendingLanes,t.lanes=r|=n,eR(e,r)}}var it={readContext:nG,use:os,useCallback:a5,useContext:a5,useEffect:a5,useImperativeHandle:a5,useLayoutEffect:a5,useInsertionEffect:a5,useMemo:a5,useReducer:a5,useRef:a5,useState:a5,useDebugValue:a5,useDeferredValue:a5,useTransition:a5,useSyncExternalStore:a5,useId:a5,useHostTransitionStatus:a5,useFormState:a5,useActionState:a5,useOptimistic:a5,useMemoCache:a5,useCacheRefresh:a5};it.useEffectEvent=a5;var ir={readContext:nG,use:os,useCallback:function(e,t){return on().memoizedState=[e,void 0===t?null:t],e},useContext:nG,useEffect:oM,useImperativeHandle:function(e,t,r){r=null!=r?r.concat([e]):null,oL(4194308,4,oV.bind(null,t,e),r)},useLayoutEffect:function(e,t){return oL(4194308,4,e,t)},useInsertionEffect:function(e,t){oL(4,2,e,t)},useMemo:function(e,t){var r=on();t=void 0===t?null:t;var n=e();if(aJ){ef(!0);try{e()}finally{ef(!1)}}return r.memoizedState=[n,t],n},useReducer:function(e,t,r){var n=on();if(void 0!==r){var a=r(t);if(aJ){ef(!0);try{r(t)}finally{ef(!1)}}}else a=t;return n.memoizedState=n.baseState=a,n.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=o5.bind(null,aG,e),[n.memoizedState,e]},useRef:function(e){return on().memoizedState={current:e}},useState:function(e){var t=(e=ob(e)).queue,r=o9.bind(null,aG,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:oH,useDeferredValue:function(e,t){return oK(on(),e,t)},useTransition:function(){var e=ob(!1);return e=oX.bind(null,aG,e.queue,!0,!1),on().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var n=aG,a=on();if(nT){if(void 0===r)throw Error(s(407));r=r()}else{if(r=t(),null===sM)throw Error(s(349));0!=(127&sD)||of(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,oM(om.bind(null,n,o,e),[e]),n.flags|=2048,o_(9,{destroy:void 0},og.bind(null,n,o,r,t),null),r},useId:function(){var e=on(),t=sM.identifierPrefix;if(nT){var r=nb,n=ny;t="_"+t+"R_"+(r=(n&~(1<<32-eg(n)-1)).toString(32)+r),0<(r=a0++)&&(t+="H"+r.toString(32)),t+="_"}else t="_"+t+"r_"+(r=a3++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:o0,useFormState:oR,useActionState:oR,useOptimistic:function(e){var t=on();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=o6.bind(null,aG,!0,r),r.dispatch=t,[e,t]},useMemoCache:ol,useCacheRefresh:function(){return on().memoizedState=o3.bind(null,aG)},useEffectEvent:function(e){var t=on(),r={impl:e};return t.memoizedState=r,function(){if(0!=(2&sI))throw Error(s(440));return r.impl.apply(void 0,arguments)}}},ia={readContext:nG,use:os,useCallback:oW,useContext:nG,useEffect:oF,useImperativeHandle:oU,useInsertionEffect:oB,useLayoutEffect:o$,useMemo:oq,useReducer:oc,useRef:oA,useState:function(){return oc(ou)},useDebugValue:oH,useDeferredValue:function(e,t){return oG(oa(),aX.memoizedState,e,t)},useTransition:function(){var e=oc(ou)[0],t=oa().memoizedState;return["boolean"==typeof e?e:oi(e),t]},useSyncExternalStore:oh,useId:o1,useHostTransitionStatus:o0,useFormState:oO,useActionState:oO,useOptimistic:function(e,t){return ow(oa(),aX,e,t)},useMemoCache:ol,useCacheRefresh:o2};ia.useEffectEvent=oD;var io={readContext:nG,use:os,useCallback:oW,useContext:nG,useEffect:oF,useImperativeHandle:oU,useInsertionEffect:oB,useLayoutEffect:o$,useMemo:oq,useReducer:op,useRef:oA,useState:function(){return op(ou)},useDebugValue:oH,useDeferredValue:function(e,t){var r=oa();return null===aX?oK(r,e,t):oG(r,aX.memoizedState,e,t)},useTransition:function(){var e=op(ou)[0],t=oa().memoizedState;return["boolean"==typeof e?e:oi(e),t]},useSyncExternalStore:oh,useId:o1,useHostTransitionStatus:o0,useFormState:oN,useActionState:oN,useOptimistic:function(e,t){var r=oa();return null!==aX?ow(r,aX,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:ol,useCacheRefresh:o2};function ii(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:p({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}io.useEffectEvent=oD;var is={enqueueSetState:function(e,t,r){e=e._reactInternals;var n=lo(),a=aC(n);a.payload=t,null!=r&&(a.callback=r),null!==(t=aP(e,a,n))&&(ls(t,e,n),aE(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=lo(),a=aC(n);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=aP(e,a,n))&&(ls(t,e,n),aE(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=lo(),n=aC(r);n.tag=2,null!=t&&(n.callback=t),null!==(t=aP(e,n,r))&&(ls(t,e,r),aE(t,e,r))}};function il(e,t,r,n,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,i):!t.prototype||!t.prototype.isPureReactComponent||!rE(r,n)||!rE(a,o)}function iu(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ic(e,t){var r=t;if("ref"in t)for(var n in r={},t)"ref"!==n&&(r[n]=t[n]);if(e=e.defaultProps)for(var a in r===t&&(r=p({},r)),e)void 0===r[a]&&(r[a]=e[a]);return r}function id(e){rZ(e)}function ip(e){console.error(e)}function ih(e){rZ(e)}function ig(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function im(e,t,r){try{(0,e.onCaughtError)(r.value,{componentStack:r.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iv(e,t,r){return(r=aC(r)).tag=3,r.payload={element:null},r.callback=function(){ig(e,t)},r}function iy(e){return(e=aC(e)).tag=3,e}function ib(e,t,r,n){var a=r.type.getDerivedStateFromError;if("function"==typeof a){var o=n.value;e.payload=function(){return a(o)},e.callback=function(){im(t,r,n)}}var i=r.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){im(t,r,n),"function"!=typeof a&&(null===s9?s9=new Set([this]):s9.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})})}var iw=Error(s(461)),ik=!1;function ix(e,t,r,n){t.child=null===e?aw(t,null,r,n):ab(t,e.child,r,n)}function iS(e,t,r,n,a){r=r.render;var o=t.ref;if("ref"in n){var i={};for(var s in n)"ref"!==s&&(i[s]=n[s])}else i=n;return(nK(t),n=a4(e,t,r,i,o,a),s=oe(),null===e||ik)?(nT&&s&&nx(t),t.flags|=1,ix(e,t,n,a),t.child):(ot(e,t,a),iq(e,t,a))}function iC(e,t,r,n,a){if(null===e){var o=r.type;return"function"!=typeof o||nt(o)||void 0!==o.defaultProps||null!==r.compare?((e=na(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,iP(e,t,o,n,a))}if(o=e.child,!iK(e,a)){var i=o.memoizedProps;if((r=null!==(r=r.compare)?r:rE)(i,n)&&e.ref===t.ref)return iq(e,t,a)}return t.flags|=1,(e=nr(o,n)).ref=t.ref,e.return=t,t.child=e}function iP(e,t,r,n,a){if(null!==e){var o=e.memoizedProps;if(rE(o,n)&&e.ref===t.ref)if(ik=!1,t.pendingProps=n=o,!iK(e,a))return t.lanes=e.lanes,iq(e,t,a);else 0!=(131072&e.flags)&&(ik=!0)}return iN(e,t,r,n,a)}function iE(e,t,r,n){var a=n.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===n.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|r:r,null!==e){for(a=0,n=t.child=e.child;null!==n;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~o}else n=0,t.child=null;return iR(e,t,o,r,n)}if(0==(0x20000000&r))return n=t.lanes=0x20000000,iR(e,t,null!==o?o.baseLanes|r:r,r,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&at(t,null!==o?o.cachePool:null),null!==o?aL(t,o):aI(),aV(t)}else null!==o?(at(t,o.cachePool),aL(t,o),aU(t),t.memoizedState=null):(null!==e&&at(t,null),aI(),aU(t));return ix(e,t,a,r),t.child}function iT(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iR(e,t,r,n,a){var o=ae();return t.memoizedState={baseLanes:r,cachePool:o=null===o?null:{parent:n0._currentValue,pool:o}},null!==e&&at(t,null),aI(),aV(t),null!==e&&nW(e,t,n,!0),t.childLanes=a,null}function iO(e,t){return(t=i$({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function ij(e,t,r){return ab(t,e.child,null,r),e=iO(t,t.pendingProps),e.flags|=2,aH(t),t.memoizedState=null,e}function iz(e,t){var r=t.ref;if(null===r)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof r&&"object"!=typeof r)throw Error(s(284));(null===e||e.ref!==r)&&(t.flags|=4194816)}}function iN(e,t,r,n,a){return(nK(t),r=a4(e,t,r,n,void 0,a),n=oe(),null===e||ik)?(nT&&n&&nx(t),t.flags|=1,ix(e,t,r,a),t.child):(ot(e,t,a),iq(e,t,a))}function i_(e,t,r,n,a,o){return(nK(t),t.updateQueue=null,r=a8(t,n,r,a),a6(e),n=oe(),null===e||ik)?(nT&&n&&nx(t),t.flags|=1,ix(e,t,r,o),t.child):(ot(e,t,o),iq(e,t,o))}function iA(e,t,r,n,a){if(nK(t),null===t.stateNode){var o=r8,i=r.contextType;"object"==typeof i&&null!==i&&(o=nG(i)),t.memoizedState=null!==(o=new r(n,o)).state&&void 0!==o.state?o.state:null,o.updater=is,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=n,o.state=t.memoizedState,o.refs={},ax(t),i=r.contextType,o.context="object"==typeof i&&null!==i?nG(i):r8,o.state=t.memoizedState,"function"==typeof(i=r.getDerivedStateFromProps)&&(ii(t,r,i,n),o.state=t.memoizedState),"function"==typeof r.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&is.enqueueReplaceState(o,o.state,null),aj(t,n,o,a),aO(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=ic(r,s);o.props=l;var u=o.context,c=r.contextType;i=r8,"object"==typeof c&&null!==c&&(i=nG(c));var d=r.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==i)&&iu(t,o,n,i),ak=!1;var p=t.memoizedState;o.state=p,aj(t,n,o,a),aO(),u=t.memoizedState,s||p!==u||ak?("function"==typeof d&&(ii(t,r,d,n),u=t.memoizedState),(l=ak||il(t,r,l,n,p,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),o.props=n,o.state=u,o.context=i,n=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,aS(e,t),c=ic(r,i=t.memoizedProps),o.props=c,d=t.pendingProps,p=o.context,u=r.contextType,l=r8,"object"==typeof u&&null!==u&&(l=nG(u)),(u="function"==typeof(s=r.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||p!==l)&&iu(t,o,n,l),ak=!1,p=t.memoizedState,o.state=p,aj(t,n,o,a),aO();var h=t.memoizedState;i!==d||p!==h||ak||null!==e&&null!==e.dependencies&&nq(e.dependencies)?("function"==typeof s&&(ii(t,r,s,n),h=t.memoizedState),(c=ak||il(t,r,c,n,p,h,l)||null!==e&&null!==e.dependencies&&nq(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(n,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),o.props=n,o.state=h,o.context=l,n=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return o=n,iz(e,t),n=0!=(128&t.flags),o||n?(o=t.stateNode,r=n&&"function"!=typeof r.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&n?(t.child=ab(t,e.child,null,a),t.child=ab(t,null,r,a)):ix(e,t,r,a),t.memoizedState=o.state,e=t.child):e=iq(e,t,a),e}function iL(e,t,r,n){return nL(),t.flags|=256,ix(e,t,r,n),t.child}var iI={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iM(e){return{baseLanes:e,cachePool:ar()}}function iF(e,t,r){return e=null!==e?e.childLanes&~r:0,t&&(e|=sY),e}function iD(e,t,r){var n,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((n=i)||(n=(null===e||null!==e.memoizedState)&&0!=(2&aW.current)),n&&(o=!0,t.flags&=-129),n=0!=(32&t.flags),t.flags&=-33,null===e){if(nT){if(o?aB(t):aU(t),(e=nE)?null!==(e=null!==(e=uj(e,nO))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==nv?{id:ny,overflow:nb}:null,retryLane:0x20000000,hydrationErrors:null},(r=ns(e)).return=t,t.child=r,nP=t,nE=null):e=null,null===e)throw nz(t);return uN(e)?t.lanes=32:t.lanes=0x20000000,null}var l=a.children;return(a=a.fallback,o)?(aU(t),l=i$({mode:"hidden",children:l},o=t.mode),a=no(a,o,r,null),l.return=t,a.return=t,l.sibling=a,t.child=l,(a=t.child).memoizedState=iM(r),a.childLanes=iF(e,n,r),t.memoizedState=iI,iT(null,a)):(aB(t),iB(t,l))}var u=e.memoizedState;if(null!==u&&null!==(l=u.dehydrated)){if(i)256&t.flags?(aB(t),t.flags&=-257,t=iV(e,t,r)):null!==t.memoizedState?(aU(t),t.child=e.child,t.flags|=128,t=null):(aU(t),l=a.fallback,o=t.mode,a=i$({mode:"visible",children:a.children},o),l=no(l,o,r,null),l.flags|=2,a.return=t,l.return=t,a.sibling=l,t.child=a,ab(t,e.child,null,r),(a=t.child).memoizedState=iM(r),a.childLanes=iF(e,n,r),t.memoizedState=iI,t=iT(null,a));else if(aB(t),uN(l)){if(n=l.nextSibling&&l.nextSibling.dataset)var c=n.dgst;n=c,(a=Error(s(419))).stack="",a.digest=n,nM({value:a,source:null,stack:null}),t=iV(e,t,r)}else if(ik||nW(e,t,r,!1),n=0!=(r&e.childLanes),ik||n){if(null!==(n=sM)&&0!==(a=eO(n,r))&&a!==u.retryLane)throw u.retryLane=a,r9(e,a),ls(n,e,a),iw;uz(l)||ly(),t=iV(e,t,r)}else uz(l)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,nE=u_(l.nextSibling),nP=t,nT=!0,nR=null,nO=!1,null!==e&&nC(t,e),t=iB(t,a.children),t.flags|=4096);return t}return o?(aU(t),l=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=nr(u,{mode:"hidden",children:a.children})).subtreeFlags=0x3e00000&u.subtreeFlags,null!==c?l=nr(c,l):(l=no(l,o,r,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,iT(null,a),a=t.child,null===(l=e.child.memoizedState)?l=iM(r):(null!==(o=l.cachePool)?(u=n0._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=ar(),l={baseLanes:l.baseLanes|r,cachePool:o}),a.memoizedState=l,a.childLanes=iF(e,n,r),t.memoizedState=iI,iT(e.child,a)):(aB(t),e=(r=e.child).sibling,(r=nr(r,{mode:"visible",children:a.children})).return=t,r.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r)}function iB(e,t){return(t=i$({mode:"visible",children:t},e.mode)).return=e,e.child=t}function i$(e,t){return(e=ne(22,e,null,t)).lanes=0,e}function iV(e,t,r){return ab(t,e.child,null,r),e=iB(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iU(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),nU(e.return,t,r)}function iH(e,t,r,n,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=a,i.treeForkCount=o)}function iW(e,t,r){var n=t.pendingProps,a=n.revealOrder,o=n.tail;n=n.children;var i=aW.current,s=0!=(2&i);if(s?(i=1&i|2,t.flags|=128):i&=1,D(aW,i),ix(e,t,n,r),n=nT?nf:0,!s&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iU(e,r,t);else if(19===e.tag)iU(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(a=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===aq(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),iH(t,!1,a,r,o,n);break;case"backwards":case"unstable_legacy-backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===aq(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}iH(t,!0,r,null,o,n);break;case"together":iH(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function iq(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),sK|=t.lanes,0==(r&t.childLanes)){if(null===e)return null;else if(nW(e,t,r,!1),0==(r&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(r=nr(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=nr(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function iK(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&nq(e))}function iG(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps)ik=!0;else{if(!iK(e,r)&&0==(128&t.flags))return ik=!1,function(e,t,r){switch(t.tag){case 3:H(t,t.stateNode.containerInfo),n$(t,n0,e.memoizedState.cache),nL();break;case 27:case 5:q(t);break;case 4:H(t,t.stateNode.containerInfo);break;case 10:n$(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,a$(t),null;break;case 13:var n=t.memoizedState;if(null!==n){if(null!==n.dehydrated)return aB(t),t.flags|=128,null;if(0!=(r&t.child.childLanes))return iD(e,t,r);return aB(t),null!==(e=iq(e,t,r))?e.sibling:null}aB(t);break;case 19:var a=0!=(128&e.flags);if((n=0!=(r&t.childLanes))||(nW(e,t,r,!1),n=0!=(r&t.childLanes)),a){if(n)return iW(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),D(aW,aW.current),!n)return null;break;case 22:return t.lanes=0,iE(e,t,r,t.pendingProps);case 24:n$(t,n0,e.memoizedState.cache)}return iq(e,t,r)}(e,t,r);ik=0!=(131072&e.flags)}else ik=!1,nT&&0!=(1048576&t.flags)&&nk(t,nf,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=au(t.elementType),t.type=e,"function"==typeof e)nt(e)?(n=ic(e,n),t.tag=1,t=iA(null,t,e,n,r)):(t.tag=0,t=iN(null,t,e,n,r));else{if(null!=e){var a=e.$$typeof;if(a===k){t.tag=11,t=iS(null,t,e,n,r);break e}if(a===C){t.tag=14,t=iC(null,t,e,n,r);break e}}throw Error(s(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===j?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case m:return"Fragment";case y:return"Profiler";case v:return"StrictMode";case x:return"Suspense";case S:return"SuspenseList";case E:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case g:return"Portal";case w:return t.displayName||"Context";case b:return(t._context.displayName||"Context")+".Consumer";case k:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case C:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case P:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return iN(e,t,t.type,t.pendingProps,r);case 1:return a=ic(n=t.type,t.pendingProps),iA(e,t,n,a,r);case 3:e:{if(H(t,t.stateNode.containerInfo),null===e)throw Error(s(387));n=t.pendingProps;var o=t.memoizedState;a=o.element,aS(e,t),aj(t,n,null,r);var i=t.memoizedState;if(n$(t,n0,n=i.cache),n!==o.cache&&nH(t,[n0],r,!0),aO(),n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=iL(e,t,n,r);break e}else if(n!==a){nM(a=nc(Error(s(424)),t)),t=iL(e,t,n,r);break e}else for(nE=u_((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),nP=t,nT=!0,nR=null,nO=!0,r=aw(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling;else{if(nL(),n===a){t=iq(e,t,r);break e}ix(e,t,n,r)}t=t.child}return t;case 26:return iz(e,t),null===e?(r=uW(t.type,null,t.pendingProps,null))?t.memoizedState=r:nT||(r=t.type,e=t.pendingProps,(n=um(V.current).createElement(r))[eL]=t,n[eI]=e,up(n,r,e),eG(n),t.stateNode=n):t.memoizedState=uW(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return q(t),null===e&&nT&&(n=t.stateNode=uM(t.type,t.pendingProps,V.current),nP=t,nO=!0,a=nE,uE(t.type)?(uA=a,nE=u_(n.firstChild)):nE=a),ix(e,t,t.pendingProps.children,r),iz(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&nT&&((a=n=nE)&&(null!==(n=function(e,t,r,n){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(n){if(!e[eV])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==r.rel||e.getAttribute("href")!==(null==r.href||""===r.href?null:r.href)||e.getAttribute("crossorigin")!==(null==r.crossOrigin?null:r.crossOrigin)||e.getAttribute("title")!==(null==r.title?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==r.src?null:r.src)||e.getAttribute("type")!==(null==r.type?null:r.type)||e.getAttribute("crossorigin")!==(null==r.crossOrigin?null:r.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==r.name?null:""+r.name;if("hidden"===r.type&&e.getAttribute("name")===a)return e}if(null===(e=u_(e.nextSibling)))break}return null}(n,t.type,t.pendingProps,nO))?(t.stateNode=n,nP=t,nE=u_(n.firstChild),nO=!1,a=!0):a=!1),a||nz(t)),q(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,n=o.children,ub(a,o)?n=null:null!==i&&ub(a,i)&&(t.flags|=32),null!==t.memoizedState&&(ce._currentValue=a=a4(e,t,a7,null,null,r)),iz(e,t),ix(e,t,n,r),t.child;case 6:return null===e&&nT&&((e=r=nE)&&(null!==(r=function(e,t,r){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!r||null===(e=u_(e.nextSibling)))return null;return e}(r,t.pendingProps,nO))?(t.stateNode=r,nP=t,nE=null,e=!0):e=!1),e||nz(t)),null;case 13:return iD(e,t,r);case 4:return H(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=ab(t,null,n,r):ix(e,t,n,r),t.child;case 11:return iS(e,t,t.type,t.pendingProps,r);case 7:return ix(e,t,t.pendingProps,r),t.child;case 8:case 12:return ix(e,t,t.pendingProps.children,r),t.child;case 10:return n=t.pendingProps,n$(t,t.type,n.value),ix(e,t,n.children,r),t.child;case 9:return a=t.type._context,n=t.pendingProps.children,nK(t),n=n(a=nG(a)),t.flags|=1,ix(e,t,n,r),t.child;case 14:return iC(e,t,t.type,t.pendingProps,r);case 15:return iP(e,t,t.type,t.pendingProps,r);case 19:return iW(e,t,r);case 31:var l=e,u=t,c=r,d=u.pendingProps,p=0!=(128&u.flags);if(u.flags&=-129,null===l){if(nT){if("hidden"===d.mode)return l=iO(u,d),u.lanes=0x20000000,iT(null,l);if(a$(u),(l=nE)?null!==(l=null!==(l=uj(l,nO))&&"&"===l.data?l:null)&&(u.memoizedState={dehydrated:l,treeContext:null!==nv?{id:ny,overflow:nb}:null,retryLane:0x20000000,hydrationErrors:null},(c=ns(l)).return=u,u.child=c,nP=u,nE=null):l=null,null===l)throw nz(u);return u.lanes=0x20000000,null}return iO(u,d)}var h=l.memoizedState;if(null!==h){var f=h.dehydrated;if(a$(u),p)if(256&u.flags)u.flags&=-257,u=ij(l,u,c);else if(null!==u.memoizedState)u.child=l.child,u.flags|=128,u=null;else throw Error(s(558));else if(ik||nW(l,u,c,!1),p=0!=(c&l.childLanes),ik||p){if(null!==(d=sM)&&0!==(f=eO(d,c))&&f!==h.retryLane)throw h.retryLane=f,r9(l,f),ls(d,l,f),iw;ly(),u=ij(l,u,c)}else l=h.treeContext,nE=u_(f.nextSibling),nP=u,nT=!0,nR=null,nO=!1,null!==l&&nC(u,l),u=iO(u,d),u.flags|=4096;return u}return(l=nr(l.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=l,l.return=u,l;case 22:return iE(e,t,r,t.pendingProps);case 24:return nK(t),n=nG(n0),null===e?(null===(a=ae())&&(a=sM,o=n1(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=r),a=o),t.memoizedState={parent:n,cache:a},ax(t),n$(t,n0,a)):(0!=(e.lanes&r)&&(aS(e,t),aj(t,null,null,r),aO()),a=e.memoizedState,o=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),n$(t,n0,n)):(n$(t,n0,n=o.cache),n!==a.cache&&nH(t,[n0],r,!0))),ix(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function iX(e){e.flags|=4}function iY(e,t,r,n,a){if((t=0!=(32&e.mode))&&(t=!1),t){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(lg())e.flags|=8192;else throw ac=ai,aa}else e.flags&=-0x1000001}function iQ(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!u5(t))if(lg())e.flags|=8192;else throw ac=ai,aa}function iZ(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eC():0x20000000,e.lanes|=t,sQ|=t)}function iJ(e,t){if(!nT)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function i0(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=0x3e00000&a.subtreeFlags,n|=0x3e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function i1(e,t){switch(nS(t),t.tag){case 3:nV(n0),W();break;case 26:case 27:case 5:K(t);break;case 4:W();break;case 31:null!==t.memoizedState&&aH(t);break;case 13:aH(t);break;case 19:F(aW);break;case 10:nV(t.type);break;case 22:case 23:aH(t),aM(),null!==e&&F(n7);break;case 24:nV(n0)}}function i2(e,t){try{var r=t.updateQueue,n=null!==r?r.lastEffect:null;if(null!==n){var a=n.next;r=a;do{if((r.tag&e)===e){n=void 0;var o=r.create;r.inst.destroy=n=o()}r=r.next}while(r!==a)}}catch(e){l_(t,t.return,e)}}function i3(e,t,r){try{var n=t.updateQueue,a=null!==n?n.lastEffect:null;if(null!==a){var o=a.next;n=o;do{if((n.tag&e)===e){var i=n.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,a=t;try{s()}catch(e){l_(a,r,e)}}}n=n.next}while(n!==o)}}catch(e){l_(t,t.return,e)}}function i5(e){var t=e.updateQueue;if(null!==t){var r=e.stateNode;try{aN(t,r)}catch(t){l_(e,e.return,t)}}}function i9(e,t,r){r.props=ic(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(r){l_(e,t,r)}}function i4(e,t){try{var r=e.ref;if(null!==r){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;default:n=e.stateNode}"function"==typeof r?e.refCleanup=r(n):r.current=n}}catch(r){l_(e,t,r)}}function i6(e,t){var r=e.ref,n=e.refCleanup;if(null!==r)if("function"==typeof n)try{n()}catch(r){l_(e,t,r)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof r)try{r(null)}catch(r){l_(e,t,r)}else r.current=null}function i8(e){var t=e.type,r=e.memoizedProps,n=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&n.focus();break;case"img":r.src?n.src=r.src:r.srcSet&&(n.srcset=r.srcSet)}}catch(t){l_(e,e.return,t)}}function i7(e,t,r){try{var n=e.stateNode;(function(e,t,r,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,i=null,l=null,u=null,c=null,d=null;for(f in r){var p=r[f];if(r.hasOwnProperty(f)&&null!=p)switch(f){case"checked":case"value":break;case"defaultValue":u=p;default:n.hasOwnProperty(f)||uc(e,t,f,null,n,p)}}for(var h in n){var f=n[h];if(p=r[h],n.hasOwnProperty(h)&&(null!=f||null!=p))switch(h){case"type":o=f;break;case"name":a=f;break;case"checked":c=f;break;case"defaultChecked":d=f;break;case"value":i=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(s(137,t));break;default:f!==p&&uc(e,t,h,f,n,p)}}tr(e,i,l,u,c,d,o,a);return;case"select":for(o in f=i=l=h=null,r)if(u=r[o],r.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":f=u;default:n.hasOwnProperty(o)||uc(e,t,o,null,n,u)}for(a in n)if(o=n[a],u=r[a],n.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":h=o;break;case"defaultValue":l=o;break;case"multiple":i=o;default:o!==u&&uc(e,t,a,o,n,u)}t=l,r=i,n=f,null!=h?to(e,!!r,h,!1):!!n!=!!r&&(null!=t?to(e,!!r,t,!0):to(e,!!r,r?[]:"",!1));return;case"textarea":for(l in f=h=null,r)if(a=r[l],r.hasOwnProperty(l)&&null!=a&&!n.hasOwnProperty(l))switch(l){case"value":case"children":break;default:uc(e,t,l,null,n,a)}for(i in n)if(a=n[i],o=r[i],n.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":h=a;break;case"defaultValue":f=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(s(91));break;default:a!==o&&uc(e,t,i,a,n,o)}ti(e,h,f);return;case"option":for(var g in r)h=r[g],r.hasOwnProperty(g)&&null!=h&&!n.hasOwnProperty(g)&&("selected"===g?e.selected=!1:uc(e,t,g,null,n,h));for(u in n)h=n[u],f=r[u],n.hasOwnProperty(u)&&h!==f&&(null!=h||null!=f)&&("selected"===u?e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h:uc(e,t,u,h,n,f));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in r)h=r[m],r.hasOwnProperty(m)&&null!=h&&!n.hasOwnProperty(m)&&uc(e,t,m,null,n,h);for(c in n)if(h=n[c],f=r[c],n.hasOwnProperty(c)&&h!==f&&(null!=h||null!=f))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(s(137,t));break;default:uc(e,t,c,h,n,f)}return;default:if(tp(t)){for(var v in r)h=r[v],r.hasOwnProperty(v)&&void 0!==h&&!n.hasOwnProperty(v)&&ud(e,t,v,void 0,n,h);for(d in n)h=n[d],f=r[d],n.hasOwnProperty(d)&&h!==f&&(void 0!==h||void 0!==f)&&ud(e,t,d,h,n,f);return}}for(var y in r)h=r[y],r.hasOwnProperty(y)&&null!=h&&!n.hasOwnProperty(y)&&uc(e,t,y,null,n,h);for(p in n)h=n[p],f=r[p],n.hasOwnProperty(p)&&h!==f&&(null!=h||null!=f)&&uc(e,t,p,h,n,f)})(n,e.type,r,t),n[eI]=t}catch(t){l_(e,e.return,t)}}function se(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&uE(e.type)||4===e.tag}function st(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||se(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&uE(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function sr(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&(27===n&&uE(e.type)&&(r=e.stateNode),null!==(e=e.child)))for(sr(e,t,r),e=e.sibling;null!==e;)sr(e,t,r),e=e.sibling}function sn(e){var t=e.stateNode,r=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);up(t,n,r),t[eL]=e,t[eI]=r}catch(t){l_(e,e.return,t)}}var sa=!1,so=!1,si=!1,ss="function"==typeof WeakSet?WeakSet:Set,sl=null;function su(e,t,r){var n=r.flags;switch(r.tag){case 0:case 11:case 15:sk(e,r),4&n&&i2(5,r);break;case 1:if(sk(e,r),4&n)if(e=r.stateNode,null===t)try{e.componentDidMount()}catch(e){l_(r,r.return,e)}else{var a=ic(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){l_(r,r.return,e)}}64&n&&i5(r),512&n&&i4(r,r.return);break;case 3:if(sk(e,r),64&n&&null!==(e=r.updateQueue)){if(t=null,null!==r.child)switch(r.child.tag){case 27:case 5:case 1:t=r.child.stateNode}try{aN(e,t)}catch(e){l_(r,r.return,e)}}break;case 27:null===t&&4&n&&sn(r);case 26:case 5:sk(e,r),null===t&&4&n&&i8(r),512&n&&i4(r,r.return);break;case 12:default:sk(e,r);break;case 31:sk(e,r),4&n&&sf(e,r);break;case 13:sk(e,r),4&n&&sg(e,r),64&n&&null!==(e=r.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var r=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==r.readyState)t();else{var n=function(){t(),r.removeEventListener("DOMContentLoaded",n)};r.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}(e,r=lM.bind(null,r));break;case 22:if(!(n=null!==r.memoizedState||sa)){t=null!==t&&null!==t.memoizedState||so,a=sa;var o=so;sa=n,(so=t)&&!o?function e(t,r,n){for(n=n&&0!=(8772&r.subtreeFlags),r=r.child;null!==r;){var a=r.alternate,o=t,i=r,s=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,n),i2(4,i);break;case 1:if(e(o,i,n),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){l_(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var l=a.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)az(u[o],l)}catch(e){l_(a,a.return,e)}}n&&64&s&&i5(i),i4(i,i.return);break;case 27:sn(i);case 26:case 5:e(o,i,n),n&&null===a&&4&s&&i8(i),i4(i,i.return);break;case 12:default:e(o,i,n);break;case 31:e(o,i,n),n&&4&s&&sf(o,i);break;case 13:e(o,i,n),n&&4&s&&sg(o,i);break;case 22:null===i.memoizedState&&e(o,i,n),i4(i,i.return);case 30:}r=r.sibling}}(e,r,0!=(8772&r.subtreeFlags)):sk(e,r),sa=a,so=o}case 30:}}var sc=null,sd=!1;function sp(e,t,r){for(r=r.child;null!==r;)sh(e,t,r),r=r.sibling}function sh(e,t,r){if(eh&&"function"==typeof eh.onCommitFiberUnmount)try{eh.onCommitFiberUnmount(ep,r)}catch(e){}switch(r.tag){case 26:so||i6(r,t),sp(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode).parentNode.removeChild(r);break;case 27:so||i6(r,t);var n=sc,a=sd;uE(r.type)&&(sc=r.stateNode,sd=!1),sp(e,t,r),uF(r.stateNode),sc=n,sd=a;break;case 5:so||i6(r,t);case 6:if(n=sc,a=sd,sc=null,sp(e,t,r),sc=n,sd=a,null!==sc)if(sd)try{(9===sc.nodeType?sc.body:"HTML"===sc.nodeName?sc.ownerDocument.body:sc).removeChild(r.stateNode)}catch(e){l_(r,t,e)}else try{sc.removeChild(r.stateNode)}catch(e){l_(r,t,e)}break;case 18:null!==sc&&(sd?(uT(9===(e=sc).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,r.stateNode),cN(e)):uT(sc,r.stateNode));break;case 4:n=sc,a=sd,sc=r.stateNode.containerInfo,sd=!0,sp(e,t,r),sc=n,sd=a;break;case 0:case 11:case 14:case 15:i3(2,r,t),so||i3(4,r,t),sp(e,t,r);break;case 1:so||(i6(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount&&i9(r,t,n)),sp(e,t,r);break;case 21:default:sp(e,t,r);break;case 22:so=(n=so)||null!==r.memoizedState,sp(e,t,r),so=n}}function sf(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{cN(e)}catch(e){l_(t,t.return,e)}}}function sg(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{cN(e)}catch(e){l_(t,t.return,e)}}function sm(e,t){var r=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new ss),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new ss),t;default:throw Error(s(435,e.tag))}}(e);t.forEach(function(t){if(!r.has(t)){r.add(t);var n=lF.bind(null,e,t);t.then(n,n)}})}function sv(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var a=r[n],o=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 27:if(uE(l.type)){sc=l.stateNode,sd=!1;break e}break;case 5:sc=l.stateNode,sd=!1;break e;case 3:case 4:sc=l.stateNode.containerInfo,sd=!0;break e}l=l.return}if(null===sc)throw Error(s(160));sh(o,i,a),sc=null,sd=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)sb(t,e),t=t.sibling}var sy=null;function sb(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sv(t,e),sw(e),4&n&&(i3(3,e,e.return),i2(3,e),i3(5,e,e.return));break;case 1:sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),64&n&&sa&&null!==(e=e.updateQueue)&&null!==(n=e.callbacks)&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===r?n:r.concat(n));break;case 26:var a=sy;if(sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),4&n){var o=null!==r?r.memoizedState:null;if(n=e.memoizedState,null===r)if(null===n)if(null===e.stateNode){e:{n=e.type,r=e.memoizedProps,a=a.ownerDocument||a;t:switch(n){case"title":(!(o=a.getElementsByTagName("title")[0])||o[eV]||o[eL]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(n),a.head.insertBefore(o,a.querySelector("head > title"))),up(o,n,r),o[eL]=e,eG(o),n=o;break e;case"link":var i=u2("link","href",a).get(n+(r.href||""));if(i){for(var l=0;l<i.length;l++)if((o=i[l]).getAttribute("href")===(null==r.href||""===r.href?null:r.href)&&o.getAttribute("rel")===(null==r.rel?null:r.rel)&&o.getAttribute("title")===(null==r.title?null:r.title)&&o.getAttribute("crossorigin")===(null==r.crossOrigin?null:r.crossOrigin)){i.splice(l,1);break t}}up(o=a.createElement(n),n,r),a.head.appendChild(o);break;case"meta":if(i=u2("meta","content",a).get(n+(r.content||""))){for(l=0;l<i.length;l++)if((o=i[l]).getAttribute("content")===(null==r.content?null:""+r.content)&&o.getAttribute("name")===(null==r.name?null:r.name)&&o.getAttribute("property")===(null==r.property?null:r.property)&&o.getAttribute("http-equiv")===(null==r.httpEquiv?null:r.httpEquiv)&&o.getAttribute("charset")===(null==r.charSet?null:r.charSet)){i.splice(l,1);break t}}up(o=a.createElement(n),n,r),a.head.appendChild(o);break;default:throw Error(s(468,n))}o[eL]=e,eG(o),n=o}e.stateNode=n}else u3(a,e.type,e.stateNode);else e.stateNode=uQ(a,n,e.memoizedProps);else o!==n?(null===o?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):o.count--,null===n?u3(a,e.type,e.stateNode):uQ(a,n,e.memoizedProps)):null===n&&null!==e.stateNode&&i7(e,e.memoizedProps,r.memoizedProps)}break;case 27:sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),null!==r&&4&n&&i7(e,e.memoizedProps,r.memoizedProps);break;case 5:if(sv(t,e),sw(e),512&n&&(so||null===r||i6(r,r.return)),32&e.flags){a=e.stateNode;try{tl(a,"")}catch(t){l_(e,e.return,t)}}4&n&&null!=e.stateNode&&(a=e.memoizedProps,i7(e,a,null!==r?r.memoizedProps:a)),1024&n&&(si=!0);break;case 6:if(sv(t,e),sw(e),4&n){if(null===e.stateNode)throw Error(s(162));n=e.memoizedProps,r=e.stateNode;try{r.nodeValue=n}catch(t){l_(e,e.return,t)}}break;case 3:if(u1=null,a=sy,sy=u$(t.containerInfo),sv(t,e),sy=a,sw(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{cN(t.containerInfo)}catch(t){l_(e,e.return,t)}si&&(si=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var r=t;e(r),5===r.tag&&1024&r.flags&&r.stateNode.reset(),t=t.sibling}}(e));break;case 4:n=sy,sy=u$(e.stateNode.containerInfo),sv(t,e),sw(e),sy=n;break;case 12:default:sv(t,e),sw(e);break;case 31:case 19:sv(t,e),sw(e),4&n&&null!==(n=e.updateQueue)&&(e.updateQueue=null,sm(e,n));break;case 13:sv(t,e),sw(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(s1=en()),4&n&&null!==(n=e.updateQueue)&&(e.updateQueue=null,sm(e,n));break;case 22:a=null!==e.memoizedState;var u=null!==r&&null!==r.memoizedState,c=sa,d=so;if(sa=c||a,so=d||u,sv(t,e),so=d,sa=c,sw(e),8192&n)e:for((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===r||u||sa||so||function e(t){for(t=t.child;null!==t;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:i3(4,r,r.return),e(r);break;case 1:i6(r,r.return);var n=r.stateNode;"function"==typeof n.componentWillUnmount&&i9(r,r.return,n),e(r);break;case 27:uF(r.stateNode);case 26:case 5:i6(r,r.return),e(r);break;case 22:null===r.memoizedState&&e(r);break;default:e(r)}t=t.sibling}}(e)),r=null,t=e;;){if(5===t.tag||26===t.tag){if(null===r){u=r=t;try{if(o=u.stateNode,a)i=o.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none";else{l=u.stateNode;var p=u.memoizedProps.style,h=null!=p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==h||"boolean"==typeof h?"":(""+h).trim()}}catch(e){l_(u,u.return,e)}}}else if(6===t.tag){if(null===r){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){l_(u,u.return,e)}}}else if(18===t.tag){if(null===r){u=t;try{var f=u.stateNode;a?uR(f,!0):uR(u.stateNode,!1)}catch(e){l_(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}4&n&&null!==(n=e.updateQueue)&&null!==(r=n.retryQueue)&&(n.retryQueue=null,sm(e,r));case 30:case 21:}}function sw(e){var t=e.flags;if(2&t){try{for(var r,n=e.return;null!==n;){if(se(n)){r=n;break}n=n.return}if(null==r)throw Error(s(160));switch(r.tag){case 27:var a=r.stateNode,o=st(e);sr(e,o,a);break;case 5:var i=r.stateNode;32&r.flags&&(tl(i,""),r.flags&=-33);var l=st(e);sr(e,l,i);break;case 3:case 4:var u=r.stateNode.containerInfo,c=st(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(t,r):((r=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(t),null!=(n=n._reactRootContainer)||null!==r.onclick||(r.onclick=tm));else if(4!==a&&(27===a&&uE(t.type)&&(n=t.stateNode,r=null),null!==(t=t.child)))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,c,u);break;default:throw Error(s(161))}}catch(t){l_(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sk(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)su(e,t.alternate,t),t=t.sibling}function sx(e,t){var r=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==r&&(null!=e&&e.refCount++,null!=r&&n2(r))}function sS(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&n2(e))}function sC(e,t,r,n){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)sP(e,t,r,n),t=t.sibling}function sP(e,t,r,n){var a=t.flags;switch(t.tag){case 0:case 11:case 15:sC(e,t,r,n),2048&a&&i2(9,t);break;case 1:case 31:case 13:default:sC(e,t,r,n);break;case 3:sC(e,t,r,n),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&n2(e)));break;case 12:if(2048&a){sC(e,t,r,n),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,s=o.onPostCommit;"function"==typeof s&&s(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){l_(t,t.return,e)}}else sC(e,t,r,n);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?sC(e,t,r,n):sE(e,t):2&o._visibility?sC(e,t,r,n):(o._visibility|=2,function e(t,r,n,a,o){for(o=o&&0!=(10256&r.subtreeFlags),r=r.child;null!==r;){var i=r,s=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,n,a,o),i2(8,i);break;case 23:break;case 22:var l=i.stateNode;null!==i.memoizedState?2&l._visibility?e(t,i,n,a,o):sE(t,i):(l._visibility|=2,e(t,i,n,a,o)),o&&2048&s&&sx(i.alternate,i);break;case 24:e(t,i,n,a,o),o&&2048&s&&sS(i.alternate,i);break;default:e(t,i,n,a,o)}r=r.sibling}}(e,t,r,n,0!=(10256&t.subtreeFlags))),2048&a&&sx(i,t);break;case 24:sC(e,t,r,n),2048&a&&sS(t.alternate,t)}}function sE(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var r=t,n=r.flags;switch(r.tag){case 22:sE(e,r),2048&n&&sx(r.alternate,r);break;case 24:sE(e,r),2048&n&&sS(r.alternate,r);break;default:sE(e,r)}t=t.sibling}}var sT=8192;function sR(e,t,r){if(e.subtreeFlags&sT)for(e=e.child;null!==e;)sO(e,t,r),e=e.sibling}function sO(e,t,r){switch(e.tag){case 26:sR(e,t,r),e.flags&sT&&null!==e.memoizedState&&function(e,t,r,n){if("stylesheet"===r.type&&("string"!=typeof n.media||!1!==matchMedia(n.media).matches)&&0==(4&r.state.loading)){if(null===r.instance){var a=uq(n.href),o=t.querySelector(uK(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=u4.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=o,eG(o);return}o=t.ownerDocument||t,n=uG(n),(a=uD.get(a))&&uJ(n,a),eG(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),up(o,"link",n),r.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&0==(3&r.state.loading)&&(e.count++,r=u4.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}(r,sy,e.memoizedState,e.memoizedProps);break;case 5:default:sR(e,t,r);break;case 3:case 4:var n=sy;sy=u$(e.stateNode.containerInfo),sR(e,t,r),sy=n;break;case 22:null===e.memoizedState&&(null!==(n=e.alternate)&&null!==n.memoizedState?(n=sT,sT=0x1000000,sR(e,t,r),sT=n):sR(e,t,r))}}function sj(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sz(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var r=0;r<t.length;r++){var n=t[r];sl=n,s_(n,e)}sj(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)sN(e),e=e.sibling}function sN(e){switch(e.tag){case 0:case 11:case 15:sz(e),2048&e.flags&&i3(9,e,e.return);break;case 3:case 12:default:sz(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var r=t.deletions;if(0!=(16&t.flags)){if(null!==r)for(var n=0;n<r.length;n++){var a=r[n];sl=a,s_(a,t)}sj(t)}for(t=t.child;null!==t;){switch((r=t).tag){case 0:case 11:case 15:i3(8,r,r.return),e(r);break;case 22:2&(n=r.stateNode)._visibility&&(n._visibility&=-3,e(r));break;default:e(r)}t=t.sibling}}(e)):sz(e)}}function s_(e,t){for(;null!==sl;){var r=sl;switch(r.tag){case 0:case 11:case 15:i3(8,r,t);break;case 23:case 22:if(null!==r.memoizedState&&null!==r.memoizedState.cachePool){var n=r.memoizedState.cachePool.pool;null!=n&&n.refCount++}break;case 24:n2(r.memoizedState.cache)}if(null!==(n=r.child))n.return=r,sl=n;else for(r=e;null!==sl;){var a=(n=sl).sibling,o=n.return;if(!function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&eU(r),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(n),n===r){sl=null;break}if(null!==a){a.return=o,sl=a;break}sl=o}}}var sA={getCacheForType:function(e){var t=nG(n0),r=t.data.get(e);return void 0===r&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return nG(n0).controller.signal}},sL="function"==typeof WeakMap?WeakMap:Map,sI=0,sM=null,sF=null,sD=0,sB=0,s$=null,sV=!1,sU=!1,sH=!1,sW=0,sq=0,sK=0,sG=0,sX=0,sY=0,sQ=0,sZ=null,sJ=null,s0=!1,s1=0,s2=0,s3=1/0,s5=null,s9=null,s4=0,s6=null,s8=null,s7=0,le=0,lt=null,lr=null,ln=0,la=null;function lo(){return 0!=(2&sI)&&0!==sD?sD&-sD:null!==N.T?lZ():eN()}function li(){if(0===sY)if(0==(0x20000000&sD)||nT){var e=eb;0==(3932160&(eb<<=1))&&(eb=262144),sY=e}else sY=0x20000000;return null!==(e=aF.current)&&(e.flags|=32),sY}function ls(e,t,r){(e===sM&&(2===sB||9===sB)||null!==e.cancelPendingCommit)&&(lh(e,0),lc(e,sD,sY,!1)),eE(e,r),(0==(2&sI)||e!==sM)&&(e===sM&&(0==(2&sI)&&(sG|=r),4===sq&&lc(e,sD,sY,!1)),lW(e))}function ll(e,t,r){if(0!=(6&sI))throw Error(s(327));for(var n=!r&&0==(127&t)&&0==(t&e.expiredLanes)||eS(e,t),a=n?function(e,t){var r=sI;sI|=2;var n=lm(),a=lv();sM!==e||sD!==t?(s5=null,s3=en()+500,lh(e,t)):sU=eS(e,t);e:for(;;)try{if(0!==sB&&null!==sF){t=sF;var o=s$;t:switch(sB){case 1:sB=0,s$=null,lx(e,t,o,1);break;case 2:case 9:if(as(o)){sB=0,s$=null,lk(t);break}t=function(){2!==sB&&9!==sB||sM!==e||(sB=7),lW(e)},o.then(t,t);break e;case 3:sB=7;break e;case 4:sB=5;break e;case 7:as(o)?(sB=0,s$=null,lk(t)):(sB=0,s$=null,lx(e,t,o,7));break;case 5:var i=null;switch(sF.tag){case 26:i=sF.memoizedState;case 5:case 27:var l=sF;if(i?u5(i):l.stateNode.complete){sB=0,s$=null;var u=l.sibling;if(null!==u)sF=u;else{var c=l.return;null!==c?(sF=c,lS(c)):sF=null}break t}}sB=0,s$=null,lx(e,t,o,5);break;case 6:sB=0,s$=null,lx(e,t,o,6);break;case 8:lp(),sq=6;break e;default:throw Error(s(462))}}for(;null!==sF&&!et();)lw(sF);break}catch(t){lf(e,t)}return(nB=nD=null,N.H=n,N.A=a,sI=r,null!==sF)?0:(sM=null,sD=0,r2(),sq)}(e,t):lb(e,t,!0),o=n;;){if(0===a)sU&&!n&&lc(e,t,0,!1);else{if(r=e.current.alternate,o&&!function(e){for(var t=e;;){var r=t.tag;if((0===r||11===r||15===r)&&16384&t.flags&&null!==(r=t.updateQueue)&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],o=a.getSnapshot;a=a.value;try{if(!rP(o(),a))return!1}catch(e){return!1}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(r)){a=lb(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{a=sZ;var l=e.current.memoizedState.isDehydrated;if(l&&(lh(e,i).flags|=256),2!==(i=lb(e,i,!1))){if(sH&&!l){e.errorRecoveryDisabledLanes|=o,sG|=o,a=4;break e}o=sJ,sJ=a,null!==o&&(null===sJ?sJ=o:sJ.push.apply(sJ,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){lh(e,0),lc(e,t,0,!0);break}e:{switch(n=e,o=a){case 0:case 1:throw Error(s(345));case 4:if((4194048&t)!==t)break;case 6:lc(n,t,sY,!sV);break e;case 2:sJ=null;break;case 3:case 5:break;default:throw Error(s(329))}if((0x3c00000&t)===t&&10<(a=s1+300-en())){if(lc(n,t,sY,!sV),0!==ex(n,0,!0))break e;s7=t,n.timeoutHandle=uk(lu.bind(null,n,r,sJ,s5,s0,t,sY,sG,sQ,sV,o,"Throttled",-0,0),a);break e}lu(n,r,sJ,s5,s0,t,sY,sG,sQ,sV,o,null,-0,0)}}break}lW(e)}function lu(e,t,r,n,a,o,i,s,l,u,c,d,p,h){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||0x1002000==(0x1002000&d)){sO(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tm});var f,g,m=(0x3c00000&o)===o?s1-en():(4194048&o)===o?s2-en():0;if(null!==(f=d,g=m,f.stylesheets&&0===f.count&&u8(f,f.stylesheets),m=0<f.count||0<f.imgCount?function(e){var t=setTimeout(function(){if(f.stylesheets&&u8(f,f.stylesheets),f.unsuspend){var e=f.unsuspend;f.unsuspend=null,e()}},6e4+g);0<f.imgBytes&&0===u9&&(u9=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,r=performance.getEntriesByType("resource"),n=0;n<r.length;n++){var a=r[n],o=a.transferSize,i=a.initiatorType,s=a.duration;if(o&&s&&uh(i)){for(i=0,s=a.responseEnd,n+=1;n<r.length;n++){var l=r[n],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&uh(d)&&(i+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--n,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var r=setTimeout(function(){if(f.waitingForImages=!1,0===f.count&&(f.stylesheets&&u8(f,f.stylesheets),f.unsuspend)){var e=f.unsuspend;f.unsuspend=null,e()}},(f.imgBytes>u9?50:800)+g);return f.unsuspend=e,function(){f.unsuspend=null,clearTimeout(t),clearTimeout(r)}}:null)){s7=o,e.cancelPendingCommit=m(lP.bind(null,e,t,o,r,n,a,i,s,l,c,d,null,p,h)),lc(e,o,i,!u);return}}lP(e,t,o,r,n,a,i,s,l)}function lc(e,t,r,n){t&=~sX,t&=~sG,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var o=31-eg(a),i=1<<o;n[o]=-1,a&=~i}0!==r&&eT(e,r,t)}function ld(){return 0!=(6&sI)||(lq(0,!1),!1)}function lp(){if(null!==sF){if(0===sB)var e=sF.return;else e=sF,nB=nD=null,or(e),ah=null,af=0,e=sF;for(;null!==e;)i1(e.alternate,e),e=e.return;sF=null}}function lh(e,t){var r=e.timeoutHandle;-1!==r&&(e.timeoutHandle=-1,ux(r)),null!==(r=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,r()),s7=0,lp(),sM=e,sF=r=nr(e.current,null),sD=t,sB=0,s$=null,sV=!1,sU=eS(e,t),sH=!1,sQ=sY=sX=sG=sK=sq=0,sJ=sZ=null,s0=!1,0!=(8&t)&&(t|=32&t);var n=e.entangledLanes;if(0!==n)for(e=e.entanglements,n&=t;0<n;){var a=31-eg(n),o=1<<a;t|=e[a],n&=~o}return sW=t,r2(),r}function lf(e,t){aG=null,N.H=it,t===an||t===ao?(t=ad(),sB=3):t===aa?(t=ad(),sB=4):sB=t===iw?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,s$=t,null===sF&&(sq=1,ig(e,nc(t,e.current)))}function lg(){var e=aF.current;return null===e||((4194048&sD)===sD?null===aD:((0x3c00000&sD)===sD||0!=(0x20000000&sD))&&e===aD)}function lm(){var e=N.H;return N.H=it,null===e?it:e}function lv(){var e=N.A;return N.A=sA,e}function ly(){sq=4,sV||(4194048&sD)!==sD&&null!==aF.current||(sU=!0),0==(0x7ffffff&sK)&&0==(0x7ffffff&sG)||null===sM||lc(sM,sD,sY,!1)}function lb(e,t,r){var n=sI;sI|=2;var a=lm(),o=lv();(sM!==e||sD!==t)&&(s5=null,lh(e,t)),t=!1;var i=sq;e:for(;;)try{if(0!==sB&&null!==sF){var s=sF,l=s$;switch(sB){case 8:lp(),i=6;break e;case 3:case 2:case 9:case 6:null===aF.current&&(t=!0);var u=sB;if(sB=0,s$=null,lx(e,s,l,u),r&&sU){i=0;break e}break;default:u=sB,sB=0,s$=null,lx(e,s,l,u)}}(function(){for(;null!==sF;)lw(sF)})(),i=sq;break}catch(t){lf(e,t)}return t&&e.shellSuspendCounter++,nB=nD=null,sI=n,N.H=a,N.A=o,null===sF&&(sM=null,sD=0,r2()),i}function lw(e){var t=iG(e.alternate,e,sW);e.memoizedProps=e.pendingProps,null===t?lS(e):sF=t}function lk(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=i_(r,t,t.pendingProps,t.type,void 0,sD);break;case 11:t=i_(r,t,t.pendingProps,t.type.render,t.ref,sD);break;case 5:or(t);default:i1(r,t),t=iG(r,t=sF=nn(t,sW),sW)}e.memoizedProps=e.pendingProps,null===t?lS(e):sF=t}function lx(e,t,r,n){nB=nD=null,or(t),ah=null,af=0;var a=t.return;try{if(function(e,t,r,n,a){if(r.flags|=32768,null!==n&&"object"==typeof n&&"function"==typeof n.then){if(null!==(t=r.alternate)&&nW(t,r,a,!0),null!==(r=aF.current)){switch(r.tag){case 31:case 13:return null===aD?ly():null===r.alternate&&0===sq&&(sq=3),r.flags&=-257,r.flags|=65536,r.lanes=a,n===ai?r.flags|=16384:(null===(t=r.updateQueue)?r.updateQueue=new Set([n]):t.add(n),lA(e,n,a)),!1;case 22:return r.flags|=65536,n===ai?r.flags|=16384:(null===(t=r.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},r.updateQueue=t):null===(r=t.retryQueue)?t.retryQueue=new Set([n]):r.add(n),lA(e,n,a)),!1}throw Error(s(435,r.tag))}return lA(e,n,a),ly(),!1}if(nT)return null!==(t=aF.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==nj&&nM(nc(e=Error(s(422),{cause:n}),r))):(n!==nj&&nM(nc(t=Error(s(423),{cause:n}),r)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=nc(n,r),a=iv(e.stateNode,n,a),aT(e,a),4!==sq&&(sq=2)),!1;var o=Error(s(520),{cause:n});if(o=nc(o,r),null===sZ?sZ=[o]:sZ.push(o),4!==sq&&(sq=2),null===t)return!0;n=nc(n,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=a&-a,r.lanes|=e,e=iv(r.stateNode,n,e),aT(r,e),!1;case 1:if(t=r.type,o=r.stateNode,0==(128&r.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===s9||!s9.has(o))))return r.flags|=65536,a&=-a,r.lanes|=a,ib(a=iy(a),e,r,n),aT(r,a),!1}r=r.return}while(null!==r);return!1}(e,a,t,r,sD)){sq=1,ig(e,nc(r,e.current)),sF=null;return}}catch(t){if(null!==a)throw sF=a,t;sq=1,ig(e,nc(r,e.current)),sF=null;return}32768&t.flags?(nT||1===n?e=!0:sU||0!=(0x20000000&sD)?e=!1:(sV=e=!0,(2===n||9===n||3===n||6===n)&&null!==(n=aF.current)&&13===n.tag&&(n.flags|=16384)),lC(t,e)):lS(t)}function lS(e){var t=e;do{if(0!=(32768&t.flags))return void lC(t,sV);e=t.return;var r=function(e,t,r){var n=t.pendingProps;switch(nS(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return i0(t),null;case 3:return r=t.stateNode,n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),nV(n0),W(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(nA(t)?iX(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,nI())),i0(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(iX(t),null!==o?(i0(t),iQ(t,o)):(i0(t),iY(t,a,null,n,r))):o?o!==e.memoizedState?(iX(t),i0(t),iQ(t,o)):(i0(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==n&&iX(t),i0(t),iY(t,a,e,n,r)),null;case 27:if(K(t),r=V.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==n&&iX(t);else{if(!n){if(null===t.stateNode)throw Error(s(166));return i0(t),null}e=B.current,nA(t)?nN(t,e):(t.stateNode=e=uM(a,n,r),iX(t))}return i0(t),null;case 5:if(K(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==n&&iX(t);else{if(!n){if(null===t.stateNode)throw Error(s(166));return i0(t),null}if(o=B.current,nA(t))nN(t,o);else{var i=um(V.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof n.is?i.createElement("select",{is:n.is}):i.createElement("select"),n.multiple?o.multiple=!0:n.size&&(o.size=n.size);break;default:o="string"==typeof n.is?i.createElement(a,{is:n.is}):i.createElement(a)}}o[eL]=t,o[eI]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,up(o,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break;case"img":n=!0;break;default:n=!1}n&&iX(t)}}return i0(t),iY(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==n&&iX(t);else{if("string"!=typeof n&&null===t.stateNode)throw Error(s(166));if(e=V.current,nA(t)){if(e=t.stateNode,r=t.memoizedProps,n=null,null!==(a=nP))switch(a.tag){case 27:case 5:n=a.memoizedProps}e[eL]=t,(e=!!(e.nodeValue===r||null!==n&&!0===n.suppressHydrationWarning||uu(e.nodeValue,r)))||nz(t,!0)}else(e=um(e).createTextNode(n))[eL]=t,t.stateNode=e}return i0(t),null;case 31:if(r=t.memoizedState,null===e||null!==e.memoizedState){if(n=nA(t),null!==r){if(null===e){if(!n)throw Error(s(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(s(557));e[eL]=t}else nL(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i0(t),e=!1}else r=nI(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e){if(256&t.flags)return aH(t),t;return aH(t),null}if(0!=(128&t.flags))throw Error(s(558))}return i0(t),null;case 13:if(n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=nA(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(s(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(s(317));a[eL]=t}else nL(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i0(t),a=!1}else a=nI(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return aH(t),t;return aH(t),null}}if(aH(t),0!=(128&t.flags))return t.lanes=r,t;return r=null!==n,e=null!==e&&null!==e.memoizedState,r&&(n=t.child,a=null,null!==n.alternate&&null!==n.alternate.memoizedState&&null!==n.alternate.memoizedState.cachePool&&(a=n.alternate.memoizedState.cachePool.pool),o=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(o=n.memoizedState.cachePool.pool),o!==a&&(n.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),iZ(t,t.updateQueue),i0(t),null;case 4:return W(),null===e&&l7(t.stateNode.containerInfo),i0(t),null;case 10:return nV(t.type),i0(t),null;case 19:if(F(aW),null===(n=t.memoizedState))return i0(t),null;if(a=0!=(128&t.flags),null===(o=n.rendering))if(a)iJ(n,!1);else{if(0!==sq||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=aq(e))){for(t.flags|=128,iJ(n,!1),t.updateQueue=e=o.updateQueue,iZ(t,e),t.subtreeFlags=0,e=r,r=t.child;null!==r;)nn(r,e),r=r.sibling;return D(aW,1&aW.current|2),nT&&nw(t,n.treeForkCount),t.child}e=e.sibling}null!==n.tail&&en()>s3&&(t.flags|=128,a=!0,iJ(n,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=aq(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,iZ(t,e),iJ(n,!0),null===n.tail&&"hidden"===n.tailMode&&!o.alternate&&!nT)return i0(t),null}else 2*en()-n.renderingStartTime>s3&&0x20000000!==r&&(t.flags|=128,a=!0,iJ(n,!1),t.lanes=4194304);n.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=n.last)?e.sibling=o:t.child=o,n.last=o)}if(null!==n.tail)return e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=en(),e.sibling=null,r=aW.current,D(aW,a?1&r|2:1&r),nT&&nw(t,n.treeForkCount),e;return i0(t),null;case 22:case 23:return aH(t),aM(),n=null!==t.memoizedState,null!==e?null!==e.memoizedState!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?0!=(0x20000000&r)&&0==(128&t.flags)&&(i0(t),6&t.subtreeFlags&&(t.flags|=8192)):i0(t),null!==(r=t.updateQueue)&&iZ(t,r.retryQueue),r=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),n=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(n=t.memoizedState.cachePool.pool),n!==r&&(t.flags|=2048),null!==e&&F(n7),null;case 24:return r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),nV(n0),i0(t),null;case 25:case 30:return null}throw Error(s(156,t.tag))}(t.alternate,t,sW);if(null!==r){sF=r;return}if(null!==(t=t.sibling)){sF=t;return}sF=t=e}while(null!==t);0===sq&&(sq=5)}function lC(e,t){do{var r=function(e,t){switch(nS(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return nV(n0),W(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return K(t),null;case 31:if(null!==t.memoizedState){if(aH(t),null===t.alternate)throw Error(s(340));nL()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(aH(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));nL()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return F(aW),null;case 4:return W(),null;case 10:return nV(t.type),null;case 22:case 23:return aH(t),aM(),null!==e&&F(n7),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return nV(n0),null;default:return null}}(e.alternate,e);if(null!==r){r.flags&=32767,sF=r;return}if(null!==(r=e.return)&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&null!==(e=e.sibling)){sF=e;return}sF=e=r}while(null!==e);sq=6,sF=null}function lP(e,t,r,n,a,o,i,l,u){e.cancelPendingCommit=null;do lj();while(0!==s4);if(0!=(6&sI))throw Error(s(327));if(null!==t){if(t===e.current)throw Error(s(177));if(!function(e,t,r,n,a,o){var i=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(r=i&~r;0<r;){var c=31-eg(r),d=1<<c;s[c]=0,l[c]=-1;var p=u[c];if(null!==p)for(u[c]=null,c=0;c<p.length;c++){var h=p[c];null!==h&&(h.lane&=-0x20000001)}r&=~d}0!==n&&eT(e,n,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,r,o=t.lanes|t.childLanes|r1,i,l,u),e===sM&&(sF=sM=null,sD=0),s8=t,s6=e,s7=r,le=o,lt=a,lr=n,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,J(es,function(){return lz(),null})):(e.callbackNode=null,e.callbackPriority=0),n=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||n){n=N.T,N.T=null,a=_.p,_.p=2,i=sI,sI|=4;try{!function(e,t){if(e=e.containerInfo,uf=cs,rj(e=rO(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var a,o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,u=-1,c=-1,d=0,p=0,h=e,f=null;t:for(;;){for(;h!==r||0!==o&&3!==h.nodeType||(u=l+o),h!==i||0!==n&&3!==h.nodeType||(c=l+n),3===h.nodeType&&(l+=h.nodeValue.length),null!==(a=h.firstChild);)f=h,h=a;for(;;){if(h===e)break t;if(f===r&&++d===o&&(u=l),f===i&&++p===n&&(c=l),null!==(a=h.nextSibling))break;f=(h=f).parentNode}h=a}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(ug={focusedElem:e,selectionRange:r},cs=!1,sl=t;null!==sl;)if(e=(t=sl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,sl=e;else for(;null!==sl;){switch(i=(t=sl).alternate,e=t.flags,t.tag){case 0:if(0!=(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(r=0;r<e.length;r++)(o=e[r]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==i){e=void 0,r=t,o=i.memoizedProps,i=i.memoizedState,n=r.stateNode;try{var g=ic(r.type,o);e=n.getSnapshotBeforeUpdate(g,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(e){l_(r,r.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(r=(e=t.stateNode.containerInfo).nodeType))uO(e);else if(1===r)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uO(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(s(163))}if(null!==(e=t.sibling)){e.return=t.return,sl=e;break}sl=t.return}}(e,t,r)}finally{sI=i,_.p=a,N.T=n}}s4=1,lE(),lT(),lR()}}function lE(){if(1===s4){s4=0;var e=s6,t=s8,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=N.T,N.T=null;var n=_.p;_.p=2;var a=sI;sI|=4;try{sb(t,e);var o=ug,i=rO(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(i!==s&&s&&s.ownerDocument&&function e(t,r){return!!t&&!!r&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(s.ownerDocument.documentElement,s)){if(null!==l&&rj(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var h=p.getSelection(),f=s.textContent.length,g=Math.min(l.start,f),m=void 0===l.end?g:Math.min(l.end,f);!h.extend&&g>m&&(i=m,m=g,g=i);var v=rR(s,g),y=rR(s,m);if(v&&y&&(1!==h.rangeCount||h.anchorNode!==v.node||h.anchorOffset!==v.offset||h.focusNode!==y.node||h.focusOffset!==y.offset)){var b=d.createRange();b.setStart(v.node,v.offset),h.removeAllRanges(),g>m?(h.addRange(b),h.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),h.addRange(b))}}}}for(d=[],h=s;h=h.parentNode;)1===h.nodeType&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var w=d[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}cs=!!uf,ug=uf=null}finally{sI=a,_.p=n,N.T=r}}e.current=t,s4=2}}function lT(){if(2===s4){s4=0;var e=s6,t=s8,r=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||r){r=N.T,N.T=null;var n=_.p;_.p=2;var a=sI;sI|=4;try{su(e,t.alternate,t)}finally{sI=a,_.p=n,N.T=r}}s4=3}}function lR(){if(4===s4||3===s4){s4=0,er();var e=s6,t=s8,r=s7,n=lr;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?s4=5:(s4=0,s8=s6=null,lO(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(s9=null),ez(r),t=t.stateNode,eh&&"function"==typeof eh.onCommitFiberRoot)try{eh.onCommitFiberRoot(ep,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==n){t=N.T,a=_.p,_.p=2,N.T=null;try{for(var o=e.onRecoverableError,i=0;i<n.length;i++){var s=n[i];o(s.value,{componentStack:s.stack})}}finally{N.T=t,_.p=a}}0!=(3&s7)&&lj(),lW(e),a=e.pendingLanes,0!=(261930&r)&&0!=(42&a)?e===la?ln++:(ln=0,la=e):ln=0,lq(0,!1)}}function lO(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,n2(t))}function lj(){return lE(),lT(),lR(),lz()}function lz(){if(5!==s4)return!1;var e=s6,t=le;le=0;var r=ez(s7),n=N.T,a=_.p;try{_.p=32>r?32:r,N.T=null,r=lt,lt=null;var o=s6,i=s7;if(s4=0,s8=s6=null,s7=0,0!=(6&sI))throw Error(s(331));var l=sI;if(sI|=4,sN(o.current),sP(o,o.current,i,r),sI=l,lq(0,!1),eh&&"function"==typeof eh.onPostCommitFiberRoot)try{eh.onPostCommitFiberRoot(ep,o)}catch(e){}return!0}finally{_.p=a,N.T=n,lO(e,t)}}function lN(e,t,r){t=nc(r,t),t=iv(e.stateNode,t,2),null!==(e=aP(e,t,2))&&(eE(e,2),lW(e))}function l_(e,t,r){if(3===e.tag)lN(e,e,r);else for(;null!==t;){if(3===t.tag){lN(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===s9||!s9.has(n))){e=nc(r,e),null!==(n=aP(t,r=iy(2),2))&&(ib(r,n,t,e),eE(n,2),lW(n));break}}t=t.return}}function lA(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new sL;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(sH=!0,a.add(r),e=lL.bind(null,e,t,r),t.then(e,e))}function lL(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,sM===e&&(sD&r)===r&&(4===sq||3===sq&&(0x3c00000&sD)===sD&&300>en()-s1?0==(2&sI)&&lh(e,0):sX|=r,sQ===sD&&(sQ=0)),lW(e)}function lI(e,t){0===t&&(t=eC()),null!==(e=r9(e,t))&&(eE(e,t),lW(e))}function lM(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),lI(e,r)}function lF(e,t){var r=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==n&&n.delete(t),lI(e,r)}var lD=null,lB=null,l$=!1,lV=!1,lU=!1,lH=0;function lW(e){e!==lB&&null===e.next&&(null===lB?lD=lB=e:lB=lB.next=e),lV=!0,l$||(l$=!0,uC(function(){0!=(6&sI)?J(eo,lK):lG()}))}function lq(e,t){if(!lU&&lV){lU=!0;do for(var r=!1,n=lD;null!==n;){if(!t)if(0!==e){var a=n.pendingLanes;if(0===a)var o=0;else{var i=n.suspendedLanes,s=n.pingedLanes;o=0xc000095&(o=(1<<31-eg(42|e)+1)-1&(a&~(i&~s)))?0xc000095&o|1:o?2|o:0}0!==o&&(r=!0,lQ(n,o))}else o=sD,0==(3&(o=ex(n,n===sM?o:0,null!==n.cancelPendingCommit||-1!==n.timeoutHandle)))||eS(n,o)||(r=!0,lQ(n,o));n=n.next}while(r);lU=!1}}function lK(){lG()}function lG(){lV=l$=!1;var e,t=0;0===lH||((e=window.event)&&"popstate"===e.type?e===uw||(uw=e,0):(uw=null,1))||(t=lH);for(var r=en(),n=null,a=lD;null!==a;){var o=a.next,i=lX(a,r);0===i?(a.next=null,null===n?lD=o:n.next=o,null===o&&(lB=n)):(n=a,(0!==t||0!=(3&i))&&(lV=!0)),a=o}0!==s4&&5!==s4||lq(t,!1),0!==lH&&(lH=0)}function lX(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eg(o),s=1<<i,l=a[i];-1===l?(0==(s&r)||0!=(s&n))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(t=sM,r=sD,r=ex(e,e===t?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),n=e.callbackNode,0===r||e===t&&(2===sB||9===sB)||null!==e.cancelPendingCommit)return null!==n&&null!==n&&ee(n),e.callbackNode=null,e.callbackPriority=0;if(0==(3&r)||eS(e,r)){if((t=r&-r)===e.callbackPriority)return t;switch(null!==n&&ee(n),ez(r)){case 2:case 8:r=ei;break;case 32:default:r=es;break;case 0x10000000:r=eu}return r=J(r,n=lY.bind(null,e)),e.callbackPriority=t,e.callbackNode=r,t}return null!==n&&null!==n&&ee(n),e.callbackPriority=2,e.callbackNode=null,2}function lY(e,t){if(0!==s4&&5!==s4)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(lj()&&e.callbackNode!==r)return null;var n=sD;return 0===(n=ex(e,e===sM?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(ll(e,n,t),lX(e,en()),null!=e.callbackNode&&e.callbackNode===r?lY.bind(null,e):null)}function lQ(e,t){if(lj())return null;ll(e,t,!0)}function lZ(){if(0===lH){var e=n9;0===e&&(e=ey,0==(261888&(ey<<=1))&&(ey=256)),lH=e}return lH}function lJ(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tg(""+e)}function l0(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}for(var l1=0;l1<rY.length;l1++){var l2=rY[l1];rQ(l2.toLowerCase(),"on"+(l2[0].toUpperCase()+l2.slice(1)))}rQ(rV,"onAnimationEnd"),rQ(rU,"onAnimationIteration"),rQ(rH,"onAnimationStart"),rQ("dblclick","onDoubleClick"),rQ("focusin","onFocus"),rQ("focusout","onBlur"),rQ(rW,"onTransitionRun"),rQ(rq,"onTransitionStart"),rQ(rK,"onTransitionCancel"),rQ(rG,"onTransitionEnd"),eZ("onMouseEnter",["mouseout","mouseover"]),eZ("onMouseLeave",["mouseout","mouseover"]),eZ("onPointerEnter",["pointerout","pointerover"]),eZ("onPointerLeave",["pointerout","pointerover"]),eQ("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eQ("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eQ("onBeforeInput",["compositionend","keypress","textInput","paste"]),eQ("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eQ("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eQ("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var l3="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),l5=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(l3));function l9(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;o=s,a.currentTarget=u;try{o(a)}catch(e){rZ(e)}a.currentTarget=null,o=l}else for(i=0;i<n.length;i++){if(l=(s=n[i]).instance,u=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;o=s,a.currentTarget=u;try{o(a)}catch(e){rZ(e)}a.currentTarget=null,o=l}}}}function l4(e,t){var r=t[eF];void 0===r&&(r=t[eF]=new Set);var n=e+"__bubble";r.has(n)||(ue(t,e,2,!1),r.add(n))}function l6(e,t,r){var n=0;t&&(n|=4),ue(r,e,n,t)}var l8="_reactListening"+Math.random().toString(36).slice(2);function l7(e){if(!e[l8]){e[l8]=!0,eX.forEach(function(t){"selectionchange"!==t&&(l5.has(t)||l6(t,!1,e),l6(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[l8]||(t[l8]=!0,l6("selectionchange",!1,t))}}function ue(e,t,r,n){switch(cf(t)){case 2:var a=cl;break;case 8:a=cu;break;default:a=cc}r=a.bind(null,t,r,e),a=void 0,tE&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function ut(e,t,r,n,a){var o=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var s=n.stateNode.containerInfo;if(s===a)break;if(4===i)for(i=n.return;null!==i;){var u=i.tag;if((3===u||4===u)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==s;){if(null===(i=eH(s)))return;if(5===(u=i.tag)||6===u||26===u||27===u){n=o=i;continue e}s=s.parentNode}}n=n.return}tS(function(){var n=o,a=ty(r),i=[];e:{var s=rX.get(e);if(void 0!==s){var u=tV,c=e;switch(e){case"keypress":if(0===tN(r))break e;case"keydown":case"keyup":u=t3;break;case"focusin":c="focus",u=tG;break;case"focusout":c="blur",u=tG;break;case"beforeblur":case"afterblur":u=tG;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=tq;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=tK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=t9;break;case rV:case rU:case rH:u=tX;break;case rG:u=t4;break;case"scroll":case"scrollend":u=tH;break;case"wheel":u=t6;break;case"copy":case"cut":case"paste":u=tY;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=t5;break;case"toggle":case"beforetoggle":u=t8}var d=0!=(4&t),p=!d&&("scroll"===e||"scrollend"===e),h=d?null!==s?s+"Capture":null:s;d=[];for(var f,g=n;null!==g;){var m=g;if(f=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===f||null===h||null!=(m=tC(g,h))&&d.push(ur(g,m,f)),p)break;g=g.return}0<d.length&&(s=new u(s,c,null,r,a),i.push({event:s,listeners:d}))}}if(0==(7&t)){if((s="mouseover"===e||"pointerover"===e,u="mouseout"===e||"pointerout"===e,!(s&&r!==tv&&(c=r.relatedTarget||r.fromElement)&&(eH(c)||c[eM])))&&(u||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,u?(c=r.relatedTarget||r.toElement,u=n,null!==(c=c?eH(c):null)&&(p=l(c),d=c.tag,c!==p||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=n),u!==c)){if(d=tq,m="onMouseLeave",h="onMouseEnter",g="mouse",("pointerout"===e||"pointerover"===e)&&(d=t5,m="onPointerLeave",h="onPointerEnter",g="pointer"),p=null==u?s:eq(u),f=null==c?s:eq(c),(s=new d(m,g+"leave",u,r,a)).target=p,s.relatedTarget=f,m=null,eH(a)===n&&((d=new d(h,g+"enter",c,r,a)).target=f,d.relatedTarget=p,m=d),p=m,u&&c)t:{for(d=ua,h=u,g=c,f=0,m=h;m;m=d(m))f++;m=0;for(var v,y=g;y;y=d(y))m++;for(;0<f-m;)h=d(h),f--;for(;0<m-f;)g=d(g),m--;for(;f--;){if(h===g||null!==g&&h===g.alternate){d=h;break t}h=d(h),g=d(g)}d=null}else d=null;null!==u&&uo(i,s,u,d,!1),null!==c&&null!==p&&uo(i,p,c,d,!0)}e:{if("select"===(u=(s=n?eq(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var b=rg;else if(ru(s))if(rm)b=rC;else{b=rx;var w=rk}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)?b=rS:n&&tp(n.elementType)&&(b=rg);if(b&&(b=b(e,n))){rc(i,b,r,a);break e}w&&w(e,s,n),"focusout"===e&&n&&"number"===s.type&&null!=n.memoizedProps.value&&ta(s,"number",s.value)}switch(w=n?eq(n):window,e){case"focusin":(ru(w)||"true"===w.contentEditable)&&(rN=w,r_=n,rA=null);break;case"focusout":rA=r_=rN=null;break;case"mousedown":rL=!0;break;case"contextmenu":case"mouseup":case"dragend":rL=!1,rI(i,r,a);break;case"selectionchange":if(rz)break;case"keydown":case"keyup":rI(i,r,a)}if(re)t:{switch(e){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else rs?ro(e,r)&&(k="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(k="onCompositionStart");k&&(rn&&"ko"!==r.locale&&(rs||"onCompositionStart"!==k?"onCompositionEnd"===k&&rs&&(v=tz()):(tO="value"in(tR=a)?tR.value:tR.textContent,rs=!0)),0<(w=un(n,k)).length&&(k=new tQ(k,e,null,r,a),i.push({event:k,listeners:w}),v?k.data=v:null!==(v=ri(r))&&(k.data=v))),(v=rr?function(e,t){switch(e){case"compositionend":return ri(t);case"keypress":if(32!==t.which)return null;return ra=!0," ";case"textInput":return" "===(e=t.data)&&ra?null:e;default:return null}}(e,r):function(e,t){if(rs)return"compositionend"===e||!re&&ro(e,t)?(e=tz(),tj=tO=tR=null,rs=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rn&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(k=un(n,"onBeforeInput")).length&&(w=new tQ("onBeforeInput","beforeinput",null,r,a),i.push({event:w,listeners:k}),w.data=v);var x=e;if("submit"===x&&n&&n.stateNode===a){var S=lJ((a[eI]||null).action),C=r.submitter;C&&null!==(x=(x=C[eI]||null)?lJ(x.formAction):C.getAttribute("formAction"))&&(S=x,C=null);var P=new tV("action","action",null,r,a);i.push({event:P,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==lH){var e=C?l0(a,C):new FormData(a);oQ(n,{pending:!0,data:e,method:a.method,action:S},null,e)}}else"function"==typeof S&&(P.preventDefault(),oQ(n,{pending:!0,data:e=C?l0(a,C):new FormData(a),method:a.method,action:S},S,e))},currentTarget:a}]})}}l9(i,t)})}function ur(e,t,r){return{instance:e,listener:t,currentTarget:r}}function un(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tC(e,r))&&n.unshift(ur(e,a,o)),null!=(a=tC(e,t))&&n.push(ur(e,a,o))),3===e.tag)return n;e=e.return}return[]}function ua(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag);return e||null}function uo(e,t,r,n,a){for(var o=t._reactName,i=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===n)break;5!==s&&26!==s&&27!==s||null===u||(l=u,a?null!=(u=tC(r,o))&&i.unshift(ur(r,u,l)):a||null!=(u=tC(r,o))&&i.push(ur(r,u,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var ui=/\r\n?/g,us=/\u0000|\uFFFD/g;function ul(e){return("string"==typeof e?e:""+e).replace(ui,"\n").replace(us,"")}function uu(e,t){return t=ul(t),ul(e)===t}function uc(e,t,r,n,a,o){switch(r){case"children":"string"==typeof n?"body"===t||"textarea"===t&&""===n||tl(e,n):("number"==typeof n||"bigint"==typeof n)&&"body"!==t&&tl(e,""+n);break;case"className":e3(e,"class",n);break;case"tabIndex":e3(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":e3(e,r,n);break;case"style":td(e,n,o);break;case"data":if("object"!==t){e3(e,"data",n);break}case"src":case"href":if(""===n&&("a"!==t||"href"!==r)||null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n){e.removeAttribute(r);break}n=tg(""+n),e.setAttribute(r,n);break;case"action":case"formAction":if("function"==typeof n){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===r?("input"!==t&&uc(e,t,"name",a.name,a,null),uc(e,t,"formEncType",a.formEncType,a,null),uc(e,t,"formMethod",a.formMethod,a,null),uc(e,t,"formTarget",a.formTarget,a,null)):(uc(e,t,"encType",a.encType,a,null),uc(e,t,"method",a.method,a,null),uc(e,t,"target",a.target,a,null))),null==n||"symbol"==typeof n||"boolean"==typeof n){e.removeAttribute(r);break}n=tg(""+n),e.setAttribute(r,n);break;case"onClick":null!=n&&(e.onclick=tm);break;case"onScroll":null!=n&&l4("scroll",e);break;case"onScrollEnd":null!=n&&l4("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=n){if("object"!=typeof n||!("__html"in n))throw Error(s(61));if(null!=(r=n.__html)){if(null!=a.children)throw Error(s(60));e.innerHTML=r}}break;case"multiple":e.multiple=n&&"function"!=typeof n&&"symbol"!=typeof n;break;case"muted":e.muted=n&&"function"!=typeof n&&"symbol"!=typeof n;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==n||"function"==typeof n||"boolean"==typeof n||"symbol"==typeof n){e.removeAttribute("xlink:href");break}r=tg(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=n&&"function"!=typeof n&&"symbol"!=typeof n?e.setAttribute(r,""+n):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":!0===n?e.setAttribute(r,""):!1!==n&&null!=n&&"function"!=typeof n&&"symbol"!=typeof n?e.setAttribute(r,n):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":null!=n&&"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n?e.setAttribute(r,n):e.removeAttribute(r);break;case"rowSpan":case"start":null==n||"function"==typeof n||"symbol"==typeof n||isNaN(n)?e.removeAttribute(r):e.setAttribute(r,n);break;case"popover":l4("beforetoggle",e),l4("toggle",e),e2(e,"popover",n);break;case"xlinkActuate":e5(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":e5(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":e5(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":e5(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":e5(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":e5(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":e5(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":e5(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":e5(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":e2(e,"is",n);break;default:2<r.length&&("o"===r[0]||"O"===r[0])&&("n"===r[1]||"N"===r[1])||e2(e,r=th.get(r)||r,n)}}function ud(e,t,r,n,a,o){switch(r){case"style":td(e,n,o);break;case"dangerouslySetInnerHTML":if(null!=n){if("object"!=typeof n||!("__html"in n))throw Error(s(61));if(null!=(r=n.__html)){if(null!=a.children)throw Error(s(60));e.innerHTML=r}}break;case"children":"string"==typeof n?tl(e,n):("number"==typeof n||"bigint"==typeof n)&&tl(e,""+n);break;case"onScroll":null!=n&&l4("scroll",e);break;case"onScrollEnd":null!=n&&l4("scrollend",e);break;case"onClick":null!=n&&(e.onclick=tm);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eY.hasOwnProperty(r))e:{if("o"===r[0]&&"n"===r[1]&&(a=r.endsWith("Capture"),t=r.slice(2,a?r.length-7:void 0),"function"==typeof(o=null!=(o=e[eI]||null)?o[r]:null)&&e.removeEventListener(t,o,a),"function"==typeof n)){"function"!=typeof o&&null!==o&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,n,a);break e}r in e?e[r]=n:!0===n?e.setAttribute(r,""):e2(e,r,n)}}}function up(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":l4("error",e),l4("load",e);var n,a=!1,o=!1;for(n in r)if(r.hasOwnProperty(n)){var i=r[n];if(null!=i)switch(n){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:uc(e,t,n,i,r,null)}}o&&uc(e,t,"srcSet",r.srcSet,r,null),a&&uc(e,t,"src",r.src,r,null);return;case"input":l4("invalid",e);var l=n=i=o=null,u=null,c=null;for(a in r)if(r.hasOwnProperty(a)){var d=r[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":n=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(s(137,t));break;default:uc(e,t,a,d,r,null)}}tn(e,n,l,u,c,i,o,!1);return;case"select":for(o in l4("invalid",e),a=i=n=null,r)if(r.hasOwnProperty(o)&&null!=(l=r[o]))switch(o){case"value":n=l;break;case"defaultValue":i=l;break;case"multiple":a=l;default:uc(e,t,o,l,r,null)}t=n,r=i,e.multiple=!!a,null!=t?to(e,!!a,t,!1):null!=r&&to(e,!!a,r,!0);return;case"textarea":for(i in l4("invalid",e),n=o=a=null,r)if(r.hasOwnProperty(i)&&null!=(l=r[i]))switch(i){case"value":a=l;break;case"defaultValue":o=l;break;case"children":n=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(s(91));break;default:uc(e,t,i,l,r,null)}ts(e,a,o,n);return;case"option":for(u in r)r.hasOwnProperty(u)&&null!=(a=r[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:uc(e,t,u,a,r,null));return;case"dialog":l4("beforetoggle",e),l4("toggle",e),l4("cancel",e),l4("close",e);break;case"iframe":case"object":l4("load",e);break;case"video":case"audio":for(a=0;a<l3.length;a++)l4(l3[a],e);break;case"image":l4("error",e),l4("load",e);break;case"details":l4("toggle",e);break;case"embed":case"source":case"link":l4("error",e),l4("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in r)if(r.hasOwnProperty(c)&&null!=(a=r[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:uc(e,t,c,a,r,null)}return;default:if(tp(t)){for(d in r)r.hasOwnProperty(d)&&void 0!==(a=r[d])&&ud(e,t,d,a,r,void 0);return}}for(l in r)r.hasOwnProperty(l)&&null!=(a=r[l])&&uc(e,t,l,a,r,null)}function uh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var uf=null,ug=null;function um(e){return 9===e.nodeType?e:e.ownerDocument}function uv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uy(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ub(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var uw=null,uk="function"==typeof setTimeout?setTimeout:void 0,ux="function"==typeof clearTimeout?clearTimeout:void 0,uS="function"==typeof Promise?Promise:void 0,uC="function"==typeof queueMicrotask?queueMicrotask:void 0!==uS?function(e){return uS.resolve(null).then(e).catch(uP)}:uk;function uP(e){setTimeout(function(){throw e})}function uE(e){return"head"===e}function uT(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType)if("/$"===(r=a.data)||"/&"===r){if(0===n){e.removeChild(a),cN(t);return}n--}else if("$"===r||"$?"===r||"$~"===r||"$!"===r||"&"===r)n++;else if("html"===r)uF(e.ownerDocument.documentElement);else if("head"===r){uF(r=e.ownerDocument.head);for(var o=r.firstChild;o;){var i=o.nextSibling,s=o.nodeName;o[eV]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||r.removeChild(o),o=i}}else"body"===r&&uF(e.ownerDocument.body);r=a}while(r);cN(t)}function uR(e,t){var r=e;e=0;do{var n=r.nextSibling;if(1===r.nodeType?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",""===r.getAttribute("style")&&r.removeAttribute("style")):3===r.nodeType&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),n&&8===n.nodeType)if("/$"===(r=n.data))if(0===e)break;else e--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||e++;r=n}while(r)}function uO(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":uO(r),eU(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===r.rel.toLowerCase())continue}e.removeChild(r)}}function uj(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=u_(e.nextSibling)))return null;return e}function uz(e){return"$?"===e.data||"$~"===e.data}function uN(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function u_(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var uA=null;function uL(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r||"/&"===r){if(0===t)return u_(e.nextSibling);t--}else"$"!==r&&"$!"!==r&&"$?"!==r&&"$~"!==r&&"&"!==r||t++}e=e.nextSibling}return null}function uI(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r||"$~"===r||"&"===r){if(0===t)return e;t--}else"/$"!==r&&"/&"!==r||t++}e=e.previousSibling}return null}function uM(e,t,r){switch(t=um(r),e){case"html":if(!(e=t.documentElement))throw Error(s(452));return e;case"head":if(!(e=t.head))throw Error(s(453));return e;case"body":if(!(e=t.body))throw Error(s(454));return e;default:throw Error(s(451))}}function uF(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);eU(e)}var uD=new Map,uB=new Set;function u$(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var uV=_.d;_.d={f:function(){var e=uV.f(),t=ld();return e||t},r:function(e){var t=eW(e);null!==t&&5===t.tag&&"form"===t.type?oJ(t):uV.r(e)},D:function(e){uV.D(e),uH("dns-prefetch",e,null)},C:function(e,t){uV.C(e,t),uH("preconnect",e,t)},L:function(e,t,r){if(uV.L(e,t,r),uU&&e&&t){var n='link[rel="preload"][as="'+tt(t)+'"]';"image"===t&&r&&r.imageSrcSet?(n+='[imagesrcset="'+tt(r.imageSrcSet)+'"]',"string"==typeof r.imageSizes&&(n+='[imagesizes="'+tt(r.imageSizes)+'"]')):n+='[href="'+tt(e)+'"]';var a=n;switch(t){case"style":a=uq(e);break;case"script":a=uX(e)}uD.has(a)||(e=p({rel:"preload",href:"image"===t&&r&&r.imageSrcSet?void 0:e,as:t},r),uD.set(a,e),null!==uU.querySelector(n)||"style"===t&&uU.querySelector(uK(a))||"script"===t&&uU.querySelector(uY(a))||(up(t=uU.createElement("link"),"link",e),eG(t),uU.head.appendChild(t)))}},m:function(e,t){if(uV.m(e,t),uU&&e){var r=t&&"string"==typeof t.as?t.as:"script",n='link[rel="modulepreload"][as="'+tt(r)+'"][href="'+tt(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=uX(e)}if(!uD.has(a)&&(e=p({rel:"modulepreload",href:e},t),uD.set(a,e),null===uU.querySelector(n))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(uU.querySelector(uY(a)))return}up(r=uU.createElement("link"),"link",e),eG(r),uU.head.appendChild(r)}}},X:function(e,t){if(uV.X(e,t),uU&&e){var r=eK(uU).hoistableScripts,n=uX(e),a=r.get(n);a||((a=uU.querySelector(uY(n)))||(e=p({src:e,async:!0},t),(t=uD.get(n))&&u0(e,t),eG(a=uU.createElement("script")),up(a,"link",e),uU.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}},S:function(e,t,r){if(uV.S(e,t,r),uU&&e){var n=eK(uU).hoistableStyles,a=uq(e);t=t||"default";var o=n.get(a);if(!o){var i={loading:0,preload:null};if(o=uU.querySelector(uK(a)))i.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},r),(r=uD.get(a))&&uJ(e,r);var s=o=uU.createElement("link");eG(s),up(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){i.loading|=1}),s.addEventListener("error",function(){i.loading|=2}),i.loading|=4,uZ(o,t,uU)}o={type:"stylesheet",instance:o,count:1,state:i},n.set(a,o)}}},M:function(e,t){if(uV.M(e,t),uU&&e){var r=eK(uU).hoistableScripts,n=uX(e),a=r.get(n);a||((a=uU.querySelector(uY(n)))||(e=p({src:e,async:!0,type:"module"},t),(t=uD.get(n))&&u0(e,t),eG(a=uU.createElement("script")),up(a,"link",e),uU.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}};var uU="u"<typeof document?null:document;function uH(e,t,r){if(uU&&"string"==typeof t&&t){var n=tt(t);n='link[rel="'+e+'"][href="'+n+'"]',"string"==typeof r&&(n+='[crossorigin="'+r+'"]'),uB.has(n)||(uB.add(n),e={rel:e,crossOrigin:r,href:t},null===uU.querySelector(n)&&(up(t=uU.createElement("link"),"link",e),eG(t),uU.head.appendChild(t)))}}function uW(e,t,r,n){var a=(a=V.current)?u$(a):null;if(!a)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof r.precedence&&"string"==typeof r.href?(t=uq(r.href),(n=(r=eK(a).hoistableStyles).get(t))||(n={type:"style",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===r.rel&&"string"==typeof r.href&&"string"==typeof r.precedence){e=uq(r.href);var o,i,l,u,c=eK(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(uK(e)))&&!c._p&&(d.instance=c,d.state.loading=5),uD.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},uD.set(e,r),c||(o=a,i=e,l=r,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),up(i,"link",l),eG(i),o.head.appendChild(i))))),t&&null===n)throw Error(s(528,""));return d}if(t&&null!==n)throw Error(s(529,""));return null;case"script":return t=r.async,"string"==typeof(r=r.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=uX(r),(n=(r=eK(a).hoistableScripts).get(t))||(n={type:"script",instance:null,count:0,state:null},r.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function uq(e){return'href="'+tt(e)+'"'}function uK(e){return'link[rel="stylesheet"]['+e+"]"}function uG(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function uX(e){return'[src="'+tt(e)+'"]'}function uY(e){return"script[async]"+e}function uQ(e,t,r){if(t.count++,null===t.instance)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+tt(r.href)+'"]');if(n)return t.instance=n,eG(n),n;var a=p({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return eG(n=(e.ownerDocument||e).createElement("style")),up(n,"style",a),uZ(n,r.precedence,e),t.instance=n;case"stylesheet":a=uq(r.href);var o=e.querySelector(uK(a));if(o)return t.state.loading|=4,t.instance=o,eG(o),o;n=uG(r),(a=uD.get(a))&&uJ(n,a),eG(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),up(o,"link",n),t.state.loading|=4,uZ(o,r.precedence,e),t.instance=o;case"script":if(o=uX(r.src),a=e.querySelector(uY(o)))return t.instance=a,eG(a),a;return n=r,(a=uD.get(o))&&u0(n=p({},r),a),eG(a=(e=e.ownerDocument||e).createElement("script")),up(a,"link",n),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(s(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(n=t.instance,t.state.loading|=4,uZ(n,r.precedence,e)),t.instance}function uZ(e,t,r){for(var n=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,o=a,i=0;i<n.length;i++){var s=n[i];if(s.dataset.precedence===t)o=s;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===r.nodeType?r.head:r).insertBefore(e,t.firstChild)}function uJ(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function u0(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var u1=null;function u2(e,t,r){if(null===u1){var n=new Map,a=u1=new Map;a.set(r,n)}else(n=(a=u1).get(r))||(n=new Map,a.set(r,n));if(n.has(e))return n;for(n.set(e,null),r=r.getElementsByTagName(e),a=0;a<r.length;a++){var o=r[a];if(!(o[eV]||o[eL]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var s=n.get(i);s?s.push(o):n.set(i,[o])}}return n}function u3(e,t,r){(e=e.ownerDocument||e).head.insertBefore(r,"title"===t?e.querySelector("head > title"):null)}function u5(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var u9=0;function u4(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)u8(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var u6=null;function u8(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,u6=new Map,t.forEach(u7,e),u6=null,u4.call(e))}function u7(e,t){if(!(4&t.state.loading)){var r=u6.get(e);if(r)var n=r.get(null);else{r=new Map,u6.set(e,r);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(r.set(i.dataset.precedence,i),n=i)}n&&r.set(null,n)}i=(a=t.instance).getAttribute("data-precedence"),(o=r.get(i)||n)===n&&r.set(null,a),r.set(i,a),this.count++,n=u4.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var ce={$$typeof:w,Provider:null,Consumer:null,_currentValue:A,_currentValue2:A,_threadCount:0};function ct(e,t,r,n,a,o,i,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eP(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eP(0),this.hiddenUpdates=eP(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function cr(e,t,r,n,a,o){a=a?r8:r8,null===n.context?n.context=a:n.pendingContext=a,(n=aC(t)).payload={element:r},null!==(o=void 0===o?null:o)&&(n.callback=o),null!==(r=aP(e,n,t))&&(ls(r,e,t),aE(r,e,t))}function cn(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function ca(e,t){cn(e,t),(e=e.alternate)&&cn(e,t)}function co(e){if(13===e.tag||31===e.tag){var t=r9(e,0x4000000);null!==t&&ls(t,e,0x4000000),ca(e,0x4000000)}}function ci(e){if(13===e.tag||31===e.tag){var t=lo(),r=r9(e,t=ej(t));null!==r&&ls(r,e,t),ca(e,t)}}var cs=!0;function cl(e,t,r,n){var a=N.T;N.T=null;var o=_.p;try{_.p=2,cc(e,t,r,n)}finally{_.p=o,N.T=a}}function cu(e,t,r,n){var a=N.T;N.T=null;var o=_.p;try{_.p=8,cc(e,t,r,n)}finally{_.p=o,N.T=a}}function cc(e,t,r,n){if(cs){var a=cd(n);if(null===a)ut(e,t,n,cp,r),cS(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return cm=cC(cm,e,t,r,n,a),!0;case"dragenter":return cv=cC(cv,e,t,r,n,a),!0;case"mouseover":return cy=cC(cy,e,t,r,n,a),!0;case"pointerover":var o=a.pointerId;return cb.set(o,cC(cb.get(o)||null,e,t,r,n,a)),!0;case"gotpointercapture":return o=a.pointerId,cw.set(o,cC(cw.get(o)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(cS(e,n),4&t&&-1<cx.indexOf(e)){for(;null!==a;){var o=eW(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=ek(o.pendingLanes);if(0!==i){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-eg(i);s.entanglements[1]|=l,i&=~l}lW(o),0==(6&sI)&&(s3=en()+500,lq(0,!1))}}break;case 31:case 13:null!==(s=r9(o,2))&&ls(s,o,2),ld(),ca(o,2)}if(null===(o=cd(n))&&ut(e,t,n,cp,r),o===a)break;a=o}null!==a&&n.stopPropagation()}else ut(e,t,n,null,r)}}function cd(e){return ch(e=ty(e))}var cp=null;function ch(e){if(cp=null,null!==(e=eH(e))){var t=l(e);if(null===t)e=null;else{var r=t.tag;if(13===r){if(null!==(e=u(t)))return e;e=null}else if(31===r){if(null!==(e=c(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cp=e,null}function cf(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ea()){case eo:return 2;case ei:return 8;case es:case el:return 32;case eu:return 0x10000000;default:return 32}default:return 32}}var cg=!1,cm=null,cv=null,cy=null,cb=new Map,cw=new Map,ck=[],cx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function cS(e,t){switch(e){case"focusin":case"focusout":cm=null;break;case"dragenter":case"dragleave":cv=null;break;case"mouseover":case"mouseout":cy=null;break;case"pointerover":case"pointerout":cb.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cw.delete(t.pointerId)}}function cC(e,t,r,n,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=eW(t))&&co(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function cP(e){var t=eH(e.target);if(null!==t){var r=l(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=u(r))){e.blockedOn=t,e_(e.priority,function(){ci(r)});return}}else if(31===t){if(null!==(t=c(r))){e.blockedOn=t,e_(e.priority,function(){ci(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cE(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=cd(e.nativeEvent);if(null!==r)return null!==(t=eW(r))&&co(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);tv=n,r.target.dispatchEvent(n),tv=null,t.shift()}return!0}function cT(e,t,r){cE(e)&&r.delete(t)}function cR(){cg=!1,null!==cm&&cE(cm)&&(cm=null),null!==cv&&cE(cv)&&(cv=null),null!==cy&&cE(cy)&&(cy=null),cb.forEach(cT),cw.forEach(cT)}function cO(e,t){e.blockedOn===t&&(e.blockedOn=null,cg||(cg=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,cR)))}var cj=null;function cz(e){cj!==e&&(cj=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){cj===e&&(cj=null);for(var t=0;t<e.length;t+=3){var r=e[t],n=e[t+1],a=e[t+2];if("function"!=typeof n)if(null===ch(n||r))continue;else break;var o=eW(r);null!==o&&(e.splice(t,3),t-=3,oQ(o,{pending:!0,data:a,method:r.method,action:n},n,a))}}))}function cN(e){function t(t){return cO(t,e)}null!==cm&&cO(cm,e),null!==cv&&cO(cv,e),null!==cy&&cO(cy,e),cb.forEach(t),cw.forEach(t);for(var r=0;r<ck.length;r++){var n=ck[r];n.blockedOn===e&&(n.blockedOn=null)}for(;0<ck.length&&null===(r=ck[0]).blockedOn;)cP(r),null===r.blockedOn&&ck.shift();if(null!=(r=(e.ownerDocument||e).$$reactFormReplay))for(n=0;n<r.length;n+=3){var a=r[n],o=r[n+1],i=a[eI]||null;if("function"==typeof o)i||cz(r);else if(i){var s=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eI]||null)s=i.formAction;else if(null!==ch(a))continue}else s=i.action;"function"==typeof s?r[n+1]=s:(r.splice(n,3),n-=3),cz(r)}}}function c_(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),n||setTimeout(r,20)}function r(){if(!n&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function cA(e){this._internalRoot=e}function cL(e){this._internalRoot=e}cL.prototype.render=cA.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));cr(t.current,lo(),e,t,null,null)},cL.prototype.unmount=cA.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cr(e.current,2,null,e,null,null),ld(),t[eM]=null}},cL.prototype.unstable_scheduleHydration=function(e){if(e){var t=eN();e={blockedOn:null,target:e,priority:t};for(var r=0;r<ck.length&&0!==t&&t<ck[r].priority;r++);ck.splice(r,0,e),0===r&&cP(e)}};var cI=o.version;if("19.2.3"!==cI)throw Error(s(527,cI,"19.2.3"));if(_.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw Error(s(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=l(e)))throw Error(s(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(n=a.return)){r=n;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===r)return d(a),e;if(o===n)return d(a),t;o=o.sibling}throw Error(s(188))}if(r.return!==n.return)r=a,n=o;else{for(var i=!1,u=a.child;u;){if(u===r){i=!0,r=a,n=o;break}if(u===n){i=!0,n=a,r=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===r){i=!0,r=o,n=a;break}if(u===n){i=!0,n=o,r=a;break}u=u.sibling}if(!i)throw Error(s(189))}}if(r.alternate!==n)throw Error(s(190))}if(3!==r.tag)throw Error(s(188));return r.stateNode.current===r?e:t}(t))?function e(t){var r=t.tag;if(5===r||26===r||27===r||6===r)return t;for(t=t.child;null!==t;){if(null!==(r=e(t)))return r;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var cM=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cM.isDisabled&&cM.supportsFiber)try{ep=cM.inject({bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.3"}),eh=cM}catch(e){}}t.createRoot=function(e,t){if(!(r=e)||1!==r.nodeType&&9!==r.nodeType&&11!==r.nodeType)throw Error(s(299));var r,n,a,o,i,l,u,c,d=!1,p="",h=id,f=ip,g=ih;return null!=t&&(!0===t.unstable_strictMode&&(d=!0),void 0!==t.identifierPrefix&&(p=t.identifierPrefix),void 0!==t.onUncaughtError&&(h=t.onUncaughtError),void 0!==t.onCaughtError&&(f=t.onCaughtError),void 0!==t.onRecoverableError&&(g=t.onRecoverableError)),n=e,a=1,o=!1,i=null,l=0,u=d,c=null,n=new ct(n,a,o,p,h,f,g,c_,null),a=1,!0===u&&(a|=24),u=ne(3,null,null,a),n.current=u,u.stateNode=n,a=n1(),a.refCount++,n.pooledCache=a,a.refCount++,u.memoizedState={element:null,isDehydrated:o,cache:a},ax(u),t=n,e[eM]=t.current,l7(e),new cA(t)}},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),a=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),b=Symbol.for("react.activity"),w=Symbol.for("react.legacy_hidden"),k=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),S=Symbol.iterator;function C(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=S&&e[S]||e["@@iterator"])?e:null}var P=Array.isArray;function E(e,t){var r=3&e.length,n=e.length-r,a=t;for(t=0;t<n;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,a^=o=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)|0,a=(65535&(a=5*(65535&(a=a<<13|a>>>19))+((5*(a>>>16)&65535)<<16)|0))+27492+(((a>>>16)+58964&65535)<<16)}switch(o=0,r){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:o^=255&e.charCodeAt(t),a^=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)}return a^=e.length,a^=a>>>16,a=0x85ebca6b*(65535&a)+((0x85ebca6b*(a>>>16)&65535)<<16)|0,a^=a>>>13,((a=0xc2b2ae35*(65535&a)+((0xc2b2ae35*(a>>>16)&65535)<<16)|0)^a>>>16)>>>0}var T=Object.assign,R=Object.prototype.hasOwnProperty,O=RegExp("^[: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]*$"),j={},z={};function N(e){return!!R.call(z,e)||!R.call(j,e)&&(O.test(e)?z[e]=!0:(j[e]=!0,!1))}var _=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),A=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),L=/["'&<>]/;function I(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=L.exec(e);if(t){var r,n="",a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.slice(a,r)),a=r+1,n+=t}e=a!==r?n+e.slice(a,r):n}return e}var M=/([A-Z])/g,F=/^ms-/,D=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function B(e){return D.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var $=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},H=V.d;V.d={f:H.f,r:H.r,D:function(e){var t=tY||null;if(t){var r,n,a=t.resumableState,o=t.renderState;"string"==typeof e&&e&&(a.dnsResources.hasOwnProperty(e)||(a.dnsResources[e]=null,(n=(a=o.headers)&&0<a.remainingCapacity)&&(r="<"+(""+e).replace(eq,eK)+">; rel=dns-prefetch",n=0<=(a.remainingCapacity-=r.length+2)),n?(o.resets.dns[e]=null,a.preconnects&&(a.preconnects+=", "),a.preconnects+=r):(ep(r=[],{href:e,rel:"dns-prefetch"}),o.preconnects.add(r))),rA(t))}else H.D(e)},C:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if("string"==typeof e&&e){var o,i,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";n.connectResources[s].hasOwnProperty(e)||(n.connectResources[s][e]=null,(i=(n=a.headers)&&0<n.remainingCapacity)&&(i="<"+(""+e).replace(eq,eK)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(eG,eX)+'"'),o=i,i=0<=(n.remainingCapacity-=o.length+2)),i?(a.resets.connect[s][e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(ep(s=[],{rel:"preconnect",href:e,crossOrigin:t}),a.preconnects.add(s))),rA(r)}}else H.C(e,t)},L:function(e,t,r){var n=tY||null;if(n){var a=n.resumableState,o=n.renderState;if(t&&e){switch(t){case"image":if(r)var i,s=r.imageSrcSet,l=r.imageSizes,u=r.fetchPriority;var c=s?s+"\n"+(l||""):e;if(a.imageResources.hasOwnProperty(c))return;a.imageResources[c]=W,(a=o.headers)&&0<a.remainingCapacity&&"string"!=typeof s&&"high"===u&&(i=eW(e,t,r),0<=(a.remainingCapacity-=i.length+2))?(o.resets.image[c]=W,a.highImagePreloads&&(a.highImagePreloads+=", "),a.highImagePreloads+=i):(ep(a=[],T({rel:"preload",href:s?void 0:e,as:t},r)),"high"===u?o.highImagePreloads.add(a):(o.bulkPreloads.add(a),o.preloads.images.set(c,a)));break;case"style":if(a.styleResources.hasOwnProperty(e))return;ep(s=[],T({rel:"preload",href:e,as:t},r)),a.styleResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:W,o.preloads.stylesheets.set(e,s),o.bulkPreloads.add(s);break;case"script":if(a.scriptResources.hasOwnProperty(e))return;s=[],o.preloads.scripts.set(e,s),o.bulkPreloads.add(s),ep(s,T({rel:"preload",href:e,as:t},r)),a.scriptResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:W;break;default:if(a.unknownResources.hasOwnProperty(t)){if((s=a.unknownResources[t]).hasOwnProperty(e))return}else s={},a.unknownResources[t]=s;s[e]=W,(a=o.headers)&&0<a.remainingCapacity&&"font"===t&&(c=eW(e,t,r),0<=(a.remainingCapacity-=c.length+2))?(o.resets.font[e]=W,a.fontPreloads&&(a.fontPreloads+=", "),a.fontPreloads+=c):(ep(a=[],e=T({rel:"preload",href:e,as:t},r)),"font"===t)?o.fontPreloads.add(a):o.bulkPreloads.add(a)}rA(n)}}else H.L(e,t,r)},m:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(n.moduleScriptResources.hasOwnProperty(e))return;o=[],n.moduleScriptResources[e]=t&&("string"==typeof t.crossOrigin||"string"==typeof t.integrity)?[t.crossOrigin,t.integrity]:W,a.preloads.moduleScripts.set(e,o)}else{if(n.moduleUnknownResources.hasOwnProperty(o)){var i=n.unknownResources[o];if(i.hasOwnProperty(e))return}else i={},n.moduleUnknownResources[o]=i;o=[],i[e]=W}ep(o,T({rel:"modulepreload",href:e},t)),a.bulkPreloads.add(o),rA(r)}}else H.m(e,t)},X:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.scriptResources.hasOwnProperty(e)?n.scriptResources[e]:void 0;null!==o&&(n.scriptResources[e]=null,t=T({src:e,async:!0},t),o&&(2===o.length&&eH(t,o),e=a.preloads.scripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),ev(e,t),rA(r))}}else H.X(e,t)},S:function(e,t,r){var n=tY||null;if(n){var a=n.resumableState,o=n.renderState;if(e){t=t||"default";var i=o.styles.get(t),s=a.styleResources.hasOwnProperty(e)?a.styleResources[e]:void 0;null!==s&&(a.styleResources[e]=null,i||(i={precedence:I(t),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,i)),t={state:0,props:T({rel:"stylesheet",href:e,"data-precedence":t},r)},s&&(2===s.length&&eH(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),i.sheets.set(e,t),rA(n))}}else H.S(e,t,r)},M:function(e,t){var r=tY||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.moduleScriptResources.hasOwnProperty(e)?n.moduleScriptResources[e]:void 0;null!==o&&(n.moduleScriptResources[e]=null,t=T({src:e,type:"module",async:!0},t),o&&(2===o.length&&eH(t,o),e=a.preloads.moduleScripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),ev(e,t),rA(r))}}else H.M(e,t)}};var W=[],q=null,K=/(<\/|<)(s)(cript)/gi;function G(e,t,r,n){return""+t+("s"===r?"\\u0073":"\\u0053")+n}function X(e,t,r,n){return{insertionMode:e,selectedValue:t,tagScope:r,viewTransition:n}}function Y(e,t,r){var n=-25&e.tagScope;switch(t){case"noscript":return X(2,null,1|n,null);case"select":return X(2,null!=r.value?r.value:r.defaultValue,n,null);case"svg":return X(4,null,n,null);case"picture":return X(2,null,2|n,null);case"math":return X(5,null,n,null);case"foreignObject":return X(2,null,n,null);case"table":return X(6,null,n,null);case"thead":case"tbody":case"tfoot":return X(7,null,n,null);case"colgroup":return X(9,null,n,null);case"tr":return X(8,null,n,null);case"head":if(2>e.insertionMode)return X(3,null,n,null);break;case"html":if(0===e.insertionMode)return X(1,null,n,null)}return 6<=e.insertionMode||2>e.insertionMode?X(2,null,n,null):e.tagScope!==n?X(e.insertionMode,e.selectedValue,n,null):e}function Q(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Z(e,t){return 32&t.tagScope&&(e.instructions|=128),X(t.insertionMode,t.selectedValue,12|t.tagScope,Q(t.viewTransition))}function J(e,t){e=Q(t.viewTransition);var r=16|t.tagScope;return null!==e&&"none"!==e.share&&(r|=64),X(t.insertionMode,t.selectedValue,r,e)}var ee=new Map;function et(e,t){if("object"!=typeof t)throw Error(o(62));var r,n=!0;for(r in t)if(R.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=I(r);a=I((""+a).trim())}else void 0===(i=ee.get(r))&&(i=I(r.replace(M,"-$1").toLowerCase().replace(F,"-ms-")),ee.set(r,i)),a="number"==typeof a?0===a||_.has(r)?""+a:a+"px":I((""+a).trim());n?(n=!1,e.push(' style="',i,":",a)):e.push(";",i,":",a)}}n||e.push('"')}function er(e,t,r){r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'=""')}function en(e,t,r){"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r&&e.push(" ",t,'="',I(r),'"')}var ea=I("javascript:throw new Error('React form unexpectedly submitted.')");function eo(e,t){this.push('<input type="hidden"'),ei(e),en(this,"name",t),en(this,"value",e),this.push("/>")}function ei(e){if("string"!=typeof e)throw Error(o(480))}function es(e,t){if("function"==typeof t.$$FORM_ACTION){var r=e.nextFormID++;e=e.idPrefix+r;try{var n=t.$$FORM_ACTION(e);if(n){var a=n.data;null!=a&&a.forEach(ei)}return n}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function el(e,t,r,n,a,o,i,s){var l=null;if("function"==typeof n){var u=es(t,n);null!==u?(s=u.name,n=u.action||"",a=u.encType,o=u.method,i=u.target,l=u.data):(e.push(" ","formAction",'="',ea,'"'),i=o=a=n=s=null,ed(t,r))}return null!=s&&eu(e,"name",s),null!=n&&eu(e,"formAction",n),null!=a&&eu(e,"formEncType",a),null!=o&&eu(e,"formMethod",o),null!=i&&eu(e,"formTarget",i),l}function eu(e,t,r){switch(t){case"className":en(e,"class",r);break;case"tabIndex":en(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":en(e,t,r);break;case"style":et(e,r);break;case"src":case"href":if(""===r)break;case"action":case"formAction":if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=B(""+r),e.push(" ",t,'="',I(r),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":er(e,t.toLowerCase(),r);break;case"xlinkHref":if("function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=B(""+r),e.push(" ","xlink:href",'="',I(r),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'="',I(r),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'=""');break;case"capture":case"download":!0===r?e.push(" ",t,'=""'):!1!==r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(" ",t,'="',I(r),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r&&e.push(" ",t,'="',I(r),'"');break;case"rowSpan":case"start":"function"==typeof r||"symbol"==typeof r||isNaN(r)||e.push(" ",t,'="',I(r),'"');break;case"xlinkActuate":en(e,"xlink:actuate",r);break;case"xlinkArcrole":en(e,"xlink:arcrole",r);break;case"xlinkRole":en(e,"xlink:role",r);break;case"xlinkShow":en(e,"xlink:show",r);break;case"xlinkTitle":en(e,"xlink:title",r);break;case"xlinkType":en(e,"xlink:type",r);break;case"xmlBase":en(e,"xml:base",r);break;case"xmlLang":en(e,"xml:lang",r);break;case"xmlSpace":en(e,"xml:space",r);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&N(t=A.get(t)||t)){switch(typeof r){case"function":case"symbol":return;case"boolean":var n=t.toLowerCase().slice(0,5);if("data-"!==n&&"aria-"!==n)return}e.push(" ",t,'="',I(r),'"')}}}function ec(e,t,r){if(null!=t){if(null!=r)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function ed(e,t){if(0==(16&e.instructions)){e.instructions|=16;var r=t.preamble,n=t.bootstrapChunks;(r.htmlChunks||r.headChunks)&&0===n.length?(n.push(t.startInlineScript),eV(n,e),n.push(">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")):n.unshift(t.startInlineScript,">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")}}function ep(e,t){for(var r in e.push(ex("link")),t)if(R.call(t,r)){var n=t[r];if(null!=n)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:eu(e,r,n)}}return e.push("/>"),null}var eh=/(<\/|<)(s)(tyle)/gi;function ef(e,t,r,n){return""+t+("s"===r?"\\73 ":"\\53 ")+n}function eg(e,t,r){for(var n in e.push(ex(r)),t)if(R.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,r));default:eu(e,n,a)}}return e.push("/>"),null}function em(e,t){e.push(ex("title"));var r,n=null,a=null;for(r in t)if(R.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,r,o)}}return e.push(">"),"function"!=typeof(t=Array.isArray(n)?2>n.length?n[0]:null:n)&&"symbol"!=typeof t&&null!=t&&e.push(I(""+t)),ec(e,a,n),e.push(eC("title")),null}function ev(e,t){e.push(ex("script"));var r,n=null,a=null;for(r in t)if(R.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,r,o)}}return e.push(">"),ec(e,a,n),"string"==typeof n&&e.push((""+n).replace(K,G)),e.push(eC("script")),null}function ey(e,t,r){e.push(ex(r));var n,a=r=null;for(n in t)if(R.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,n,o)}}return e.push(">"),ec(e,a,r),r}function eb(e,t,r){e.push(ex(r));var n,a=r=null;for(n in t)if(R.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eu(e,n,o)}}return e.push(">"),ec(e,a,r),"string"==typeof r?(e.push(I(r)),null):r}var ew=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ek=new Map;function ex(e){var t=ek.get(e);if(void 0===t){if(!ew.test(e))throw Error(o(65,e));t="<"+e,ek.set(e,t)}return t}var eS=new Map;function eC(e){var t=eS.get(e);return void 0===t&&(t="</"+e+">",eS.set(e,t)),t}function eP(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function eE(e,t){t=t.bootstrapChunks;for(var r=0;r<t.length-1;r++)e.push(t[r]);return!(r<t.length)||(r=t[r],t.length=0,e.push(r))}function eT(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(o(395));return e.push(t.boundaryPrefix),t=r.toString(16),e.push(t),e.push('"></template>')}var eR=/[<\u2028\u2029]/g,eO=/[&><\u2028\u2029]/g;function ej(e){return JSON.stringify(e).replace(eO,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var ez=!1,eN=!0;function e_(e){var t=e.rules,r=e.hrefs,n=0;if(r.length){for(this.push(q.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');n<r.length-1;n++)this.push(r[n]),this.push(" ");for(this.push(r[n]),this.push('">'),n=0;n<t.length;n++)this.push(t[n]);eN=this.push("</style>"),ez=!0,t.length=0,r.length=0}}function eA(e){return 2!==e.state&&(ez=!0)}function eL(e,t,r){return ez=!1,eN=!0,q=r,t.styles.forEach(e_,e),q=null,t.stylesheets.forEach(eA),ez&&(r.stylesToHoist=!0),eN}function eI(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var eM=[];function eF(e){ep(eM,e.props);for(var t=0;t<eM.length;t++)this.push(eM[t]);eM.length=0,e.state=2}function eD(e){var t=0<e.sheets.size;e.sheets.forEach(eF,this),e.sheets.clear();var r=e.rules,n=e.hrefs;if(!t||n.length){if(this.push(q.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,n.length){for(this.push('" data-href="');e<n.length-1;e++)this.push(n[e]),this.push(" ");this.push(n[e])}for(this.push('">'),e=0;e<r.length;e++)this.push(r[e]);this.push("</style>"),r.length=0,n.length=0}}function eB(e){if(0===e.state){e.state=1;var t=e.props;for(ep(eM,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<eM.length;e++)this.push(eM[e]);eM.length=0}}function e$(e){e.sheets.forEach(eB,this),e.sheets.clear()}function eV(e,t){0==(32&t.instructions)&&(t.instructions|=32,e.push(' id="',I("_"+t.idPrefix+"R_"),'"'))}function eU(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function eH(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function eW(e,t,r){for(var n in t="<"+(e=(""+e).replace(eq,eK))+'>; rel=preload; as="'+(t=(""+t).replace(eG,eX))+'"',r)R.call(r,n)&&"string"==typeof(e=r[n])&&(t+="; "+n.toLowerCase()+'="'+(""+e).replace(eG,eX)+'"');return t}var eq=/[<>\r\n]/g;function eK(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var eG=/["';,\r\n]/g;function eX(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function eY(e){this.styles.add(e)}function eQ(e){this.stylesheets.add(e)}function eZ(e,t){t.styles.forEach(eY,e),t.stylesheets.forEach(eQ,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function eJ(e,t,r,n){return r.generateStaticMarkup?(e.push(I(t)),!1):(""===t?e=n:(n&&e.push("\x3c!-- --\x3e"),e.push(I(t)),e=!0),e)}function e0(e,t,r,n){t.generateStaticMarkup||r&&n&&e.push("\x3c!-- --\x3e")}var e1=Function.prototype.bind,e2=Symbol.for("react.client.reference");function e3(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===e2?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case p:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case h:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case m:return null!==(t=e.displayName||null)?t:e3(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return e3(e(t))}catch(e){}}return null}var e5={},e9=null;function e4(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(o(401))}else{if(null===r)throw Error(o(401));e4(e,r)}t.context._currentValue2=t.value}}function e6(e){var t=e9;t!==e&&(null===t?function e(t){var r=t.parent;null!==r&&e(r),t.context._currentValue2=t.value}(e):null===e?function e(t){t.context._currentValue2=t.parentValue,null!==(t=t.parent)&&e(t)}(t):t.depth===e.depth?e4(t,e):t.depth>e.depth?function e(t,r){if(t.context._currentValue2=t.parentValue,null===(t=t.parent))throw Error(o(402));t.depth===r.depth?e4(t,r):e(t,r)}(t,e):function e(t,r){var n=r.parent;if(null===n)throw Error(o(402));t.depth===n.depth?e4(t,n):e(t,n),r.context._currentValue2=r.value}(t,e),e9=e)}var e8={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},e7={id:1,overflow:""};function te(e,t,r){var n=e.id;e=e.overflow;var a=32-tt(n)-1;n&=~(1<<a),r+=1;var o=32-tt(t)+a;if(30<o){var i=a-a%5;return o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,{id:1<<32-tt(t)+a|r<<a|n,overflow:o+e}}return{id:1<<o|r<<a|n,overflow:e}}var tt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(tr(e)/tn|0)|0},tr=Math.log,tn=Math.LN2;function ta(){}var to=Error(o(460)),ti=null;function ts(){if(null===ti)throw Error(o(459));var e=ti;return ti=null,e}var tl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},tu=null,tc=null,td=null,tp=null,th=null,tf=null,tg=!1,tm=!1,tv=0,ty=0,tb=-1,tw=0,tk=null,tx=null,tS=0;function tC(){if(null===tu)throw Error(o(321));return tu}function tP(){if(0<tS)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function tE(){return null===tf?null===th?(tg=!1,th=tf=tP()):(tg=!0,tf=th):null===tf.next?(tg=!1,tf=tf.next=tP()):(tg=!0,tf=tf.next),tf}function tT(){var e=tk;return tk=null,e}function tR(){tp=td=tc=tu=null,tm=!1,th=null,tS=0,tf=tx=null}function tO(e,t){return"function"==typeof t?t(e):t}function tj(e,t,r){if(tu=tC(),tf=tE(),tg){var n=tf.queue;if(t=n.dispatch,null!==tx&&void 0!==(r=tx.get(n))){tx.delete(n),n=tf.memoizedState;do n=e(n,r.action),r=r.next;while(null!==r);return tf.memoizedState=n,[n,t]}return[tf.memoizedState,t]}return e=e===tO?"function"==typeof t?t():t:void 0!==r?r(t):t,tf.memoizedState=e,e=(e=tf.queue={last:null,dispatch:null}).dispatch=tN.bind(null,tu,e),[tf.memoizedState,e]}function tz(e,t){if(tu=tC(),tf=tE(),t=void 0===t?null:t,null!==tf){var r=tf.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var a=0;a<n.length&&a<t.length;a++)if(!tl(t[a],n[a])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),tf.memoizedState=[e,t],e}function tN(e,t,r){if(25<=tS)throw Error(o(301));if(e===tu)if(tm=!0,e={action:r,next:null},null===tx&&(tx=new Map),void 0===(r=tx.get(t)))tx.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function t_(){throw Error(o(440))}function tA(){throw Error(o(394))}function tL(){throw Error(o(479))}function tI(e,t,r){tC();var n=ty++,a=td;if("function"==typeof e.$$FORM_ACTION){var o=null,i=tp;a=a.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==a&&"function"==typeof s){var l=a[1];s.call(e,a[2],a[3])&&l===(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0))&&(tb=n,t=a[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==r&&(r+="",e.action=r);var t=e.data;return t&&(null===o&&(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function tM(e){var t=tw;tw+=1,null===tk&&(tk=[]);var r=tk,n=e,a=t;switch(void 0===(a=r[a])?r.push(n):a!==n&&(n.then(ta,ta),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch("string"==typeof n.status?n.then(ta,ta):((r=n).status="pending",r.then(function(e){if("pending"===n.status){var t=n;t.status="fulfilled",t.value=e}},function(e){if("pending"===n.status){var t=n;t.status="rejected",t.reason=e}})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}throw ti=n,to}}function tF(){throw Error(o(393))}var tD,tB,t$={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return tM(e);if(e.$$typeof===p)return e._currentValue2}throw Error(o(438,String(e)))},useContext:function(e){return tC(),e._currentValue2},useMemo:tz,useReducer:tj,useRef:function(e){tu=tC();var t=(tf=tE()).memoizedState;return null===t?(e={current:e},tf.memoizedState=e):t},useState:function(e){return tj(tO,e)},useInsertionEffect:ta,useLayoutEffect:ta,useCallback:function(e,t){return tz(function(){return e},t)},useImperativeHandle:ta,useEffect:ta,useDebugValue:ta,useDeferredValue:function(e,t){return tC(),void 0!==t?t:e},useTransition:function(){return tC(),[!1,tA]},useId:function(){var e=tc.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-tt(e)-1)).toString(32)+t;var r=tV;if(null===r)throw Error(o(404));return t=tv++,e="_"+r.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(o(407));return r()},useOptimistic:function(e){return tC(),[e,tL]},useActionState:tI,useFormState:tI,useHostTransitionStatus:function(){return tC(),U},useMemoCache:function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=k;return t},useCacheRefresh:function(){return tF},useEffectEvent:function(){return t_}},tV=null,tU={getCacheForType:function(){throw Error(o(248))},cacheSignal:function(){throw Error(o(248))}};function tH(e){if(void 0===tD)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tD=t&&t[1]||"",tB=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tD+e+tB}var tW=!1;function tq(e,t){if(!e||tW)return"";tW=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch(function(){})}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===l.length||a===u.length)for(n=l.length-1,a=u.length-1;1<=n&&0<=a&&l[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(l[n]!==u[a]){if(1!==n||1!==a)do if(n--,a--,0>a||l[n]!==u[a]){var c="\n"+l[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{tW=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?tH(r):""}function tK(e,t){return 500<t.byteSize&&null===t.contentPreamble}function tG(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e])[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),(t=e1.apply(console.error,e))()}else console.error(e);return null}function tX(e,t,r,n,a,o,i,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=r,this.progressiveChunkSize=void 0===n?12800:n,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===a?tG:a,this.onPostpone=void 0===u?ta:u,this.onAllReady=void 0===o?ta:o,this.onShellReady=void 0===i?ta:i,this.onShellError=void 0===s?ta:s,this.onFatalError=void 0===l?ta:l,this.formState=void 0===c?null:c}var tY=null;function tQ(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,rx(e))}function tZ(e,t,r,n,a){return r={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null,contentState:eU(),fallbackState:eU(),contentPreamble:n,fallbackPreamble:a,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(n=t.boundaries)&&(e.allPendingTasks++,r.pendingTasks++,n.push(r)),null!==(e=t.inheritedHoistables)&&eZ(r.contentState,e)),r}function tJ(e,t,r,n,a,o,i,s,l,u,c,d,p,h,f){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,null!==h&&h.pendingTasks++;var g={replay:null,node:r,childIndex:n,ping:function(){return tQ(e,g)},blockedBoundary:a,blockedSegment:o,blockedPreamble:i,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:p,row:h,componentStack:f,thenableState:t};return l.add(g),g}function t0(e,t,r,n,a,o,i,s,l,u,c,d,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++,r.pendingTasks++;var f={replay:r,node:n,childIndex:a,ping:function(){return tQ(e,f)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:p,componentStack:h,thenableState:t};return s.add(f),f}function t1(e,t,r,n,a,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:n,boundary:r,lastPushedText:a,textEmbedded:o}}function t2(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===i&&(e.componentStack={parent:e.componentStack,type:t.type})}function t3(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function t5(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var r="",n=e;do r+=function e(t){if("string"==typeof t)return tH(t);if("function"==typeof t)return t.prototype&&t.prototype.isReactComponent?tq(t,!0):tq(t,!1);if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return tq(t.render,!1);case m:return tq(t.type,!1);case v:var r=t,n=r._payload;r=r._init;try{t=r(n)}catch(e){return tH("Lazy")}return e(t)}if("string"==typeof t.name){e:{n=t.name,r=t.env;var a=t.debugLocation;if(null!=a&&(t=Error.prepareStackTrace,Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=t,a.startsWith("Error: react-stack-top-frame\n")&&(a=a.slice(29)),-1!==(t=a.indexOf("\n"))&&(a=a.slice(t+1)),-1!==(t=a.indexOf("react_stack_bottom_frame"))&&(t=a.lastIndexOf("\n",t)),-1!==(t=-1===(a=(t=-1!==t?a=a.slice(0,t):"").lastIndexOf("\n"))?t:t.slice(a+1)).indexOf(n))){n="\n"+t;break e}n=tH(n+(r?" ["+r+"]":""))}return n}}switch(t){case g:return tH("SuspenseList");case f:return tH("Suspense")}return""}(n.type),n=n.parent;while(n);var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:a}),a}}),t}function t9(e,t,r){if(null==(t=(e=e.onError)(t,r))||"string"==typeof t)return t}function t4(e,t){var r=e.onShellError,n=e.onFatalError;r(t),n(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function t6(e,t){t8(e,t.next,t.hoistables)}function t8(e,t,r){for(;null!==t;){null!==r&&(eZ(t.hoistables,r),t.inheritedHoistables=r);var n=t.boundaries;if(null!==n){t.boundaries=null;for(var a=0;a<n.length;a++){var o=n[a];null!==r&&eZ(o.contentState,r),rk(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;r=t.hoistables,t=t.next}}function t7(e,t){var r=t.boundaries;if(null!==r&&t.pendingTasks===r.length){for(var n=!0,a=0;a<r.length;a++){var o=r[a];if(1!==o.pendingTasks||o.parentFlushed||tK(e,o)){n=!1;break}}n&&t8(e,t,t.hoistables)}}function re(e){var t={pendingTasks:1,boundaries:null,hoistables:eU(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function rt(e,t,r,n,a){var o=t.keyPath,i=t.treeContext,s=t.row;t.keyPath=r,r=n.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<r;c++){var d="backwards"!==a&&"unstable_legacy-backwards"!==a?c:r-1-c,p=n[d];t.row=l=re(l),t.treeContext=te(i,r,d);var h=u[d];"number"==typeof h?(ro(e,t,h,p,d),delete u[d]):rf(e,t,p,d),0==--l.pendingTasks&&t6(e,l)}else for(u=0;u<r;u++)d=n[c="backwards"!==a&&"unstable_legacy-backwards"!==a?u:r-1-u],t.row=l=re(l),t.treeContext=te(i,r,c),rf(e,t,d,c),0==--l.pendingTasks&&t6(e,l)}else if("backwards"!==a&&"unstable_legacy-backwards"!==a)for(a=0;a<r;a++)u=n[a],t.row=l=re(l),t.treeContext=te(i,r,a),rf(e,t,u,a),0==--l.pendingTasks&&t6(e,l);else{for(u=(a=t.blockedSegment).children.length,c=a.chunks.length,d=r-1;0<=d;d--){p=n[d],t.row=l=re(l),t.treeContext=te(i,r,d),h=t1(e,c,null,t.formatContext,0!==d||a.lastPushedText,!0),a.children.splice(u,0,h),t.blockedSegment=h;try{rf(e,t,p,d),e0(h.chunks,e.renderState,h.lastPushedText,h.textEmbedded),h.status=1,0==--l.pendingTasks&&t6(e,l)}catch(t){throw h.status=12===e.status?3:4,t}}t.blockedSegment=a,a.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=i,t.row=s,t.keyPath=o}function rr(e,t,r,n,a,o){var i=t.thenableState;for(t.thenableState=null,tu={},tc=t,td=e,tp=r,ty=tv=0,tb=-1,tw=0,tk=i,e=n(a,o);tm;)tm=!1,ty=tv=0,tb=-1,tw=0,tS+=1,tf=null,e=n(a,o);return tR(),e}function rn(e,t,r,n,a,o,i){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<o;u++)u===i?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}o=t.keyPath,t.keyPath=r,a?(r=t.treeContext,t.treeContext=te(r,1,0),rf(e,t,n,-1),t.treeContext=r):s?rf(e,t,n,-1):ri(e,t,n,-1),t.keyPath=o}function ra(e,t,r,a,i,s){if("function"==typeof a)if(a.prototype&&a.prototype.isReactComponent){var k=i;if("ref"in i)for(var S in k={},i)"ref"!==S&&(k[S]=i[S]);var E=a.defaultProps;if(E)for(var O in k===i&&(k=T({},k,i)),E)void 0===k[O]&&(k[O]=E[O]);i=k,k=e5,"object"==typeof(E=a.contextType)&&null!==E&&(k=E._currentValue2);var j=void 0!==(k=new a(i,k)).state?k.state:null;if(k.updater=e8,k.props=i,k.state=j,E={queue:[],replace:!1},k._reactInternals=E,s=a.contextType,k.context="object"==typeof s&&null!==s?s._currentValue2:e5,"function"==typeof(s=a.getDerivedStateFromProps)&&(j=null==(s=s(i,j))?j:T({},j,s),k.state=j),"function"!=typeof a.getDerivedStateFromProps&&"function"!=typeof k.getSnapshotBeforeUpdate&&("function"==typeof k.UNSAFE_componentWillMount||"function"==typeof k.componentWillMount))if(a=k.state,"function"==typeof k.componentWillMount&&k.componentWillMount(),"function"==typeof k.UNSAFE_componentWillMount&&k.UNSAFE_componentWillMount(),a!==k.state&&e8.enqueueReplaceState(k,k.state,null),null!==E.queue&&0<E.queue.length)if(a=E.queue,s=E.replace,E.queue=null,E.replace=!1,s&&1===a.length)k.state=a[0];else{for(E=s?a[0]:k.state,j=!0,s=+!!s;s<a.length;s++)null!=(O="function"==typeof(O=a[s])?O.call(k,E,i,void 0):O)&&(j?(j=!1,E=T({},E,O)):T(E,O));k.state=E}else E.queue=null;if(a=k.render(),12===e.status)throw null;i=t.keyPath,t.keyPath=r,ri(e,t,a,-1),t.keyPath=i}else{if(a=rr(e,t,r,a,i,void 0),12===e.status)throw null;rn(e,t,r,a,0!==tv,ty,tb)}else if("string"==typeof a)if(null===(k=t.blockedSegment))k=i.children,E=t.formatContext,j=t.keyPath,t.formatContext=Y(E,a,i),t.keyPath=r,rf(e,t,k,-1),t.formatContext=E,t.keyPath=j;else{if(j=function(e,t,r,a,i,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(ex("a"));var d,p=null,h=null;for(d in r)if(R.call(r,d)){var f=r[d];if(null!=f)switch(d){case"children":p=f;break;case"dangerouslySetInnerHTML":h=f;break;case"href":""===f?en(e,"href",""):eu(e,d,f);break;default:eu(e,d,f)}}if(e.push(">"),ec(e,h,p),"string"==typeof p){e.push(I(p));var g=null}else g=p;return g;case"select":e.push(ex("select"));var m,v=null,y=null;for(m in r)if(R.call(r,m)){var b=r[m];if(null!=b)switch(m){case"children":v=b;break;case"dangerouslySetInnerHTML":y=b;break;case"defaultValue":case"value":break;default:eu(e,m,b)}}return e.push(">"),ec(e,y,v),v;case"option":var w=u.selectedValue;e.push(ex("option"));var k,x=null,S=null,C=null,E=null;for(k in r)if(R.call(r,k)){var O=r[k];if(null!=O)switch(k){case"children":x=O;break;case"selected":C=O;break;case"dangerouslySetInnerHTML":E=O;break;case"value":S=O;default:eu(e,k,O)}}if(null!=w){var j,z,_=null!==S?""+S:(j=x,z="",n.Children.forEach(j,function(e){null!=e&&(z+=e)}),z);if(P(w)){for(var A=0;A<w.length;A++)if(""+w[A]===_){e.push(' selected=""');break}}else""+w===_&&e.push(' selected=""')}else C&&e.push(' selected=""');return e.push(">"),ec(e,E,x),x;case"textarea":e.push(ex("textarea"));var L,M=null,F=null,D=null;for(L in r)if(R.call(r,L)){var $=r[L];if(null!=$)switch(L){case"children":D=$;break;case"value":M=$;break;case"defaultValue":F=$;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:eu(e,L,$)}}if(null===M&&null!==F&&(M=F),e.push(">"),null!=D){if(null!=M)throw Error(o(92));if(P(D)){if(1<D.length)throw Error(o(93));M=""+D[0]}M=""+D}return"string"==typeof M&&"\n"===M[0]&&e.push("\n"),null!==M&&e.push(I(""+M)),null;case"input":e.push(ex("input"));var V,U=null,H=null,q=null,K=null,G=null,X=null,Y=null,Q=null,Z=null;for(V in r)if(R.call(r,V)){var J=r[V];if(null!=J)switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"name":U=J;break;case"formAction":H=J;break;case"formEncType":q=J;break;case"formMethod":K=J;break;case"formTarget":G=J;break;case"defaultChecked":Z=J;break;case"defaultValue":Y=J;break;case"checked":Q=J;break;case"value":X=J;break;default:eu(e,V,J)}}var ee=el(e,a,i,H,q,K,G,U);return null!==Q?er(e,"checked",Q):null!==Z&&er(e,"checked",Z),null!==X?eu(e,"value",X):null!==Y&&eu(e,"value",Y),e.push("/>"),null!=ee&&ee.forEach(eo,e),null;case"button":e.push(ex("button"));var ei,ew=null,ek=null,eS=null,eP=null,eE=null,eT=null,eR=null;for(ei in r)if(R.call(r,ei)){var eO=r[ei];if(null!=eO)switch(ei){case"children":ew=eO;break;case"dangerouslySetInnerHTML":ek=eO;break;case"name":eS=eO;break;case"formAction":eP=eO;break;case"formEncType":eE=eO;break;case"formMethod":eT=eO;break;case"formTarget":eR=eO;break;default:eu(e,ei,eO)}}var ej=el(e,a,i,eP,eE,eT,eR,eS);if(e.push(">"),null!=ej&&ej.forEach(eo,e),ec(e,ek,ew),"string"==typeof ew){e.push(I(ew));var ez=null}else ez=ew;return ez;case"form":e.push(ex("form"));var eN,e_=null,eA=null,eL=null,eI=null,eM=null,eF=null;for(eN in r)if(R.call(r,eN)){var eD=r[eN];if(null!=eD)switch(eN){case"children":e_=eD;break;case"dangerouslySetInnerHTML":eA=eD;break;case"action":eL=eD;break;case"encType":eI=eD;break;case"method":eM=eD;break;case"target":eF=eD;break;default:eu(e,eN,eD)}}var eB=null,e$=null;if("function"==typeof eL){var eV=es(a,eL);null!==eV?(eL=eV.action||"",eI=eV.encType,eM=eV.method,eF=eV.target,eB=eV.data,e$=eV.name):(e.push(" ","action",'="',ea,'"'),eF=eM=eI=eL=null,ed(a,i))}if(null!=eL&&eu(e,"action",eL),null!=eI&&eu(e,"encType",eI),null!=eM&&eu(e,"method",eM),null!=eF&&eu(e,"target",eF),e.push(">"),null!==e$&&(e.push('<input type="hidden"'),en(e,"name",e$),e.push("/>"),null!=eB&&eB.forEach(eo,e)),ec(e,eA,e_),"string"==typeof e_){e.push(I(e_));var eU=null}else eU=e_;return eU;case"menuitem":for(var eq in e.push(ex("menuitem")),r)if(R.call(r,eq)){var eK=r[eq];if(null!=eK)switch(eq){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:eu(e,eq,eK)}}return e.push(">"),null;case"object":e.push(ex("object"));var eG,eX=null,eY=null;for(eG in r)if(R.call(r,eG)){var eQ=r[eG];if(null!=eQ)switch(eG){case"children":eX=eQ;break;case"dangerouslySetInnerHTML":eY=eQ;break;case"data":var eZ=B(""+eQ);if(""===eZ)break;e.push(" ","data",'="',I(eZ),'"');break;default:eu(e,eG,eQ)}}if(e.push(">"),ec(e,eY,eX),"string"==typeof eX){e.push(I(eX));var eJ=null}else eJ=eX;return eJ;case"title":var e0=1&u.tagScope,e1=4&u.tagScope;if(4===u.insertionMode||e0||null!=r.itemProp)var e2=em(e,r);else e1?e2=null:(em(i.hoistableChunks,r),e2=void 0);return e2;case"link":var e3=1&u.tagScope,e5=4&u.tagScope,e9=r.rel,e4=r.href,e6=r.precedence;if(4===u.insertionMode||e3||null!=r.itemProp||"string"!=typeof e9||"string"!=typeof e4||""===e4){ep(e,r);var e8=null}else if("stylesheet"===r.rel)if("string"!=typeof e6||null!=r.disabled||r.onLoad||r.onError)e8=ep(e,r);else{var e7=i.styles.get(e6),te=a.styleResources.hasOwnProperty(e4)?a.styleResources[e4]:void 0;if(null!==te){a.styleResources[e4]=null,e7||(e7={precedence:I(e6),rules:[],hrefs:[],sheets:new Map},i.styles.set(e6,e7));var tt={state:0,props:T({},r,{"data-precedence":r.precedence,precedence:null})};if(te){2===te.length&&eH(tt.props,te);var tr=i.preloads.stylesheets.get(e4);tr&&0<tr.length?tr.length=0:tt.state=1}e7.sheets.set(e4,tt),l&&l.stylesheets.add(tt)}else if(e7){var tn=e7.sheets.get(e4);tn&&l&&l.stylesheets.add(tn)}c&&e.push("\x3c!-- --\x3e"),e8=null}else r.onLoad||r.onError?e8=ep(e,r):(c&&e.push("\x3c!-- --\x3e"),e8=e5?null:ep(i.hoistableChunks,r));return e8;case"script":var ta=1&u.tagScope,to=r.async;if("string"!=typeof r.src||!r.src||!to||"function"==typeof to||"symbol"==typeof to||r.onLoad||r.onError||4===u.insertionMode||ta||null!=r.itemProp)var ti=ev(e,r);else{var ts=r.src;if("module"===r.type)var tl=a.moduleScriptResources,tu=i.preloads.moduleScripts;else tl=a.scriptResources,tu=i.preloads.scripts;var tc=tl.hasOwnProperty(ts)?tl[ts]:void 0;if(null!==tc){tl[ts]=null;var td=r;if(tc){2===tc.length&&eH(td=T({},r),tc);var tp=tu.get(ts);tp&&(tp.length=0)}var th=[];i.scripts.add(th),ev(th,td)}c&&e.push("\x3c!-- --\x3e"),ti=null}return ti;case"style":var tf=1&u.tagScope,tg=r.precedence,tm=r.href,tv=r.nonce;if(4===u.insertionMode||tf||null!=r.itemProp||"string"!=typeof tg||"string"!=typeof tm||""===tm){e.push(ex("style"));var ty,tb=null,tw=null;for(ty in r)if(R.call(r,ty)){var tk=r[ty];if(null!=tk)switch(ty){case"children":tb=tk;break;case"dangerouslySetInnerHTML":tw=tk;break;default:eu(e,ty,tk)}}e.push(">");var tx=Array.isArray(tb)?2>tb.length?tb[0]:null:tb;"function"!=typeof tx&&"symbol"!=typeof tx&&null!=tx&&e.push((""+tx).replace(eh,ef)),ec(e,tw,tb),e.push(eC("style"));var tS=null}else{var tC=i.styles.get(tg);if(null!==(a.styleResources.hasOwnProperty(tm)?a.styleResources[tm]:void 0)){a.styleResources[tm]=null,tC||(tC={precedence:I(tg),rules:[],hrefs:[],sheets:new Map},i.styles.set(tg,tC));var tP=i.nonce.style;if(!tP||tP===tv){tC.hrefs.push(I(tm));var tE,tT=tC.rules,tR=null,tO=null;for(tE in r)if(R.call(r,tE)){var tj=r[tE];if(null!=tj)switch(tE){case"children":tR=tj;break;case"dangerouslySetInnerHTML":tO=tj}}var tz=Array.isArray(tR)?2>tR.length?tR[0]:null:tR;"function"!=typeof tz&&"symbol"!=typeof tz&&null!=tz&&tT.push((""+tz).replace(eh,ef)),ec(tT,tO,tR)}}tC&&l&&l.styles.add(tC),c&&e.push("\x3c!-- --\x3e"),tS=void 0}return tS;case"meta":var tN=1&u.tagScope,t_=4&u.tagScope;if(4===u.insertionMode||tN||null!=r.itemProp)var tA=eg(e,r,"meta");else c&&e.push("\x3c!-- --\x3e"),tA=t_?null:"string"==typeof r.charSet?eg(i.charsetChunks,r,"meta"):"viewport"===r.name?eg(i.viewportChunks,r,"meta"):eg(i.hoistableChunks,r,"meta");return tA;case"listing":case"pre":e.push(ex(t));var tL,tI=null,tM=null;for(tL in r)if(R.call(r,tL)){var tF=r[tL];if(null!=tF)switch(tL){case"children":tI=tF;break;case"dangerouslySetInnerHTML":tM=tF;break;default:eu(e,tL,tF)}}if(e.push(">"),null!=tM){if(null!=tI)throw Error(o(60));if("object"!=typeof tM||!("__html"in tM))throw Error(o(61));var tD=tM.__html;null!=tD&&("string"==typeof tD&&0<tD.length&&"\n"===tD[0]?e.push("\n",tD):e.push(""+tD))}return"string"==typeof tI&&"\n"===tI[0]&&e.push("\n"),tI;case"img":var tB=3&u.tagScope,t$=r.src,tV=r.srcSet;if(!("lazy"===r.loading||!t$&&!tV||"string"!=typeof t$&&null!=t$||"string"!=typeof tV&&null!=tV||"low"===r.fetchPriority||tB)&&("string"!=typeof t$||":"!==t$[4]||"d"!==t$[0]&&"D"!==t$[0]||"a"!==t$[1]&&"A"!==t$[1]||"t"!==t$[2]&&"T"!==t$[2]||"a"!==t$[3]&&"A"!==t$[3])&&("string"!=typeof tV||":"!==tV[4]||"d"!==tV[0]&&"D"!==tV[0]||"a"!==tV[1]&&"A"!==tV[1]||"t"!==tV[2]&&"T"!==tV[2]||"a"!==tV[3]&&"A"!==tV[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var tU="string"==typeof r.sizes?r.sizes:void 0,tH=tV?tV+"\n"+(tU||""):t$,tW=i.preloads.images,tq=tW.get(tH);if(tq)("high"===r.fetchPriority||10>i.highImagePreloads.size)&&(tW.delete(tH),i.highImagePreloads.add(tq));else if(!a.imageResources.hasOwnProperty(tH)){a.imageResources[tH]=W;var tK,tG=r.crossOrigin,tX="string"==typeof tG?"use-credentials"===tG?tG:"":void 0,tY=i.headers;tY&&0<tY.remainingCapacity&&"string"!=typeof r.srcSet&&("high"===r.fetchPriority||500>tY.highImagePreloads.length)&&(tK=eW(t$,"image",{imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:tX,integrity:r.integrity,nonce:r.nonce,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.refererPolicy}),0<=(tY.remainingCapacity-=tK.length+2))?(i.resets.image[tH]=W,tY.highImagePreloads&&(tY.highImagePreloads+=", "),tY.highImagePreloads+=tK):(ep(tq=[],{rel:"preload",as:"image",href:tV?void 0:t$,imageSrcSet:tV,imageSizes:tU,crossOrigin:tX,integrity:r.integrity,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.referrerPolicy}),"high"===r.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(tq):(i.bulkPreloads.add(tq),tW.set(tH,tq)))}}return eg(e,r,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return eg(e,r,t);case"head":if(2>u.insertionMode){var tQ=s||i.preamble;if(tQ.headChunks)throw Error(o(545,"`<head>`"));null!==s&&e.push("\x3c!--head--\x3e"),tQ.headChunks=[];var tZ=ey(tQ.headChunks,r,"head")}else tZ=eb(e,r,"head");return tZ;case"body":if(2>u.insertionMode){var tJ=s||i.preamble;if(tJ.bodyChunks)throw Error(o(545,"`<body>`"));null!==s&&e.push("\x3c!--body--\x3e"),tJ.bodyChunks=[];var t0=ey(tJ.bodyChunks,r,"body")}else t0=eb(e,r,"body");return t0;case"html":if(0===u.insertionMode){var t1=s||i.preamble;if(t1.htmlChunks)throw Error(o(545,"`<html>`"));null!==s&&e.push("\x3c!--html--\x3e"),t1.htmlChunks=[""];var t2=ey(t1.htmlChunks,r,"html")}else t2=eb(e,r,"html");return t2;default:if(-1!==t.indexOf("-")){e.push(ex(t));var t3,t5=null,t9=null;for(t3 in r)if(R.call(r,t3)){var t4=r[t3];if(null!=t4){var t6=t3;switch(t3){case"children":t5=t4;break;case"dangerouslySetInnerHTML":t9=t4;break;case"style":et(e,t4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":t6="class";default:if(N(t3)&&"function"!=typeof t4&&"symbol"!=typeof t4&&!1!==t4){if(!0===t4)t4="";else if("object"==typeof t4)continue;e.push(" ",t6,'="',I(t4),'"')}}}}return e.push(">"),ec(e,t9,t5),t5}}return eb(e,r,t)}(k.chunks,a,i,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,k.lastPushedText),k.lastPushedText=!1,E=t.formatContext,s=t.keyPath,t.keyPath=r,3===(t.formatContext=Y(E,a,i)).insertionMode){r=t1(e,0,null,t.formatContext,!1,!1),k.preambleChildren.push(r),t.blockedSegment=r;try{r.status=6,rf(e,t,j,-1),e0(r.chunks,e.renderState,r.lastPushedText,r.textEmbedded),r.status=1}finally{t.blockedSegment=k}}else rf(e,t,j,-1);t.formatContext=E,t.keyPath=s;e:{switch(t=k.chunks,e=e.resumableState,a){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=E.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===E.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=E.insertionMode)break e}t.push(eC(a))}k.lastPushedText=!1}else{switch(a){case w:case u:case c:case l:a=t.keyPath,t.keyPath=r,ri(e,t,i.children,-1),t.keyPath=a;return;case b:null===(a=t.blockedSegment)?"hidden"!==i.mode&&(a=t.keyPath,t.keyPath=r,rf(e,t,i.children,-1),t.keyPath=a):"hidden"!==i.mode&&(e.renderState.generateStaticMarkup||a.chunks.push("\x3c!--&--\x3e"),a.lastPushedText=!1,k=t.keyPath,t.keyPath=r,rf(e,t,i.children,-1),t.keyPath=k,e.renderState.generateStaticMarkup||a.chunks.push("\x3c!--/&--\x3e"),a.lastPushedText=!1);return;case g:e:{if(a=i.children,"forwards"===(i=i.revealOrder)||"backwards"===i||"unstable_legacy-backwards"===i){if(P(a)){rt(e,t,r,a,i);break e}if((k=C(a))&&(k=k.call(a))){if(!(E=k.next()).done){do E=k.next();while(!E.done);rt(e,t,r,a,i)}break e}}"together"===i?(i=t.keyPath,k=t.row,(E=t.row=re(null)).boundaries=[],E.together=!0,t.keyPath=r,ri(e,t,a,-1),0==--E.pendingTasks&&t6(e,E),t.keyPath=i,t.row=k,null!==k&&0<E.pendingTasks&&(k.pendingTasks++,E.next=k)):(i=t.keyPath,t.keyPath=r,ri(e,t,a,-1),t.keyPath=i)}return;case x:case y:throw Error(o(343));case f:e:if(null!==t.replay){a=t.keyPath,k=t.formatContext,E=t.row,t.keyPath=r,t.formatContext=J(e.resumableState,k),t.row=null,r=i.children;try{rf(e,t,r,-1)}finally{t.keyPath=a,t.formatContext=k,t.row=E}}else{a=t.keyPath,s=t.formatContext;var z=t.row,_=t.blockedBoundary;O=t.blockedPreamble;var A=t.hoistableState;S=t.blockedSegment;var L=i.fallback;i=i.children;var M=new Set,F=tZ(e,t.row,M,null,null);null!==e.trackedPostpones&&(F.trackedContentKeyPath=r);var D=t1(e,S.chunks.length,F,t.formatContext,!1,!1);S.children.push(D),S.lastPushedText=!1;var $=t1(e,0,null,t.formatContext,!1,!1);if($.parentFlushed=!0,null!==e.trackedPostpones){k=t.componentStack,j=[(E=[r[0],"Suspense Fallback",r[2]])[1],E[2],[],null],e.trackedPostpones.workingMap.set(E,j),F.trackedFallbackNode=j,t.blockedSegment=D,t.blockedPreamble=F.fallbackPreamble,t.keyPath=E,t.formatContext=Z(e.resumableState,s),t.componentStack=t3(k),D.status=6;try{rf(e,t,L,-1),e0(D.chunks,e.renderState,D.lastPushedText,D.textEmbedded),D.status=1}catch(t){throw D.status=12===e.status?3:4,t}finally{t.blockedSegment=S,t.blockedPreamble=O,t.keyPath=a,t.formatContext=s}t2(t=tJ(e,null,i,-1,F,$,F.contentPreamble,F.contentState,t.abortSet,r,J(e.resumableState,t.formatContext),t.context,t.treeContext,null,k)),e.pingedTasks.push(t)}else{t.blockedBoundary=F,t.blockedPreamble=F.contentPreamble,t.hoistableState=F.contentState,t.blockedSegment=$,t.keyPath=r,t.formatContext=J(e.resumableState,s),t.row=null,$.status=6;try{if(rf(e,t,i,-1),e0($.chunks,e.renderState,$.lastPushedText,$.textEmbedded),$.status=1,rw(F,$),0===F.pendingTasks&&0===F.status){if(F.status=1,!tK(e,F)){null!==z&&0==--z.pendingTasks&&t6(e,z),0===e.pendingRootTasks&&t.blockedPreamble&&rP(e);break e}}else null!==z&&z.together&&t7(e,z)}catch(r){F.status=4,12===e.status?($.status=3,k=e.fatalError):($.status=4,k=r),F.errorDigest=j=t9(e,k,E=t5(t.componentStack)),rd(e,F)}finally{t.blockedBoundary=_,t.blockedPreamble=O,t.hoistableState=A,t.blockedSegment=S,t.keyPath=a,t.formatContext=s,t.row=z}t2(t=tJ(e,null,L,-1,_,D,F.fallbackPreamble,F.fallbackState,M,[r[0],"Suspense Fallback",r[2]],Z(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,t3(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:if("ref"in i)for(L in k={},i)"ref"!==L&&(k[L]=i[L]);else k=i;a=rr(e,t,r,a.render,k,s),rn(e,t,r,a,0!==tv,ty,tb);return;case m:ra(e,t,r,a.type,i,s);return;case p:if(E=i.children,k=t.keyPath,i=i.value,j=a._currentValue2,a._currentValue2=i,e9=a={parent:s=e9,depth:null===s?0:s.depth+1,context:a,parentValue:j,value:i},t.context=a,t.keyPath=r,ri(e,t,E,-1),null===(e=e9))throw Error(o(403));e.context._currentValue2=e.parentValue,e=e9=e.parent,t.context=e,t.keyPath=k;return;case d:a=(i=i.children)(a._context._currentValue2),i=t.keyPath,t.keyPath=r,ri(e,t,a,-1),t.keyPath=i;return;case v:if(a=(k=a._init)(a._payload),12===e.status)throw null;ra(e,t,r,a,i,s);return}throw Error(o(130,null==a?a:typeof a,""))}}function ro(e,t,r,n,a){var o=t.replay,i=t.blockedBoundary,s=t1(e,0,null,t.formatContext,!1,!1);s.id=r,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,rf(e,t,n,a),s.status=1,null===i?e.completedRootSegment=s:(rw(i,s),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=o,t.blockedSegment=null}}function ri(e,t,r,n){null!==t.replay&&"number"==typeof t.replay.slots?ro(e,t,t.replay.slots,r,n):(t.node=r,t.childIndex=n,r=t.componentStack,t2(t),rs(e,t),t.componentStack=r)}function rs(e,t){var r=t.node,n=t.childIndex;if(null!==r){if("object"==typeof r){switch(r.$$typeof){case i:var a=r.type,l=r.key,u=r.props,c=void 0!==(r=u.ref)?r:null,d=e3(a),h=null==l?-1===n?0:n:l;if(l=[t.keyPath,d,h],null!==t.replay)e:{var g=t.replay;for(r=0,n=g.nodes;r<n.length;r++){var m=n[r];if(h===m[1]){if(4===m.length){if(null!==d&&d!==m[0])throw Error(o(490,m[0],d));var y=m[2];d=m[3],h=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(ra(e,t,l,a,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===to||"function"==typeof o.then))throw t.node===h?t.replay=g:n.splice(r,1),o;t.replay.pendingTasks--,u=t5(t.componentStack),l=e,e=t.blockedBoundary,u=t9(l,a=o,u),rm(l,e,y,d,a,u)}t.replay=g}else{if(a!==f)throw Error(o(490,"Suspense",e3(a)||"Unknown"));t:{g=void 0,a=m[5],c=m[2],d=m[3],h=null===m[4]?[]:m[4][2],m=null===m[4]?null:m[4][3];var b=t.keyPath,w=t.formatContext,k=t.row,x=t.replay,S=t.blockedBoundary,E=t.hoistableState,T=u.children,R=u.fallback,O=new Set;(u=tZ(e,t.row,O,null,null)).parentFlushed=!0,u.rootSegmentID=a,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=J(e.resumableState,w),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(rf(e,t,T,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(r){u.status=4,g=t9(e,r,y=t5(t.componentStack)),u.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=S,t.hoistableState=E,t.replay=x,t.keyPath=b,t.formatContext=w,t.row=k}t2(y=t0(e,null,{nodes:h,slots:m,pendingTasks:0},R,-1,S,u.fallbackState,O,[l[0],"Suspense Fallback",l[2]],Z(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,t3(t.componentStack))),e.pingedTasks.push(y)}}n.splice(r,1);break e}}}else ra(e,t,l,a,u,c);return;case s:throw Error(o(257));case v:if(r=(y=r._init)(r._payload),12===e.status)throw null;ri(e,t,r,n);return}if(P(r))return void rl(e,t,r,n);if((y=C(r))&&(y=y.call(r))){if(!(r=y.next()).done){u=[];do u.push(r.value),r=y.next();while(!r.done);rl(e,t,u,n)}return}if("function"==typeof r.then)return t.thenableState=null,ri(e,t,tM(r),n);if(r.$$typeof===p)return ri(e,t,r._currentValue2,n);throw Error(o(31,"[object Object]"===(n=Object.prototype.toString.call(r))?"object with keys {"+Object.keys(r).join(", ")+"}":n))}"string"==typeof r?null!==(n=t.blockedSegment)&&(n.lastPushedText=eJ(n.chunks,r,e.renderState,n.lastPushedText)):("number"==typeof r||"bigint"==typeof r)&&null!==(n=t.blockedSegment)&&(n.lastPushedText=eJ(n.chunks,""+r,e.renderState,n.lastPushedText))}}function rl(e,t,r,n){var a=t.keyPath;if(-1!==n&&(t.keyPath=[t.keyPath,"Fragment",n],null!==t.replay)){for(var i=t.replay,s=i.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===n){t.replay={nodes:n=u[2],slots:u=u[3],pendingTasks:1};try{if(rl(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(a){if("object"==typeof a&&null!==a&&(a===to||"function"==typeof a.then))throw a;t.replay.pendingTasks--,r=t5(t.componentStack);var c=t.blockedBoundary;r=t9(e,a,r),rm(e,c,n,u,a,r)}t.replay=i,s.splice(l,1);break}}t.keyPath=a;return}if(i=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(n=0;n<s;n++)u=r[n],t.treeContext=te(i,s,n),"number"==typeof(c=l[n])?(ro(e,t,c,u,n),delete l[n]):rf(e,t,u,n);t.treeContext=i,t.keyPath=a;return}for(l=0;l<s;l++)n=r[l],t.treeContext=te(i,s,l),rf(e,t,n,l);t.treeContext=i,t.keyPath=a}function ru(e,t,r){if(r.status=5,r.rootSegmentID=e.nextSegmentId++,null===(e=r.trackedContentKeyPath))throw Error(o(486));var n=r.trackedFallbackNode,a=t.workingMap.get(e);return void 0===a?(r=[e[1],e[2],[],null,n,r.rootSegmentID],t.workingMap.set(e,r),rL(r,e[0],t),r):(a[4]=n,a[5]=r.rootSegmentID,a)}function rc(e,t,r,n){n.status=5;var a=r.keyPath,i=r.blockedBoundary;if(null===i)n.id=e.nextSegmentId++,t.rootSlots=n.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==i&&0===i.status){var s=ru(e,t,i);if(i.trackedContentKeyPath===a&&-1===r.childIndex){-1===n.id&&(n.id=n.parentFlushed?i.rootSegmentID:e.nextSegmentId++),s[3]=n.id;return}}if(-1===n.id&&(n.id=n.parentFlushed&&null!==i?i.rootSegmentID:e.nextSegmentId++),-1===r.childIndex)null===a?t.rootSlots=n.id:void 0===(r=t.workingMap.get(a))?rL(r=[a[1],a[2],[],n.id],a[0],t):r[3]=n.id;else{if(null===a){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(o(491))}else if(void 0===(s=(i=t.workingMap).get(a)))e={},s=[a[1],a[2],[],e],i.set(a,s),rL(s,a[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(o(491));e[r.childIndex]=n.id}}}function rd(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function rp(e,t,r){return t0(e,r,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function rh(e,t,r){var n=t.blockedSegment,a=t1(e,n.chunks.length,null,t.formatContext,n.lastPushedText,!0);return n.children.push(a),n.lastPushedText=!1,tJ(e,r,t.node,t.childIndex,t.blockedBoundary,a,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function rf(e,t,r,n){var a=t.formatContext,o=t.context,i=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return ri(e,t,r,n)}catch(c){if(tR(),r=c===to?ts():c,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){e=rp(e,t,n=c===to?tT():null).ping,r.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,e6(o);return}if("Maximum call stack size exceeded"===r.message){r=rp(e,t,r=c===to?tT():null),e.pingedTasks.push(r),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,e6(o);return}}}}else{var c=u.children.length,d=u.chunks.length;try{return ri(e,t,r,n)}catch(n){if(tR(),u.children.length=c,u.chunks.length=d,r=n===to?ts():n,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){u=r,e=rh(e,t,r=n===to?tT():null).ping,u.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,e6(o);return}if("Maximum call stack size exceeded"===r.message){u=rh(e,t,u=n===to?tT():null),e.pingedTasks.push(u),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,e6(o);return}}}}throw t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,e6(o),r}function rg(e){var t=e.blockedBoundary,r=e.blockedSegment;null!==r&&(r.status=3,rk(this,t,e.row,r))}function rm(e,t,r,n,a,i){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)rm(e,t,l[2],l[3],a,i);else{l=l[5];var u=tZ(e,null,new Set,null,null);u.parentFlushed=!0,u.rootSegmentID=l,u.status=4,u.errorDigest=i,u.parentFlushed&&e.clientRenderedBoundaries.push(u)}}if(r.length=0,null!==n){if(null===t)throw Error(o(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof n)for(var c in n)delete n[c]}}function rv(e,t){try{var r=e.renderState,n=r.onHeaders;if(n){var a=r.headers;if(a){r.headers=null;var o=a.preconnects;if(a.fontPreloads&&(o&&(o+=", "),o+=a.fontPreloads),a.highImagePreloads&&(o&&(o+=", "),o+=a.highImagePreloads),!t){var i=r.styles.values(),s=i.next();t:for(;0<a.remainingCapacity&&!s.done;s=i.next())for(var l=s.value.sheets.values(),u=l.next();0<a.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,p=d.href,h=c.props,f=eW(h.href,"style",{crossOrigin:h.crossOrigin,integrity:h.integrity,nonce:h.nonce,type:h.type,fetchPriority:h.fetchPriority,referrerPolicy:h.referrerPolicy,media:h.media});if(0<=(a.remainingCapacity-=f.length+2))r.resets.style[p]=W,o&&(o+=", "),o+=f,r.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:W;else break t}}n(o?{Link:o}:{})}}}catch(t){t9(e,t,{})}}function ry(e){null===e.trackedPostpones&&rv(e,!0),null===e.trackedPostpones&&rP(e),e.onShellError=ta,(e=e.onShellReady)()}function rb(e){rv(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),rP(e),(e=e.onAllReady)()}function rw(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1!==r.status&&3!==r.status&&4!==r.status||rw(e,r)}else e.completedSegments.push(t)}function rk(e,t,r,n){if(null!==r&&(0==--r.pendingTasks?t6(e,r):r.together&&t7(e,r)),e.allPendingTasks--,null===t){if(null!==n&&n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&ry(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==n&&n.parentFlushed&&(1===n.status||3===n.status)&&rw(t,n),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(r=t.row)&&eZ(r.hoistables,t.contentState),tK(e,t)||(t.fallbackAbortableTasks.forEach(rg,e),t.fallbackAbortableTasks.clear(),null!==r&&0==--r.pendingTasks&&t6(e,r)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&rP(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){r=e.trackedPostpones;var a=t.next;if(null!==a&&null!==(n=a.boundaries))for(a.boundaries=null,a=0;a<n.length;a++){var i=n[a];ru(e,r,i),rk(e,i,null,null)}}0==--t.pendingTasks&&t6(e,t)}}else null===n||!n.parentFlushed||1!==n.status&&3!==n.status||(rw(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&t7(e,t);0===e.allPendingTasks&&rb(e)}function rx(e){if(14!==e.status&&13!==e.status){var t=e9,r=$.H;$.H=t$;var n=$.A;$.A=tU;var a=tY;tY=e;var i=tV;tV=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var p=c;if(0!==u.replay.pendingTasks){e6(u.context);try{if("number"==typeof u.replay.slots?ro(p,u,u.replay.slots,u.node,u.childIndex):rs(p,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(o(488));u.replay.pendingTasks--,u.abortSet.delete(u),rk(p,u.blockedBoundary,u.row,null)}catch(e){tR();var h=e===to?ts():e;if("object"==typeof h&&null!==h&&"function"==typeof h.then){var f=u.ping;h.then(f,f),u.thenableState=e===to?tT():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var g=t5(u.componentStack);c=void 0;var m=p,v=u.blockedBoundary,y=12===p.status?p.fatalError:h,b=u.replay.nodes,w=u.replay.slots;c=t9(m,y,g),rm(m,v,b,w,y,c),p.pendingRootTasks--,0===p.pendingRootTasks&&ry(p),p.allPendingTasks--,0===p.allPendingTasks&&rb(p)}}finally{}}}else if(p=void 0,m=d,0===m.status){m.status=6,e6(u.context);var k=m.children.length,x=m.chunks.length;try{rs(c,u),e0(m.chunks,c.renderState,m.lastPushedText,m.textEmbedded),u.abortSet.delete(u),m.status=1,rk(c,u.blockedBoundary,u.row,m)}catch(e){tR(),m.children.length=k,m.chunks.length=x;var S=e===to?ts():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var C=c.trackedPostpones,P=t5(u.componentStack);u.abortSet.delete(u),t9(c,S,P),rc(c,C,u,m),rk(c,u.blockedBoundary,u.row,m)}else if("object"==typeof S&&null!==S&&"function"==typeof S.then){m.status=0,u.thenableState=e===to?tT():null;var E=u.ping;S.then(E,E)}else{var T=t5(u.componentStack);u.abortSet.delete(u),m.status=4;var R=u.blockedBoundary,O=u.row;if(null!==O&&0==--O.pendingTasks&&t6(c,O),c.allPendingTasks--,p=t9(c,S,T),null===R)t4(c,S);else if(R.pendingTasks--,4!==R.status){R.status=4,R.errorDigest=p,rd(c,R);var j=R.row;null!==j&&0==--j.pendingTasks&&t6(c,j),R.parentFlushed&&c.clientRenderedBoundaries.push(R),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==R.contentPreamble&&rP(c)}0===c.allPendingTasks&&rb(c)}}finally{}}}l.splice(0,s),null!==e.destination&&r_(e,e.destination)}catch(t){t9(e,t,{}),t4(e,t)}finally{tV=i,$.H=r,$.A=n,r===t$&&e6(t),tY=a}}}function rS(e,t,r){t.preambleChildren.length&&r.push(t.preambleChildren);for(var n=!1,a=0;a<t.children.length;a++)n=rC(e,t.children[a],r)||n;return n}function rC(e,t,r){var n=t.boundary;if(null===n)return rS(e,t,r);var a=n.contentPreamble,i=n.fallbackPreamble;if(null===a||null===i)return!1;switch(n.status){case 1:if(eP(e.renderState,a),e.byteSize+=n.byteSize,!(t=n.completedSegments[0]))throw Error(o(391));return rS(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return eP(e.renderState,i),rS(e,t,r);default:return!0}}function rP(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],r=e.byteSize,n=rC(e,e.completedRootSegment,t),a=e.renderState.preamble;!1===n||a.headChunks&&a.bodyChunks?e.completedPreambleSegments=t:e.byteSize=r}}function rE(e,t,r,n){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return n=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=n.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var a=!0,i=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(a=r[l];s<a.index;s++)t.push(i[s]);a=rR(e,t,a,n)}for(;s<i.length-1;s++)t.push(i[s]);return s<i.length&&(a=t.push(i[s])),a;case 3:return!0;default:throw Error(o(390))}}var rT=0;function rR(e,t,r,n){var a=r.boundary;if(null===a)return rE(e,t,r,n);if(a.parentFlushed=!0,4===a.status){var i=a.row;return null!==i&&0==--i.pendingTasks&&t6(e,i),e.renderState.generateStaticMarkup||(a=a.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),a&&(t.push(' data-dgst="'),a=I(a),t.push(a),t.push('"')),t.push("></template>")),rE(e,t,r,n),e=!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}if(1!==a.status)return 0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),eT(t,e.renderState,a.rootSegmentID),n&&eZ(n,a.fallbackState),rE(e,t,r,n),t.push("\x3c!--/$--\x3e");if(!rN&&tK(e,a)&&rT+a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),eT(t,e.renderState,a.rootSegmentID),rE(e,t,r,n),t.push("\x3c!--/$--\x3e");if(rT+=a.byteSize,n&&eZ(n,a.contentState),null!==(r=a.row)&&tK(e,a)&&0==--r.pendingTasks&&t6(e,r),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=a.completedSegments).length)throw Error(o(391));return rR(e,t,r[0],n),e=!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function rO(e,t,r,n){switch(!function(e,t,r,n){switch(r.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.renderState,r.parentFormatContext,r.id),rR(e,t,r,n),r.parentFormatContext.insertionMode){case 0:case 1:case 3:case 2:return t.push("</div>");case 4:return t.push("</svg>");case 5:return t.push("</math>");case 6:return t.push("</table>");case 7:return t.push("</tbody></table>");case 8:return t.push("</tr></table>");case 9:return t.push("</colgroup></table>");default:throw Error(o(397))}}function rj(e,t,r){rT=r.byteSize;for(var n,a,i=r.completedSegments,s=0;s<i.length;s++)rz(e,t,r,i[s]);i.length=0,null!==(i=r.row)&&tK(e,r)&&0==--i.pendingTasks&&t6(e,i),eL(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,s=r.rootSegmentID,r=r.contentState;var l=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),l?(0==(4&i.instructions)&&(i.instructions|=4,t.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),0==(2&i.instructions)&&(i.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),0==(8&i.instructions)?(i.instructions|=8,t.push('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("')):t.push('$RR("')):(0==(2&i.instructions)&&(i.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),t.push('$RC("')),i=s.toString(16),t.push(e.boundaryPrefix),t.push(i),t.push('","'),t.push(e.segmentPrefix),t.push(i),l?(t.push('",'),n=r,t.push("["),a="[",n.stylesheets.forEach(function(e){if(2!==e.state)if(3===e.state)t.push(a),e=ej(""+e.props.href),t.push(e),t.push("]"),a=",[";else{t.push(a);var r=e.props["data-precedence"],n=e.props,i=B(""+e.props.href);for(var s in i=ej(i),t.push(i),r=""+r,t.push(","),r=ej(r),t.push(r),n)if(R.call(n,s)&&null!=(r=n[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:!function(e,t,r){var n=t.toLowerCase();switch(typeof r){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":n="class",t=""+r;break;case"hidden":if(!1===r)return;t="";break;case"src":case"href":t=""+(r=B(r));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!N(t))return;t=""+r}e.push(","),n=ej(n),e.push(n),e.push(","),n=ej(t),e.push(n)}(t,s,r)}t.push("]"),a=",[",e.state=3}}),t.push("]")):t.push('"'),r=t.push(")<\/script>"),eE(t,e)&&r}function rz(e,t,r,n){if(2===n.status)return!0;var a=r.contentState,i=n.id;if(-1===i){if(-1===(n.id=r.rootSegmentID))throw Error(o(392));return rO(e,t,n,a)}return i===r.rootSegmentID?rO(e,t,n,a):(rO(e,t,n,a),r=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),0==(1&r.instructions)?(r.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')):t.push('$RS("'),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t=t.push('")<\/script>'))}var rN=!1;function r_(e,t){try{if(!(0<e.pendingRootTasks)){var r,n=e.completedRootSegment;if(null!==n){if(5===n.status)return;var a=e.completedPreambleSegments;if(null===a)return;rT=e.byteSize;var o,i=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(o=0;o<u.length;o++)t.push(u[o]);if(c)for(o=0;o<c.length;o++)t.push(c[o]);else{var d=ex("head");t.push(d),t.push(">")}}else if(c)for(o=0;o<c.length;o++)t.push(c[o]);var p=s.charsetChunks;for(o=0;o<p.length;o++)t.push(p[o]);p.length=0,s.preconnects.forEach(eI,t),s.preconnects.clear();var h=s.viewportChunks;for(o=0;o<h.length;o++)t.push(h[o]);h.length=0,s.fontPreloads.forEach(eI,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(eI,t),s.highImagePreloads.clear(),q=s,s.styles.forEach(eD,t),q=null;var f=s.importMapChunks;for(o=0;o<f.length;o++)t.push(f[o]);f.length=0,s.bootstrapScripts.forEach(eI,t),s.scripts.forEach(eI,t),s.scripts.clear(),s.bulkPreloads.forEach(eI,t),s.bulkPreloads.clear(),i.instructions|=32;var g=s.hoistableChunks;for(o=0;o<g.length;o++)t.push(g[o]);for(i=g.length=0;i<a.length;i++){var m=a[i];for(s=0;s<m.length;s++)rR(e,t,m[s],null)}var v=e.renderState.preamble,y=v.headChunks;if(v.htmlChunks||y){var b=eC("head");t.push(b)}var w=v.bodyChunks;if(w)for(a=0;a<w.length;a++)t.push(w[a]);rR(e,t,n,null),e.completedRootSegment=null;var k=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var x=e.resumableState;if(0==(64&x.instructions)){if(x.instructions|=64,t.push(k.startInlineScript),0==(32&x.instructions)){x.instructions|=32;var S="_"+x.idPrefix+"R_";t.push(' id="');var C=I(S);t.push(C),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}eE(t,k)}var P=e.renderState;n=0;var E=P.viewportChunks;for(n=0;n<E.length;n++)t.push(E[n]);E.length=0,P.preconnects.forEach(eI,t),P.preconnects.clear(),P.fontPreloads.forEach(eI,t),P.fontPreloads.clear(),P.highImagePreloads.forEach(eI,t),P.highImagePreloads.clear(),P.styles.forEach(e$,t),P.scripts.forEach(eI,t),P.scripts.clear(),P.bulkPreloads.forEach(eI,t),P.bulkPreloads.clear();var T=P.hoistableChunks;for(n=0;n<T.length;n++)t.push(T[n]);T.length=0;var R=e.clientRenderedBoundaries;for(r=0;r<R.length;r++){var O=R[r];P=t;var j=e.resumableState,z=e.renderState,N=O.rootSegmentID,_=O.errorDigest;P.push(z.startInlineScript),P.push(">"),0==(4&j.instructions)?(j.instructions|=4,P.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')):P.push('$RX("'),P.push(z.boundaryPrefix);var A=N.toString(16);if(P.push(A),P.push('"'),_){P.push(",");var L,M=(L=_||"",JSON.stringify(L).replace(eR,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}));P.push(M)}var F=P.push(")<\/script>");if(!F){e.destination=null,r++,R.splice(0,r);return}}R.splice(0,r);var D=e.completedBoundaries;for(r=0;r<D.length;r++)if(!rj(e,t,D[r])){e.destination=null,r++,D.splice(0,r);return}D.splice(0,r),rN=!0;var B=e.partialBoundaries;for(r=0;r<B.length;r++){var $=B[r];e:{R=e,O=t,rT=$.byteSize;var V=$.completedSegments;for(F=0;F<V.length;F++)if(!rz(R,O,$,V[F])){F++,V.splice(0,F);var U=!1;break e}V.splice(0,F);var H=$.row;null!==H&&H.together&&1===$.pendingTasks&&(1===H.pendingTasks?t8(R,H,H.hoistables):H.pendingTasks--),U=eL(O,$.contentState,R.renderState)}if(!U){e.destination=null,r++,B.splice(0,r);return}}B.splice(0,r),rN=!1;var W=e.completedBoundaries;for(r=0;r<W.length;r++)if(!rj(e,t,W[r])){e.destination=null,r++,W.splice(0,r);return}W.splice(0,r)}}finally{rN=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(r=e.resumableState).hasBody&&(B=eC("body"),t.push(B)),r.hasHtml&&(r=eC("html"),t.push(r)),e.status=14,t.push(null),e.destination=null)}}function rA(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?r_(e,t):e.flushScheduled=!1}}function rL(e,t,r){if(null===t)r.rootNodes.push(e);else{var n=r.workingMap,a=n.get(t);void 0===a&&(a=[t[1],t[2],[],null],n.set(t,a),rL(a,t[0],r)),a[2].push(e)}}function rI(){}function rM(e,t,r,n){var a,i,s,l,u,c=!1,d=null,p="",h=!1;t={idPrefix:void 0===(a=t?t.identifierPrefix:void 0)?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:void 0,bootstrapScripts:void 0,bootstrapModules:void 0,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},i=e,s=t,l=function(e,t){var r=e.idPrefix,n=[],a=e.bootstrapScriptContent,o=e.bootstrapScripts,i=e.bootstrapModules;void 0!==a&&(n.push("<script"),eV(n,e),n.push(">",(""+a).replace(K,G),"<\/script>")),a=r+"P:";var s=r+"S:";r+="B:";var l=new Set,u=new Set,c=new Set,d=new Map,p=new Set,h=new Set,f=new Set,g={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==o)for(var m=0;m<o.length;m++){var v,y=o[m],b=void 0,w=void 0,k={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof y?k.href=v=y:(k.href=v=y.src,k.integrity=w="string"==typeof y.integrity?y.integrity:void 0,k.crossOrigin=b="string"==typeof y||null==y.crossOrigin?void 0:"use-credentials"===y.crossOrigin?"use-credentials":"");var x=v;(y=e).scriptResources[x]=null,y.moduleScriptResources[x]=null,ep(y=[],k),p.add(y),n.push('<script src="',I(v),'"'),"string"==typeof w&&n.push(' integrity="',I(w),'"'),"string"==typeof b&&n.push(' crossorigin="',I(b),'"'),eV(n,e),n.push(' async=""><\/script>')}if(void 0!==i)for(o=0;o<i.length;o++)k=i[o],b=v=void 0,w={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof k?w.href=m=k:(w.href=m=k.src,w.integrity=b="string"==typeof k.integrity?k.integrity:void 0,w.crossOrigin=v="string"==typeof k||null==k.crossOrigin?void 0:"use-credentials"===k.crossOrigin?"use-credentials":""),k=e,y=m,k.scriptResources[y]=null,k.moduleScriptResources[y]=null,ep(k=[],w),p.add(k),n.push('<script type="module" src="',I(m),'"'),"string"==typeof b&&n.push(' integrity="',I(b),'"'),"string"==typeof v&&n.push(' crossorigin="',I(v),'"'),eV(n,e),n.push(' async=""><\/script>');return{placeholderPrefix:a,segmentPrefix:s,boundaryPrefix:r,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:n,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:u,highImagePreloads:c,styles:d,bootstrapScripts:p,scripts:h,bulkPreloads:f,preloads:g,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}(t,r),(l=t1(s=new tX(s,l,u=X(0,null,0,null),1/0,rI,void 0,function(){h=!0},void 0,void 0,void 0,void 0),0,null,u,!1,!1)).parentFlushed=!0,t2(i=tJ(s,null,i,-1,null,l,null,null,s.abortableTasks,null,u,null,e7,null,null)),s.pingedTasks.push(i),(e=s).flushScheduled=null!==e.destination,rx(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&rv(e,0===e.pendingRootTasks);var f=e;(11===f.status||10===f.status)&&(f.status=12);try{var g=f.abortableTasks;if(0<g.size){var m=void 0===n?Error(o(432)):"object"==typeof n&&null!==n&&"function"==typeof n.then?Error(o(530)):n;f.fatalError=m,g.forEach(function(e){return function e(t,r,n){var a=t.blockedBoundary,o=t.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=t5(t.componentStack);if(null===a){if(13!==r.status&&14!==r.status){if(null===(a=t.replay))return void(null!==r.trackedPostpones&&null!==o?(a=r.trackedPostpones,t9(r,n,i),rc(r,a,t,o),rk(r,null,t.row,o)):(t9(r,n,i),t4(r,n)));a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(o=t9(r,n,i),rm(r,null,a.nodes,a.slots,n,o)),r.pendingRootTasks--,0===r.pendingRootTasks&&ry(r)}}else{var s=r.trackedPostpones;if(4!==a.status){if(null!==s&&null!==o)return t9(r,n,i),rc(r,s,t,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear(),rk(r,a,t.row,o);a.status=4,o=t9(r,n,i),a.status=4,a.errorDigest=o,rd(r,a),a.parentFlushed&&r.clientRenderedBoundaries.push(a)}a.pendingTasks--,null!==(o=a.row)&&0==--o.pendingTasks&&t6(r,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear()}null!==(t=t.row)&&0==--t.pendingTasks&&t6(r,t),r.allPendingTasks--,0===r.allPendingTasks&&rb(r)}(e,f,m)}),g.clear()}null!==f.destination&&r_(f,f.destination)}catch(e){t9(f,e,{}),t4(f,e)}var v=e,y={push:function(e){return null!==e&&(p+=e),!0},destroy:function(e){c=!0,d=e}};if(13===v.status)v.status=14,y.destroy(v.fatalError);else if(14!==v.status&&null===v.destination){v.destination=y;try{r_(v,y)}catch(e){t9(v,e,{}),t4(v,e)}}if(c&&d!==n)throw d;if(!h)throw Error(o(426));return p}t.renderToStaticMarkup=function(e,t){return rM(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToString=function(e,t){return rM(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="19.2.3"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server.browser.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),a=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),b=Symbol.for("react.activity"),w=Symbol.for("react.legacy_hidden"),k=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),S=Symbol.iterator;function C(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=S&&e[S]||e["@@iterator"])?e:null}var P=Array.isArray;function E(e,t){var r=3&e.length,n=e.length-r,a=t;for(t=0;t<n;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,a^=o=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)|0,a=(65535&(a=5*(65535&(a=a<<13|a>>>19))+((5*(a>>>16)&65535)<<16)|0))+27492+(((a>>>16)+58964&65535)<<16)}switch(o=0,r){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:o^=255&e.charCodeAt(t),a^=0x1b873593*(65535&(o=(o=0xcc9e2d51*(65535&o)+((0xcc9e2d51*(o>>>16)&65535)<<16)|0)<<15|o>>>17))+((0x1b873593*(o>>>16)&65535)<<16)}return a^=e.length,a^=a>>>16,a=0x85ebca6b*(65535&a)+((0x85ebca6b*(a>>>16)&65535)<<16)|0,a^=a>>>13,((a=0xc2b2ae35*(65535&a)+((0xc2b2ae35*(a>>>16)&65535)<<16)|0)^a>>>16)>>>0}var T=new MessageChannel,R=[];function O(e){R.push(e),T.port2.postMessage(null)}function j(e){setTimeout(function(){throw e})}T.port1.onmessage=function(){var e=R.shift();e&&e()};var z=Promise,N="function"==typeof queueMicrotask?queueMicrotask:function(e){z.resolve(null).then(e).catch(j)},_=null,A=0;function L(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<A&&(e.enqueue(new Uint8Array(_.buffer,0,A)),_=new Uint8Array(2048),A=0),e.enqueue(t);else{var r=_.length-A;r<t.byteLength&&(0===r?e.enqueue(_):(_.set(t.subarray(0,r),A),e.enqueue(_),t=t.subarray(r)),_=new Uint8Array(2048),A=0),_.set(t,A),A+=t.byteLength}}function I(e,t){return L(e,t),!0}function M(e){_&&0<A&&(e.enqueue(new Uint8Array(_.buffer,0,A)),_=null,A=0)}var F=new TextEncoder;function D(e){return F.encode(e)}function B(e){return F.encode(e)}function $(e){return e.byteLength}function V(e,t){"function"==typeof e.error?e.error(t):e.close()}var U=Object.assign,H=Object.prototype.hasOwnProperty,W=RegExp("^[: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]*$"),q={},K={};function G(e){return!!H.call(K,e)||!H.call(q,e)&&(W.test(e)?K[e]=!0:(q[e]=!0,!1))}var X=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Y=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Q=/["'&<>]/;function Z(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=Q.exec(e);if(t){var r,n="",a=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==r&&(n+=e.slice(a,r)),a=r+1,n+=t}e=a!==r?n+e.slice(a,r):n}return e}var J=/([A-Z])/g,ee=/^ms-/,et=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function er(e){return et.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var en=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ea=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eo={pending:!1,data:null,method:null,action:null},ei=ea.d;ea.d={f:ei.f,r:ei.r,D:function(e){var t=nV||null;if(t){var r,n,a=t.resumableState,o=t.renderState;"string"==typeof e&&e&&(a.dnsResources.hasOwnProperty(e)||(a.dnsResources[e]=null,(n=(a=o.headers)&&0<a.remainingCapacity)&&(r="<"+(""+e).replace(rM,rF)+">; rel=dns-prefetch",n=0<=(a.remainingCapacity-=r.length+2)),n?(o.resets.dns[e]=null,a.preconnects&&(a.preconnects+=", "),a.preconnects+=r):(e9(r=[],{href:e,rel:"dns-prefetch"}),o.preconnects.add(r))),aR(t))}else ei.D(e)},C:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if("string"==typeof e&&e){var o,i,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";n.connectResources[s].hasOwnProperty(e)||(n.connectResources[s][e]=null,(i=(n=a.headers)&&0<n.remainingCapacity)&&(i="<"+(""+e).replace(rM,rF)+">; rel=preconnect","string"==typeof t&&(i+='; crossorigin="'+(""+t).replace(rD,rB)+'"'),o=i,i=0<=(n.remainingCapacity-=o.length+2)),i?(a.resets.connect[s][e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(e9(s=[],{rel:"preconnect",href:e,crossOrigin:t}),a.preconnects.add(s))),aR(r)}}else ei.C(e,t)},L:function(e,t,r){var n=nV||null;if(n){var a=n.resumableState,o=n.renderState;if(t&&e){switch(t){case"image":if(r)var i,s=r.imageSrcSet,l=r.imageSizes,u=r.fetchPriority;var c=s?s+"\n"+(l||""):e;if(a.imageResources.hasOwnProperty(c))return;a.imageResources[c]=es,(a=o.headers)&&0<a.remainingCapacity&&"string"!=typeof s&&"high"===u&&(i=rI(e,t,r),0<=(a.remainingCapacity-=i.length+2))?(o.resets.image[c]=es,a.highImagePreloads&&(a.highImagePreloads+=", "),a.highImagePreloads+=i):(e9(a=[],U({rel:"preload",href:s?void 0:e,as:t},r)),"high"===u?o.highImagePreloads.add(a):(o.bulkPreloads.add(a),o.preloads.images.set(c,a)));break;case"style":if(a.styleResources.hasOwnProperty(e))return;e9(s=[],U({rel:"preload",href:e,as:t},r)),a.styleResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:es,o.preloads.stylesheets.set(e,s),o.bulkPreloads.add(s);break;case"script":if(a.scriptResources.hasOwnProperty(e))return;s=[],o.preloads.scripts.set(e,s),o.bulkPreloads.add(s),e9(s,U({rel:"preload",href:e,as:t},r)),a.scriptResources[e]=r&&("string"==typeof r.crossOrigin||"string"==typeof r.integrity)?[r.crossOrigin,r.integrity]:es;break;default:if(a.unknownResources.hasOwnProperty(t)){if((s=a.unknownResources[t]).hasOwnProperty(e))return}else s={},a.unknownResources[t]=s;s[e]=es,(a=o.headers)&&0<a.remainingCapacity&&"font"===t&&(c=rI(e,t,r),0<=(a.remainingCapacity-=c.length+2))?(o.resets.font[e]=es,a.fontPreloads&&(a.fontPreloads+=", "),a.fontPreloads+=c):(e9(a=[],e=U({rel:"preload",href:e,as:t},r)),"font"===t)?o.fontPreloads.add(a):o.bulkPreloads.add(a)}aR(n)}}else ei.L(e,t,r)},m:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(n.moduleScriptResources.hasOwnProperty(e))return;o=[],n.moduleScriptResources[e]=t&&("string"==typeof t.crossOrigin||"string"==typeof t.integrity)?[t.crossOrigin,t.integrity]:es,a.preloads.moduleScripts.set(e,o)}else{if(n.moduleUnknownResources.hasOwnProperty(o)){var i=n.unknownResources[o];if(i.hasOwnProperty(e))return}else i={},n.moduleUnknownResources[o]=i;o=[],i[e]=es}e9(o,U({rel:"modulepreload",href:e},t)),a.bulkPreloads.add(o),aR(r)}}else ei.m(e,t)},X:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.scriptResources.hasOwnProperty(e)?n.scriptResources[e]:void 0;null!==o&&(n.scriptResources[e]=null,t=U({src:e,async:!0},t),o&&(2===o.length&&rL(t,o),e=a.preloads.scripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),tn(e,t),aR(r))}}else ei.X(e,t)},S:function(e,t,r){var n=nV||null;if(n){var a=n.resumableState,o=n.renderState;if(e){t=t||"default";var i=o.styles.get(t),s=a.styleResources.hasOwnProperty(e)?a.styleResources[e]:void 0;null!==s&&(a.styleResources[e]=null,i||(i={precedence:D(Z(t)),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,i)),t={state:0,props:U({rel:"stylesheet",href:e,"data-precedence":t},r)},s&&(2===s.length&&rL(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),i.sheets.set(e,t),aR(n))}}else ei.S(e,t,r)},M:function(e,t){var r=nV||null;if(r){var n=r.resumableState,a=r.renderState;if(e){var o=n.moduleScriptResources.hasOwnProperty(e)?n.moduleScriptResources[e]:void 0;null!==o&&(n.moduleScriptResources[e]=null,t=U({src:e,type:"module",async:!0},t),o&&(2===o.length&&rL(t,o),e=a.preloads.moduleScripts.get(e))&&(e.length=0),e=[],a.scripts.add(e),tn(e,t),aR(r))}}else ei.M(e,t)}};var es=[],el=null;B('"></template>');var eu=B("<script"),ec=B("<\/script>"),ed=B('<script src="'),ep=B('<script type="module" src="'),eh=B(' nonce="'),ef=B(' integrity="'),eg=B(' crossorigin="'),em=B(' async=""><\/script>'),ev=B("<style"),ey=/(<\/|<)(s)(cript)/gi;function eb(e,t,r,n){return""+t+("s"===r?"\\u0073":"\\u0053")+n}var ew=B('<script type="importmap">'),ek=B("<\/script>");function ex(e,t,r,n,a,o){var i=void 0===(r="string"==typeof t?t:t&&t.script)?eu:B('<script nonce="'+Z(r)+'"'),s="string"==typeof t?void 0:t&&t.style,l=void 0===s?ev:B('<style nonce="'+Z(s)+'"'),u=e.idPrefix,c=[],d=e.bootstrapScriptContent,p=e.bootstrapScripts,h=e.bootstrapModules;if(void 0!==d&&(c.push(i),rO(c,e),c.push(eQ,D((""+d).replace(ey,eb)),ec)),d=[],void 0!==n&&(d.push(ew),d.push(D((""+JSON.stringify(n)).replace(ey,eb))),d.push(ek)),n=a?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof o?o:2e3)}:null,a={placeholderPrefix:B(u+"P:"),segmentPrefix:B(u+"S:"),boundaryPrefix:B(u+"B:"),startInlineScript:i,startInlineStyle:l,preamble:eC(),externalRuntimeScript:null,bootstrapChunks:c,importMapChunks:d,onHeaders:a,headers:n,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:r,style:s},hoistableState:null,stylesToHoist:!1},void 0!==p)for(n=0;n<p.length;n++)u=p[n],s=i=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof u?l.href=o=u:(l.href=o=u.src,l.integrity=s="string"==typeof u.integrity?u.integrity:void 0,l.crossOrigin=i="string"==typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":""),u=e,d=o,u.scriptResources[d]=null,u.moduleScriptResources[d]=null,e9(u=[],l),a.bootstrapScripts.add(u),c.push(ed,D(Z(o)),eB),r&&c.push(eh,D(Z(r)),eB),"string"==typeof s&&c.push(ef,D(Z(s)),eB),"string"==typeof i&&c.push(eg,D(Z(i)),eB),rO(c,e),c.push(em);if(void 0!==h)for(t=0;t<h.length;t++)s=h[t],o=n=void 0,i={rel:"modulepreload",fetchPriority:"low",nonce:r},"string"==typeof s?i.href=p=s:(i.href=p=s.src,i.integrity=o="string"==typeof s.integrity?s.integrity:void 0,i.crossOrigin=n="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),s=e,l=p,s.scriptResources[l]=null,s.moduleScriptResources[l]=null,e9(s=[],i),a.bootstrapScripts.add(s),c.push(ep,D(Z(p)),eB),r&&c.push(eh,D(Z(r)),eB),"string"==typeof o&&c.push(ef,D(Z(o)),eB),"string"==typeof n&&c.push(eg,D(Z(n)),eB),rO(c,e),c.push(em);return a}function eS(e,t,r,n,a){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:r,bootstrapScripts:n,bootstrapModules:a,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function eC(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function eP(e,t,r,n){return{insertionMode:e,selectedValue:t,tagScope:r,viewTransition:n}}function eE(e){return eP("http://www.w3.org/2000/svg"===e?4:5*("http://www.w3.org/1998/Math/MathML"===e),null,0,null)}function eT(e,t,r){var n=-25&e.tagScope;switch(t){case"noscript":return eP(2,null,1|n,null);case"select":return eP(2,null!=r.value?r.value:r.defaultValue,n,null);case"svg":return eP(4,null,n,null);case"picture":return eP(2,null,2|n,null);case"math":return eP(5,null,n,null);case"foreignObject":return eP(2,null,n,null);case"table":return eP(6,null,n,null);case"thead":case"tbody":case"tfoot":return eP(7,null,n,null);case"colgroup":return eP(9,null,n,null);case"tr":return eP(8,null,n,null);case"head":if(2>e.insertionMode)return eP(3,null,n,null);break;case"html":if(0===e.insertionMode)return eP(1,null,n,null)}return 6<=e.insertionMode||2>e.insertionMode?eP(2,null,n,null):e.tagScope!==n?eP(e.insertionMode,e.selectedValue,n,null):e}function eR(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function eO(e,t){return 32&t.tagScope&&(e.instructions|=128),eP(t.insertionMode,t.selectedValue,12|t.tagScope,eR(t.viewTransition))}function ej(e,t){e=eR(t.viewTransition);var r=16|t.tagScope;return null!==e&&"none"!==e.share&&(r|=64),eP(t.insertionMode,t.selectedValue,r,e)}var ez=B("\x3c!-- --\x3e");function eN(e,t,r,n){return""===t?n:(n&&e.push(ez),e.push(D(Z(t))),!0)}var e_=new Map,eA=B(' style="'),eL=B(":"),eI=B(";");function eM(e,t){if("object"!=typeof t)throw Error(o(62));var r,n=!0;for(r in t)if(H.call(t,r)){var a=t[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var i=D(Z(r));a=D(Z((""+a).trim()))}else void 0===(i=e_.get(r))&&(i=B(Z(r.replace(J,"-$1").toLowerCase().replace(ee,"-ms-"))),e_.set(r,i)),a="number"==typeof a?0===a||X.has(r)?D(""+a):D(a+"px"):D(Z((""+a).trim()));n?(n=!1,e.push(eA,i,eL,a)):e.push(eI,i,eL,a)}}n||e.push(eB)}var eF=B(" "),eD=B('="'),eB=B('"'),e$=B('=""');function eV(e,t,r){r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),e$)}function eU(e,t,r){"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r&&e.push(eF,D(t),eD,D(Z(r)),eB)}var eH=B(Z("javascript:throw new Error('React form unexpectedly submitted.')")),eW=B('<input type="hidden"');function eq(e,t){this.push(eW),eK(e),eU(this,"name",t),eU(this,"value",e),this.push(eZ)}function eK(e){if("string"!=typeof e)throw Error(o(480))}function eG(e,t){if("function"==typeof t.$$FORM_ACTION){var r=e.nextFormID++;e=e.idPrefix+r;try{var n=t.$$FORM_ACTION(e);if(n){var a=n.data;null!=a&&a.forEach(eK)}return n}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function eX(e,t,r,n,a,o,i,s){var l=null;if("function"==typeof n){var u=eG(t,n);null!==u?(s=u.name,n=u.action||"",a=u.encType,o=u.method,i=u.target,l=u.data):(e.push(eF,D("formAction"),eD,eH,eB),i=o=a=n=s=null,e2(t,r))}return null!=s&&eY(e,"name",s),null!=n&&eY(e,"formAction",n),null!=a&&eY(e,"formEncType",a),null!=o&&eY(e,"formMethod",o),null!=i&&eY(e,"formTarget",i),l}function eY(e,t,r){switch(t){case"className":eU(e,"class",r);break;case"tabIndex":eU(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":eU(e,t,r);break;case"style":eM(e,r);break;case"src":case"href":if(""===r)break;case"action":case"formAction":if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=er(""+r),e.push(eF,D(t),eD,D(Z(r)),eB);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":eV(e,t.toLowerCase(),r);break;case"xlinkHref":if("function"==typeof r||"symbol"==typeof r||"boolean"==typeof r)break;r=er(""+r),e.push(eF,D("xlink:href"),eD,D(Z(r)),eB);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),eD,D(Z(r)),eB);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),e$);break;case"capture":case"download":!0===r?e.push(eF,D(t),e$):!1!==r&&"function"!=typeof r&&"symbol"!=typeof r&&e.push(eF,D(t),eD,D(Z(r)),eB);break;case"cols":case"rows":case"size":case"span":"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r&&e.push(eF,D(t),eD,D(Z(r)),eB);break;case"rowSpan":case"start":"function"==typeof r||"symbol"==typeof r||isNaN(r)||e.push(eF,D(t),eD,D(Z(r)),eB);break;case"xlinkActuate":eU(e,"xlink:actuate",r);break;case"xlinkArcrole":eU(e,"xlink:arcrole",r);break;case"xlinkRole":eU(e,"xlink:role",r);break;case"xlinkShow":eU(e,"xlink:show",r);break;case"xlinkTitle":eU(e,"xlink:title",r);break;case"xlinkType":eU(e,"xlink:type",r);break;case"xmlBase":eU(e,"xml:base",r);break;case"xmlLang":eU(e,"xml:lang",r);break;case"xmlSpace":eU(e,"xml:space",r);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&G(t=Y.get(t)||t)){switch(typeof r){case"function":case"symbol":return;case"boolean":var n=t.toLowerCase().slice(0,5);if("data-"!==n&&"aria-"!==n)return}e.push(eF,D(t),eD,D(Z(r)),eB)}}}var eQ=B(">"),eZ=B("/>");function eJ(e,t,r){if(null!=t){if(null!=r)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(D(""+t))}}var e0=B(' selected=""'),e1=B('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function e2(e,t){if(0==(16&e.instructions)){e.instructions|=16;var r=t.preamble,n=t.bootstrapChunks;(r.htmlChunks||r.headChunks)&&0===n.length?(n.push(t.startInlineScript),rO(n,e),n.push(eQ,e1,ec)):n.unshift(t.startInlineScript,eQ,e1,ec)}}var e3=B("\x3c!--F!--\x3e"),e5=B("\x3c!--F--\x3e");function e9(e,t){for(var r in e.push(tu("link")),t)if(H.call(t,r)){var n=t[r];if(null!=n)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:eY(e,r,n)}}return e.push(eZ),null}var e4=/(<\/|<)(s)(tyle)/gi;function e6(e,t,r,n){return""+t+("s"===r?"\\73 ":"\\53 ")+n}function e8(e,t,r){for(var n in e.push(tu(r)),t)if(H.call(t,n)){var a=t[n];if(null!=a)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,r));default:eY(e,n,a)}}return e.push(eZ),null}function e7(e,t){e.push(tu("title"));var r,n=null,a=null;for(r in t)if(H.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,r,o)}}return e.push(eQ),"function"!=typeof(t=Array.isArray(n)?2>n.length?n[0]:null:n)&&"symbol"!=typeof t&&null!=t&&e.push(D(Z(""+t))),eJ(e,a,n),e.push(tp("title")),null}var te=B("\x3c!--head--\x3e"),tt=B("\x3c!--body--\x3e"),tr=B("\x3c!--html--\x3e");function tn(e,t){e.push(tu("script"));var r,n=null,a=null;for(r in t)if(H.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,r,o)}}return e.push(eQ),eJ(e,a,n),"string"==typeof n&&e.push(D((""+n).replace(ey,eb))),e.push(tp("script")),null}function ta(e,t,r){e.push(tu(r));var n,a=r=null;for(n in t)if(H.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,n,o)}}return e.push(eQ),eJ(e,a,r),r}function to(e,t,r){e.push(tu(r));var n,a=r=null;for(n in t)if(H.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":a=o;break;default:eY(e,n,o)}}return e.push(eQ),eJ(e,a,r),"string"==typeof r?(e.push(D(Z(r))),null):r}var ti=B("\n"),ts=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,tl=new Map;function tu(e){var t=tl.get(e);if(void 0===t){if(!ts.test(e))throw Error(o(65,e));t=B("<"+e),tl.set(e,t)}return t}var tc=B("<!DOCTYPE html>"),td=new Map;function tp(e){var t=td.get(e);return void 0===t&&(t=B("</"+e+">"),td.set(e,t)),t}function th(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function tf(e,t){t=t.bootstrapChunks;for(var r=0;r<t.length-1;r++)L(e,t[r]);return!(r<t.length)||(r=t[r],t.length=0,I(e,r))}var tg=B("requestAnimationFrame(function(){$RT=performance.now()});"),tm=B('<template id="'),tv=B('"></template>'),ty=B("\x3c!--&--\x3e"),tb=B("\x3c!--/&--\x3e"),tw=B("\x3c!--$--\x3e"),tk=B('\x3c!--$?--\x3e<template id="'),tx=B('"></template>'),tS=B("\x3c!--$!--\x3e"),tC=B("\x3c!--/$--\x3e"),tP=B("<template"),tE=B('"'),tT=B(' data-dgst="');B(' data-msg="'),B(' data-stck="'),B(' data-cstck="');var tR=B("></template>");function tO(e,t,r){if(L(e,tk),null===r)throw Error(o(395));return L(e,t.boundaryPrefix),L(e,D(r.toString(16))),I(e,tx)}var tj=B('<div hidden id="'),tz=B('">'),tN=B("</div>"),t_=B('<svg aria-hidden="true" style="display:none" id="'),tA=B('">'),tL=B("</svg>"),tI=B('<math aria-hidden="true" style="display:none" id="'),tM=B('">'),tF=B("</math>"),tD=B('<table hidden id="'),tB=B('">'),t$=B("</table>"),tV=B('<table hidden><tbody id="'),tU=B('">'),tH=B("</tbody></table>"),tW=B('<table hidden><tr id="'),tq=B('">'),tK=B("</tr></table>"),tG=B('<table hidden><colgroup id="'),tX=B('">'),tY=B("</colgroup></table>"),tQ=B('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),tZ=B('$RS("'),tJ=B('","'),t0=B('")<\/script>');B('<template data-rsi="" data-sid="'),B('" data-pid="');var t1=B('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};');D('$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);');var t2=B('$RC("'),t3=B('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),t5=B('$RR("'),t9=B('","'),t4=B('",'),t6=B('"'),t8=B(")<\/script>");B('<template data-rci="" data-bid="'),B('<template data-rri="" data-bid="'),B('" data-sid="'),B('" data-sty="');var t7=B('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),re=B('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),rt=B('$RX("'),rr=B('"'),rn=B(","),ra=B(")<\/script>");B('<template data-rxi="" data-bid="'),B('" data-dgst="'),B('" data-msg="'),B('" data-stck="'),B('" data-cstck="');var ro=/[<\u2028\u2029]/g,ri=/[&><\u2028\u2029]/g;function rs(e){return JSON.stringify(e).replace(ri,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var rl=B(' media="not all" data-precedence="'),ru=B('" data-href="'),rc=B('">'),rd=B("</style>"),rp=!1,rh=!0;function rf(e){var t=e.rules,r=e.hrefs,n=0;if(r.length){for(L(this,el.startInlineStyle),L(this,rl),L(this,e.precedence),L(this,ru);n<r.length-1;n++)L(this,r[n]),L(this,rx);for(L(this,r[n]),L(this,rc),n=0;n<t.length;n++)L(this,t[n]);rh=I(this,rd),rp=!0,t.length=0,r.length=0}}function rg(e){return 2!==e.state&&(rp=!0)}function rm(e,t,r){return rp=!1,rh=!0,el=r,t.styles.forEach(rf,e),el=null,t.stylesheets.forEach(rg),rp&&(r.stylesToHoist=!0),rh}function rv(e){for(var t=0;t<e.length;t++)L(this,e[t]);e.length=0}var ry=[];function rb(e){e9(ry,e.props);for(var t=0;t<ry.length;t++)L(this,ry[t]);ry.length=0,e.state=2}var rw=B(' data-precedence="'),rk=B('" data-href="'),rx=B(" "),rS=B('">'),rC=B("</style>");function rP(e){var t=0<e.sheets.size;e.sheets.forEach(rb,this),e.sheets.clear();var r=e.rules,n=e.hrefs;if(!t||n.length){if(L(this,el.startInlineStyle),L(this,rw),L(this,e.precedence),e=0,n.length){for(L(this,rk);e<n.length-1;e++)L(this,n[e]),L(this,rx);L(this,n[e])}for(L(this,rS),e=0;e<r.length;e++)L(this,r[e]);L(this,rC),r.length=0,n.length=0}}function rE(e){if(0===e.state){e.state=1;var t=e.props;for(e9(ry,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<ry.length;e++)L(this,ry[e]);ry.length=0}}function rT(e){e.sheets.forEach(rE,this),e.sheets.clear()}B('<link rel="expect" href="#'),B('" blocking="render"/>');var rR=B(' id="');function rO(e,t){0==(32&t.instructions)&&(t.instructions|=32,e.push(rR,D(Z("_"+t.idPrefix+"R_")),eB))}var rj=B("["),rz=B(",["),rN=B(","),r_=B("]");function rA(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function rL(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function rI(e,t,r){for(var n in t="<"+(e=(""+e).replace(rM,rF))+'>; rel=preload; as="'+(t=(""+t).replace(rD,rB))+'"',r)H.call(r,n)&&"string"==typeof(e=r[n])&&(t+="; "+n.toLowerCase()+'="'+(""+e).replace(rD,rB)+'"');return t}var rM=/[<>\r\n]/g;function rF(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var rD=/["';,\r\n]/g;function rB(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function r$(e){this.styles.add(e)}function rV(e){this.stylesheets.add(e)}function rU(e,t){t.styles.forEach(r$,e),t.stylesheets.forEach(rV,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function rH(e){return 0<e.stylesheets.size||e.suspenseyImages}var rW=Function.prototype.bind,rq=Symbol.for("react.client.reference");function rK(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===rq?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList";case b:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case p:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case h:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case m:return null!==(t=e.displayName||null)?t:rK(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return rK(e(t))}catch(e){}}return null}var rG={},rX=null;function rY(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(o(401))}else{if(null===r)throw Error(o(401));rY(e,r)}t.context._currentValue=t.value}}function rQ(e){var t=rX;t!==e&&(null===t?function e(t){var r=t.parent;null!==r&&e(r),t.context._currentValue=t.value}(e):null===e?function e(t){t.context._currentValue=t.parentValue,null!==(t=t.parent)&&e(t)}(t):t.depth===e.depth?rY(t,e):t.depth>e.depth?function e(t,r){if(t.context._currentValue=t.parentValue,null===(t=t.parent))throw Error(o(402));t.depth===r.depth?rY(t,r):e(t,r)}(t,e):function e(t,r){var n=r.parent;if(null===n)throw Error(o(402));t.depth===n.depth?rY(t,n):e(t,n),r.context._currentValue=r.value}(t,e),rX=e)}var rZ={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},rJ={id:1,overflow:""};function r0(e,t,r){var n=e.id;e=e.overflow;var a=32-r1(n)-1;n&=~(1<<a),r+=1;var o=32-r1(t)+a;if(30<o){var i=a-a%5;return o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,{id:1<<32-r1(t)+a|r<<a|n,overflow:o+e}}return{id:1<<o|r<<a|n,overflow:e}}var r1=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(r2(e)/r3|0)|0},r2=Math.log,r3=Math.LN2;function r5(){}var r9=Error(o(460)),r4=null;function r6(){if(null===r4)throw Error(o(459));var e=r4;return r4=null,e}var r8="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r7=null,ne=null,nt=null,nr=null,nn=null,na=null,no=!1,ni=!1,ns=0,nl=0,nu=-1,nc=0,nd=null,np=null,nh=0;function nf(){if(null===r7)throw Error(o(321));return r7}function ng(){if(0<nh)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function nm(){return null===na?null===nn?(no=!1,nn=na=ng()):(no=!0,na=nn):null===na.next?(no=!1,na=na.next=ng()):(no=!0,na=na.next),na}function nv(){var e=nd;return nd=null,e}function ny(){nr=nt=ne=r7=null,ni=!1,nn=null,nh=0,na=np=null}function nb(e,t){return"function"==typeof t?t(e):t}function nw(e,t,r){if(r7=nf(),na=nm(),no){var n=na.queue;if(t=n.dispatch,null!==np&&void 0!==(r=np.get(n))){np.delete(n),n=na.memoizedState;do n=e(n,r.action),r=r.next;while(null!==r);return na.memoizedState=n,[n,t]}return[na.memoizedState,t]}return e=e===nb?"function"==typeof t?t():t:void 0!==r?r(t):t,na.memoizedState=e,e=(e=na.queue={last:null,dispatch:null}).dispatch=nx.bind(null,r7,e),[na.memoizedState,e]}function nk(e,t){if(r7=nf(),na=nm(),t=void 0===t?null:t,null!==na){var r=na.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var a=0;a<n.length&&a<t.length;a++)if(!r8(t[a],n[a])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),na.memoizedState=[e,t],e}function nx(e,t,r){if(25<=nh)throw Error(o(301));if(e===r7)if(ni=!0,e={action:r,next:null},null===np&&(np=new Map),void 0===(r=np.get(t)))np.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function nS(){throw Error(o(440))}function nC(){throw Error(o(394))}function nP(){throw Error(o(479))}function nE(e,t,r){nf();var n=nl++,a=nt;if("function"==typeof e.$$FORM_ACTION){var o=null,i=nr;a=a.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==a&&"function"==typeof s){var l=a[1];s.call(e,a[2],a[3])&&l===(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0))&&(nu=n,t=a[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==r&&(r+="",e.action=r);var t=e.data;return t&&(null===o&&(o=void 0!==r?"p"+r:"k"+E(JSON.stringify([i,null,n]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function nT(e){var t=nc;nc+=1,null===nd&&(nd=[]);var r=nd,n=e,a=t;switch(void 0===(a=r[a])?r.push(n):a!==n&&(n.then(r5,r5),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch("string"==typeof n.status?n.then(r5,r5):((r=n).status="pending",r.then(function(e){if("pending"===n.status){var t=n;t.status="fulfilled",t.value=e}},function(e){if("pending"===n.status){var t=n;t.status="rejected",t.reason=e}})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}throw r4=n,r9}}function nR(){throw Error(o(393))}var nO,nj,nz={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return nT(e);if(e.$$typeof===p)return e._currentValue}throw Error(o(438,String(e)))},useContext:function(e){return nf(),e._currentValue},useMemo:nk,useReducer:nw,useRef:function(e){r7=nf();var t=(na=nm()).memoizedState;return null===t?(e={current:e},na.memoizedState=e):t},useState:function(e){return nw(nb,e)},useInsertionEffect:r5,useLayoutEffect:r5,useCallback:function(e,t){return nk(function(){return e},t)},useImperativeHandle:r5,useEffect:r5,useDebugValue:r5,useDeferredValue:function(e,t){return nf(),void 0!==t?t:e},useTransition:function(){return nf(),[!1,nC]},useId:function(){var e=ne.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-r1(e)-1)).toString(32)+t;var r=nN;if(null===r)throw Error(o(404));return t=ns++,e="_"+r.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(o(407));return r()},useOptimistic:function(e){return nf(),[e,nP]},useActionState:nE,useFormState:nE,useHostTransitionStatus:function(){return nf(),eo},useMemoCache:function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=k;return t},useCacheRefresh:function(){return nR},useEffectEvent:function(){return nS}},nN=null,n_={getCacheForType:function(){throw Error(o(248))},cacheSignal:function(){throw Error(o(248))}};function nA(e){if(void 0===nO)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);nO=t&&t[1]||"",nj=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+nO+e+nj}var nL=!1;function nI(e,t){if(!e||nL)return"";nL=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch(function(){})}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=n=0;n<l.length&&!l[n].includes("DetermineComponentFrameRoot");)n++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(n===l.length||a===u.length)for(n=l.length-1,a=u.length-1;1<=n&&0<=a&&l[n]!==u[a];)a--;for(;1<=n&&0<=a;n--,a--)if(l[n]!==u[a]){if(1!==n||1!==a)do if(n--,a--,0>a||l[n]!==u[a]){var c="\n"+l[n].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=n&&0<=a);break}}}finally{nL=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?nA(r):""}function nM(e,t){return(500<t.byteSize||rH(t.contentState))&&null===t.contentPreamble}function nF(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e])[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=rW.apply(console.error,e))()}else console.error(e);return null}function nD(e,t,r,n,a,o,i,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=r,this.progressiveChunkSize=void 0===n?12800:n,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===a?nF:a,this.onPostpone=void 0===u?r5:u,this.onAllReady=void 0===o?r5:o,this.onShellReady=void 0===i?r5:i,this.onShellError=void 0===s?r5:s,this.onFatalError=void 0===l?r5:l,this.formState=void 0===c?null:c}function nB(e,t,r,n,a,o,i,s,l,u,c,d){return(r=nK(t=new nD(t,r,n,a,o,i,s,l,u,c,d),0,null,n,!1,!1)).parentFlushed=!0,nG(e=nW(t,null,e,-1,null,r,null,null,t.abortableTasks,null,n,null,rJ,null,null)),t.pingedTasks.push(e),t}function n$(e,t,r,n,a,o,i,s,l){return((r=new nD(t.resumableState,r,t.rootFormatContext,t.progressiveChunkSize,n,a,o,i,s,l,null)).nextSegmentId=t.nextSegmentId,"number"==typeof t.replaySlots)?((n=nK(r,0,null,t.rootFormatContext,!1,!1)).parentFlushed=!0,nG(e=nW(r,null,e,-1,null,n,null,null,r.abortableTasks,null,t.rootFormatContext,null,rJ,null,null))):nG(e=nq(r,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,r.abortableTasks,null,t.rootFormatContext,null,rJ,null,null)),r.pingedTasks.push(e),r}var nV=null;function nU(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?N(function(){return ag(e)}):O(function(){return ag(e)}))}function nH(e,t,r,n,a){return r={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null,contentState:rA(),fallbackState:rA(),contentPreamble:n,fallbackPreamble:a,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(n=t.boundaries)&&(e.allPendingTasks++,r.pendingTasks++,n.push(r)),null!==(e=t.inheritedHoistables)&&rU(r.contentState,e)),r}function nW(e,t,r,n,a,o,i,s,l,u,c,d,p,h,f){e.allPendingTasks++,null===a?e.pendingRootTasks++:a.pendingTasks++,null!==h&&h.pendingTasks++;var g={replay:null,node:r,childIndex:n,ping:function(){return nU(e,g)},blockedBoundary:a,blockedSegment:o,blockedPreamble:i,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:p,row:h,componentStack:f,thenableState:t};return l.add(g),g}function nq(e,t,r,n,a,o,i,s,l,u,c,d,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++,r.pendingTasks++;var f={replay:r,node:n,childIndex:a,ping:function(){return nU(e,f)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:i,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:p,componentStack:h,thenableState:t};return s.add(f),f}function nK(e,t,r,n,a,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:n,boundary:r,lastPushedText:a,textEmbedded:o}}function nG(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===i&&(e.componentStack={parent:e.componentStack,type:t.type})}function nX(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function nY(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var r="",n=e;do r+=function e(t){if("string"==typeof t)return nA(t);if("function"==typeof t)return t.prototype&&t.prototype.isReactComponent?nI(t,!0):nI(t,!1);if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return nI(t.render,!1);case m:return nI(t.type,!1);case v:var r=t,n=r._payload;r=r._init;try{t=r(n)}catch(e){return nA("Lazy")}return e(t)}if("string"==typeof t.name){e:{n=t.name,r=t.env;var a=t.debugLocation;if(null!=a&&(t=Error.prepareStackTrace,Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=t,a.startsWith("Error: react-stack-top-frame\n")&&(a=a.slice(29)),-1!==(t=a.indexOf("\n"))&&(a=a.slice(t+1)),-1!==(t=a.indexOf("react_stack_bottom_frame"))&&(t=a.lastIndexOf("\n",t)),-1!==(t=-1===(a=(t=-1!==t?a=a.slice(0,t):"").lastIndexOf("\n"))?t:t.slice(a+1)).indexOf(n))){n="\n"+t;break e}n=nA(n+(r?" ["+r+"]":""))}return n}}switch(t){case g:return nA("SuspenseList");case f:return nA("Suspense")}return""}(n.type),n=n.parent;while(n);var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:a}),a}}),t}function nQ(e,t,r){if(null==(t=(e=e.onError)(t,r))||"string"==typeof t)return t}function nZ(e,t){var r=e.onShellError,n=e.onFatalError;r(t),n(t),null!==e.destination?(e.status=14,V(e.destination,t)):(e.status=13,e.fatalError=t)}function nJ(e,t){n0(e,t.next,t.hoistables)}function n0(e,t,r){for(;null!==t;){null!==r&&(rU(t.hoistables,r),t.inheritedHoistables=r);var n=t.boundaries;if(null!==n){t.boundaries=null;for(var a=0;a<n.length;a++){var o=n[a];null!==r&&rU(o.contentState,r),af(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;r=t.hoistables,t=t.next}}function n1(e,t){var r=t.boundaries;if(null!==r&&t.pendingTasks===r.length){for(var n=!0,a=0;a<r.length;a++){var o=r[a];if(1!==o.pendingTasks||o.parentFlushed||nM(e,o)){n=!1;break}}n&&n0(e,t,t.hoistables)}}function n2(e){var t={pendingTasks:1,boundaries:null,hoistables:rA(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function n3(e,t,r,n,a){var o=t.keyPath,i=t.treeContext,s=t.row;t.keyPath=r,r=n.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<r;c++){var d="backwards"!==a&&"unstable_legacy-backwards"!==a?c:r-1-c,p=n[d];t.row=l=n2(l),t.treeContext=r0(i,r,d);var h=u[d];"number"==typeof h?(n6(e,t,h,p,d),delete u[d]):ai(e,t,p,d),0==--l.pendingTasks&&nJ(e,l)}else for(u=0;u<r;u++)d=n[c="backwards"!==a&&"unstable_legacy-backwards"!==a?u:r-1-u],t.row=l=n2(l),t.treeContext=r0(i,r,c),ai(e,t,d,c),0==--l.pendingTasks&&nJ(e,l)}else if("backwards"!==a&&"unstable_legacy-backwards"!==a)for(a=0;a<r;a++)u=n[a],t.row=l=n2(l),t.treeContext=r0(i,r,a),ai(e,t,u,a),0==--l.pendingTasks&&nJ(e,l);else{for(u=(a=t.blockedSegment).children.length,c=a.chunks.length,d=r-1;0<=d;d--){p=n[d],t.row=l=n2(l),t.treeContext=r0(i,r,d),h=nK(e,c,null,t.formatContext,0!==d||a.lastPushedText,!0),a.children.splice(u,0,h),t.blockedSegment=h;try{ai(e,t,p,d),h.lastPushedText&&h.textEmbedded&&h.chunks.push(ez),h.status=1,ah(e,t.blockedBoundary,h),0==--l.pendingTasks&&nJ(e,l)}catch(t){throw h.status=12===e.status?3:4,t}}t.blockedSegment=a,a.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=i,t.row=s,t.keyPath=o}function n5(e,t,r,n,a,o){var i=t.thenableState;for(t.thenableState=null,r7={},ne=t,nt=e,nr=r,nl=ns=0,nu=-1,nc=0,nd=i,e=n(a,o);ni;)ni=!1,nl=ns=0,nu=-1,nc=0,nh+=1,na=null,e=n(a,o);return ny(),e}function n9(e,t,r,n,a,o,i){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<o;u++)u===i?l.push(e3):l.push(e5)}}o=t.keyPath,t.keyPath=r,a?(r=t.treeContext,t.treeContext=r0(r,1,0),ai(e,t,n,-1),t.treeContext=r):s?ai(e,t,n,-1):n8(e,t,n,-1),t.keyPath=o}function n4(e,t,r,a,i,s){if("function"==typeof a)if(a.prototype&&a.prototype.isReactComponent){var k=i;if("ref"in i)for(var S in k={},i)"ref"!==S&&(k[S]=i[S]);var E=a.defaultProps;if(E)for(var T in k===i&&(k=U({},k,i)),E)void 0===k[T]&&(k[T]=E[T]);i=k,k=rG,"object"==typeof(E=a.contextType)&&null!==E&&(k=E._currentValue);var R=void 0!==(k=new a(i,k)).state?k.state:null;if(k.updater=rZ,k.props=i,k.state=R,E={queue:[],replace:!1},k._reactInternals=E,s=a.contextType,k.context="object"==typeof s&&null!==s?s._currentValue:rG,"function"==typeof(s=a.getDerivedStateFromProps)&&(R=null==(s=s(i,R))?R:U({},R,s),k.state=R),"function"!=typeof a.getDerivedStateFromProps&&"function"!=typeof k.getSnapshotBeforeUpdate&&("function"==typeof k.UNSAFE_componentWillMount||"function"==typeof k.componentWillMount))if(a=k.state,"function"==typeof k.componentWillMount&&k.componentWillMount(),"function"==typeof k.UNSAFE_componentWillMount&&k.UNSAFE_componentWillMount(),a!==k.state&&rZ.enqueueReplaceState(k,k.state,null),null!==E.queue&&0<E.queue.length)if(a=E.queue,s=E.replace,E.queue=null,E.replace=!1,s&&1===a.length)k.state=a[0];else{for(E=s?a[0]:k.state,R=!0,s=+!!s;s<a.length;s++)null!=(T="function"==typeof(T=a[s])?T.call(k,E,i,void 0):T)&&(R?(R=!1,E=U({},E,T)):U(E,T));k.state=E}else E.queue=null;if(a=k.render(),12===e.status)throw null;i=t.keyPath,t.keyPath=r,n8(e,t,a,-1),t.keyPath=i}else{if(a=n5(e,t,r,a,i,void 0),12===e.status)throw null;n9(e,t,r,a,0!==ns,nl,nu)}else if("string"==typeof a)if(null===(k=t.blockedSegment))k=i.children,E=t.formatContext,R=t.keyPath,t.formatContext=eT(E,a,i),t.keyPath=r,ai(e,t,k,-1),t.formatContext=E,t.keyPath=R;else{if(R=function(e,t,r,a,i,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(tu("a"));var d,p=null,h=null;for(d in r)if(H.call(r,d)){var f=r[d];if(null!=f)switch(d){case"children":p=f;break;case"dangerouslySetInnerHTML":h=f;break;case"href":""===f?eU(e,"href",""):eY(e,d,f);break;default:eY(e,d,f)}}if(e.push(eQ),eJ(e,h,p),"string"==typeof p){e.push(D(Z(p)));var g=null}else g=p;return g;case"select":e.push(tu("select"));var m,v=null,y=null;for(m in r)if(H.call(r,m)){var b=r[m];if(null!=b)switch(m){case"children":v=b;break;case"dangerouslySetInnerHTML":y=b;break;case"defaultValue":case"value":break;default:eY(e,m,b)}}return e.push(eQ),eJ(e,y,v),v;case"option":var w=u.selectedValue;e.push(tu("option"));var k,x=null,S=null,C=null,E=null;for(k in r)if(H.call(r,k)){var T=r[k];if(null!=T)switch(k){case"children":x=T;break;case"selected":C=T;break;case"dangerouslySetInnerHTML":E=T;break;case"value":S=T;default:eY(e,k,T)}}if(null!=w){var R,O,j=null!==S?""+S:(R=x,O="",n.Children.forEach(R,function(e){null!=e&&(O+=e)}),O);if(P(w)){for(var z=0;z<w.length;z++)if(""+w[z]===j){e.push(e0);break}}else""+w===j&&e.push(e0)}else C&&e.push(e0);return e.push(eQ),eJ(e,E,x),x;case"textarea":e.push(tu("textarea"));var N,_=null,A=null,L=null;for(N in r)if(H.call(r,N)){var I=r[N];if(null!=I)switch(N){case"children":L=I;break;case"value":_=I;break;case"defaultValue":A=I;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:eY(e,N,I)}}if(null===_&&null!==A&&(_=A),e.push(eQ),null!=L){if(null!=_)throw Error(o(92));if(P(L)){if(1<L.length)throw Error(o(93));_=""+L[0]}_=""+L}return"string"==typeof _&&"\n"===_[0]&&e.push(ti),null!==_&&e.push(D(Z(""+_))),null;case"input":e.push(tu("input"));var M,F=null,B=null,$=null,V=null,W=null,q=null,K=null,X=null,Y=null;for(M in r)if(H.call(r,M)){var Q=r[M];if(null!=Q)switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"name":F=Q;break;case"formAction":B=Q;break;case"formEncType":$=Q;break;case"formMethod":V=Q;break;case"formTarget":W=Q;break;case"defaultChecked":Y=Q;break;case"defaultValue":K=Q;break;case"checked":X=Q;break;case"value":q=Q;break;default:eY(e,M,Q)}}var J=eX(e,a,i,B,$,V,W,F);return null!==X?eV(e,"checked",X):null!==Y&&eV(e,"checked",Y),null!==q?eY(e,"value",q):null!==K&&eY(e,"value",K),e.push(eZ),null!=J&&J.forEach(eq,e),null;case"button":e.push(tu("button"));var ee,et=null,en=null,ea=null,eo=null,ei=null,el=null,eu=null;for(ee in r)if(H.call(r,ee)){var ec=r[ee];if(null!=ec)switch(ee){case"children":et=ec;break;case"dangerouslySetInnerHTML":en=ec;break;case"name":ea=ec;break;case"formAction":eo=ec;break;case"formEncType":ei=ec;break;case"formMethod":el=ec;break;case"formTarget":eu=ec;break;default:eY(e,ee,ec)}}var ed=eX(e,a,i,eo,ei,el,eu,ea);if(e.push(eQ),null!=ed&&ed.forEach(eq,e),eJ(e,en,et),"string"==typeof et){e.push(D(Z(et)));var ep=null}else ep=et;return ep;case"form":e.push(tu("form"));var eh,ef=null,eg=null,em=null,ev=null,ey=null,eb=null;for(eh in r)if(H.call(r,eh)){var ew=r[eh];if(null!=ew)switch(eh){case"children":ef=ew;break;case"dangerouslySetInnerHTML":eg=ew;break;case"action":em=ew;break;case"encType":ev=ew;break;case"method":ey=ew;break;case"target":eb=ew;break;default:eY(e,eh,ew)}}var ek=null,ex=null;if("function"==typeof em){var eS=eG(a,em);null!==eS?(em=eS.action||"",ev=eS.encType,ey=eS.method,eb=eS.target,ek=eS.data,ex=eS.name):(e.push(eF,D("action"),eD,eH,eB),eb=ey=ev=em=null,e2(a,i))}if(null!=em&&eY(e,"action",em),null!=ev&&eY(e,"encType",ev),null!=ey&&eY(e,"method",ey),null!=eb&&eY(e,"target",eb),e.push(eQ),null!==ex&&(e.push(eW),eU(e,"name",ex),e.push(eZ),null!=ek&&ek.forEach(eq,e)),eJ(e,eg,ef),"string"==typeof ef){e.push(D(Z(ef)));var eC=null}else eC=ef;return eC;case"menuitem":for(var eP in e.push(tu("menuitem")),r)if(H.call(r,eP)){var eE=r[eP];if(null!=eE)switch(eP){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:eY(e,eP,eE)}}return e.push(eQ),null;case"object":e.push(tu("object"));var eT,eR=null,eO=null;for(eT in r)if(H.call(r,eT)){var ej=r[eT];if(null!=ej)switch(eT){case"children":eR=ej;break;case"dangerouslySetInnerHTML":eO=ej;break;case"data":var eN=er(""+ej);if(""===eN)break;e.push(eF,D("data"),eD,D(Z(eN)),eB);break;default:eY(e,eT,ej)}}if(e.push(eQ),eJ(e,eO,eR),"string"==typeof eR){e.push(D(Z(eR)));var e_=null}else e_=eR;return e_;case"title":var eA=1&u.tagScope,eL=4&u.tagScope;if(4===u.insertionMode||eA||null!=r.itemProp)var eI=e7(e,r);else eL?eI=null:(e7(i.hoistableChunks,r),eI=void 0);return eI;case"link":var e$=1&u.tagScope,eK=4&u.tagScope,e1=r.rel,e3=r.href,e5=r.precedence;if(4===u.insertionMode||e$||null!=r.itemProp||"string"!=typeof e1||"string"!=typeof e3||""===e3){e9(e,r);var ts=null}else if("stylesheet"===r.rel)if("string"!=typeof e5||null!=r.disabled||r.onLoad||r.onError)ts=e9(e,r);else{var tl=i.styles.get(e5),td=a.styleResources.hasOwnProperty(e3)?a.styleResources[e3]:void 0;if(null!==td){a.styleResources[e3]=null,tl||(tl={precedence:D(Z(e5)),rules:[],hrefs:[],sheets:new Map},i.styles.set(e5,tl));var th={state:0,props:U({},r,{"data-precedence":r.precedence,precedence:null})};if(td){2===td.length&&rL(th.props,td);var tf=i.preloads.stylesheets.get(e3);tf&&0<tf.length?tf.length=0:th.state=1}tl.sheets.set(e3,th),l&&l.stylesheets.add(th)}else if(tl){var tg=tl.sheets.get(e3);tg&&l&&l.stylesheets.add(tg)}c&&e.push(ez),ts=null}else r.onLoad||r.onError?ts=e9(e,r):(c&&e.push(ez),ts=eK?null:e9(i.hoistableChunks,r));return ts;case"script":var tm=1&u.tagScope,tv=r.async;if("string"!=typeof r.src||!r.src||!tv||"function"==typeof tv||"symbol"==typeof tv||r.onLoad||r.onError||4===u.insertionMode||tm||null!=r.itemProp)var ty=tn(e,r);else{var tb=r.src;if("module"===r.type)var tw=a.moduleScriptResources,tk=i.preloads.moduleScripts;else tw=a.scriptResources,tk=i.preloads.scripts;var tx=tw.hasOwnProperty(tb)?tw[tb]:void 0;if(null!==tx){tw[tb]=null;var tS=r;if(tx){2===tx.length&&rL(tS=U({},r),tx);var tC=tk.get(tb);tC&&(tC.length=0)}var tP=[];i.scripts.add(tP),tn(tP,tS)}c&&e.push(ez),ty=null}return ty;case"style":var tE=1&u.tagScope,tT=r.precedence,tR=r.href,tO=r.nonce;if(4===u.insertionMode||tE||null!=r.itemProp||"string"!=typeof tT||"string"!=typeof tR||""===tR){e.push(tu("style"));var tj,tz=null,tN=null;for(tj in r)if(H.call(r,tj)){var t_=r[tj];if(null!=t_)switch(tj){case"children":tz=t_;break;case"dangerouslySetInnerHTML":tN=t_;break;default:eY(e,tj,t_)}}e.push(eQ);var tA=Array.isArray(tz)?2>tz.length?tz[0]:null:tz;"function"!=typeof tA&&"symbol"!=typeof tA&&null!=tA&&e.push(D((""+tA).replace(e4,e6))),eJ(e,tN,tz),e.push(tp("style"));var tL=null}else{var tI=i.styles.get(tT);if(null!==(a.styleResources.hasOwnProperty(tR)?a.styleResources[tR]:void 0)){a.styleResources[tR]=null,tI||(tI={precedence:D(Z(tT)),rules:[],hrefs:[],sheets:new Map},i.styles.set(tT,tI));var tM=i.nonce.style;if(!tM||tM===tO){tI.hrefs.push(D(Z(tR)));var tF,tD=tI.rules,tB=null,t$=null;for(tF in r)if(H.call(r,tF)){var tV=r[tF];if(null!=tV)switch(tF){case"children":tB=tV;break;case"dangerouslySetInnerHTML":t$=tV}}var tU=Array.isArray(tB)?2>tB.length?tB[0]:null:tB;"function"!=typeof tU&&"symbol"!=typeof tU&&null!=tU&&tD.push(D((""+tU).replace(e4,e6))),eJ(tD,t$,tB)}}tI&&l&&l.styles.add(tI),c&&e.push(ez),tL=void 0}return tL;case"meta":var tH=1&u.tagScope,tW=4&u.tagScope;if(4===u.insertionMode||tH||null!=r.itemProp)var tq=e8(e,r,"meta");else c&&e.push(ez),tq=tW?null:"string"==typeof r.charSet?e8(i.charsetChunks,r,"meta"):"viewport"===r.name?e8(i.viewportChunks,r,"meta"):e8(i.hoistableChunks,r,"meta");return tq;case"listing":case"pre":e.push(tu(t));var tK,tG=null,tX=null;for(tK in r)if(H.call(r,tK)){var tY=r[tK];if(null!=tY)switch(tK){case"children":tG=tY;break;case"dangerouslySetInnerHTML":tX=tY;break;default:eY(e,tK,tY)}}if(e.push(eQ),null!=tX){if(null!=tG)throw Error(o(60));if("object"!=typeof tX||!("__html"in tX))throw Error(o(61));var tQ=tX.__html;null!=tQ&&("string"==typeof tQ&&0<tQ.length&&"\n"===tQ[0]?e.push(ti,D(tQ)):e.push(D(""+tQ)))}return"string"==typeof tG&&"\n"===tG[0]&&e.push(ti),tG;case"img":var tZ=3&u.tagScope,tJ=r.src,t0=r.srcSet;if(!("lazy"===r.loading||!tJ&&!t0||"string"!=typeof tJ&&null!=tJ||"string"!=typeof t0&&null!=t0||"low"===r.fetchPriority||tZ)&&("string"!=typeof tJ||":"!==tJ[4]||"d"!==tJ[0]&&"D"!==tJ[0]||"a"!==tJ[1]&&"A"!==tJ[1]||"t"!==tJ[2]&&"T"!==tJ[2]||"a"!==tJ[3]&&"A"!==tJ[3])&&("string"!=typeof t0||":"!==t0[4]||"d"!==t0[0]&&"D"!==t0[0]||"a"!==t0[1]&&"A"!==t0[1]||"t"!==t0[2]&&"T"!==t0[2]||"a"!==t0[3]&&"A"!==t0[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var t1="string"==typeof r.sizes?r.sizes:void 0,t2=t0?t0+"\n"+(t1||""):tJ,t3=i.preloads.images,t5=t3.get(t2);if(t5)("high"===r.fetchPriority||10>i.highImagePreloads.size)&&(t3.delete(t2),i.highImagePreloads.add(t5));else if(!a.imageResources.hasOwnProperty(t2)){a.imageResources[t2]=es;var t9,t4=r.crossOrigin,t6="string"==typeof t4?"use-credentials"===t4?t4:"":void 0,t8=i.headers;t8&&0<t8.remainingCapacity&&"string"!=typeof r.srcSet&&("high"===r.fetchPriority||500>t8.highImagePreloads.length)&&(t9=rI(tJ,"image",{imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:t6,integrity:r.integrity,nonce:r.nonce,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.refererPolicy}),0<=(t8.remainingCapacity-=t9.length+2))?(i.resets.image[t2]=es,t8.highImagePreloads&&(t8.highImagePreloads+=", "),t8.highImagePreloads+=t9):(e9(t5=[],{rel:"preload",as:"image",href:t0?void 0:tJ,imageSrcSet:t0,imageSizes:t1,crossOrigin:t6,integrity:r.integrity,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.referrerPolicy}),"high"===r.fetchPriority||10>i.highImagePreloads.size?i.highImagePreloads.add(t5):(i.bulkPreloads.add(t5),t3.set(t2,t5)))}}return e8(e,r,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return e8(e,r,t);case"head":if(2>u.insertionMode){var t7=s||i.preamble;if(t7.headChunks)throw Error(o(545,"`<head>`"));null!==s&&e.push(te),t7.headChunks=[];var re=ta(t7.headChunks,r,"head")}else re=to(e,r,"head");return re;case"body":if(2>u.insertionMode){var rt=s||i.preamble;if(rt.bodyChunks)throw Error(o(545,"`<body>`"));null!==s&&e.push(tt),rt.bodyChunks=[];var rr=ta(rt.bodyChunks,r,"body")}else rr=to(e,r,"body");return rr;case"html":if(0===u.insertionMode){var rn=s||i.preamble;if(rn.htmlChunks)throw Error(o(545,"`<html>`"));null!==s&&e.push(tr),rn.htmlChunks=[tc];var ra=ta(rn.htmlChunks,r,"html")}else ra=to(e,r,"html");return ra;default:if(-1!==t.indexOf("-")){e.push(tu(t));var ro,ri=null,rs=null;for(ro in r)if(H.call(r,ro)){var rl=r[ro];if(null!=rl){var ru=ro;switch(ro){case"children":ri=rl;break;case"dangerouslySetInnerHTML":rs=rl;break;case"style":eM(e,rl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":ru="class";default:if(G(ro)&&"function"!=typeof rl&&"symbol"!=typeof rl&&!1!==rl){if(!0===rl)rl="";else if("object"==typeof rl)continue;e.push(eF,D(ru),eD,D(Z(rl)),eB)}}}}return e.push(eQ),eJ(e,rs,ri),ri}}return to(e,r,t)}(k.chunks,a,i,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,k.lastPushedText),k.lastPushedText=!1,E=t.formatContext,s=t.keyPath,t.keyPath=r,3===(t.formatContext=eT(E,a,i)).insertionMode){r=nK(e,0,null,t.formatContext,!1,!1),k.preambleChildren.push(r),t.blockedSegment=r;try{r.status=6,ai(e,t,R,-1),r.lastPushedText&&r.textEmbedded&&r.chunks.push(ez),r.status=1,ah(e,t.blockedBoundary,r)}finally{t.blockedSegment=k}}else ai(e,t,R,-1);t.formatContext=E,t.keyPath=s;e:{switch(t=k.chunks,e=e.resumableState,a){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=E.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===E.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=E.insertionMode)break e}t.push(tp(a))}k.lastPushedText=!1}else{switch(a){case w:case u:case c:case l:a=t.keyPath,t.keyPath=r,n8(e,t,i.children,-1),t.keyPath=a;return;case b:null===(a=t.blockedSegment)?"hidden"!==i.mode&&(a=t.keyPath,t.keyPath=r,ai(e,t,i.children,-1),t.keyPath=a):"hidden"!==i.mode&&(a.chunks.push(ty),a.lastPushedText=!1,k=t.keyPath,t.keyPath=r,ai(e,t,i.children,-1),t.keyPath=k,a.chunks.push(tb),a.lastPushedText=!1);return;case g:e:{if(a=i.children,"forwards"===(i=i.revealOrder)||"backwards"===i||"unstable_legacy-backwards"===i){if(P(a)){n3(e,t,r,a,i);break e}if((k=C(a))&&(k=k.call(a))){if(!(E=k.next()).done){do E=k.next();while(!E.done);n3(e,t,r,a,i)}break e}}"together"===i?(i=t.keyPath,k=t.row,(E=t.row=n2(null)).boundaries=[],E.together=!0,t.keyPath=r,n8(e,t,a,-1),0==--E.pendingTasks&&nJ(e,E),t.keyPath=i,t.row=k,null!==k&&0<E.pendingTasks&&(k.pendingTasks++,E.next=k)):(i=t.keyPath,t.keyPath=r,n8(e,t,a,-1),t.keyPath=i)}return;case x:case y:throw Error(o(343));case f:e:if(null!==t.replay){a=t.keyPath,k=t.formatContext,E=t.row,t.keyPath=r,t.formatContext=ej(e.resumableState,k),t.row=null,r=i.children;try{ai(e,t,r,-1)}finally{t.keyPath=a,t.formatContext=k,t.row=E}}else{a=t.keyPath,s=t.formatContext;var O=t.row;T=t.blockedBoundary,S=t.blockedPreamble;var j=t.hoistableState,z=t.blockedSegment,N=i.fallback;i=i.children;var _=new Set,A=2>t.formatContext.insertionMode?nH(e,t.row,_,eC(),eC()):nH(e,t.row,_,null,null);null!==e.trackedPostpones&&(A.trackedContentKeyPath=r);var L=nK(e,z.chunks.length,A,t.formatContext,!1,!1);z.children.push(L),z.lastPushedText=!1;var I=nK(e,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,null!==e.trackedPostpones){k=t.componentStack,R=[(E=[r[0],"Suspense Fallback",r[2]])[1],E[2],[],null],e.trackedPostpones.workingMap.set(E,R),A.trackedFallbackNode=R,t.blockedSegment=L,t.blockedPreamble=A.fallbackPreamble,t.keyPath=E,t.formatContext=eO(e.resumableState,s),t.componentStack=nX(k),L.status=6;try{ai(e,t,N,-1),L.lastPushedText&&L.textEmbedded&&L.chunks.push(ez),L.status=1,ah(e,T,L)}catch(t){throw L.status=12===e.status?3:4,t}finally{t.blockedSegment=z,t.blockedPreamble=S,t.keyPath=a,t.formatContext=s}nG(t=nW(e,null,i,-1,A,I,A.contentPreamble,A.contentState,t.abortSet,r,ej(e.resumableState,t.formatContext),t.context,t.treeContext,null,k)),e.pingedTasks.push(t)}else{t.blockedBoundary=A,t.blockedPreamble=A.contentPreamble,t.hoistableState=A.contentState,t.blockedSegment=I,t.keyPath=r,t.formatContext=ej(e.resumableState,s),t.row=null,I.status=6;try{if(ai(e,t,i,-1),I.lastPushedText&&I.textEmbedded&&I.chunks.push(ez),I.status=1,ah(e,A,I),ap(A,I),0===A.pendingTasks&&0===A.status){if(A.status=1,!nM(e,A)){null!==O&&0==--O.pendingTasks&&nJ(e,O),0===e.pendingRootTasks&&t.blockedPreamble&&ay(e);break e}}else null!==O&&O.together&&n1(e,O)}catch(r){A.status=4,12===e.status?(I.status=3,k=e.fatalError):(I.status=4,k=r),A.errorDigest=R=nQ(e,k,E=nY(t.componentStack)),an(e,A)}finally{t.blockedBoundary=T,t.blockedPreamble=S,t.hoistableState=j,t.blockedSegment=z,t.keyPath=a,t.formatContext=s,t.row=O}nG(t=nW(e,null,N,-1,T,L,A.fallbackPreamble,A.fallbackState,_,[r[0],"Suspense Fallback",r[2]],eO(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,nX(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:if("ref"in i)for(z in k={},i)"ref"!==z&&(k[z]=i[z]);else k=i;a=n5(e,t,r,a.render,k,s),n9(e,t,r,a,0!==ns,nl,nu);return;case m:n4(e,t,r,a.type,i,s);return;case p:if(E=i.children,k=t.keyPath,i=i.value,R=a._currentValue,a._currentValue=i,rX=a={parent:s=rX,depth:null===s?0:s.depth+1,context:a,parentValue:R,value:i},t.context=a,t.keyPath=r,n8(e,t,E,-1),null===(e=rX))throw Error(o(403));e.context._currentValue=e.parentValue,e=rX=e.parent,t.context=e,t.keyPath=k;return;case d:a=(i=i.children)(a._context._currentValue),i=t.keyPath,t.keyPath=r,n8(e,t,a,-1),t.keyPath=i;return;case v:if(a=(k=a._init)(a._payload),12===e.status)throw null;n4(e,t,r,a,i,s);return}throw Error(o(130,null==a?a:typeof a,""))}}function n6(e,t,r,n,a){var o=t.replay,i=t.blockedBoundary,s=nK(e,0,null,t.formatContext,!1,!1);s.id=r,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ai(e,t,n,a),s.status=1,ah(e,i,s),null===i?e.completedRootSegment=s:(ap(i,s),i.parentFlushed&&e.partialBoundaries.push(i))}finally{t.replay=o,t.blockedSegment=null}}function n8(e,t,r,n){null!==t.replay&&"number"==typeof t.replay.slots?n6(e,t,t.replay.slots,r,n):(t.node=r,t.childIndex=n,r=t.componentStack,nG(t),n7(e,t),t.componentStack=r)}function n7(e,t){var r=t.node,n=t.childIndex;if(null!==r){if("object"==typeof r){switch(r.$$typeof){case i:var a=r.type,l=r.key,u=r.props,c=void 0!==(r=u.ref)?r:null,d=rK(a),h=null==l?-1===n?0:n:l;if(l=[t.keyPath,d,h],null!==t.replay)e:{var g=t.replay;for(r=0,n=g.nodes;r<n.length;r++){var m=n[r];if(h===m[1]){if(4===m.length){if(null!==d&&d!==m[0])throw Error(o(490,m[0],d));var y=m[2];d=m[3],h=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(n4(e,t,l,a,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===r9||"function"==typeof o.then))throw t.node===h?t.replay=g:n.splice(r,1),o;t.replay.pendingTasks--,u=nY(t.componentStack),l=e,e=t.blockedBoundary,u=nQ(l,a=o,u),al(l,e,y,d,a,u)}t.replay=g}else{if(a!==f)throw Error(o(490,"Suspense",rK(a)||"Unknown"));t:{g=void 0,a=m[5],c=m[2],d=m[3],h=null===m[4]?[]:m[4][2],m=null===m[4]?null:m[4][3];var b=t.keyPath,w=t.formatContext,k=t.row,x=t.replay,S=t.blockedBoundary,E=t.hoistableState,T=u.children,R=u.fallback,O=new Set;(u=2>t.formatContext.insertionMode?nH(e,t.row,O,eC(),eC()):nH(e,t.row,O,null,null)).parentFlushed=!0,u.rootSegmentID=a,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=ej(e.resumableState,w),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(ai(e,t,T,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(r){u.status=4,g=nQ(e,r,y=nY(t.componentStack)),u.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=S,t.hoistableState=E,t.replay=x,t.keyPath=b,t.formatContext=w,t.row=k}nG(y=nq(e,null,{nodes:h,slots:m,pendingTasks:0},R,-1,S,u.fallbackState,O,[l[0],"Suspense Fallback",l[2]],eO(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,nX(t.componentStack))),e.pingedTasks.push(y)}}n.splice(r,1);break e}}}else n4(e,t,l,a,u,c);return;case s:throw Error(o(257));case v:if(r=(y=r._init)(r._payload),12===e.status)throw null;n8(e,t,r,n);return}if(P(r))return void ae(e,t,r,n);if((y=C(r))&&(y=y.call(r))){if(!(r=y.next()).done){u=[];do u.push(r.value),r=y.next();while(!r.done);ae(e,t,u,n)}return}if("function"==typeof r.then)return t.thenableState=null,n8(e,t,nT(r),n);if(r.$$typeof===p)return n8(e,t,r._currentValue,n);throw Error(o(31,"[object Object]"===(n=Object.prototype.toString.call(r))?"object with keys {"+Object.keys(r).join(", ")+"}":n))}"string"==typeof r?null!==(n=t.blockedSegment)&&(n.lastPushedText=eN(n.chunks,r,e.renderState,n.lastPushedText)):("number"==typeof r||"bigint"==typeof r)&&null!==(n=t.blockedSegment)&&(n.lastPushedText=eN(n.chunks,""+r,e.renderState,n.lastPushedText))}}function ae(e,t,r,n){var a=t.keyPath;if(-1!==n&&(t.keyPath=[t.keyPath,"Fragment",n],null!==t.replay)){for(var i=t.replay,s=i.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===n){t.replay={nodes:n=u[2],slots:u=u[3],pendingTasks:1};try{if(ae(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(a){if("object"==typeof a&&null!==a&&(a===r9||"function"==typeof a.then))throw a;t.replay.pendingTasks--,r=nY(t.componentStack);var c=t.blockedBoundary;r=nQ(e,a,r),al(e,c,n,u,a,r)}t.replay=i,s.splice(l,1);break}}t.keyPath=a;return}if(i=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(n=0;n<s;n++)u=r[n],t.treeContext=r0(i,s,n),"number"==typeof(c=l[n])?(n6(e,t,c,u,n),delete l[n]):ai(e,t,u,n);t.treeContext=i,t.keyPath=a;return}for(l=0;l<s;l++)n=r[l],t.treeContext=r0(i,s,l),ai(e,t,n,l);t.treeContext=i,t.keyPath=a}function at(e,t,r){if(r.status=5,r.rootSegmentID=e.nextSegmentId++,null===(e=r.trackedContentKeyPath))throw Error(o(486));var n=r.trackedFallbackNode,a=t.workingMap.get(e);return void 0===a?(r=[e[1],e[2],[],null,n,r.rootSegmentID],t.workingMap.set(e,r),az(r,e[0],t),r):(a[4]=n,a[5]=r.rootSegmentID,a)}function ar(e,t,r,n){n.status=5;var a=r.keyPath,i=r.blockedBoundary;if(null===i)n.id=e.nextSegmentId++,t.rootSlots=n.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==i&&0===i.status){var s=at(e,t,i);if(i.trackedContentKeyPath===a&&-1===r.childIndex){-1===n.id&&(n.id=n.parentFlushed?i.rootSegmentID:e.nextSegmentId++),s[3]=n.id;return}}if(-1===n.id&&(n.id=n.parentFlushed&&null!==i?i.rootSegmentID:e.nextSegmentId++),-1===r.childIndex)null===a?t.rootSlots=n.id:void 0===(r=t.workingMap.get(a))?az(r=[a[1],a[2],[],n.id],a[0],t):r[3]=n.id;else{if(null===a){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(o(491))}else if(void 0===(s=(i=t.workingMap).get(a)))e={},s=[a[1],a[2],[],e],i.set(a,s),az(s,a[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(o(491));e[r.childIndex]=n.id}}}function an(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function aa(e,t,r){return nq(e,r,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ao(e,t,r){var n=t.blockedSegment,a=nK(e,n.chunks.length,null,t.formatContext,n.lastPushedText,!0);return n.children.push(a),n.lastPushedText=!1,nW(e,r,t.node,t.childIndex,t.blockedBoundary,a,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ai(e,t,r,n){var a=t.formatContext,o=t.context,i=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return n8(e,t,r,n)}catch(c){if(ny(),r=c===r9?r6():c,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){e=aa(e,t,n=c===r9?nv():null).ping,r.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,rQ(o);return}if("Maximum call stack size exceeded"===r.message){r=aa(e,t,r=c===r9?nv():null),e.pingedTasks.push(r),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,t.replay=u,rQ(o);return}}}}else{var c=u.children.length,d=u.chunks.length;try{return n8(e,t,r,n)}catch(n){if(ny(),u.children.length=c,u.chunks.length=d,r=n===r9?r6():n,12!==e.status&&"object"==typeof r&&null!==r){if("function"==typeof r.then){u=r,e=ao(e,t,r=n===r9?nv():null).ping,u.then(e,e),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,rQ(o);return}if("Maximum call stack size exceeded"===r.message){u=ao(e,t,u=n===r9?nv():null),e.pingedTasks.push(u),t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,t.componentStack=l,rQ(o);return}}}}throw t.formatContext=a,t.context=o,t.keyPath=i,t.treeContext=s,rQ(o),r}function as(e){var t=e.blockedBoundary,r=e.blockedSegment;null!==r&&(r.status=3,af(this,t,e.row,r))}function al(e,t,r,n,a,i){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)al(e,t,l[2],l[3],a,i);else{l=l[5];var u=nH(e,null,new Set,null,null);u.parentFlushed=!0,u.rootSegmentID=l,u.status=4,u.errorDigest=i,u.parentFlushed&&e.clientRenderedBoundaries.push(u)}}if(r.length=0,null!==n){if(null===t)throw Error(o(487));if(4!==t.status&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof n)for(var c in n)delete n[c]}}function au(e,t){try{var r=e.renderState,n=r.onHeaders;if(n){var a=r.headers;if(a){r.headers=null;var o=a.preconnects;if(a.fontPreloads&&(o&&(o+=", "),o+=a.fontPreloads),a.highImagePreloads&&(o&&(o+=", "),o+=a.highImagePreloads),!t){var i=r.styles.values(),s=i.next();t:for(;0<a.remainingCapacity&&!s.done;s=i.next())for(var l=s.value.sheets.values(),u=l.next();0<a.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,p=d.href,h=c.props,f=rI(h.href,"style",{crossOrigin:h.crossOrigin,integrity:h.integrity,nonce:h.nonce,type:h.type,fetchPriority:h.fetchPriority,referrerPolicy:h.referrerPolicy,media:h.media});if(0<=(a.remainingCapacity-=f.length+2))r.resets.style[p]=es,o&&(o+=", "),o+=f,r.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:es;else break t}}n(o?{Link:o}:{})}}}catch(t){nQ(e,t,{})}}function ac(e){null===e.trackedPostpones&&au(e,!0),null===e.trackedPostpones&&ay(e),e.onShellError=r5,(e=e.onShellReady)()}function ad(e){au(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),ay(e),(e=e.onAllReady)()}function ap(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1!==r.status&&3!==r.status&&4!==r.status||ap(e,r)}else e.completedSegments.push(t)}function ah(e,t,r){if(null!==$){r=r.chunks;for(var n=0,a=0;a<r.length;a++)n+=r[a].byteLength;null===t?e.byteSize+=n:t.byteSize+=n}}function af(e,t,r,n){if(null!==r&&(0==--r.pendingTasks?nJ(e,r):r.together&&n1(e,r)),e.allPendingTasks--,null===t){if(null!==n&&n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&ac(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==n&&n.parentFlushed&&(1===n.status||3===n.status)&&ap(t,n),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(r=t.row)&&rU(r.hoistables,t.contentState),nM(e,t)||(t.fallbackAbortableTasks.forEach(as,e),t.fallbackAbortableTasks.clear(),null!==r&&0==--r.pendingTasks&&nJ(e,r)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&ay(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){r=e.trackedPostpones;var a=t.next;if(null!==a&&null!==(n=a.boundaries))for(a.boundaries=null,a=0;a<n.length;a++){var i=n[a];at(e,r,i),af(e,i,null,null)}}0==--t.pendingTasks&&nJ(e,t)}}else null===n||!n.parentFlushed||1!==n.status&&3!==n.status||(ap(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&n1(e,t);0===e.allPendingTasks&&ad(e)}function ag(e){if(14!==e.status&&13!==e.status){var t=rX,r=en.H;en.H=nz;var n=en.A;en.A=n_;var a=nV;nV=e;var i=nN;nN=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var p=c;if(0!==u.replay.pendingTasks){rQ(u.context);try{if("number"==typeof u.replay.slots?n6(p,u,u.replay.slots,u.node,u.childIndex):n7(p,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(o(488));u.replay.pendingTasks--,u.abortSet.delete(u),af(p,u.blockedBoundary,u.row,null)}catch(e){ny();var h=e===r9?r6():e;if("object"==typeof h&&null!==h&&"function"==typeof h.then){var f=u.ping;h.then(f,f),u.thenableState=e===r9?nv():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var g=nY(u.componentStack);c=void 0;var m=p,v=u.blockedBoundary,y=12===p.status?p.fatalError:h,b=u.replay.nodes,w=u.replay.slots;c=nQ(m,y,g),al(m,v,b,w,y,c),p.pendingRootTasks--,0===p.pendingRootTasks&&ac(p),p.allPendingTasks--,0===p.allPendingTasks&&ad(p)}}finally{}}}else if(p=void 0,m=d,0===m.status){m.status=6,rQ(u.context);var k=m.children.length,x=m.chunks.length;try{n7(c,u),m.lastPushedText&&m.textEmbedded&&m.chunks.push(ez),u.abortSet.delete(u),m.status=1,ah(c,u.blockedBoundary,m),af(c,u.blockedBoundary,u.row,m)}catch(e){ny(),m.children.length=k,m.chunks.length=x;var S=e===r9?r6():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var C=c.trackedPostpones,P=nY(u.componentStack);u.abortSet.delete(u),nQ(c,S,P),ar(c,C,u,m),af(c,u.blockedBoundary,u.row,m)}else if("object"==typeof S&&null!==S&&"function"==typeof S.then){m.status=0,u.thenableState=e===r9?nv():null;var E=u.ping;S.then(E,E)}else{var T=nY(u.componentStack);u.abortSet.delete(u),m.status=4;var R=u.blockedBoundary,O=u.row;if(null!==O&&0==--O.pendingTasks&&nJ(c,O),c.allPendingTasks--,p=nQ(c,S,T),null===R)nZ(c,S);else if(R.pendingTasks--,4!==R.status){R.status=4,R.errorDigest=p,an(c,R);var j=R.row;null!==j&&0==--j.pendingTasks&&nJ(c,j),R.parentFlushed&&c.clientRenderedBoundaries.push(R),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==R.contentPreamble&&ay(c)}0===c.allPendingTasks&&ad(c)}}finally{}}}l.splice(0,s),null!==e.destination&&aE(e,e.destination)}catch(t){nQ(e,t,{}),nZ(e,t)}finally{nN=i,en.H=r,en.A=n,r===nz&&rQ(t),nV=a}}}function am(e,t,r){t.preambleChildren.length&&r.push(t.preambleChildren);for(var n=!1,a=0;a<t.children.length;a++)n=av(e,t.children[a],r)||n;return n}function av(e,t,r){var n=t.boundary;if(null===n)return am(e,t,r);var a=n.contentPreamble,i=n.fallbackPreamble;if(null===a||null===i)return!1;switch(n.status){case 1:if(th(e.renderState,a),e.byteSize+=n.byteSize,!(t=n.completedSegments[0]))throw Error(o(391));return am(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return th(e.renderState,i),am(e,t,r);default:return!0}}function ay(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],r=e.byteSize,n=av(e,e.completedRootSegment,t),a=e.renderState.preamble;!1===n||a.headChunks&&a.bodyChunks?e.completedPreambleSegments=t:e.byteSize=r}}function ab(e,t,r,n){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return n=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,L(t,tm),L(t,e.placeholderPrefix),L(t,e=D(n.toString(16))),I(t,tv);case 1:r.status=2;var a=!0,i=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(a=r[l];s<a.index;s++)L(t,i[s]);a=ak(e,t,a,n)}for(;s<i.length-1;s++)L(t,i[s]);return s<i.length&&(a=I(t,i[s])),a;case 3:return!0;default:throw Error(o(390))}}var aw=0;function ak(e,t,r,n){var a=r.boundary;if(null===a)return ab(e,t,r,n);if(a.parentFlushed=!0,4===a.status){var i=a.row;null!==i&&0==--i.pendingTasks&&nJ(e,i),a=a.errorDigest,I(t,tS),L(t,tP),a&&(L(t,tT),L(t,D(Z(a))),L(t,tE)),I(t,tR),ab(e,t,r,n)}else if(1!==a.status)0===a.status&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),tO(t,e.renderState,a.rootSegmentID),n&&rU(n,a.fallbackState),ab(e,t,r,n);else if(!aP&&nM(e,a)&&(aw+a.byteSize>e.progressiveChunkSize||rH(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),tO(t,e.renderState,a.rootSegmentID),ab(e,t,r,n);else{if(aw+=a.byteSize,n&&rU(n,a.contentState),null!==(r=a.row)&&nM(e,a)&&0==--r.pendingTasks&&nJ(e,r),I(t,tw),1!==(r=a.completedSegments).length)throw Error(o(391));ak(e,t,r[0],n)}return I(t,tC)}function ax(e,t,r,n){switch(!function(e,t,r,n){switch(r.insertionMode){case 0:case 1:case 3:case 2:return L(e,tj),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tz);case 4:return L(e,t_),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tA);case 5:return L(e,tI),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tM);case 6:return L(e,tD),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tB);case 7:return L(e,tV),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tU);case 8:return L(e,tW),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tq);case 9:return L(e,tG),L(e,t.segmentPrefix),L(e,D(n.toString(16))),I(e,tX);default:throw Error(o(397))}}(t,e.renderState,r.parentFormatContext,r.id),ak(e,t,r,n),r.parentFormatContext.insertionMode){case 0:case 1:case 3:case 2:return I(t,tN);case 4:return I(t,tL);case 5:return I(t,tF);case 6:return I(t,t$);case 7:return I(t,tH);case 8:return I(t,tK);case 9:return I(t,tY);default:throw Error(o(397))}}function aS(e,t,r){aw=r.byteSize;for(var n,a,i=r.completedSegments,s=0;s<i.length;s++)aC(e,t,r,i[s]);i.length=0,null!==(i=r.row)&&nM(e,r)&&0==--i.pendingTasks&&nJ(e,i),rm(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,s=r.rootSegmentID,r=r.contentState;var l=e.stylesToHoist;return e.stylesToHoist=!1,L(t,e.startInlineScript),L(t,eQ),l?(0==(4&i.instructions)&&(i.instructions|=4,L(t,t7)),0==(2&i.instructions)&&(i.instructions|=2,L(t,t1)),0==(8&i.instructions)?(i.instructions|=8,L(t,t3)):L(t,t5)):(0==(2&i.instructions)&&(i.instructions|=2,L(t,t1)),L(t,t2)),i=D(s.toString(16)),L(t,e.boundaryPrefix),L(t,i),L(t,t9),L(t,e.segmentPrefix),L(t,i),l?(L(t,t4),n=r,L(t,rj),a=rj,n.stylesheets.forEach(function(e){if(2!==e.state)if(3===e.state)L(t,a),L(t,D(rs(""+e.props.href))),L(t,r_),a=rz;else{L(t,a);var r=e.props["data-precedence"],n=e.props;for(var i in L(t,D(rs(er(""+e.props.href)))),r=""+r,L(t,rN),L(t,D(rs(r))),n)if(H.call(n,i)&&null!=(r=n[i]))switch(i){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:!function(e,t,r){var n=t.toLowerCase();switch(typeof r){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":n="class",t=""+r;break;case"hidden":if(!1===r)return;t="";break;case"src":case"href":t=""+(r=er(r));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!G(t))return;t=""+r}L(e,rN),L(e,D(rs(n))),L(e,rN),L(e,D(rs(t)))}(t,i,r)}L(t,r_),a=rz,e.state=3}}),L(t,r_)):L(t,t6),r=I(t,t8),tf(t,e)&&r}function aC(e,t,r,n){if(2===n.status)return!0;var a=r.contentState,i=n.id;if(-1===i){if(-1===(n.id=r.rootSegmentID))throw Error(o(392));return ax(e,t,n,a)}return i===r.rootSegmentID?ax(e,t,n,a):(ax(e,t,n,a),r=e.resumableState,L(t,(e=e.renderState).startInlineScript),L(t,eQ),0==(1&r.instructions)?(r.instructions|=1,L(t,tQ)):L(t,tZ),L(t,e.segmentPrefix),L(t,i=D(i.toString(16))),L(t,tJ),L(t,e.placeholderPrefix),L(t,i),t=I(t,t0))}var aP=!1;function aE(e,t){_=new Uint8Array(2048),A=0;try{if(!(0<e.pendingRootTasks)){var r,n=e.completedRootSegment;if(null!==n){if(5===n.status)return;var a=e.completedPreambleSegments;if(null===a)return;aw=e.byteSize;var o,i=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(o=0;o<u.length;o++)L(t,u[o]);if(c)for(o=0;o<c.length;o++)L(t,c[o]);else L(t,tu("head")),L(t,eQ)}else if(c)for(o=0;o<c.length;o++)L(t,c[o]);var d=s.charsetChunks;for(o=0;o<d.length;o++)L(t,d[o]);d.length=0,s.preconnects.forEach(rv,t),s.preconnects.clear();var p=s.viewportChunks;for(o=0;o<p.length;o++)L(t,p[o]);p.length=0,s.fontPreloads.forEach(rv,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(rv,t),s.highImagePreloads.clear(),el=s,s.styles.forEach(rP,t),el=null;var h=s.importMapChunks;for(o=0;o<h.length;o++)L(t,h[o]);h.length=0,s.bootstrapScripts.forEach(rv,t),s.scripts.forEach(rv,t),s.scripts.clear(),s.bulkPreloads.forEach(rv,t),s.bulkPreloads.clear(),u||c||(i.instructions|=32);var f=s.hoistableChunks;for(o=0;o<f.length;o++)L(t,f[o]);for(i=f.length=0;i<a.length;i++){var g=a[i];for(s=0;s<g.length;s++)ak(e,t,g[s],null)}var m=e.renderState.preamble,v=m.headChunks;(m.htmlChunks||v)&&L(t,tp("head"));var y=m.bodyChunks;if(y)for(a=0;a<y.length;a++)L(t,y[a]);ak(e,t,n,null),e.completedRootSegment=null;var b=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var w=e.resumableState;if(0==(64&w.instructions)){if(w.instructions|=64,L(t,b.startInlineScript),0==(32&w.instructions)){w.instructions|=32;var k="_"+w.idPrefix+"R_";L(t,rR),L(t,D(Z(k))),L(t,eB)}L(t,eQ),L(t,tg),I(t,ec)}}tf(t,b)}var x=e.renderState;n=0;var S=x.viewportChunks;for(n=0;n<S.length;n++)L(t,S[n]);S.length=0,x.preconnects.forEach(rv,t),x.preconnects.clear(),x.fontPreloads.forEach(rv,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(rv,t),x.highImagePreloads.clear(),x.styles.forEach(rT,t),x.scripts.forEach(rv,t),x.scripts.clear(),x.bulkPreloads.forEach(rv,t),x.bulkPreloads.clear();var C=x.hoistableChunks;for(n=0;n<C.length;n++)L(t,C[n]);C.length=0;var P=e.clientRenderedBoundaries;for(r=0;r<P.length;r++){var E,T=P[r];x=t;var R=e.resumableState,O=e.renderState,j=T.rootSegmentID,z=T.errorDigest;L(x,O.startInlineScript),L(x,eQ),0==(4&R.instructions)?(R.instructions|=4,L(x,re)):L(x,rt),L(x,O.boundaryPrefix),L(x,D(j.toString(16))),L(x,rr),z&&(L(x,rn),L(x,D((E=z||"",JSON.stringify(E).replace(ro,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})))));var N=I(x,ra);if(!N){e.destination=null,r++,P.splice(0,r);return}}P.splice(0,r);var F=e.completedBoundaries;for(r=0;r<F.length;r++)if(!aS(e,t,F[r])){e.destination=null,r++,F.splice(0,r);return}F.splice(0,r),M(t),_=new Uint8Array(2048),A=0,aP=!0;var B=e.partialBoundaries;for(r=0;r<B.length;r++){var $=B[r];e:{P=e,T=t,aw=$.byteSize;var V=$.completedSegments;for(N=0;N<V.length;N++)if(!aC(P,T,$,V[N])){N++,V.splice(0,N);var U=!1;break e}V.splice(0,N);var H=$.row;null!==H&&H.together&&1===$.pendingTasks&&(1===H.pendingTasks?n0(P,H,H.hoistables):H.pendingTasks--),U=rm(T,$.contentState,P.renderState)}if(!U){e.destination=null,r++,B.splice(0,r);return}}B.splice(0,r),aP=!1;var W=e.completedBoundaries;for(r=0;r<W.length;r++)if(!aS(e,t,W[r])){e.destination=null,r++,W.splice(0,r);return}W.splice(0,r)}}finally{aP=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(r=e.resumableState).hasBody&&L(t,tp("body")),r.hasHtml&&L(t,tp("html")),M(t),e.status=14,t.close(),e.destination=null):M(t)}}function aT(e){e.flushScheduled=null!==e.destination,N(function(){return ag(e)}),O(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&au(e,0===e.pendingRootTasks)})}function aR(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,O(function(){var t=e.destination;t?aE(e,t):e.flushScheduled=!1}))}function aO(e,t){if(13===e.status)e.status=14,V(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{aE(e,t)}catch(t){nQ(e,t,{}),nZ(e,t)}}}function aj(e,t){(11===e.status||10===e.status)&&(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var n=void 0===t?Error(o(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(o(530)):t;e.fatalError=n,r.forEach(function(t){return function e(t,r,n){var a=t.blockedBoundary,o=t.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=nY(t.componentStack);if(null===a){if(13!==r.status&&14!==r.status){if(null===(a=t.replay))return void(null!==r.trackedPostpones&&null!==o?(a=r.trackedPostpones,nQ(r,n,i),ar(r,a,t,o),af(r,null,t.row,o)):(nQ(r,n,i),nZ(r,n)));a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(o=nQ(r,n,i),al(r,null,a.nodes,a.slots,n,o)),r.pendingRootTasks--,0===r.pendingRootTasks&&ac(r)}}else{var s=r.trackedPostpones;if(4!==a.status){if(null!==s&&null!==o)return nQ(r,n,i),ar(r,s,t,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear(),af(r,a,t.row,o);a.status=4,o=nQ(r,n,i),a.status=4,a.errorDigest=o,an(r,a),a.parentFlushed&&r.clientRenderedBoundaries.push(a)}a.pendingTasks--,null!==(o=a.row)&&0==--o.pendingTasks&&nJ(r,o),a.fallbackAbortableTasks.forEach(function(t){return e(t,r,n)}),a.fallbackAbortableTasks.clear()}null!==(t=t.row)&&0==--t.pendingTasks&&nJ(r,t),r.allPendingTasks--,0===r.allPendingTasks&&ad(r)}(t,e,n)}),r.clear()}null!==e.destination&&aE(e,e.destination)}catch(t){nQ(e,t,{}),nZ(e,t)}}function az(e,t,r){if(null===t)r.rootNodes.push(e);else{var n=r.workingMap,a=n.get(t);void 0===a&&(a=[t[1],t[2],[],null],n.set(t,a),az(a,t[0],r)),a[2].push(e)}}function aN(e){var t=e.trackedPostpones;if(null===t||0===t.rootNodes.length&&null===t.rootSlots)return e.trackedPostpones=null;if(null===e.completedRootSegment||5!==e.completedRootSegment.status&&null!==e.completedPreambleSegments){var r=e.nextSegmentId,n=t.rootSlots,a=e.resumableState;a.bootstrapScriptContent=void 0,a.bootstrapScripts=void 0,a.bootstrapModules=void 0}else{r=0,n=-1,a=e.resumableState;var o=e.renderState;a.nextFormID=0,a.hasBody=!1,a.hasHtml=!1,a.unknownResources={font:o.resets.font},a.dnsResources=o.resets.dns,a.connectResources=o.resets.connect,a.imageResources=o.resets.image,a.styleResources=o.resets.style,a.scriptResources={},a.moduleUnknownResources={},a.moduleScriptResources={},a.instructions=0}return{nextSegmentId:r,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:n}}function a_(){var e=n.version;if("19.2.3"!==e)throw Error(o(527,e,"19.2.3"))}a_(),a_(),t.prerender=function(e,t){return new Promise(function(r,n){var a,o,i,s,l,u=t?t.onHeaders:void 0;u&&(l=function(e){u(new Headers(e))});var c=eS(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),d=(a=e,o=ex(c,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,l,t?t.maxHeadersLength:void 0),i=eE(t?t.namespaceURI:void 0),s=t?t.progressiveChunkSize:void 0,(a=nB(a,c,o,i,s,t?t.onError:void 0,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(d,e)},cancel:function(e){d.destination=null,aj(d,e)}},{highWaterMark:0});r(e={postponed:aN(d),prelude:e})},void 0,void 0,n,t?t.onPostpone:void 0,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},a);if(t&&t.signal){var p=t.signal;if(p.aborted)aj(d,p.reason);else{var h=function(){aj(d,p.reason),p.removeEventListener("abort",h)};p.addEventListener("abort",h)}}aT(d)})},t.renderToReadableStream=function(e,t){return new Promise(function(r,n){var a,o,i,s=new Promise(function(e,t){o=e,a=t}),l=t?t.onHeaders:void 0;l&&(i=function(e){l(new Headers(e))});var u=eS(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),c=nB(e,u,ex(u,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),eE(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,o,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(c,e)},cancel:function(e){c.destination=null,aj(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),n(e)},a,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)aj(c,d.reason);else{var p=function(){aj(c,d.reason),d.removeEventListener("abort",p)};d.addEventListener("abort",p)}}aT(c)})},t.resume=function(e,t,r){return new Promise(function(n,a){var o,i,s=new Promise(function(e,t){i=e,o=t}),l=n$(e,t,ex(t.resumableState,r?r.nonce:void 0,void 0,void 0,void 0,void 0),r?r.onError:void 0,i,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(l,e)},cancel:function(e){l.destination=null,aj(l,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),a(e)},o,r?r.onPostpone:void 0);if(r&&r.signal){var u=r.signal;if(u.aborted)aj(l,u.reason);else{var c=function(){aj(l,u.reason),u.removeEventListener("abort",c)};u.addEventListener("abort",c)}}aT(l)})},t.resumeAndPrerender=function(e,t,r){return new Promise(function(n,a){var o,i,s=(o=e,i=ex(t.resumableState,void 0,void 0,void 0,void 0,void 0),(o=n$(o,t,i,r?r.onError:void 0,function(){var e=new ReadableStream({type:"bytes",pull:function(e){aO(s,e)},cancel:function(e){s.destination=null,aj(s,e)}},{highWaterMark:0});n(e={postponed:aN(s),prelude:e})},void 0,void 0,a,r?r.onPostpone:void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},o);if(r&&r.signal){var l=r.signal;if(l.aborted)aj(s,l.reason);else{var u=function(){aj(s,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}}aT(s)})},t.version="19.2.3"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js");function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.flushSync=function(e){var t=l.T,r=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=r,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=u(r,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:o}):"script"===r&&i.d.X(e,{crossOrigin:n,integrity:a,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=u(r,t.crossOrigin);i.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,r){return l.H.useFormState(e,t,r)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.3"},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js"(e,t,r){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-client.production.js")},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js"(e,t,r){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom.production.js")},"../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/server.browser.js"(e,t,r){"use strict";var n,a;n=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js"),a=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-server.browser.production.js"),n.version,t.renderToString=n.renderToString,n.renderToStaticMarkup,a.renderToReadableStream,a.resume},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js"(e,t){"use strict";var r=Symbol.for("react.transitional.element");function n(e,t,n){var a=null;if(void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return{$$typeof:r,type:e,key:a,ref:void 0!==(t=n.ref)?t:null,props:n}}t.Fragment=Symbol.for("react.fragment"),t.jsx=n,t.jsxs=n},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js"(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),f=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||g}function b(){}function w(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var k=w.prototype=new b;k.constructor=w,m(k,y.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function E(e,t,n){var a=n.ref;return{$$typeof:r,type:e,key:t,ref:void 0!==a?a:null,props:n}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var R=/\/+/g;function O(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function j(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,s){var l,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var h=!1;if(null===t)h=!0;else switch(d){case"bigint":case"string":case"number":h=!0;break;case"object":switch(t.$$typeof){case r:case n:h=!0;break;case p:return e((h=t._init)(t._payload),a,o,i,s)}}if(h)return s=s(t),h=""===i?"."+O(t,0):i,x(s)?(o="",null!=h&&(o=h.replace(R,"$&/")+"/"),e(s,a,o,"",function(e){return e})):null!=s&&(T(s)&&(l=s,u=o+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+h,s=E(l.type,u,l.props)),a.push(s)),1;h=0;var g=""===i?".":i+":";if(x(t))for(var m=0;m<t.length;m++)d=g+O(i=t[m],m),h+=e(i,a,o,d,s);else if("function"==typeof(m=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=f&&c[f]||c["@@iterator"])?c:null))for(t=m.call(t),m=0;!(i=t.next()).done;)d=g+O(i=i.value,m++),h+=e(i,a,o,d,s);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),a,o,i,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return h}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function z(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};t.Activity=h,t.Children={map:j,forEach:function(e,t,r){j(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)P.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(n[o]=t[o]);var o=arguments.length-2;if(1===o)n.children=r;else if(1<o){for(var i=Array(o),s=0;s<o;s++)i[s]=arguments[s+2];n.children=i}return E(e.type,a,n)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,r){var n,a={},o=null;if(null!=t)for(n in void 0!==t.key&&(o=""+t.key),t)P.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(a[n]=t[n]);var i=arguments.length-2;if(1===i)a.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];a.children=s}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===a[n]&&(a[n]=i[n]);return E(e,o,a)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:z}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=C.T,r={};C.T=r;try{var n=e(),a=C.S;null!==a&&a(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(S,N)}catch(e){N(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),C.T=t}},t.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},t.use=function(e){return C.H.use(e)},t.useActionState=function(e,t,r){return C.H.useActionState(e,t,r)},t.useCallback=function(e,t){return C.H.useCallback(e,t)},t.useContext=function(e){return C.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return C.H.useEffect(e,t)},t.useEffectEvent=function(e){return C.H.useEffectEvent(e)},t.useId=function(){return C.H.useId()},t.useImperativeHandle=function(e,t,r){return C.H.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return C.H.useMemo(e,t)},t.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},t.useReducer=function(e,t,r){return C.H.useReducer(e,t,r)},t.useRef=function(e){return C.H.useRef(e)},t.useState=function(e){return C.H.useState(e)},t.useSyncExternalStore=function(e,t,r){return C.H.useSyncExternalStore(e,t,r)},t.useTransition=function(){return C.H.useTransition()},t.version="19.2.3"},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react.production.js")},"../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js")},"../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js"(e,t){"use strict";function r(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,a=e[n];if(0<o(a,t))e[n]=t,e[r]=a,r=n;else break}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,a=e.length,i=a>>>1;n<i;){var s=2*(n+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,r))u<a&&0>o(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[s]=r,n=s);else if(u<a&&0>o(c,r))e[n]=c,e[u]=r,n=u;else break}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var c=[],d=[],p=1,h=null,f=3,g=!1,m=!1,v=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function x(e){for(var t=n(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,r(c,t);else break;t=n(d)}}function S(e){if(v=!1,x(e),!m)if(null!==n(c))m=!0,C||(C=!0,i());else{var t=n(d);null!==t&&N(S,t.startTime-e)}}var C=!1,P=-1,E=5,T=-1;function R(){return!!y||!(t.unstable_now()-T<E)}function O(){if(y=!1,C){var e=t.unstable_now();T=e;var r=!0;try{e:{m=!1,v&&(v=!1,w(P),P=-1),g=!0;var o=f;try{t:{for(x(e),h=n(c);null!==h&&!(h.expirationTime>e&&R());){var s=h.callback;if("function"==typeof s){h.callback=null,f=h.priorityLevel;var l=s(h.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof l){h.callback=l,x(e),r=!0;break t}h===n(c)&&a(c),x(e)}else a(c);h=n(c)}if(null!==h)r=!0;else{var u=n(d);null!==u&&N(S,u.startTime-e),r=!1}}break e}finally{h=null,f=o,g=!1}}}finally{r?i():C=!1}}}if("function"==typeof k)i=function(){k(O)};else if("u">typeof MessageChannel){var j=new MessageChannel,z=j.port2;j.port1.onmessage=O,i=function(){z.postMessage(null)}}else i=function(){b(O,0)};function N(e,r){P=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,a,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:p++,callback:a,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>s?(e.sortIndex=o,r(d,e),null===n(c)&&e===n(d)&&(v?(w(P),P=-1):v=!0,N(S,o-s))):(e.sortIndex=l,r(c,e),m||g||(m=!0,C||(C=!0,i()))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},"../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js")},"../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(e,t,r){"use strict";var n=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,i=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),a=n[0].inst,c=n[1];return s(function(){a.value=r,a.getSnapshot=t,u(a)&&c({inst:a})},[e,r,t]),i(function(){return u(a)&&c({inst:a}),e(function(){u(a)&&c({inst:a})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},"../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/index.js"(e,t,r){"use strict";e.exports=r("../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js")},"../../node_modules/.pnpm/void-elements@3.1.0/node_modules/void-elements/index.js"(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);r.r(o);var i={};n=n||[null,a({}),a([]),a(a)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~n.indexOf(s);s=a(s))Object.getOwnPropertyNames(s).forEach(t=>{i[t]=()=>e[t]});return i.default=()=>e,r.d(o,i),o},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,r.g.importScripts&&(o=r.g.location+"");var n,a,o,i=r.g.document;if(!o&&i&&(i.currentScript&&"SCRIPT"===i.currentScript.tagName.toUpperCase()&&(o=i.currentScript.src),!o)){var s=i.getElementsByTagName("script");if(s.length)for(var l=s.length-1;l>-1&&(!o||!/^http(s?):/.test(o));)o=s[l--].src}if(!o)throw Error("Automatic publicPath is not supported in this browser");r.p=o=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),(()=>{"use strict";let e,t,n,a,o,i,s,l,u,c,d,p,h,f,g;var m,v,y,b,w,k,x,S,C,P,E,T,R,O,j,z,N={};r.r(N),r.d(N,{hasBrowserEnv:()=>n$,hasStandardBrowserEnv:()=>nU,hasStandardBrowserWebWorkerEnv:()=>nH,navigator:()=>nV,origin:()=>nW});var _=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js"),A=r("../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js"),L=r.t(A,2);function I(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function M(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function F(...e){return t=>{let r=!1,n=e.map(e=>{let n=M(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():M(e[t],null)}}}}function D(...e){return A.useCallback(F(...e),e)}"u">typeof window&&window.document&&window.document.createElement;var B=globalThis?.document?A.useLayoutEffect:()=>{},$=L[" useId ".trim().toString()]||(()=>void 0),V=0;function U(e){let[t,r]=A.useState($());return B(()=>{e||r(e=>e??String(V++))},[e]),e||(t?`radix-${t}`:"")}var H=L[" useInsertionEffect ".trim().toString()]||B;Symbol("RADIX:SYNC_STATE");var W=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js");function q(e){var t;let r,n=(t=e,(r=A.forwardRef((e,t)=>{let{children:r,...n}=e;if(A.isValidElement(r)){var a;let e,o,i=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==A.Fragment&&(s.ref=t?F(t,i):i),A.cloneElement(r,s)}return A.Children.count(r)>1?A.Children.only(null):null})).displayName=`${t}.SlotClone`,r),a=A.forwardRef((e,t)=>{let{children:r,...a}=e,o=A.Children.toArray(r),i=o.find(G);if(i){let e=i.props.children,r=o.map(t=>t!==i?t:A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null);return(0,_.jsx)(n,{...a,ref:t,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,_.jsx)(n,{...a,ref:t,children:r})});return a.displayName=`${e}.Slot`,a}var K=Symbol("radix.slottable");function G(e){return A.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===K}var X=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=q(`Primitive.${t}`),n=A.forwardRef((e,n)=>{let{asChild:a,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,_.jsx)(a?r:t,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Y(e){let t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...e)=>t.current?.(...e),[])}var Q="dismissableLayer.update",Z=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),J=A.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:i,onDismiss:s,...l}=e,u=A.useContext(Z),[c,d]=A.useState(null),p=c?.ownerDocument??globalThis?.document,[,h]=A.useState({}),f=D(t,e=>d(e)),g=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(m),y=c?g.indexOf(c):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,w=y>=v,k=function(e,t=globalThis?.document){let r=Y(e),n=A.useRef(!1),a=A.useRef(()=>{});return A.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){et("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=n,t.addEventListener("click",a.current,{once:!0})):n()}else t.removeEventListener("click",a.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...u.branches].some(e=>e.contains(t));w&&!r&&(a?.(e),i?.(e),e.defaultPrevented||s?.())},p),x=function(e,t=globalThis?.document){let r=Y(e),n=A.useRef(!1);return A.useEffect(()=>{let e=e=>{e.target&&!n.current&&et("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(o?.(e),i?.(e),e.defaultPrevented||s?.())},p);return!function(e,t=globalThis?.document){let r=Y(e);A.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{y===u.layers.size-1&&(n?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},p),A.useEffect(()=>{if(c)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(j=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ee(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=j)}},[c,p,r,u]),A.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ee())},[c,u]),A.useEffect(()=>{let e=()=>h({});return document.addEventListener(Q,e),()=>document.removeEventListener(Q,e)},[]),(0,_.jsx)(X.div,{...l,ref:f,style:{pointerEvents:b?w?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,x.onFocusCapture),onBlurCapture:I(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,k.onPointerDownCapture)})});function ee(){let e=new CustomEvent(Q);document.dispatchEvent(e)}function et(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});if(t&&a.addEventListener(e,t,{once:!0}),n)a&&W.flushSync(()=>a.dispatchEvent(o));else a.dispatchEvent(o)}J.displayName="DismissableLayer",A.forwardRef((e,t)=>{let r=A.useContext(Z),n=A.useRef(null),a=D(t,n);return A.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,_.jsx)(X.div,{...e,ref:a})}).displayName="DismissableLayerBranch";var er="focusScope.autoFocusOnMount",en="focusScope.autoFocusOnUnmount",ea={bubbles:!1,cancelable:!0},eo=A.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,l]=A.useState(null),u=Y(a),c=Y(o),d=A.useRef(null),p=D(t,e=>l(e)),h=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(n){let e=function(e){if(h.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:el(d.current,{select:!0})},t=function(e){if(h.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||el(d.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&el(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,h.paused]),A.useEffect(()=>{if(s){eu.add(h);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(er,ea);s.addEventListener(er,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(el(n,{select:t}),document.activeElement!==r)return}(ei(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&el(s))}return()=>{s.removeEventListener(er,u),setTimeout(()=>{let t=new CustomEvent(en,ea);s.addEventListener(en,c),s.dispatchEvent(t),t.defaultPrevented||el(e??document.body,{select:!0}),s.removeEventListener(en,c),eu.remove(h)},0)}}},[s,u,c,h]);let f=A.useCallback(e=>{if(!r&&!n||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){var o;let t,n=e.currentTarget,[i,s]=[es(t=ei(o=n),o),es(t.reverse(),o)];i&&s?e.shiftKey||a!==s?e.shiftKey&&a===i&&(e.preventDefault(),r&&el(s,{select:!0})):(e.preventDefault(),r&&el(i,{select:!0})):a===n&&e.preventDefault()}},[r,n,h.paused]);return(0,_.jsx)(X.div,{tabIndex:-1,...i,ref:p,onKeyDown:f})});function ei(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function es(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function el(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}eo.displayName="FocusScope";var eu=(f=[],{add(e){let t=f[0];e!==t&&t?.pause(),(f=ec(f,e)).unshift(e)},remove(e){f=ec(f,e),f[0]?.resume()}});function ec(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var ed=A.forwardRef((e,t)=>{let{container:r,...n}=e,[a,o]=A.useState(!1);B(()=>o(!0),[]);let i=r||a&&globalThis?.document?.body;return i?W.createPortal((0,_.jsx)(X.div,{...n,ref:t}),i):null});ed.displayName="Portal";var ep=e=>{var t;let r,n,{present:a,children:o}=e,i=function(e){var t,r;let[n,a]=A.useState(),o=A.useRef(null),i=A.useRef(e),s=A.useRef("none"),[l,u]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},A.useReducer((e,t)=>r[e][t]??e,t));return A.useEffect(()=>{let e=eh(o.current);s.current="mounted"===l?e:"none"},[l]),B(()=>{let t=o.current,r=i.current;if(r!==e){let n=s.current,a=eh(t);e?u("MOUNT"):"none"===a||t?.display==="none"?u("UNMOUNT"):r&&n!==a?u("ANIMATION_OUT"):u("UNMOUNT"),i.current=e}},[e,u]),B(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let a=eh(o.current).includes(CSS.escape(r.animationName));if(r.target===n&&a&&(u("ANIMATION_END"),!i.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},a=e=>{e.target===n&&(s.current=eh(o.current))};return n.addEventListener("animationstart",a),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",a),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:A.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}(a),s="function"==typeof o?o({present:i.isPresent}):A.Children.only(o),l=D(i.ref,(t=s,(n=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(n=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof o||i.isPresent?A.cloneElement(s,{ref:l}):null};function eh(e){return e?.animationName||"none"}ep.displayName="Presence";var ef=0;function eg(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var em=function(){return(em=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function ev(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}var ey="right-scroll-bar-position",eb="width-before-scroll-bar";function ew(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ek="u">typeof window?A.useLayoutEffect:A.useEffect,ex=new WeakMap,eS=(void 0===w&&(w={}),(void 0===k&&(k=function(e){return e}),x=[],S=!1,C={read:function(){if(S)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return x.length?x[x.length-1]:null},useMedium:function(e){var t=k(e,S);return x.push(t),function(){x=x.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(S=!0;x.length;){var t=x;x=[],t.forEach(e)}x={push:function(t){return e(t)},filter:function(){return x}}},assignMedium:function(e){S=!0;var t=[];if(x.length){var r=x;x=[],r.forEach(e),t=x}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),x={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),x}}}}).options=em({async:!0,ssr:!1},w),C),eC=function(){},eP=A.forwardRef(function(e,t){var r,n,a,o,i=A.useRef(null),s=A.useState({onScrollCapture:eC,onWheelCapture:eC,onTouchMoveCapture:eC}),l=s[0],u=s[1],c=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,f=e.enabled,g=e.shards,m=e.sideCar,v=e.noRelative,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,k=e.as,x=e.gapMode,S=ev(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(r=[i,t],n=function(e){return r.forEach(function(t){return ew(t,e)})},(a=(0,A.useState)(function(){return{value:null,callback:n,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=n,o=a.facade,ek(function(){var e=ex.get(o);if(e){var t=new Set(e),n=new Set(r),a=o.current;t.forEach(function(e){n.has(e)||ew(e,null)}),n.forEach(function(e){t.has(e)||ew(e,a)})}ex.set(o,r)},[r]),o),P=em(em({},S),l);return A.createElement(A.Fragment,null,f&&A.createElement(m,{sideCar:eS,removeScrollBar:h,shards:g,noRelative:v,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!w,lockRef:i,gapMode:x}),c?A.cloneElement(A.Children.only(d),em(em({},P),{ref:C})):A.createElement(void 0===k?"div":k,em({},P,{className:p,ref:C}),d))});eP.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eP.classNames={fullWidth:eb,zeroRight:ey};var eE=function(e){var t=e.sideCar,r=ev(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return A.createElement(n,em({},r))};eE.isSideCarExport=!0;var eT=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=z||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,o;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eR=function(){var e=eT();return function(t,r){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eO=function(){var e=eR();return function(t){return e(t.styles,t.dynamic),null}},ej={left:0,top:0,right:0,gap:0},ez=function(e){return parseInt(e||"",10)||0},eN=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[ez(r),ez(n),ez(a)]},e_=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return ej;var t=eN(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},eA=eO(),eL="data-scroll-locked",eI=function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(eL,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(ey," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(eb," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(ey," .").concat(ey," {\n right: 0 ").concat(n,";\n }\n \n .").concat(eb," .").concat(eb," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(eL,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},eM=function(){var e=parseInt(document.body.getAttribute(eL)||"0",10);return isFinite(e)?e:0},eF=function(){A.useEffect(function(){return document.body.setAttribute(eL,(eM()+1).toString()),function(){var e=eM()-1;e<=0?document.body.removeAttribute(eL):document.body.setAttribute(eL,e.toString())}},[])},eD=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;eF();var o=A.useMemo(function(){return e_(a)},[a]);return A.createElement(eA,{styles:eI(o,!t,a,r?"":"!important")})},eB=!1;if("u">typeof window)try{var e$=Object.defineProperty({},"passive",{get:function(){return eB=!0,!0}});window.addEventListener("test",e$,e$),window.removeEventListener("test",e$,e$)}catch(e){eB=!1}var eV=!!eB&&{passive:!1},eU=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},eH=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eW(e,n)){var a=eq(e,n);if(a[1]>a[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eW=function(e,t){return"v"===e?eU(t,"overflowY"):eU(t,"overflowX")},eq=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eK=function(e,t,r,n,a){var o,i=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=i*n,l=r.target,u=t.contains(l),c=!1,d=s>0,p=0,h=0;do{if(!l)break;var f=eq(e,l),g=f[0],m=f[1]-f[2]-i*g;(g||m)&&eW(e,l)&&(p+=m,h+=g);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(a&&1>Math.abs(p)||!a&&s>p)?c=!0:!d&&(a&&1>Math.abs(h)||!a&&-s>h)&&(c=!0),c},eG=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eX=function(e){return[e.deltaX,e.deltaY]},eY=function(e){return e&&"current"in e?e.current:e},eQ=0,eZ=[];let eJ=(P=function(e){var t=A.useRef([]),r=A.useRef([0,0]),n=A.useRef(),a=A.useState(eQ++)[0],o=A.useState(eO)[0],i=A.useRef(e);A.useEffect(function(){i.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eY),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=A.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var a,o=eG(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=window.getSelection(),h=p&&p.anchorNode;if(h&&(h===c||h.contains(c)))return!1;var f=eH(d,c);if(!f)return!0;if(f?a=d:(a="v"===d?"h":"v",f=eH(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=a),!a)return!0;var g=n.current||a;return eK(g,t,e,"h"===g?l:u,!0)},[]),l=A.useCallback(function(e){if(eZ.length&&eZ[eZ.length-1]===o){var r="deltaY"in e?eX(e):eG(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var a=(i.current.shards||[]).map(eY).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?s(e,a[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=A.useCallback(function(e,r,n,a){var o={name:e,delta:r,target:n,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=A.useCallback(function(e){r.current=eG(e),n.current=void 0},[]),d=A.useCallback(function(t){u(t.type,eX(t),t.target,s(t,e.lockRef.current))},[]),p=A.useCallback(function(t){u(t.type,eG(t),t.target,s(t,e.lockRef.current))},[]);A.useEffect(function(){return eZ.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,eV),document.addEventListener("touchmove",l,eV),document.addEventListener("touchstart",c,eV),function(){eZ=eZ.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,eV),document.removeEventListener("touchmove",l,eV),document.removeEventListener("touchstart",c,eV)}},[]);var h=e.removeScrollBar,f=e.inert;return A.createElement(A.Fragment,null,f?A.createElement(o,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,h?A.createElement(eD,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},eS.useMedium(P),eE);var e0=A.forwardRef(function(e,t){return A.createElement(eP,em({},e,{ref:t,sideCar:eJ}))});e0.classNames=eP.classNames;var e1=new WeakMap,e2=new WeakMap,e3={},e5=0,e9=function(e){return e&&(e.host||e9(e.parentNode))},e4=function(e,t,r,n){var a=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=e9(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});e3[r]||(e3[r]=new WeakMap);var o=e3[r],i=[],s=new Set,l=new Set(a),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};a.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),a=null!==t&&"false"!==t,l=(e1.get(e)||0)+1,u=(o.get(e)||0)+1;e1.set(e,l),o.set(e,u),i.push(e),1===l&&a&&e2.set(e,!0),1===u&&e.setAttribute(r,"true"),a||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),e5++,function(){i.forEach(function(e){var t=e1.get(e)-1,a=o.get(e)-1;e1.set(e,t),o.set(e,a),t||(e2.has(e)||e.removeAttribute(n),e2.delete(e)),a||e.removeAttribute(r)}),--e5||(e1=new WeakMap,e1=new WeakMap,e2=new WeakMap,e3={})}},e6=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),e4(n,a,r,"aria-hidden")):function(){return null}},e8="Dialog",[e7,te]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>A.createContext(e));return function(r){let n=r?.[e]||t;return A.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let a=A.createContext(n),o=r.length;r=[...r,n];let i=t=>{let{scope:r,children:n,...i}=t,s=r?.[e]?.[o]||a,l=A.useMemo(()=>i,Object.values(i));return(0,_.jsx)(s.Provider,{value:l,children:n})};return i.displayName=t+"Provider",[i,function(r,i){let s=i?.[e]?.[o]||a,l=A.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(e8),[tt,tr]=e7(e8),tn=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=A.useRef(null),l=A.useRef(null),[u,c]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[a,o,i]=function({defaultProp:e,onChange:t}){let[r,n]=A.useState(e),a=A.useRef(r),o=A.useRef(t);return H(()=>{o.current=t},[t]),A.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,n,o]}({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:a;{let t=A.useRef(void 0!==e);A.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[l,A.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&i.current?.(r)}else o(t)},[s,e,o,i])]}({prop:n,defaultProp:a??!1,onChange:o,caller:e8});return(0,_.jsx)(tt,{scope:t,triggerRef:s,contentRef:l,contentId:U(),titleId:U(),descriptionId:U(),open:u,onOpenChange:c,onOpenToggle:A.useCallback(()=>c(e=>!e),[c]),modal:i,children:r})};tn.displayName=e8;var ta="DialogTrigger";A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(ta,r),o=D(t,a.triggerRef);return(0,_.jsx)(X.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":tC(a.open),...n,ref:o,onClick:I(e.onClick,a.onOpenToggle)})}).displayName=ta;var to="DialogPortal",[ti,ts]=e7(to,{forceMount:void 0}),tl=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=tr(to,t);return(0,_.jsx)(ti,{scope:t,forceMount:r,children:A.Children.map(n,e=>(0,_.jsx)(ep,{present:r||o.open,children:(0,_.jsx)(ed,{asChild:!0,container:a,children:e})}))})};tl.displayName=to;var tu="DialogOverlay",tc=A.forwardRef((e,t)=>{let r=ts(tu,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=tr(tu,e.__scopeDialog);return o.modal?(0,_.jsx)(ep,{present:n||o.open,children:(0,_.jsx)(tp,{...a,ref:t})}):null});tc.displayName=tu;var td=q("DialogOverlay.RemoveScroll"),tp=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(tu,r);return(0,_.jsx)(e0,{as:td,allowPinchZoom:!0,shards:[a.contentRef],children:(0,_.jsx)(X.div,{"data-state":tC(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),th="DialogContent",tf=A.forwardRef((e,t)=>{let r=ts(th,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=tr(th,e.__scopeDialog);return(0,_.jsx)(ep,{present:n||o.open,children:o.modal?(0,_.jsx)(tg,{...a,ref:t}):(0,_.jsx)(tm,{...a,ref:t})})});tf.displayName=th;var tg=A.forwardRef((e,t)=>{let r=tr(th,e.__scopeDialog),n=A.useRef(null),a=D(t,r.contentRef,n);return A.useEffect(()=>{let e=n.current;if(e)return e6(e)},[]),(0,_.jsx)(tv,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:I(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:I(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:I(e.onFocusOutside,e=>e.preventDefault())})}),tm=A.forwardRef((e,t)=>{let r=tr(th,e.__scopeDialog),n=A.useRef(!1),a=A.useRef(!1);return(0,_.jsx)(tv,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),tv=A.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=tr(th,r),l=A.useRef(null),u=D(t,l);return A.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eg()),document.body.insertAdjacentElement("beforeend",e[1]??eg()),ef++,()=>{1===ef&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),ef--}},[]),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(eo,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,_.jsx)(J,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":tC(s.open),...i,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(tR,{titleId:s.titleId}),(0,_.jsx)(tO,{contentRef:l,descriptionId:s.descriptionId})]})]})}),ty="DialogTitle",tb=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(ty,r);return(0,_.jsx)(X.h2,{id:a.titleId,...n,ref:t})});tb.displayName=ty;var tw="DialogDescription",tk=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(tw,r);return(0,_.jsx)(X.p,{id:a.descriptionId,...n,ref:t})});tk.displayName=tw;var tx="DialogClose",tS=A.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=tr(tx,r);return(0,_.jsx)(X.button,{type:"button",...n,ref:t,onClick:I(e.onClick,()=>a.onOpenChange(!1))})});function tC(e){return e?"open":"closed"}tS.displayName=tx;var tP="DialogTitleWarning",[tE,tT]=(E={contentName:th,titleName:ty,docsSlug:"dialog"},n=A.createContext(E),(a=e=>{let{children:t,...r}=e,a=A.useMemo(()=>r,Object.values(r));return(0,_.jsx)(n.Provider,{value:a,children:t})}).displayName=tP+"Provider",[a,function(e){let t=A.useContext(n);if(t)return t;if(void 0!==E)return E;throw Error(`\`${e}\` must be used within \`${tP}\``)}]),tR=({titleId:e})=>{let t=tT(tP),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
3
3
|
|
|
4
4
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
5
5
|
|
|
6
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return A.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},tO=({contentRef:e,descriptionId:t})=>{let r=tT("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return A.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};let tj=e=>"string"==typeof e,tz=()=>{let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},t_=e=>null==e?"":""+e,tN=/###/g,tA=e=>e&&e.indexOf("###")>-1?e.replace(tN,"."):e,tL=e=>!e||tj(e),tI=(e,t,r)=>{let n=tj(t)?t.split("."):t,a=0;for(;a<n.length-1;){if(tL(e))return{};let t=tA(n[a]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return tL(e)?{}:{obj:e,k:tA(n[a])}},tM=(e,t,r)=>{let{obj:n,k:a}=tI(e,t,Object);if(void 0!==n||1===t.length){n[a]=r;return}let o=t[t.length-1],i=t.slice(0,t.length-1),s=tI(e,i,Object);for(;void 0===s.obj&&i.length;)o=`${i[i.length-1]}.${o}`,s=tI(e,i=i.slice(0,i.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=r},tF=(e,t)=>{let{obj:r,k:n}=tI(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},tD=(e,t,r)=>{for(let n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?tj(e[n])||e[n]instanceof String||tj(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):tD(e[n],t[n],r):e[n]=t[n]);return e};var tB={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let t$=e=>tj(e)?e.replace(/[&<>"'\/]/g,e=>tB[e]):e,tV=[" ",",","?","!",";"],tU=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),tH=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let n=t.split(r),a=e;for(let e=0;e<n.length;){let t;if(!a||"object"!=typeof a)return;let o="";for(let i=e;i<n.length;++i)if(i!==e&&(o+=r),o+=n[i],void 0!==(t=a[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&i<n.length-1)continue;e+=i-e+1;break}a=t}return a},tW=e=>e?.replace("_","-"),tq={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class tK{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||tq,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(tj(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new tK(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new tK(this.logger,e)}}var tG=new tK;class tX{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let n=0;n<r;n++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,n])=>{for(let a=0;a<n;a++)r.apply(r,[e,...t])})}}class tY extends tX{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,n={}){let a,o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],r&&(Array.isArray(r)?a.push(...r):tj(r)&&o?a.push(...r.split(o)):a.push(r)));let s=tF(this.data,a);return(!s&&!t&&!r&&e.indexOf(".")>-1&&(e=a[0],t=a[1],r=a.slice(2).join(".")),!s&&i&&tj(r))?tH(this.data?.[e]?.[t],r,o):s}addResource(e,t,r,n,a={silent:!1}){let o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,i=[e,t];r&&(i=i.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(i=e.split("."),n=t,t=i[1]),this.addNamespaces(t),tM(this.data,i,n),a.silent||this.emit("added",e,t,r,n)}addResources(e,t,r,n={silent:!1}){for(let n in r)(tj(r[n])||Array.isArray(r[n]))&&this.addResource(e,t,n,r[n],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,a,o={silent:!1,skipCopy:!1}){let i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),n=r,r=t,t=i[1]),this.addNamespaces(t);let s=tF(this.data,i)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?tD(s,r,a):s={...s,...r},tM(this.data,i,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var tQ={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,a)??t}),t}};let tZ=Symbol("i18next/PATH_KEY");function tJ(e,t){let r,n,a,{[tZ]:o}=e((n=[],(a=Object.create(null)).get=(e,t)=>(r?.revoke?.(),t===tZ)?n:(n.push(t),(r=Proxy.revocable(e,a)).proxy),Proxy.revocable(Object.create(null),a).proxy));return o.join(t?.keySeparator??".")}let t0={},t1=e=>!tj(e)&&"boolean"!=typeof e&&"number"!=typeof e;class t2 extends tX{constructor(e,t={}){super(),((e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=tG.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(null==e)return!1;let n=this.resolve(e,r);if(n?.res===void 0)return!1;let a=t1(n.res);return!1!==r.returnObjects||!a}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,i=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";let n=tV.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let a=tU.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),o=!a.test(e);if(!o){let t=e.indexOf(r);t>0&&!a.test(e.substring(0,t))&&(o=!0)}return o})(e,r,n);if(o&&!i){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:tj(a)?[a]:a};let o=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(o[0])>-1)&&(a=o.shift()),e=o.join(n)}return{key:e,namespaces:tj(a)?[a]:a}}translate(e,t,r){let n="object"==typeof t?{...t}:t;if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==e)return"";"function"==typeof e&&(e=tJ(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);let a=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(e[e.length-1],n),l=s[s.length-1],u=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");let c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return d?a?{res:`${l}${u}${i}`,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${u}${i}`:a?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:i;let p=this.resolve(e,n),h=p?.res,f=p?.usedKey||i,g=p?.exactUsedKey||i,m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y=void 0!==n.count&&!tj(n.count),b=t2.hasDefaultValue(n),w=y?this.pluralResolver.getSuffix(c,n.count,n):"",k=n.ordinal&&y?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",x=y&&!n.ordinal&&0===n.count,S=x&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${w}`]||n[`defaultValue${k}`]||n.defaultValue,C=h;v&&!h&&b&&(C=S);let P=t1(C),E=Object.prototype.toString.apply(C);if(v&&C&&P&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(E)&&!(tj(m)&&Array.isArray(C))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,C,{...n,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(n),p):e}if(o){let e=Array.isArray(C),t=e?[]:{},r=e?g:f;for(let e in C)if(Object.prototype.hasOwnProperty.call(C,e)){let a=`${r}${o}${e}`;b&&!h?t[e]=this.translate(a,{...n,defaultValue:t1(S)?S[e]:void 0,...{joinArrays:!1,ns:s}}):t[e]=this.translate(a,{...n,joinArrays:!1,ns:s}),t[e]===a&&(t[e]=C[e])}h=t}}else if(v&&tj(m)&&Array.isArray(h))(h=h.join(m))&&(h=this.extendTranslation(h,e,n,r));else{let t=!1,a=!1;!this.isValidLookup(h)&&b&&(t=!0,h=S),this.isValidLookup(h)||(a=!0,h=i);let s=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:h,d=b&&S!==h&&this.options.updateMissing;if(a||t||d){if(this.logger.log(d?"updateKey":"missingKey",c,l,i,d?S:h),o){let e=this.resolve(i,{...n,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(n.lng||this.language):e.push(n.lng||this.language);let r=(e,t,r)=>{let a=b&&r!==h?r:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,a,d,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,a,d,n),this.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,n);x&&n[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],i+t,n[`defaultValue${t}`]||S)})}):r(e,i,S))}h=this.extendTranslation(h,e,n,p,r),a&&h===i&&this.options.appendNamespaceToMissingKey&&(h=`${l}${u}${i}`),(a||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${i}`:i,t?h:void 0,n))}return a?(p.res=h,p.usedParams=this.getUsedParamsDetails(n),p):h}extendTranslation(e,t,r,n,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){let o;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let i=tj(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(i){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=r.replace&&!tj(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,r.lng||this.language||n.usedLng,r),i){let t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(r.nest=!1)}!r.lng&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>a?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}let o=r.postProcess||this.options.postProcess,i=tj(o)?[o]:o;return null!=e&&i?.length&&!1!==r.applyPostProcessor&&(e=tQ.handle(i,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,n,a,o,i;return tj(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(r))return;let s=this.extractFromKey(e,t),l=s.key;n=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==t.count&&!tj(t.count),d=c&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(tj(t.context)||"number"==typeof t.context)&&""!==t.context,h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(r)||(i=e,!t0[`${h[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(i)&&(t0[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(n=>{let i;if(this.isValidLookup(r))return;o=n;let s=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,t);else{let e;c&&(e=this.pluralResolver.getSuffix(n,t.count,t));let r=`${this.options.pluralSeparator}zero`,a=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(t.ordinal&&0===e.indexOf(a)&&s.push(l+e.replace(a,this.options.pluralSeparator)),s.push(l+e),d&&s.push(l+r)),p){let n=`${l}${this.options.contextSeparator||"_"}${t.context}`;s.push(n),c&&(t.ordinal&&0===e.indexOf(a)&&s.push(n+e.replace(a,this.options.pluralSeparator)),s.push(n+e),d&&s.push(n+r))}}for(;i=s.pop();)this.isValidLookup(r)||(a=i,r=this.getResource(n,e,i,t))}))})}),{res:r,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(e={}){let t=e.replace&&!tj(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}class t3{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=tG.create("languageUtils")}getScriptPartFromCode(e){if(!(e=tW(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=tW(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(tj(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),tj(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),n=[],a=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return tj(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):tj(e)&&a(this.formatLanguageCode(e)),r.forEach(e=>{0>n.indexOf(e)&&a(this.formatLanguageCode(e))}),n}}let t5={zero:0,one:1,two:2,few:3,many:4,other:5},t9={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class t4{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=tG.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r,n=tW("dev"===e?"en":e),a=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{r=new Intl.PluralRules(n,{type:a})}catch(a){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),t9;if(!e.match(/-|_/))return t9;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[o]=r,r}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>t5[e]-t5[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){let n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let t6=(e,t,r,n=".",a=!0)=>{let o,i=void 0!==(o=tF(e,r))?o:tF(t,r);return!i&&a&&tj(r)&&void 0===(i=tH(e,r,n))&&(i=tH(t,r,n)),i};class t8{constructor(e={}){this.logger=tG.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:a,prefixEscaped:o,suffix:i,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:f,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:t$,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=a?a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):o||"{{",this.suffix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):p||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let a,o,i,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(0>e.indexOf(this.formatSeparator)){let a=t6(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,r,{...n,...t,interpolationkey:e}):a}let a=e.split(this.formatSeparator),o=a.shift().trim(),i=a.join(this.formatSeparator).trim();return this.format(t6(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),i,r,{...n,...t,interpolationkey:o})};this.resetRegExp();let u=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(i=0;a=t.regex.exec(e);){let r=a[1].trim();if(void 0===(o=l(r)))if("function"==typeof u){let t=u(e,a,n);o=tj(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))o="";else if(c){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o="";else tj(o)||this.useRawValueToEscape||(o=t_(o));let s=t.safeValue(o);if(e=e.replace(a[0],s),c?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=this.maxReplaces)break}}),e}nest(e,t,r={}){let n,a,o,i=(e,t)=>{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),a=`{${n[1]}`;e=n[0];let i=(a=this.interpolate(a,o)).match(/'/g),s=a.match(/"/g);((i?.length??0)%2!=0||s)&&s.length%2==0||(a=a.replace(/'/g,'"'));try{o=JSON.parse(a),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${a}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];(o=(o={...r}).replace&&!tj(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let l=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(-1!==l&&(s=n[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),n[1]=n[1].slice(0,l)),(a=t(i.call(this,n[1].trim(),o),o))&&n[0]===e&&!tj(a))return a;tj(a)||(a=t_(a)),a||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),a=""),s.length&&(a=s.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:n[1].trim()}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}let t7=e=>{let t={};return(r,n,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});let i=n+JSON.stringify(o),s=t[i];return s||(s=e(tW(n),a),t[i]=s),s(r)}},re=e=>(t,r,n)=>e(tW(r),n)(t);class rt{constructor(e={}){this.logger=tG.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?t7:re;this.formats={number:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=t7(t)}format(e,t,r,n={}){let a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&0>a[0].indexOf(")")&&a.find(e=>e.indexOf(")")>-1)){let e=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce((e,t)=>{let{formatName:a,formatOptions:o}=(e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let a=n[1].substring(0,n[1].length-1);"currency"===t&&0>a.indexOf(":")?r.currency||(r.currency=a.trim()):"relativetime"===t&&0>a.indexOf(":")?r.range||(r.range=a.trim()):a.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),a=n.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=a),"false"===a&&(r[o]=!1),"true"===a&&(r[o]=!0),isNaN(a)||(r[o]=parseInt(a,10))}})}return{formatName:t,formatOptions:r}})(t);if(this.formats[a]){let t=e;try{let i=n?.formatParams?.[n.interpolationkey]||{},s=i.locale||i.lng||n.locale||n.lng||r;t=this.formats[a](e,s,{...o,...n,...i})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class rr extends tX{constructor(e,t,r,n={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=tG.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){let a={},o={},i={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let i=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[i]=2:this.state[i]<0||(1===this.state[i]?void 0===o[i]&&(o[i]=!0):(this.state[i]=1,n=!1,void 0===o[i]&&(o[i]=!0),void 0===a[i]&&(a[i]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(i[e]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),a=n[0],o=n[1];t&&this.emit("failedLoading",a,o,t),!t&&r&&this.store.addResourceBundle(a,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let i={};this.queue.forEach(r=>{((e,t,r,n)=>{let{obj:a,k:o}=tI(e,t,Object);a[o]=a[o]||[],a[o].push(r)})(r.loaded,[a],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{i[e]||(i[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===i[e][t]&&(i[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,n=0,a=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:a,callback:o});this.readingCalls++;let i=(i,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}i&&s&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*a,o)},a):o(i,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>i(null,e)).catch(i):i(null,r)}catch(e){i(e)}return}return s(e,t,i)}prepareLoading(e,t,r={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();tj(e)&&(e=this.languageUtils.toResolveHierarchy(e)),tj(t)&&(t=[t]);let a=this.queueLoad(e,t,r,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),n=r[0],a=r[1];this.read(n,a,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,n,a,o={},i=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=r&&""!==r){if(this.backend?.create){let s={...o,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;(a=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof a.then?a.then(e=>i(null,e)).catch(i):i(null,a)}catch(e){i(e)}else l(e,t,r,n,i,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let rn=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),tj(e[1])&&(t.defaultValue=e[1]),tj(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),ra=e=>(tj(e.ns)&&(e.ns=[e.ns]),tj(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),tj(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),ro=()=>{};class ri extends tX{constructor(e={},t){if(super(),this.options=ra(e),this.services={},this.logger=tG,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(tj(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let r=rn();this.options={...r,...this.options,...ra(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);let n=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?tG.init(n(this.modules.logger),this.options):tG.init(null,this.options),e=this.modules.formatter?this.modules.formatter:rt;let t=new t3(this.options);this.store=new tY(this.options.resources,this.options);let a=this.services;a.logger=tG,a.resourceStore=this.store,a.languageUtils=t,a.pluralResolver=new t4(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(a.formatter=n(e),a.formatter.init&&a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new t8(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new rr(n(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(a.languageDetector=n(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=n(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new t2(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=ro),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let a=tz(),o=()=>{let e=(e,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(r),t(e,r)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?o():setTimeout(o,0),a}loadResources(e,t=ro){let r=t,n=tj(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};n?t(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=tz();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=ro),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&tQ.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=tz();this.emit("languageChanging",e);let n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(a,o)=>{o?this.isLanguageChangingTo===e&&(n(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(a,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);let r=tj(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(tj(t)?[t]:t);o&&(this.language||n(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{a(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}getFixedT(e,t,r){let n=(e,t,...a)=>{let o,i;(o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(a)):{...t}).lng=o.lng||n.lng,o.lngs=o.lngs||n.lngs,o.ns=o.ns||n.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||r||n.keyPrefix);let s=this.options.keySeparator||".";return o.keyPrefix&&Array.isArray(e)?i=e.map(e=>("function"==typeof e&&(e=tJ(e,{...this.options,...t})),`${o.keyPrefix}${s}${e}`)):("function"==typeof e&&(e=tJ(e,{...this.options,...t})),i=o.keyPrefix?`${o.keyPrefix}${s}${e}`:e),this.t(i,o)};return tj(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=r,n}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!n||o(a,e)))}loadNamespaces(e,t){let r=tz();return this.options.ns?(tj(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=tz();tj(e)&&(e=[e]);let n=this.options.preload||[],a=e.filter(e=>0>n.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=n.concat(a),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new t3(rn());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let r=new ri(e,t);return r.createInstance=ri.createInstance,r}cloneInstance(e={},t=ro){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},a=new ri(n);return(void 0!==e.debug||void 0!==e.prefix)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new tY(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),e[t]),e),{}),n),a.services.resourceStore=a.store),e.interpolation&&(a.services.interpolator=new t8(n)),a.translator=new t2(a.services,n),a.translator.on("*",(e,...t)=>{a.emit(e,...t)}),a.init(n,t),a.translator.options=n,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let rs=ri.createInstance();rs.createInstance,rs.dir,rs.init,rs.loadResources,rs.reloadResources,rs.use,rs.changeLanguage,rs.getFixedT,rs.t,rs.exists,rs.setDefaultNamespace,rs.hasLoadedNamespace,rs.loadNamespaces,rs.loadLanguages,r("../../node_modules/.pnpm/void-elements@3.1.0/node_modules/void-elements/index.js"),Object.create(null);let rl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,ru={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},rc=e=>ru[e],rd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(rl,rc)},rp=(0,A.createContext)();class rh{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let rf=(e,t,r,n)=>{let a=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);rw(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},rg={},rm=(e,t,r,n)=>{rw(r)&&rg[r]||(rw(r)&&(rg[r]=new Date),rf(e,t,r,n))},rv=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},ry=(e,t,r)=>{e.loadNamespaces(t,rv(e,r))},rb=(e,t,r,n)=>{if(rw(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ry(e,r,n);r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,rv(e,n))},rw=e=>"string"==typeof e,rk={" ":"\xa0","&":"&","<":"<",">":">",""":'"',"'":"'","©":"\xa9","®":"\xae","™":"™","…":"…","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","•":"•","′":"′","″":"″","‹":"‹","›":"›","§":"\xa7","¶":"\xb6","·":"\xb7"," ":" "," ":" "," ":" ","€":"€","£":"\xa3","¥":"\xa5","¢":"\xa2","¤":"\xa4","×":"\xd7","÷":"\xf7","−":"−","±":"\xb1","≠":"≠","≤":"≤","≥":"≥","≈":"≈","≡":"≡","∞":"∞","∫":"∫","∑":"∑","∏":"∏","√":"√","∂":"∂","‰":"‰","°":"\xb0","µ":"\xb5","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","À":"\xc0","Á":"\xc1","Â":"\xc2","Ã":"\xc3","Ä":"\xc4","Å":"\xc5","Æ":"\xc6","Ç":"\xc7","È":"\xc8","É":"\xc9","Ê":"\xca","Ë":"\xcb","Ì":"\xcc","Í":"\xcd","Î":"\xce","Ï":"\xcf","Ð":"\xd0","Ñ":"\xd1","Ò":"\xd2","Ó":"\xd3","Ô":"\xd4","Õ":"\xd5","Ö":"\xd6","Ø":"\xd8","Ù":"\xd9","Ú":"\xda","Û":"\xdb","Ü":"\xdc","Ý":"\xdd","Þ":"\xde","ß":"\xdf","à":"\xe0","á":"\xe1","â":"\xe2","ã":"\xe3","ä":"\xe4","å":"\xe5","æ":"\xe6","ç":"\xe7","è":"\xe8","é":"\xe9","ê":"\xea","ë":"\xeb","ì":"\xec","í":"\xed","î":"\xee","ï":"\xef","ð":"\xf0","ñ":"\xf1","ò":"\xf2","ó":"\xf3","ô":"\xf4","õ":"\xf5","ö":"\xf6","ø":"\xf8","ù":"\xf9","ú":"\xfa","û":"\xfb","ü":"\xfc","ý":"\xfd","þ":"\xfe","ÿ":"\xff","¡":"\xa1","¿":"\xbf","ƒ":"ƒ","ˆ":"ˆ","˜":"˜","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ª":"\xaa","º":"\xba","¯":"\xaf","´":"\xb4","¸":"\xb8","¹":"\xb9","²":"\xb2","³":"\xb3","¼":"\xbc","½":"\xbd","¾":"\xbe","♠":"♠","♣":"♣","♥":"♥","♦":"♦","◊":"◊","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","ℵ":"ℵ"},rx=RegExp(Object.keys(rk).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var rS=r("../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/index.js");let rC={t:(e,t)=>rw(t)?t:"object"==typeof t&&null!==t&&rw(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},rP=()=>()=>{},rE=(t,r={})=>{let{i18n:n}=r,{i18n:a,defaultNS:o}=(0,A.useContext)(rp)||{},i=n||a||e;i&&!i.reportNamespaces&&(i.reportNamespaces=new rh),i||rm(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let s=(0,A.useMemo)(()=>({...rd,...i?.options?.react,...r}),[i,r]),{useSuspense:l,keyPrefix:u}=s,c=t||o||i?.options?.defaultNS,d=rw(c)?[c]:c||["translation"],p=(0,A.useMemo)(()=>d,d);i?.reportNamespaces?.addUsedNamespaces?.(p);let h=(0,A.useRef)(0),f=(0,A.useCallback)(e=>{if(!i)return rP;let{bindI18n:t,bindI18nStore:r}=s,n=()=>{h.current+=1,e()};return t&&i.on(t,n),r&&i.store.on(r,n),()=>{t&&t.split(" ").forEach(e=>i.off(e,n)),r&&r.split(" ").forEach(e=>i.store.off(e,n))}},[i,s]),g=(0,A.useRef)(),m=(0,A.useCallback)(()=>{if(!i)return rC;let e=!!(i.isInitialized||i.initializedStoreOnce)&&p.every(e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):(rm(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,i,s)),t=r.lng||i.language,n=h.current,a=g.current;if(a&&a.ready===e&&a.lng===t&&a.keyPrefix===u&&a.revision===n)return a;let o={t:i.getFixedT(t,"fallback"===s.nsMode?p:p[0],u),ready:e,lng:t,keyPrefix:u,revision:n};return g.current=o,o},[i,p,u,s,r.lng]),[v,y]=(0,A.useState)(0),{t:b,ready:w}=(0,rS.useSyncExternalStore)(f,m,m);(0,A.useEffect)(()=>{if(i&&!w&&!l){let e=()=>y(e=>e+1);r.lng?rb(i,r.lng,p,e):ry(i,p,e)}},[i,r.lng,p,w,l,v]);let k=i||{},x=(0,A.useRef)(null),S=(0,A.useRef)(),C=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let r=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(r,"__original"))try{Object.defineProperty(r,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(e){}return r},P=(0,A.useMemo)(()=>{let e=k?.language,t=k;k&&(x.current&&x.current.__original===k?S.current!==e?(x.current=t=C(k),S.current=e):t=x.current:(x.current=t=C(k),S.current=e));let r=[b,t,w];return r.t=b,r.i18n=t,r.ready=w,r},[b,k,w,k.resolvedLanguage,k.language,k.languages]);if(i&&l&&!w)throw new Promise(e=>{let t=()=>e();r.lng?rb(i,r.lng,p,t):ry(i,p,t)});return P};function rT({i18n:e,defaultNS:t,children:r}){let n=(0,A.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,A.createElement)(rp.Provider,{value:n},r)}let rR={type:"3rdParty",init(t){((e={})=>{rd={...rd,...e}})(t.options.react),e=t}};var rO=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/server.browser.js"),rj=r("../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"),rz=r.n(rj),r_="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==r.g?r.g:"u">typeof self?self:{};function rN(e,t){return e(t={exports:{}},t.exports),t.exports}var rA=rN(function(e){var t,r,n,a,o,i,s,l,u,c,d,p,h,f;t=function(e,r,n){if(!s(r)||u(r)||c(r)||d(r)||i(r))return r;var a,o=0,p=0;if(l(r))for(a=[],p=r.length;o<p;o++)a.push(t(e,r[o],n));else for(var h in a={},r)Object.prototype.hasOwnProperty.call(r,h)&&(a[e(h,n)]=t(e,r[h],n));return a},r=function(e){return p(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},n=function(e){var t=r(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){var r,n,a;return(n=(r=(r=t)||{}).separator||"_",a=r.split||/(?=[A-Z])/,e.split(a).join(n)).toLowerCase()},o=Object.prototype.toString,i=function(e){return"function"==typeof e},s=function(e){return e===Object(e)},l=function(e){return"[object Array]"==o.call(e)},u=function(e){return"[object Date]"==o.call(e)},c=function(e){return"[object RegExp]"==o.call(e)},d=function(e){return"[object Boolean]"==o.call(e)},p=function(e){return(e-=0)==e},h=function(e,t){var r=t&&"process"in t?t.process:t;return"function"!=typeof r?e:function(t,n){return r(t,e,n)}},f={camelize:r,decamelize:a,pascalize:n,depascalize:a,camelizeKeys:function(e,n){return t(h(r,n),e)},decamelizeKeys:function(e,r){return t(h(a,r),e,r)},pascalizeKeys:function(e,r){return t(h(n,r),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=f:r_.humps=f}).decamelize,rL=function(e){if(Array.isArray(e))return e},rI=function(e,t){if("u">typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}},rM=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n},rF=function(e,t){if(e){if("string"==typeof e)return rM(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rM(e,t):void 0}},rD=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},rB=rN(function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.apply(this,arguments)}e.exports=t}),r$=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a},rV=function(e,t){if(null==e)return{};var r,n,a=r$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a},rU=(0,A.createContext)(null);function rH(e){var t=e.children,r=void 0===t?"":t,n=rV(e,["children"]);return"string"!=typeof r&&(r=(0,rO.renderToString)(r)),A.createElement("template",rB({},n,{dangerouslySetInnerHTML:{__html:r}}))}function rW(e){var t=e.root,r=e.children;return(0,W.createPortal)(void 0===r?null:r,t)}rH.propTypes={children:rz().oneOfType([rz().string,rz().node])},rW.propTypes={root:rz().object.isRequired,children:rz().node};var rq=new Map,rK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"core",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e.children};return new Proxy(e,{get:function(e,n){var a,o,i=rA(n,{separator:"-"}),s="".concat(t,"-").concat(i);return rq.has(s)||rq.set(s,(a={tag:i,render:r},(o=(0,A.forwardRef)(function(e,t){var r,n,o=e.mode,i=void 0===o?"open":o,s=e.delegatesFocus,l=void 0!==s&&s,u=e.styleSheets,c=void 0===u?[]:u,d=e.ssr,p=void 0!==d&&d,h=e.children,f=rV(e,["mode","delegatesFocus","styleSheets","ssr","children"]),g=(n=(0,A.useRef)(t&&t.current),(0,A.useEffect)(function(){t&&(t.current=n.current)},[t]),n),m=rL(r=(0,A.useState)(null))||rI(r,2)||rF(r,2)||rD(),v=m[0],y=m[1],b="node_".concat(i).concat(l);return(0,A.useLayoutEffect)(function(){if(g.current)try{if("function"==typeof t&&t(g.current),p){var e=g.current.shadowRoot;return void y(e)}var r=g.current.attachShadow({mode:i,delegatesFocus:l});c.length>0&&(r.adoptedStyleSheets=c),y(r)}catch(e){!function(e){var t=e.error,r=e.styleSheets,n=e.root;if("NotSupportedError"===t.name)r.length>0&&(n.adoptedStyleSheets=r);else throw t}({error:e,styleSheets:c,root:v})}},[t,g,c]),A.createElement(A.Fragment,null,A.createElement(a.tag,rB({key:b,ref:g},f),(v||p)&&A.createElement(rU.Provider,{value:v},p?A.createElement(rH,{shadowroot:i,shadowrootmode:i},a.render({root:v,ssr:p,children:h})):A.createElement(rW,{root:v},a.render({root:v,ssr:p,children:h})))))})).propTypes={mode:rz().oneOf(["open","closed"]),delegatesFocus:rz().bool,styleSheets:rz().arrayOf(rz().instanceOf(globalThis.CSSStyleSheet)),ssr:rz().bool,children:rz().node},o)),rq.get(s)}})}();function rG(e,t){return function(){return e.apply(t,arguments)}}let{toString:rX}=Object.prototype,{getPrototypeOf:rY}=Object,{iterator:rQ,toStringTag:rZ}=Symbol,rJ=(o=Object.create(null),e=>{let t=rX.call(e);return o[t]||(o[t]=t.slice(8,-1).toLowerCase())}),r0=e=>(e=e.toLowerCase(),t=>rJ(t)===e),r1=e=>t=>typeof t===e,{isArray:r2}=Array,r3=r1("undefined");function r5(e){return null!==e&&!r3(e)&&null!==e.constructor&&!r3(e.constructor)&&r6(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let r9=r0("ArrayBuffer"),r4=r1("string"),r6=r1("function"),r8=r1("number"),r7=e=>null!==e&&"object"==typeof e,ne=e=>{if("object"!==rJ(e))return!1;let t=rY(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(rZ in e)&&!(rQ in e)},nt=r0("Date"),nr=r0("File"),nn=r0("Blob"),na=r0("FileList"),no=r0("URLSearchParams"),[ni,ns,nl,nu]=["ReadableStream","Request","Response","Headers"].map(r0);function nc(e,t,{allOwnKeys:r=!1}={}){let n,a;if(null!=e)if("object"!=typeof e&&(e=[e]),r2(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{let a;if(r5(e))return;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;for(n=0;n<i;n++)a=o[n],t.call(null,e[a],a,e)}}function nd(e,t){let r;if(r5(e))return null;t=t.toLowerCase();let n=Object.keys(e),a=n.length;for(;a-- >0;)if(t===(r=n[a]).toLowerCase())return r;return null}let np="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:global,nh=e=>!r3(e)&&e!==np,nf=(i="u">typeof Uint8Array&&rY(Uint8Array),e=>i&&e instanceof i),ng=r0("HTMLFormElement"),nm=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),nv=r0("RegExp"),ny=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};nc(r,(r,a)=>{let o;!1!==(o=t(r,a,e))&&(n[a]=o||r)}),Object.defineProperties(e,n)},nb=r0("AsyncFunction"),nw=(m="function"==typeof setImmediate,v=r6(np.postMessage),m?setImmediate:v?(y=`axios@${Math.random()}`,b=[],np.addEventListener("message",({source:e,data:t})=>{e===np&&t===y&&b.length&&b.shift()()},!1),e=>{b.push(e),np.postMessage(y,"*")}):e=>setTimeout(e)),nk="u">typeof queueMicrotask?queueMicrotask.bind(np):"u">typeof process&&process.nextTick||nw,nx={isArray:r2,isArrayBuffer:r9,isBuffer:r5,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||r6(e.append)&&("formdata"===(t=rJ(e))||"object"===t&&r6(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&r9(e.buffer)},isString:r4,isNumber:r8,isBoolean:e=>!0===e||!1===e,isObject:r7,isPlainObject:ne,isEmptyObject:e=>{if(!r7(e)||r5(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:ni,isRequest:ns,isResponse:nl,isHeaders:nu,isUndefined:r3,isDate:nt,isFile:nr,isBlob:nn,isRegExp:nv,isFunction:r6,isStream:e=>r7(e)&&r6(e.pipe),isURLSearchParams:no,isTypedArray:nf,isFileList:na,forEach:nc,merge:function e(){let{caseless:t,skipUndefined:r}=nh(this)&&this||{},n={},a=(a,o)=>{let i=t&&nd(n,o)||o;ne(n[i])&&ne(a)?n[i]=e(n[i],a):ne(a)?n[i]=e({},a):r2(a)?n[i]=a.slice():r&&r3(a)||(n[i]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&nc(arguments[e],a);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(nc(t,(t,n)=>{r&&r6(t)?e[n]=rG(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let a,o,i,s={};if(t=t||{},null==e)return t;do{for(o=(a=Object.getOwnPropertyNames(e)).length;o-- >0;)i=a[o],(!n||n(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=!1!==r&&rY(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:rJ,kindOfTest:r0,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(r2(e))return e;let t=e.length;if(!r8(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[rQ]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:ng,hasOwnProperty:nm,hasOwnProp:nm,reduceDescriptors:ny,freezeMethods:e=>{ny(e,(t,r)=>{if(r6(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(r6(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(r2(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:nd,global:np,isContextDefined:nh,isSpecCompliantForm:function(e){return!!(e&&r6(e.append)&&"FormData"===e[rZ]&&e[rQ])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(r7(e)){if(t.indexOf(e)>=0)return;if(r5(e))return e;if(!("toJSON"in e)){t[n]=e;let a=r2(e)?[]:{};return nc(e,(e,t)=>{let o=r(e,n+1);r3(o)||(a[t]=o)}),t[n]=void 0,a}}return e};return r(e,0)},isAsyncFn:nb,isThenable:e=>e&&(r7(e)||r6(e))&&r6(e.then)&&r6(e.catch),setImmediate:nw,asap:nk,isIterable:e=>null!=e&&r6(e[rQ])};function nS(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}nx.inherits(nS,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:nx.toJSONObject(this.config),code:this.code,status:this.status}}});let nC=nS.prototype,nP={};function nE(e){return nx.isPlainObject(e)||nx.isArray(e)}function nT(e){return nx.endsWith(e,"[]")?e.slice(0,-2):e}function nR(e,t,r){return e?e.concat(t).map(function(e,t){return e=nT(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{nP[e]={value:e}}),Object.defineProperties(nS,nP),Object.defineProperty(nC,"isAxiosError",{value:!0}),nS.from=(e,t,r,n,a,o)=>{let i=Object.create(nC);nx.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return nS.call(i,s,l,r,n,a),e&&null==i.cause&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",o&&Object.assign(i,o),i};let nO=nx.toFlatObject(nx,{},null,function(e){return/^is[A-Z]/.test(e)}),nj=function(e,t,r){if(!nx.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=nx.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!nx.isUndefined(t[e])})).metaTokens,a=r.visitor||u,o=r.dots,i=r.indexes,s=(r.Blob||"u">typeof Blob&&Blob)&&nx.isSpecCompliantForm(t);if(!nx.isFunction(a))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(nx.isDate(e))return e.toISOString();if(nx.isBoolean(e))return e.toString();if(!s&&nx.isBlob(e))throw new nS("Blob is not supported. Use a Buffer instead.");return nx.isArrayBuffer(e)||nx.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,r,a){let s=e;if(e&&!a&&"object"==typeof e)if(nx.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(nx.isArray(e)&&(u=e,nx.isArray(u)&&!u.some(nE))||(nx.isFileList(e)||nx.endsWith(r,"[]"))&&(s=nx.toArray(e)))return r=nT(r),s.forEach(function(e,n){nx.isUndefined(e)||null===e||t.append(!0===i?nR([r],n,o):null===i?r:r+"[]",l(e))}),!1}return!!nE(e)||(t.append(nR(a,r,o),l(e)),!1)}let c=[],d=Object.assign(nO,{defaultVisitor:u,convertValue:l,isVisitable:nE});if(!nx.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!nx.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),nx.forEach(r,function(r,o){!0===(!(nx.isUndefined(r)||null===r)&&a.call(t,r,nx.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])}),c.pop()}}(e),t};function nz(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function n_(e,t){this._pairs=[],e&&nj(e,this,t)}let nN=n_.prototype;function nA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function nL(e,t,r){let n;if(!t)return e;let a=r&&r.encode||nA;nx.isFunction(r)&&(r={serialize:r});let o=r&&r.serialize;if(n=o?o(t,r):nx.isURLSearchParams(t)?t.toString():new n_(t,r).toString(a)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}nN.append=function(e,t){this._pairs.push([e,t])},nN.toString=function(e){let t=e?function(t){return e.call(this,t,nz)}:nz;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};let nI=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){nx.forEach(this.handlers,function(t){null!==t&&e(t)})}},nM={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},nF="u">typeof URLSearchParams?URLSearchParams:n_,nD="u">typeof FormData?FormData:null,nB="u">typeof Blob?Blob:null,n$="u">typeof window&&"u">typeof document,nV="object"==typeof navigator&&navigator||void 0,nU=n$&&(!nV||0>["ReactNative","NativeScript","NS"].indexOf(nV.product)),nH="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,nW=n$&&window.location.href||"http://localhost",nq={..._,isBrowser:!0,classes:{URLSearchParams:nF,FormData:nD,Blob:nB},protocols:["http","https","file","blob","url","data"]},nK=function(e){if(nx.isFormData(e)&&nx.isFunction(e.entries)){let t={};return nx.forEachEntry(e,(e,r)=>{!function e(t,r,n,a){let o=t[a++];if("__proto__"===o)return!0;let i=Number.isFinite(+o),s=a>=t.length;return(o=!o&&nx.isArray(n)?n.length:o,s)?nx.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&nx.isObject(n[o])||(n[o]=[]),e(t,r,n[o],a)&&nx.isArray(n[o])&&(n[o]=function(e){let t,r,n={},a=Object.keys(e),o=a.length;for(t=0;t<o;t++)n[r=a[t]]=e[r];return n}(n[o]))),!i}(nx.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},nG={transitional:nM,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",a=n.indexOf("application/json")>-1,o=nx.isObject(e);if(o&&nx.isHTMLForm(e)&&(e=new FormData(e)),nx.isFormData(e))return a?JSON.stringify(nK(e)):e;if(nx.isArrayBuffer(e)||nx.isBuffer(e)||nx.isStream(e)||nx.isFile(e)||nx.isBlob(e)||nx.isReadableStream(e))return e;if(nx.isArrayBufferView(e))return e.buffer;if(nx.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var i,s;return(i=e,s=this.formSerializer,nj(i,new nq.classes.URLSearchParams,{visitor:function(e,t,r,n){return nq.isNode&&nx.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...s})).toString()}if((r=nx.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return nj(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||a){t.setContentType("application/json",!1);var l=e;if(nx.isString(l))try{return(0,JSON.parse)(l),nx.trim(l)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(l)}return e}],transformResponse:[function(e){let t=this.transitional||nG.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(nx.isResponse(e)||nx.isReadableStream(e))return e;if(e&&nx.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw nS.from(e,nS.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nq.classes.FormData,Blob:nq.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};nx.forEach(["delete","get","head","post","put","patch"],e=>{nG.headers[e]={}});let nX=nx.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nY=Symbol("internals");function nQ(e){return e&&String(e).trim().toLowerCase()}function nZ(e){return!1===e||null==e?e:nx.isArray(e)?e.map(nZ):String(e)}function nJ(e,t,r,n,a){if(nx.isFunction(n))return n.call(this,t,r);if(a&&(t=r),nx.isString(t)){if(nx.isString(n))return -1!==t.indexOf(n);if(nx.isRegExp(n))return n.test(t)}}class n0{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function a(e,t,r){let a=nQ(t);if(!a)throw Error("header name must be a non-empty string");let o=nx.findKey(n,a);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=nZ(e))}let o=(e,t)=>nx.forEach(e,(e,r)=>a(e,r,t));if(nx.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let n;if(nx.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim()))){var i;let r,n,a,s;o((s={},(i=e)&&i.split("\n").forEach(function(e){a=e.indexOf(":"),r=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!r||s[r]&&nX[r]||("set-cookie"===r?s[r]?s[r].push(n):s[r]=[n]:s[r]=s[r]?s[r]+", "+n:n)}),s),t)}else if(nx.isObject(e)&&nx.isIterable(e)){let r={},n,a;for(let t of e){if(!nx.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[a=t[0]]=(n=r[a])?nx.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(r,t)}else null!=e&&a(t,e,r)}return this}get(e,t){if(e=nQ(e)){let r=nx.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(nx.isFunction(t))return t.call(this,e,r);if(nx.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=nQ(e)){let r=nx.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||nJ(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function a(e){if(e=nQ(e)){let a=nx.findKey(r,e);a&&(!t||nJ(r,r[a],a,t))&&(delete r[a],n=!0)}}return nx.isArray(e)?e.forEach(a):a(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let a=t[r];(!e||nJ(this,this[a],a,e,!0))&&(delete this[a],n=!0)}return n}normalize(e){let t=this,r={};return nx.forEach(this,(n,a)=>{let o=nx.findKey(r,a);if(o){t[o]=nZ(n),delete t[a];return}let i=e?a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(a).trim();i!==a&&delete t[a],t[i]=nZ(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return nx.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&nx.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[nY]=this[nY]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=nQ(e);if(!t[n]){let a;a=nx.toCamelCase(" "+e),["get","set","has"].forEach(t=>{Object.defineProperty(r,t+a,{value:function(r,n,a){return this[t].call(this,e,r,n,a)},configurable:!0})}),t[n]=!0}}return nx.isArray(e)?e.forEach(n):n(e),this}}function n1(e,t){let r=this||nG,n=t||r,a=n0.from(n.headers),o=n.data;return nx.forEach(e,function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function n2(e){return!!(e&&e.__CANCEL__)}function n3(e,t,r){nS.call(this,null==e?"canceled":e,nS.ERR_CANCELED,t,r),this.name="CanceledError"}function n5(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new nS("Request failed with status code "+r.status,[nS.ERR_BAD_REQUEST,nS.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}n0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),nx.reduceDescriptors(n0.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),nx.freezeMethods(n0),nx.inherits(n3,nS,{__CANCEL__:!0});let n9=function(e,t){let r,n=Array(e=e||10),a=Array(e),o=0,i=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=a[i];r||(r=l),n[o]=s,a[o]=l;let c=i,d=0;for(;c!==o;)d+=n[c++],c%=e;if((o=(o+1)%e)===i&&(i=(i+1)%e),l-r<t)return;let p=u&&l-u;return p?Math.round(1e3*d/p):void 0}},n4=function(e,t){let r,n,a=0,o=1e3/t,i=(t,o=Date.now())=>{a=o,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-a;s>=o?i(e,t):(r=e,n||(n=setTimeout(()=>{n=null,i(r)},o-s)))},()=>r&&i(r)]},n6=(e,t,r=3)=>{let n=0,a=n9(50,250);return n4(r=>{let o=r.loaded,i=r.lengthComputable?r.total:void 0,s=o-n,l=a(s);n=o,e({loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})},r)},n8=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},n7=e=>(...t)=>nx.asap(()=>e(...t)),ae=nq.hasStandardBrowserEnv?(s=new URL(nq.origin),l=nq.navigator&&/(msie|trident)/i.test(nq.navigator.userAgent),e=>(e=new URL(e,nq.origin),s.protocol===e.protocol&&s.host===e.host&&(l||s.port===e.port))):()=>!0,at=nq.hasStandardBrowserEnv?{write(e,t,r,n,a,o,i){if("u"<typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];nx.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),nx.isString(n)&&s.push(`path=${n}`),nx.isString(a)&&s.push(`domain=${a}`),!0===o&&s.push("secure"),nx.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("u"<typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function ar(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||!1==r)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let an=e=>e instanceof n0?{...e}:e;function aa(e,t){t=t||{};let r={};function n(e,t,r,n){return nx.isPlainObject(e)&&nx.isPlainObject(t)?nx.merge.call({caseless:n},e,t):nx.isPlainObject(t)?nx.merge({},t):nx.isArray(t)?t.slice():t}function a(e,t,r,a){return nx.isUndefined(t)?nx.isUndefined(e)?void 0:n(void 0,e,r,a):n(e,t,r,a)}function o(e,t){if(!nx.isUndefined(t))return n(void 0,t)}function i(e,t){return nx.isUndefined(t)?nx.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,a,o){return o in t?n(r,a):o in e?n(void 0,r):void 0}let l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t,r)=>a(an(e),an(t),r,!0)};return nx.forEach(Object.keys({...e,...t}),function(n){let o=l[n]||a,i=o(e[n],t[n],n);nx.isUndefined(i)&&o!==s||(r[n]=i)}),r}let ao=e=>{let t=aa({},e),{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:o,headers:i,auth:s}=t;if(t.headers=i=n0.from(i),t.url=nL(ar(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),nx.isFormData(r)){if(nq.hasStandardBrowserEnv||nq.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(nx.isFunction(r.getHeaders)){let e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&i.set(e,r)})}}if(nq.hasStandardBrowserEnv&&(n&&nx.isFunction(n)&&(n=n(t)),n||!1!==n&&ae(t.url))){let e=a&&o&&at.read(o);e&&i.set(a,e)}return t},ai="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){var n;let a,o,i,s,l,u,c=ao(e),d=c.data,p=n0.from(c.headers).normalize(),{responseType:h,onUploadProgress:f,onDownloadProgress:g}=c;function m(){s&&s(),l&&l(),c.cancelToken&&c.cancelToken.unsubscribe(a),c.signal&&c.signal.removeEventListener("abort",a)}let v=new XMLHttpRequest;function y(){if(!v)return;let n=n0.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());n5(function(e){t(e),m()},function(e){r(e),m()},{data:h&&"text"!==h&&"json"!==h?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v}),v=null}v.open(c.method.toUpperCase(),c.url,!0),v.timeout=c.timeout,"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||4!==v.readyState||(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(y)},v.onabort=function(){v&&(r(new nS("Request aborted",nS.ECONNABORTED,e,v)),v=null)},v.onerror=function(t){let n=new nS(t&&t.message?t.message:"Network Error",nS.ERR_NETWORK,e,v);n.event=t||null,r(n),v=null},v.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||nM;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),r(new nS(t,n.clarifyTimeoutError?nS.ETIMEDOUT:nS.ECONNABORTED,e,v)),v=null},void 0===d&&p.setContentType(null),"setRequestHeader"in v&&nx.forEach(p.toJSON(),function(e,t){v.setRequestHeader(t,e)}),nx.isUndefined(c.withCredentials)||(v.withCredentials=!!c.withCredentials),h&&"json"!==h&&(v.responseType=c.responseType),g&&([i,l]=n6(g,!0),v.addEventListener("progress",i)),f&&v.upload&&([o,s]=n6(f),v.upload.addEventListener("progress",o),v.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(a=t=>{v&&(r(!t||t.type?new n3(null,e,v):t),v.abort(),v=null)},c.cancelToken&&c.cancelToken.subscribe(a),c.signal&&(c.signal.aborted?a():c.signal.addEventListener("abort",a)));let b=(n=c.url,(u=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n))&&u[1]||"");b&&-1===nq.protocols.indexOf(b)?r(new nS("Unsupported protocol "+b+":",nS.ERR_BAD_REQUEST,e)):v.send(d||null)})},as=function*(e,t){let r,n=e.byteLength;if(!t||n<t)return void(yield e);let a=0;for(;a<n;)r=a+t,yield e.slice(a,r),a=r},al=async function*(e,t){for await(let r of au(e))yield*as(r,t)},au=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},ac=(e,t,r,n)=>{let a,o=al(e,t),i=0,s=e=>{!a&&(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){s(),e.close();return}let a=n.byteLength;if(r){let e=i+=a;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:ad}=nx,ap=(({Request:e,Response:t})=>({Request:e,Response:t}))(nx.global),{ReadableStream:ah,TextEncoder:af}=nx.global,ag=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},am=e=>{let t,{fetch:r,Request:n,Response:a}=e=nx.merge.call({skipUndefined:!0},ap,e),o=r?ad(r):"function"==typeof fetch,i=ad(n),s=ad(a);if(!o)return!1;let l=o&&ad(ah),u=o&&("function"==typeof af?(t=new af,e=>t.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer())),c=i&&l&&ag(()=>{let e=!1,t=new n(nq.origin,{body:new ah,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=s&&l&&ag(()=>nx.isReadableStream(new a("").body)),p={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{p[e]||(p[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new nS(`Response type '${e}' is not supported`,nS.ERR_NOT_SUPPORT,r)})});let h=async e=>{if(null==e)return 0;if(nx.isBlob(e))return e.size;if(nx.isSpecCompliantForm(e)){let t=new n(nq.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return nx.isArrayBufferView(e)||nx.isArrayBuffer(e)?e.byteLength:(nx.isURLSearchParams(e)&&(e+=""),nx.isString(e))?(await u(e)).byteLength:void 0},f=async(e,t)=>{let r=nx.toFiniteNumber(e.getContentLength());return null==r?h(t):r};return async e=>{let t,{url:o,method:s,data:l,signal:u,cancelToken:h,timeout:g,onDownloadProgress:m,onUploadProgress:v,responseType:y,headers:b,withCredentials:w="same-origin",fetchOptions:k}=ao(e),x=r||fetch;y=y?(y+"").toLowerCase():"text";let S=((e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,a=function(e){if(!r){r=!0,i();let t=e instanceof Error?e:this.reason;n.abort(t instanceof nS?t:new n3(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,a(new nS(`timeout ${t} of ms exceeded`,nS.ETIMEDOUT))},t),i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)}),e=null)};e.forEach(e=>e.addEventListener("abort",a));let{signal:s}=n;return s.unsubscribe=()=>nx.asap(i),s}})([u,h&&h.toAbortSignal()],g),C=null,P=S&&S.unsubscribe&&(()=>{S.unsubscribe()});try{if(v&&c&&"get"!==s&&"head"!==s&&0!==(t=await f(b,l))){let e,r=new n(o,{method:"POST",body:l,duplex:"half"});if(nx.isFormData(l)&&(e=r.headers.get("content-type"))&&b.setContentType(e),r.body){let[e,n]=n8(t,n6(n7(v)));l=ac(r.body,65536,e,n)}}nx.isString(w)||(w=w?"include":"omit");let r=i&&"credentials"in n.prototype,u={...k,signal:S,method:s.toUpperCase(),headers:b.normalize().toJSON(),body:l,duplex:"half",credentials:r?w:void 0};C=i&&new n(o,u);let h=await (i?x(C,k):x(o,u)),g=d&&("stream"===y||"response"===y);if(d&&(m||g&&P)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=h[t]});let t=nx.toFiniteNumber(h.headers.get("content-length")),[r,n]=m&&n8(t,n6(n7(m),!0))||[];h=new a(ac(h.body,65536,r,()=>{n&&n(),P&&P()}),e)}y=y||"text";let E=await p[nx.findKey(p,y)||"text"](h,e);return!g&&P&&P(),await new Promise((t,r)=>{n5(t,r,{data:E,headers:n0.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:C})})}catch(t){if(P&&P(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new nS("Network Error",nS.ERR_NETWORK,e,C),{cause:t.cause||t});throw nS.from(t,t&&t.code,e,C)}}},av=new Map,ay=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:a}=t,o=[n,a,r],i=o.length,s,l,u=av;for(;i--;)s=o[i],void 0===(l=u.get(s))&&u.set(s,l=i?new Map:am(t)),u=l;return l};ay();let ab={http:null,xhr:ai,fetch:{get:ay}};nx.forEach(ab,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let aw=e=>`- ${e}`,ak=e=>nx.isFunction(e)||null===e||!1===e,ax=function(e,t){let r,n,{length:a}=e=nx.isArray(e)?e:[e],o={};for(let i=0;i<a;i++){let a;if(n=r=e[i],!ak(r)&&void 0===(n=ab[(a=String(r)).toLowerCase()]))throw new nS(`Unknown adapter '${a}'`);if(n&&(nx.isFunction(n)||(n=n.get(t))))break;o[a||"#"+i]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new nS("There is no suitable adapter to dispatch the request "+(a?e.length>1?"since :\n"+e.map(aw).join("\n"):" "+aw(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function aS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new n3(null,e)}function aC(e){return aS(e),e.headers=n0.from(e.headers),e.data=n1.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ax(e.adapter||nG.adapter,e)(e).then(function(t){return aS(e),t.data=n1.call(e,e.transformResponse,t),t.headers=n0.from(t.headers),t},function(t){return!n2(t)&&(aS(e),t&&t.response&&(t.response.data=n1.call(e,e.transformResponse,t.response),t.response.headers=n0.from(t.response.headers))),Promise.reject(t)})}let aP={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{aP[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let aE={};aP.transitional=function(e,t,r){function n(e,t){return"[Axios v1.13.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,a,o)=>{if(!1===e)throw new nS(n(a," has been removed"+(t?" in "+t:"")),nS.ERR_DEPRECATED);return t&&!aE[a]&&(aE[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,o)}},aP.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};let aT=function(e,t,r){if("object"!=typeof e)throw new nS("options must be an object",nS.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),a=n.length;for(;a-- >0;){let o=n[a],i=t[o];if(i){let t=e[o],r=void 0===t||i(t,o,e);if(!0!==r)throw new nS("option "+o+" must be "+r,nS.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new nS("Unknown option "+o,nS.ERR_BAD_OPTION)}};class aR{constructor(e){this.defaults=e||{},this.interceptors={request:new nI,response:new nI}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:a,paramsSerializer:o,headers:i}=t=aa(this.defaults,t);void 0!==a&&aT(a,{silentJSONParsing:aP.transitional(aP.boolean),forcedJSONParsing:aP.transitional(aP.boolean),clarifyTimeoutError:aP.transitional(aP.boolean)},!1),null!=o&&(nx.isFunction(o)?t.paramsSerializer={serialize:o}:aT(o,{encode:aP.function,serialize:aP.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),aT(t,{baseUrl:aP.spelling("baseURL"),withXsrfToken:aP.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=i&&nx.merge(i.common,i[t.method]);i&&nx.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=n0.concat(s,i);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[aC.bind(this),void 0];for(e.unshift(...l),e.push(...c),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=l.length;let p=t;for(;d<n;){let e=l[d++],t=l[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{r=aC.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,n=c.length;d<n;)r=r.then(c[d++],c[d++]);return r}getUri(e){return nL(ar((e=aa(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}nx.forEach(["delete","get","head","options"],function(e){aR.prototype[e]=function(t,r){return this.request(aa(r||{},{method:e,url:t,data:(r||{}).data}))}}),nx.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,a){return this.request(aa(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}aR.prototype[e]=t(),aR.prototype[e+"Form"]=t(!0)});class aO{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,a){r.reason||(r.reason=new n3(e,n,a),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new aO(function(t){e=t}),cancel:e}}}let aj={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(aj).forEach(([e,t])=>{aj[t]=e});let az=function e(t){let r=new aR(t),n=rG(aR.prototype.request,r);return nx.extend(n,aR.prototype,r,{allOwnKeys:!0}),nx.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(aa(t,r))},n}(nG);az.Axios=aR,az.CanceledError=n3,az.CancelToken=aO,az.isCancel=n2,az.VERSION="1.13.2",az.toFormData=nj,az.AxiosError=nS,az.Cancel=az.CanceledError,az.all=function(e){return Promise.all(e)},az.spread=function(e){return function(t){return e.apply(null,t)}},az.isAxiosError=function(e){return nx.isObject(e)&&!0===e.isAxiosError},az.mergeConfig=aa,az.AxiosHeaders=n0,az.formToJSON=e=>nK(nx.isHTMLForm(e)?new FormData(e):e),az.getAdapter=ax,az.HttpStatusCode=aj,az.default=az;let{Axios:a_,AxiosError:aN,CanceledError:aA,isCancel:aL,CancelToken:aI,VERSION:aM,all:aF,Cancel:aD,isAxiosError:aB,spread:a$,toFormData:aV,AxiosHeaders:aU,HttpStatusCode:aH,formToJSON:aW,getAdapter:aq,mergeConfig:aK}=az,{slice:aG,forEach:aX}=[],aY=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,aQ=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"},n=encodeURIComponent(t),a=`${e}=${n}`;if(r.maxAge>0){let e=r.maxAge-0;if(Number.isNaN(e))throw Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(e)}`}if(r.domain){if(!aY.test(r.domain))throw TypeError("option domain is invalid");a+=`; Domain=${r.domain}`}if(r.path){if(!aY.test(r.path))throw TypeError("option path is invalid");a+=`; Path=${r.path}`}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invalid");a+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(a+="; HttpOnly"),r.secure&&(a+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"none":a+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return r.partitioned&&(a+="; Partitioned"),a},aZ={create(e,t,r,n){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*r*1e3)),n&&(a.domain=n),document.cookie=aQ(e,t,a)},read(e){let t=`${e}=`,r=document.cookie.split(";");for(let e=0;e<r.length;e++){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var aJ={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"u">typeof document)return aZ.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:r,cookieMinutes:n,cookieDomain:a,cookieOptions:o}=t;r&&"u">typeof document&&aZ.create(r,e,n,a,o)}},a0={name:"querystring",lookup(e){let t,{lookupQuerystring:r}=e;if("u">typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));let n=e.substring(1).split("&");for(let e=0;e<n.length;e++){let a=n[e].indexOf("=");a>0&&n[e].substring(0,a)===r&&(t=n[e].substring(a+1))}}return t}},a1={name:"hash",lookup(e){let t,{lookupHash:r,lookupFromHashIndex:n}=e;if("u">typeof window){let{hash:e}=window.location;if(e&&e.length>2){let a=e.substring(1);if(r){let e=a.split("&");for(let n=0;n<e.length;n++){let a=e[n].indexOf("=");a>0&&e[n].substring(0,a)===r&&(t=e[n].substring(a+1))}}if(t)return t;if(!t&&n>-1){let t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;return t["number"==typeof n?n:0]?.replace("/","")}}}return t}};let a2=null,a3=()=>{if(null!==a2)return a2;try{if(!(a2="u">typeof window&&null!==window.localStorage))return!1;let e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){a2=!1}return a2};var a5={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&a3())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:r}=t;r&&a3()&&window.localStorage.setItem(r,e)}};let a9=null,a4=()=>{if(null!==a9)return a9;try{if(!(a9="u">typeof window&&null!==window.sessionStorage))return!1;let e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){a9=!1}return a9};var a6={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&a4())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:r}=t;r&&a4()&&window.sessionStorage.setItem(r,e)}},a8={name:"navigator",lookup(e){let t=[];if("u">typeof navigator){let{languages:e,userLanguage:r,language:n}=navigator;if(e)for(let r=0;r<e.length;r++)t.push(e[r]);r&&t.push(r),n&&t.push(n)}return t.length>0?t:void 0}},a7={name:"htmlTag",lookup(e){let t,{htmlTag:r}=e,n=r||("u">typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},oe={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("u"<typeof window)return;let r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(Array.isArray(r))return r["number"==typeof t?t:0]?.replace("/","")}},ot={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e,r="u">typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r["number"==typeof t?t+1:1]}};let or=!1;try{document.cookie,or=!0}catch(e){}let on=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];or||on.splice(1,1);class oa{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return aX.call(aG.call(arguments,1),t=>{if(t)for(let r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:on,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(aJ),this.addDetector(a0),this.addDetector(a5),this.addDetector(a6),this.addDetector(a8),this.addDetector(a7),this.addDetector(oe),this.addDetector(ot),this.addDetector(a1)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return(e.forEach(e=>{if(this.detectors[e]){let r=this.detectors[e].lookup(this.options);r&&"string"==typeof r&&(r=[r]),r&&(t=t.concat(r))}}),t=t.filter(e=>null!=e&&!("string"==typeof e&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e)))).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes)?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;!t||this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)})}}oa.type="languageDetector";let oo=r.p+"static/image/bag-bad-cropped.webp",oi=r.p+"static/image/bag-bad-hands-full.webp",os=r.p+"static/image/bag-good-angle.webp",ol=r.p+"static/image/bag-good-full-body.webp",ou=r.p+"static/image/eyewear-bad-face-turned.webp",oc=r.p+"static/image/eyewear-bad-wearing-glasses.webp",od=r.p+"static/image/eyewear-good-facing-camera.webp",op=r.p+"static/image/eyewear-good-hair-back.webp",oh=r.p+"static/image/footwear-bad-feet-hidden.webp",of=r.p+"static/image/footwear-bad-one-foot-cropped.webp",og=r.p+"static/image/footwear-good-knees-down.webp",om=r.p+"static/image/footwear-good-standing.webp",ov=r.p+"static/image/full-body-bad-cropped.webp",oy=r.p+"static/image/full-body-bad-sitting.webp",ob=r.p+"static/image/full-body-good-angle.webp",ow=r.p+"static/image/full-body-good-head-to-toe.webp",ok=r.p+"static/image/headwear-bad-cropped-head.webp",ox=r.p+"static/image/headwear-bad-wearing-hat.webp",oS=r.p+"static/image/headwear-good-angle.webp",oC=r.p+"static/image/headwear-good-front.webp",oP=r.p+"static/image/lower-body-bad-covered-waist.webp",oE=r.p+"static/image/lower-body-bad-sitting.webp",oT=r.p+"static/image/lower-body-good-full-body.webp",oR=r.p+"static/image/lower-body-good-waist-to-feet.webp",oO=r.p+"static/image/neck-bad-hair-covering.webp",oj=r.p+"static/image/neck-bad-high-collar.webp",oz=r.p+"static/image/neck-good-hair-up.webp",o_=r.p+"static/image/neck-good-open-neckline.webp",oN=r.p+"static/image/upper-body-bad-arms-crossed.webp",oA=r.p+"static/image/upper-body-bad-object-blocking-torso.webp",oL=r.p+"static/image/upper-body-good-angle.webp",oI=r.p+"static/image/upper-body-good-facing-camera.webp",oM=r.p+"static/image/waist-bad-oversized-top.webp",oF=r.p+"static/image/waist-bad-sitting.webp",oD=r.p+"static/image/waist-good-full-body.webp",oB=r.p+"static/image/waist-good-top-tucked.webp",o$=r.p+"static/image/wrist-bad-clenched-fist.webp",oV=r.p+"static/image/wrist-bad-covered.webp",oU=r.p+"static/image/wrist-good-close-up.webp",oH=r.p+"static/image/wrist-good-sleeve-back.webp";var oW={"./src/style.css?inline"(e,t,r){r.d(t,{A:()=>s});var n=r("../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),a=r.n(n),o=r("../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=r.n(o)()(a());i.push([e.id,`@layer properties {
|
|
6
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return A.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},tO=({contentRef:e,descriptionId:t})=>{let r=tT("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return A.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};let tj=e=>"string"==typeof e,tz=()=>{let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},tN=e=>null==e?"":""+e,t_=/###/g,tA=e=>e&&e.indexOf("###")>-1?e.replace(t_,"."):e,tL=e=>!e||tj(e),tI=(e,t,r)=>{let n=tj(t)?t.split("."):t,a=0;for(;a<n.length-1;){if(tL(e))return{};let t=tA(n[a]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return tL(e)?{}:{obj:e,k:tA(n[a])}},tM=(e,t,r)=>{let{obj:n,k:a}=tI(e,t,Object);if(void 0!==n||1===t.length){n[a]=r;return}let o=t[t.length-1],i=t.slice(0,t.length-1),s=tI(e,i,Object);for(;void 0===s.obj&&i.length;)o=`${i[i.length-1]}.${o}`,s=tI(e,i=i.slice(0,i.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=r},tF=(e,t)=>{let{obj:r,k:n}=tI(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},tD=(e,t,r)=>{for(let n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?tj(e[n])||e[n]instanceof String||tj(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):tD(e[n],t[n],r):e[n]=t[n]);return e};var tB={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let t$=e=>tj(e)?e.replace(/[&<>"'\/]/g,e=>tB[e]):e,tV=[" ",",","?","!",";"],tU=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),tH=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let n=t.split(r),a=e;for(let e=0;e<n.length;){let t;if(!a||"object"!=typeof a)return;let o="";for(let i=e;i<n.length;++i)if(i!==e&&(o+=r),o+=n[i],void 0!==(t=a[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&i<n.length-1)continue;e+=i-e+1;break}a=t}return a},tW=e=>e?.replace("_","-"),tq={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class tK{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||tq,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(tj(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new tK(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new tK(this.logger,e)}}var tG=new tK;class tX{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let n=0;n<r;n++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,n])=>{for(let a=0;a<n;a++)r.apply(r,[e,...t])})}}class tY extends tX{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,n={}){let a,o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],r&&(Array.isArray(r)?a.push(...r):tj(r)&&o?a.push(...r.split(o)):a.push(r)));let s=tF(this.data,a);return(!s&&!t&&!r&&e.indexOf(".")>-1&&(e=a[0],t=a[1],r=a.slice(2).join(".")),!s&&i&&tj(r))?tH(this.data?.[e]?.[t],r,o):s}addResource(e,t,r,n,a={silent:!1}){let o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,i=[e,t];r&&(i=i.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(i=e.split("."),n=t,t=i[1]),this.addNamespaces(t),tM(this.data,i,n),a.silent||this.emit("added",e,t,r,n)}addResources(e,t,r,n={silent:!1}){for(let n in r)(tj(r[n])||Array.isArray(r[n]))&&this.addResource(e,t,n,r[n],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,a,o={silent:!1,skipCopy:!1}){let i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),n=r,r=t,t=i[1]),this.addNamespaces(t);let s=tF(this.data,i)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?tD(s,r,a):s={...s,...r},tM(this.data,i,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var tQ={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,a)??t}),t}};let tZ=Symbol("i18next/PATH_KEY");function tJ(e,t){let r,n,a,{[tZ]:o}=e((n=[],(a=Object.create(null)).get=(e,t)=>(r?.revoke?.(),t===tZ)?n:(n.push(t),(r=Proxy.revocable(e,a)).proxy),Proxy.revocable(Object.create(null),a).proxy));return o.join(t?.keySeparator??".")}let t0={},t1=e=>!tj(e)&&"boolean"!=typeof e&&"number"!=typeof e;class t2 extends tX{constructor(e,t={}){super(),((e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=tG.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(null==e)return!1;let n=this.resolve(e,r);if(n?.res===void 0)return!1;let a=t1(n.res);return!1!==r.returnObjects||!a}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,i=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";let n=tV.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let a=tU.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),o=!a.test(e);if(!o){let t=e.indexOf(r);t>0&&!a.test(e.substring(0,t))&&(o=!0)}return o})(e,r,n);if(o&&!i){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:tj(a)?[a]:a};let o=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(o[0])>-1)&&(a=o.shift()),e=o.join(n)}return{key:e,namespaces:tj(a)?[a]:a}}translate(e,t,r){let n="object"==typeof t?{...t}:t;if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==e)return"";"function"==typeof e&&(e=tJ(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);let a=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(e[e.length-1],n),l=s[s.length-1],u=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");let c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return d?a?{res:`${l}${u}${i}`,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${u}${i}`:a?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:i;let p=this.resolve(e,n),h=p?.res,f=p?.usedKey||i,g=p?.exactUsedKey||i,m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y=void 0!==n.count&&!tj(n.count),b=t2.hasDefaultValue(n),w=y?this.pluralResolver.getSuffix(c,n.count,n):"",k=n.ordinal&&y?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",x=y&&!n.ordinal&&0===n.count,S=x&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${w}`]||n[`defaultValue${k}`]||n.defaultValue,C=h;v&&!h&&b&&(C=S);let P=t1(C),E=Object.prototype.toString.apply(C);if(v&&C&&P&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(E)&&!(tj(m)&&Array.isArray(C))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,C,{...n,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(n),p):e}if(o){let e=Array.isArray(C),t=e?[]:{},r=e?g:f;for(let e in C)if(Object.prototype.hasOwnProperty.call(C,e)){let a=`${r}${o}${e}`;b&&!h?t[e]=this.translate(a,{...n,defaultValue:t1(S)?S[e]:void 0,...{joinArrays:!1,ns:s}}):t[e]=this.translate(a,{...n,joinArrays:!1,ns:s}),t[e]===a&&(t[e]=C[e])}h=t}}else if(v&&tj(m)&&Array.isArray(h))(h=h.join(m))&&(h=this.extendTranslation(h,e,n,r));else{let t=!1,a=!1;!this.isValidLookup(h)&&b&&(t=!0,h=S),this.isValidLookup(h)||(a=!0,h=i);let s=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:h,d=b&&S!==h&&this.options.updateMissing;if(a||t||d){if(this.logger.log(d?"updateKey":"missingKey",c,l,i,d?S:h),o){let e=this.resolve(i,{...n,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(n.lng||this.language):e.push(n.lng||this.language);let r=(e,t,r)=>{let a=b&&r!==h?r:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,a,d,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,a,d,n),this.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,n);x&&n[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],i+t,n[`defaultValue${t}`]||S)})}):r(e,i,S))}h=this.extendTranslation(h,e,n,p,r),a&&h===i&&this.options.appendNamespaceToMissingKey&&(h=`${l}${u}${i}`),(a||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${i}`:i,t?h:void 0,n))}return a?(p.res=h,p.usedParams=this.getUsedParamsDetails(n),p):h}extendTranslation(e,t,r,n,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){let o;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let i=tj(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(i){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=r.replace&&!tj(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,r.lng||this.language||n.usedLng,r),i){let t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(r.nest=!1)}!r.lng&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>a?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}let o=r.postProcess||this.options.postProcess,i=tj(o)?[o]:o;return null!=e&&i?.length&&!1!==r.applyPostProcessor&&(e=tQ.handle(i,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,n,a,o,i;return tj(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(r))return;let s=this.extractFromKey(e,t),l=s.key;n=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==t.count&&!tj(t.count),d=c&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(tj(t.context)||"number"==typeof t.context)&&""!==t.context,h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(r)||(i=e,!t0[`${h[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(i)&&(t0[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(n=>{let i;if(this.isValidLookup(r))return;o=n;let s=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,t);else{let e;c&&(e=this.pluralResolver.getSuffix(n,t.count,t));let r=`${this.options.pluralSeparator}zero`,a=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(t.ordinal&&0===e.indexOf(a)&&s.push(l+e.replace(a,this.options.pluralSeparator)),s.push(l+e),d&&s.push(l+r)),p){let n=`${l}${this.options.contextSeparator||"_"}${t.context}`;s.push(n),c&&(t.ordinal&&0===e.indexOf(a)&&s.push(n+e.replace(a,this.options.pluralSeparator)),s.push(n+e),d&&s.push(n+r))}}for(;i=s.pop();)this.isValidLookup(r)||(a=i,r=this.getResource(n,e,i,t))}))})}),{res:r,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(e={}){let t=e.replace&&!tj(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}class t3{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=tG.create("languageUtils")}getScriptPartFromCode(e){if(!(e=tW(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=tW(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(tj(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),tj(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),n=[],a=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return tj(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):tj(e)&&a(this.formatLanguageCode(e)),r.forEach(e=>{0>n.indexOf(e)&&a(this.formatLanguageCode(e))}),n}}let t5={zero:0,one:1,two:2,few:3,many:4,other:5},t9={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class t4{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=tG.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r,n=tW("dev"===e?"en":e),a=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{r=new Intl.PluralRules(n,{type:a})}catch(a){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),t9;if(!e.match(/-|_/))return t9;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[o]=r,r}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>t5[e]-t5[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){let n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let t6=(e,t,r,n=".",a=!0)=>{let o,i=void 0!==(o=tF(e,r))?o:tF(t,r);return!i&&a&&tj(r)&&void 0===(i=tH(e,r,n))&&(i=tH(t,r,n)),i};class t8{constructor(e={}){this.logger=tG.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:a,prefixEscaped:o,suffix:i,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:f,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:t$,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=a?a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):o||"{{",this.suffix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):p||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let a,o,i,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(0>e.indexOf(this.formatSeparator)){let a=t6(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,r,{...n,...t,interpolationkey:e}):a}let a=e.split(this.formatSeparator),o=a.shift().trim(),i=a.join(this.formatSeparator).trim();return this.format(t6(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),i,r,{...n,...t,interpolationkey:o})};this.resetRegExp();let u=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(i=0;a=t.regex.exec(e);){let r=a[1].trim();if(void 0===(o=l(r)))if("function"==typeof u){let t=u(e,a,n);o=tj(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))o="";else if(c){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o="";else tj(o)||this.useRawValueToEscape||(o=tN(o));let s=t.safeValue(o);if(e=e.replace(a[0],s),c?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=this.maxReplaces)break}}),e}nest(e,t,r={}){let n,a,o,i=(e,t)=>{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),a=`{${n[1]}`;e=n[0];let i=(a=this.interpolate(a,o)).match(/'/g),s=a.match(/"/g);((i?.length??0)%2!=0||s)&&s.length%2==0||(a=a.replace(/'/g,'"'));try{o=JSON.parse(a),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${a}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];(o=(o={...r}).replace&&!tj(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let l=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(-1!==l&&(s=n[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),n[1]=n[1].slice(0,l)),(a=t(i.call(this,n[1].trim(),o),o))&&n[0]===e&&!tj(a))return a;tj(a)||(a=tN(a)),a||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),a=""),s.length&&(a=s.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:n[1].trim()}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}let t7=e=>{let t={};return(r,n,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});let i=n+JSON.stringify(o),s=t[i];return s||(s=e(tW(n),a),t[i]=s),s(r)}},re=e=>(t,r,n)=>e(tW(r),n)(t);class rt{constructor(e={}){this.logger=tG.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?t7:re;this.formats={number:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=t7(t)}format(e,t,r,n={}){let a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&0>a[0].indexOf(")")&&a.find(e=>e.indexOf(")")>-1)){let e=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce((e,t)=>{let{formatName:a,formatOptions:o}=(e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let a=n[1].substring(0,n[1].length-1);"currency"===t&&0>a.indexOf(":")?r.currency||(r.currency=a.trim()):"relativetime"===t&&0>a.indexOf(":")?r.range||(r.range=a.trim()):a.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),a=n.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=a),"false"===a&&(r[o]=!1),"true"===a&&(r[o]=!0),isNaN(a)||(r[o]=parseInt(a,10))}})}return{formatName:t,formatOptions:r}})(t);if(this.formats[a]){let t=e;try{let i=n?.formatParams?.[n.interpolationkey]||{},s=i.locale||i.lng||n.locale||n.lng||r;t=this.formats[a](e,s,{...o,...n,...i})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class rr extends tX{constructor(e,t,r,n={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=tG.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){let a={},o={},i={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let i=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[i]=2:this.state[i]<0||(1===this.state[i]?void 0===o[i]&&(o[i]=!0):(this.state[i]=1,n=!1,void 0===o[i]&&(o[i]=!0),void 0===a[i]&&(a[i]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(i[e]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),a=n[0],o=n[1];t&&this.emit("failedLoading",a,o,t),!t&&r&&this.store.addResourceBundle(a,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let i={};this.queue.forEach(r=>{((e,t,r,n)=>{let{obj:a,k:o}=tI(e,t,Object);a[o]=a[o]||[],a[o].push(r)})(r.loaded,[a],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{i[e]||(i[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===i[e][t]&&(i[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,n=0,a=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:a,callback:o});this.readingCalls++;let i=(i,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}i&&s&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*a,o)},a):o(i,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>i(null,e)).catch(i):i(null,r)}catch(e){i(e)}return}return s(e,t,i)}prepareLoading(e,t,r={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();tj(e)&&(e=this.languageUtils.toResolveHierarchy(e)),tj(t)&&(t=[t]);let a=this.queueLoad(e,t,r,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),n=r[0],a=r[1];this.read(n,a,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,n,a,o={},i=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=r&&""!==r){if(this.backend?.create){let s={...o,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;(a=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof a.then?a.then(e=>i(null,e)).catch(i):i(null,a)}catch(e){i(e)}else l(e,t,r,n,i,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let rn=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),tj(e[1])&&(t.defaultValue=e[1]),tj(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),ra=e=>(tj(e.ns)&&(e.ns=[e.ns]),tj(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),tj(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),ro=()=>{};class ri extends tX{constructor(e={},t){if(super(),this.options=ra(e),this.services={},this.logger=tG,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(tj(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let r=rn();this.options={...r,...this.options,...ra(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);let n=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?tG.init(n(this.modules.logger),this.options):tG.init(null,this.options),e=this.modules.formatter?this.modules.formatter:rt;let t=new t3(this.options);this.store=new tY(this.options.resources,this.options);let a=this.services;a.logger=tG,a.resourceStore=this.store,a.languageUtils=t,a.pluralResolver=new t4(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(a.formatter=n(e),a.formatter.init&&a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new t8(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new rr(n(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(a.languageDetector=n(this.modules.languageDetector),a.languageDetector.init&&a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=n(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new t2(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=ro),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let a=tz(),o=()=>{let e=(e,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(r),t(e,r)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?o():setTimeout(o,0),a}loadResources(e,t=ro){let r=t,n=tj(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};n?t(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=tz();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=ro),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&tQ.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=tz();this.emit("languageChanging",e);let n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(a,o)=>{o?this.isLanguageChangingTo===e&&(n(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(a,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);let r=tj(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(tj(t)?[t]:t);o&&(this.language||n(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{a(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}getFixedT(e,t,r){let n=(e,t,...a)=>{let o,i;(o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(a)):{...t}).lng=o.lng||n.lng,o.lngs=o.lngs||n.lngs,o.ns=o.ns||n.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||r||n.keyPrefix);let s=this.options.keySeparator||".";return o.keyPrefix&&Array.isArray(e)?i=e.map(e=>("function"==typeof e&&(e=tJ(e,{...this.options,...t})),`${o.keyPrefix}${s}${e}`)):("function"==typeof e&&(e=tJ(e,{...this.options,...t})),i=o.keyPrefix?`${o.keyPrefix}${s}${e}`:e),this.t(i,o)};return tj(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=r,n}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!n||o(a,e)))}loadNamespaces(e,t){let r=tz();return this.options.ns?(tj(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=tz();tj(e)&&(e=[e]);let n=this.options.preload||[],a=e.filter(e=>0>n.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=n.concat(a),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new t3(rn());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let r=new ri(e,t);return r.createInstance=ri.createInstance,r}cloneInstance(e={},t=ro){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},a=new ri(n);return(void 0!==e.debug||void 0!==e.prefix)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new tY(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),e[t]),e),{}),n),a.services.resourceStore=a.store),e.interpolation&&(a.services.interpolator=new t8(n)),a.translator=new t2(a.services,n),a.translator.on("*",(e,...t)=>{a.emit(e,...t)}),a.init(n,t),a.translator.options=n,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let rs=ri.createInstance();rs.createInstance,rs.dir,rs.init,rs.loadResources,rs.reloadResources,rs.use,rs.changeLanguage,rs.getFixedT,rs.t,rs.exists,rs.setDefaultNamespace,rs.hasLoadedNamespace,rs.loadNamespaces,rs.loadLanguages,r("../../node_modules/.pnpm/void-elements@3.1.0/node_modules/void-elements/index.js"),Object.create(null);let rl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,ru={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},rc=e=>ru[e],rd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(rl,rc)},rp=(0,A.createContext)();class rh{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let rf=(e,t,r,n)=>{let a=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);rw(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},rg={},rm=(e,t,r,n)=>{rw(r)&&rg[r]||(rw(r)&&(rg[r]=new Date),rf(e,t,r,n))},rv=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},ry=(e,t,r)=>{e.loadNamespaces(t,rv(e,r))},rb=(e,t,r,n)=>{if(rw(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ry(e,r,n);r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,rv(e,n))},rw=e=>"string"==typeof e,rk={" ":"\xa0","&":"&","<":"<",">":">",""":'"',"'":"'","©":"\xa9","®":"\xae","™":"™","…":"…","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","•":"•","′":"′","″":"″","‹":"‹","›":"›","§":"\xa7","¶":"\xb6","·":"\xb7"," ":" "," ":" "," ":" ","€":"€","£":"\xa3","¥":"\xa5","¢":"\xa2","¤":"\xa4","×":"\xd7","÷":"\xf7","−":"−","±":"\xb1","≠":"≠","≤":"≤","≥":"≥","≈":"≈","≡":"≡","∞":"∞","∫":"∫","∑":"∑","∏":"∏","√":"√","∂":"∂","‰":"‰","°":"\xb0","µ":"\xb5","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","À":"\xc0","Á":"\xc1","Â":"\xc2","Ã":"\xc3","Ä":"\xc4","Å":"\xc5","Æ":"\xc6","Ç":"\xc7","È":"\xc8","É":"\xc9","Ê":"\xca","Ë":"\xcb","Ì":"\xcc","Í":"\xcd","Î":"\xce","Ï":"\xcf","Ð":"\xd0","Ñ":"\xd1","Ò":"\xd2","Ó":"\xd3","Ô":"\xd4","Õ":"\xd5","Ö":"\xd6","Ø":"\xd8","Ù":"\xd9","Ú":"\xda","Û":"\xdb","Ü":"\xdc","Ý":"\xdd","Þ":"\xde","ß":"\xdf","à":"\xe0","á":"\xe1","â":"\xe2","ã":"\xe3","ä":"\xe4","å":"\xe5","æ":"\xe6","ç":"\xe7","è":"\xe8","é":"\xe9","ê":"\xea","ë":"\xeb","ì":"\xec","í":"\xed","î":"\xee","ï":"\xef","ð":"\xf0","ñ":"\xf1","ò":"\xf2","ó":"\xf3","ô":"\xf4","õ":"\xf5","ö":"\xf6","ø":"\xf8","ù":"\xf9","ú":"\xfa","û":"\xfb","ü":"\xfc","ý":"\xfd","þ":"\xfe","ÿ":"\xff","¡":"\xa1","¿":"\xbf","ƒ":"ƒ","ˆ":"ˆ","˜":"˜","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ª":"\xaa","º":"\xba","¯":"\xaf","´":"\xb4","¸":"\xb8","¹":"\xb9","²":"\xb2","³":"\xb3","¼":"\xbc","½":"\xbd","¾":"\xbe","♠":"♠","♣":"♣","♥":"♥","♦":"♦","◊":"◊","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","ℵ":"ℵ"},rx=RegExp(Object.keys(rk).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var rS=r("../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.3/node_modules/use-sync-external-store/shim/index.js");let rC={t:(e,t)=>rw(t)?t:"object"==typeof t&&null!==t&&rw(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},rP=()=>()=>{},rE=(t,r={})=>{let{i18n:n}=r,{i18n:a,defaultNS:o}=(0,A.useContext)(rp)||{},i=n||a||e;i&&!i.reportNamespaces&&(i.reportNamespaces=new rh),i||rm(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let s=(0,A.useMemo)(()=>({...rd,...i?.options?.react,...r}),[i,r]),{useSuspense:l,keyPrefix:u}=s,c=t||o||i?.options?.defaultNS,d=rw(c)?[c]:c||["translation"],p=(0,A.useMemo)(()=>d,d);i?.reportNamespaces?.addUsedNamespaces?.(p);let h=(0,A.useRef)(0),f=(0,A.useCallback)(e=>{if(!i)return rP;let{bindI18n:t,bindI18nStore:r}=s,n=()=>{h.current+=1,e()};return t&&i.on(t,n),r&&i.store.on(r,n),()=>{t&&t.split(" ").forEach(e=>i.off(e,n)),r&&r.split(" ").forEach(e=>i.store.off(e,n))}},[i,s]),g=(0,A.useRef)(),m=(0,A.useCallback)(()=>{if(!i)return rC;let e=!!(i.isInitialized||i.initializedStoreOnce)&&p.every(e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):(rm(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,i,s)),t=r.lng||i.language,n=h.current,a=g.current;if(a&&a.ready===e&&a.lng===t&&a.keyPrefix===u&&a.revision===n)return a;let o={t:i.getFixedT(t,"fallback"===s.nsMode?p:p[0],u),ready:e,lng:t,keyPrefix:u,revision:n};return g.current=o,o},[i,p,u,s,r.lng]),[v,y]=(0,A.useState)(0),{t:b,ready:w}=(0,rS.useSyncExternalStore)(f,m,m);(0,A.useEffect)(()=>{if(i&&!w&&!l){let e=()=>y(e=>e+1);r.lng?rb(i,r.lng,p,e):ry(i,p,e)}},[i,r.lng,p,w,l,v]);let k=i||{},x=(0,A.useRef)(null),S=(0,A.useRef)(),C=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let r=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(r,"__original"))try{Object.defineProperty(r,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(e){}return r},P=(0,A.useMemo)(()=>{let e=k?.language,t=k;k&&(x.current&&x.current.__original===k?S.current!==e?(x.current=t=C(k),S.current=e):t=x.current:(x.current=t=C(k),S.current=e));let r=[b,t,w];return r.t=b,r.i18n=t,r.ready=w,r},[b,k,w,k.resolvedLanguage,k.language,k.languages]);if(i&&l&&!w)throw new Promise(e=>{let t=()=>e();r.lng?rb(i,r.lng,p,t):ry(i,p,t)});return P};function rT({i18n:e,defaultNS:t,children:r}){let n=(0,A.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,A.createElement)(rp.Provider,{value:n},r)}let rR={type:"3rdParty",init(t){((e={})=>{rd={...rd,...e}})(t.options.react),e=t}};var rO=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/server.browser.js"),rj=r("../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"),rz=r.n(rj),rN="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==r.g?r.g:"u">typeof self?self:{};function r_(e,t){return e(t={exports:{}},t.exports),t.exports}var rA=r_(function(e){var t,r,n,a,o,i,s,l,u,c,d,p,h,f;t=function(e,r,n){if(!s(r)||u(r)||c(r)||d(r)||i(r))return r;var a,o=0,p=0;if(l(r))for(a=[],p=r.length;o<p;o++)a.push(t(e,r[o],n));else for(var h in a={},r)Object.prototype.hasOwnProperty.call(r,h)&&(a[e(h,n)]=t(e,r[h],n));return a},r=function(e){return p(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},n=function(e){var t=r(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){var r,n,a;return(n=(r=(r=t)||{}).separator||"_",a=r.split||/(?=[A-Z])/,e.split(a).join(n)).toLowerCase()},o=Object.prototype.toString,i=function(e){return"function"==typeof e},s=function(e){return e===Object(e)},l=function(e){return"[object Array]"==o.call(e)},u=function(e){return"[object Date]"==o.call(e)},c=function(e){return"[object RegExp]"==o.call(e)},d=function(e){return"[object Boolean]"==o.call(e)},p=function(e){return(e-=0)==e},h=function(e,t){var r=t&&"process"in t?t.process:t;return"function"!=typeof r?e:function(t,n){return r(t,e,n)}},f={camelize:r,decamelize:a,pascalize:n,depascalize:a,camelizeKeys:function(e,n){return t(h(r,n),e)},decamelizeKeys:function(e,r){return t(h(a,r),e,r)},pascalizeKeys:function(e,r){return t(h(n,r),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=f:rN.humps=f}).decamelize,rL=function(e){if(Array.isArray(e))return e},rI=function(e,t){if("u">typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}},rM=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n},rF=function(e,t){if(e){if("string"==typeof e)return rM(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rM(e,t):void 0}},rD=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},rB=r_(function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.apply(this,arguments)}e.exports=t}),r$=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a},rV=function(e,t){if(null==e)return{};var r,n,a=r$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a},rU=(0,A.createContext)(null);function rH(e){var t=e.children,r=void 0===t?"":t,n=rV(e,["children"]);return"string"!=typeof r&&(r=(0,rO.renderToString)(r)),A.createElement("template",rB({},n,{dangerouslySetInnerHTML:{__html:r}}))}function rW(e){var t=e.root,r=e.children;return(0,W.createPortal)(void 0===r?null:r,t)}rH.propTypes={children:rz().oneOfType([rz().string,rz().node])},rW.propTypes={root:rz().object.isRequired,children:rz().node};var rq=new Map,rK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"core",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e.children};return new Proxy(e,{get:function(e,n){var a,o,i=rA(n,{separator:"-"}),s="".concat(t,"-").concat(i);return rq.has(s)||rq.set(s,(a={tag:i,render:r},(o=(0,A.forwardRef)(function(e,t){var r,n,o=e.mode,i=void 0===o?"open":o,s=e.delegatesFocus,l=void 0!==s&&s,u=e.styleSheets,c=void 0===u?[]:u,d=e.ssr,p=void 0!==d&&d,h=e.children,f=rV(e,["mode","delegatesFocus","styleSheets","ssr","children"]),g=(n=(0,A.useRef)(t&&t.current),(0,A.useEffect)(function(){t&&(t.current=n.current)},[t]),n),m=rL(r=(0,A.useState)(null))||rI(r,2)||rF(r,2)||rD(),v=m[0],y=m[1],b="node_".concat(i).concat(l);return(0,A.useLayoutEffect)(function(){if(g.current)try{if("function"==typeof t&&t(g.current),p){var e=g.current.shadowRoot;return void y(e)}var r=g.current.attachShadow({mode:i,delegatesFocus:l});c.length>0&&(r.adoptedStyleSheets=c),y(r)}catch(e){!function(e){var t=e.error,r=e.styleSheets,n=e.root;if("NotSupportedError"===t.name)r.length>0&&(n.adoptedStyleSheets=r);else throw t}({error:e,styleSheets:c,root:v})}},[t,g,c]),A.createElement(A.Fragment,null,A.createElement(a.tag,rB({key:b,ref:g},f),(v||p)&&A.createElement(rU.Provider,{value:v},p?A.createElement(rH,{shadowroot:i,shadowrootmode:i},a.render({root:v,ssr:p,children:h})):A.createElement(rW,{root:v},a.render({root:v,ssr:p,children:h})))))})).propTypes={mode:rz().oneOf(["open","closed"]),delegatesFocus:rz().bool,styleSheets:rz().arrayOf(rz().instanceOf(globalThis.CSSStyleSheet)),ssr:rz().bool,children:rz().node},o)),rq.get(s)}})}();function rG(e,t){return function(){return e.apply(t,arguments)}}let{toString:rX}=Object.prototype,{getPrototypeOf:rY}=Object,{iterator:rQ,toStringTag:rZ}=Symbol,rJ=(o=Object.create(null),e=>{let t=rX.call(e);return o[t]||(o[t]=t.slice(8,-1).toLowerCase())}),r0=e=>(e=e.toLowerCase(),t=>rJ(t)===e),r1=e=>t=>typeof t===e,{isArray:r2}=Array,r3=r1("undefined");function r5(e){return null!==e&&!r3(e)&&null!==e.constructor&&!r3(e.constructor)&&r6(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let r9=r0("ArrayBuffer"),r4=r1("string"),r6=r1("function"),r8=r1("number"),r7=e=>null!==e&&"object"==typeof e,ne=e=>{if("object"!==rJ(e))return!1;let t=rY(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(rZ in e)&&!(rQ in e)},nt=r0("Date"),nr=r0("File"),nn=r0("Blob"),na=r0("FileList"),no=r0("URLSearchParams"),[ni,ns,nl,nu]=["ReadableStream","Request","Response","Headers"].map(r0);function nc(e,t,{allOwnKeys:r=!1}={}){let n,a;if(null!=e)if("object"!=typeof e&&(e=[e]),r2(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{let a;if(r5(e))return;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;for(n=0;n<i;n++)a=o[n],t.call(null,e[a],a,e)}}function nd(e,t){let r;if(r5(e))return null;t=t.toLowerCase();let n=Object.keys(e),a=n.length;for(;a-- >0;)if(t===(r=n[a]).toLowerCase())return r;return null}let np="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:global,nh=e=>!r3(e)&&e!==np,nf=(i="u">typeof Uint8Array&&rY(Uint8Array),e=>i&&e instanceof i),ng=r0("HTMLFormElement"),nm=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),nv=r0("RegExp"),ny=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};nc(r,(r,a)=>{let o;!1!==(o=t(r,a,e))&&(n[a]=o||r)}),Object.defineProperties(e,n)},nb=r0("AsyncFunction"),nw=(m="function"==typeof setImmediate,v=r6(np.postMessage),m?setImmediate:v?(y=`axios@${Math.random()}`,b=[],np.addEventListener("message",({source:e,data:t})=>{e===np&&t===y&&b.length&&b.shift()()},!1),e=>{b.push(e),np.postMessage(y,"*")}):e=>setTimeout(e)),nk="u">typeof queueMicrotask?queueMicrotask.bind(np):"u">typeof process&&process.nextTick||nw,nx={isArray:r2,isArrayBuffer:r9,isBuffer:r5,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||r6(e.append)&&("formdata"===(t=rJ(e))||"object"===t&&r6(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&r9(e.buffer)},isString:r4,isNumber:r8,isBoolean:e=>!0===e||!1===e,isObject:r7,isPlainObject:ne,isEmptyObject:e=>{if(!r7(e)||r5(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:ni,isRequest:ns,isResponse:nl,isHeaders:nu,isUndefined:r3,isDate:nt,isFile:nr,isBlob:nn,isRegExp:nv,isFunction:r6,isStream:e=>r7(e)&&r6(e.pipe),isURLSearchParams:no,isTypedArray:nf,isFileList:na,forEach:nc,merge:function e(){let{caseless:t,skipUndefined:r}=nh(this)&&this||{},n={},a=(a,o)=>{let i=t&&nd(n,o)||o;ne(n[i])&&ne(a)?n[i]=e(n[i],a):ne(a)?n[i]=e({},a):r2(a)?n[i]=a.slice():r&&r3(a)||(n[i]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&nc(arguments[e],a);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(nc(t,(t,n)=>{r&&r6(t)?e[n]=rG(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let a,o,i,s={};if(t=t||{},null==e)return t;do{for(o=(a=Object.getOwnPropertyNames(e)).length;o-- >0;)i=a[o],(!n||n(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=!1!==r&&rY(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:rJ,kindOfTest:r0,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(r2(e))return e;let t=e.length;if(!r8(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[rQ]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:ng,hasOwnProperty:nm,hasOwnProp:nm,reduceDescriptors:ny,freezeMethods:e=>{ny(e,(t,r)=>{if(r6(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(r6(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(r2(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:nd,global:np,isContextDefined:nh,isSpecCompliantForm:function(e){return!!(e&&r6(e.append)&&"FormData"===e[rZ]&&e[rQ])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(r7(e)){if(t.indexOf(e)>=0)return;if(r5(e))return e;if(!("toJSON"in e)){t[n]=e;let a=r2(e)?[]:{};return nc(e,(e,t)=>{let o=r(e,n+1);r3(o)||(a[t]=o)}),t[n]=void 0,a}}return e};return r(e,0)},isAsyncFn:nb,isThenable:e=>e&&(r7(e)||r6(e))&&r6(e.then)&&r6(e.catch),setImmediate:nw,asap:nk,isIterable:e=>null!=e&&r6(e[rQ])};function nS(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}nx.inherits(nS,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:nx.toJSONObject(this.config),code:this.code,status:this.status}}});let nC=nS.prototype,nP={};function nE(e){return nx.isPlainObject(e)||nx.isArray(e)}function nT(e){return nx.endsWith(e,"[]")?e.slice(0,-2):e}function nR(e,t,r){return e?e.concat(t).map(function(e,t){return e=nT(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{nP[e]={value:e}}),Object.defineProperties(nS,nP),Object.defineProperty(nC,"isAxiosError",{value:!0}),nS.from=(e,t,r,n,a,o)=>{let i=Object.create(nC);nx.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return nS.call(i,s,l,r,n,a),e&&null==i.cause&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",o&&Object.assign(i,o),i};let nO=nx.toFlatObject(nx,{},null,function(e){return/^is[A-Z]/.test(e)}),nj=function(e,t,r){if(!nx.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=nx.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!nx.isUndefined(t[e])})).metaTokens,a=r.visitor||u,o=r.dots,i=r.indexes,s=(r.Blob||"u">typeof Blob&&Blob)&&nx.isSpecCompliantForm(t);if(!nx.isFunction(a))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(nx.isDate(e))return e.toISOString();if(nx.isBoolean(e))return e.toString();if(!s&&nx.isBlob(e))throw new nS("Blob is not supported. Use a Buffer instead.");return nx.isArrayBuffer(e)||nx.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,r,a){let s=e;if(e&&!a&&"object"==typeof e)if(nx.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(nx.isArray(e)&&(u=e,nx.isArray(u)&&!u.some(nE))||(nx.isFileList(e)||nx.endsWith(r,"[]"))&&(s=nx.toArray(e)))return r=nT(r),s.forEach(function(e,n){nx.isUndefined(e)||null===e||t.append(!0===i?nR([r],n,o):null===i?r:r+"[]",l(e))}),!1}return!!nE(e)||(t.append(nR(a,r,o),l(e)),!1)}let c=[],d=Object.assign(nO,{defaultVisitor:u,convertValue:l,isVisitable:nE});if(!nx.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!nx.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),nx.forEach(r,function(r,o){!0===(!(nx.isUndefined(r)||null===r)&&a.call(t,r,nx.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])}),c.pop()}}(e),t};function nz(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function nN(e,t){this._pairs=[],e&&nj(e,this,t)}let n_=nN.prototype;function nA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function nL(e,t,r){let n;if(!t)return e;let a=r&&r.encode||nA;nx.isFunction(r)&&(r={serialize:r});let o=r&&r.serialize;if(n=o?o(t,r):nx.isURLSearchParams(t)?t.toString():new nN(t,r).toString(a)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}n_.append=function(e,t){this._pairs.push([e,t])},n_.toString=function(e){let t=e?function(t){return e.call(this,t,nz)}:nz;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};let nI=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){nx.forEach(this.handlers,function(t){null!==t&&e(t)})}},nM={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},nF="u">typeof URLSearchParams?URLSearchParams:nN,nD="u">typeof FormData?FormData:null,nB="u">typeof Blob?Blob:null,n$="u">typeof window&&"u">typeof document,nV="object"==typeof navigator&&navigator||void 0,nU=n$&&(!nV||0>["ReactNative","NativeScript","NS"].indexOf(nV.product)),nH="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,nW=n$&&window.location.href||"http://localhost",nq={...N,isBrowser:!0,classes:{URLSearchParams:nF,FormData:nD,Blob:nB},protocols:["http","https","file","blob","url","data"]},nK=function(e){if(nx.isFormData(e)&&nx.isFunction(e.entries)){let t={};return nx.forEachEntry(e,(e,r)=>{!function e(t,r,n,a){let o=t[a++];if("__proto__"===o)return!0;let i=Number.isFinite(+o),s=a>=t.length;return(o=!o&&nx.isArray(n)?n.length:o,s)?nx.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&nx.isObject(n[o])||(n[o]=[]),e(t,r,n[o],a)&&nx.isArray(n[o])&&(n[o]=function(e){let t,r,n={},a=Object.keys(e),o=a.length;for(t=0;t<o;t++)n[r=a[t]]=e[r];return n}(n[o]))),!i}(nx.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},nG={transitional:nM,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",a=n.indexOf("application/json")>-1,o=nx.isObject(e);if(o&&nx.isHTMLForm(e)&&(e=new FormData(e)),nx.isFormData(e))return a?JSON.stringify(nK(e)):e;if(nx.isArrayBuffer(e)||nx.isBuffer(e)||nx.isStream(e)||nx.isFile(e)||nx.isBlob(e)||nx.isReadableStream(e))return e;if(nx.isArrayBufferView(e))return e.buffer;if(nx.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var i,s;return(i=e,s=this.formSerializer,nj(i,new nq.classes.URLSearchParams,{visitor:function(e,t,r,n){return nq.isNode&&nx.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...s})).toString()}if((r=nx.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return nj(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||a){t.setContentType("application/json",!1);var l=e;if(nx.isString(l))try{return(0,JSON.parse)(l),nx.trim(l)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(l)}return e}],transformResponse:[function(e){let t=this.transitional||nG.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(nx.isResponse(e)||nx.isReadableStream(e))return e;if(e&&nx.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw nS.from(e,nS.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nq.classes.FormData,Blob:nq.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};nx.forEach(["delete","get","head","post","put","patch"],e=>{nG.headers[e]={}});let nX=nx.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nY=Symbol("internals");function nQ(e){return e&&String(e).trim().toLowerCase()}function nZ(e){return!1===e||null==e?e:nx.isArray(e)?e.map(nZ):String(e)}function nJ(e,t,r,n,a){if(nx.isFunction(n))return n.call(this,t,r);if(a&&(t=r),nx.isString(t)){if(nx.isString(n))return -1!==t.indexOf(n);if(nx.isRegExp(n))return n.test(t)}}class n0{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function a(e,t,r){let a=nQ(t);if(!a)throw Error("header name must be a non-empty string");let o=nx.findKey(n,a);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=nZ(e))}let o=(e,t)=>nx.forEach(e,(e,r)=>a(e,r,t));if(nx.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let n;if(nx.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim()))){var i;let r,n,a,s;o((s={},(i=e)&&i.split("\n").forEach(function(e){a=e.indexOf(":"),r=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!r||s[r]&&nX[r]||("set-cookie"===r?s[r]?s[r].push(n):s[r]=[n]:s[r]=s[r]?s[r]+", "+n:n)}),s),t)}else if(nx.isObject(e)&&nx.isIterable(e)){let r={},n,a;for(let t of e){if(!nx.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[a=t[0]]=(n=r[a])?nx.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(r,t)}else null!=e&&a(t,e,r)}return this}get(e,t){if(e=nQ(e)){let r=nx.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(nx.isFunction(t))return t.call(this,e,r);if(nx.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=nQ(e)){let r=nx.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||nJ(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function a(e){if(e=nQ(e)){let a=nx.findKey(r,e);a&&(!t||nJ(r,r[a],a,t))&&(delete r[a],n=!0)}}return nx.isArray(e)?e.forEach(a):a(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let a=t[r];(!e||nJ(this,this[a],a,e,!0))&&(delete this[a],n=!0)}return n}normalize(e){let t=this,r={};return nx.forEach(this,(n,a)=>{let o=nx.findKey(r,a);if(o){t[o]=nZ(n),delete t[a];return}let i=e?a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(a).trim();i!==a&&delete t[a],t[i]=nZ(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return nx.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&nx.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[nY]=this[nY]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=nQ(e);if(!t[n]){let a;a=nx.toCamelCase(" "+e),["get","set","has"].forEach(t=>{Object.defineProperty(r,t+a,{value:function(r,n,a){return this[t].call(this,e,r,n,a)},configurable:!0})}),t[n]=!0}}return nx.isArray(e)?e.forEach(n):n(e),this}}function n1(e,t){let r=this||nG,n=t||r,a=n0.from(n.headers),o=n.data;return nx.forEach(e,function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function n2(e){return!!(e&&e.__CANCEL__)}function n3(e,t,r){nS.call(this,null==e?"canceled":e,nS.ERR_CANCELED,t,r),this.name="CanceledError"}function n5(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new nS("Request failed with status code "+r.status,[nS.ERR_BAD_REQUEST,nS.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}n0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),nx.reduceDescriptors(n0.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),nx.freezeMethods(n0),nx.inherits(n3,nS,{__CANCEL__:!0});let n9=function(e,t){let r,n=Array(e=e||10),a=Array(e),o=0,i=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=a[i];r||(r=l),n[o]=s,a[o]=l;let c=i,d=0;for(;c!==o;)d+=n[c++],c%=e;if((o=(o+1)%e)===i&&(i=(i+1)%e),l-r<t)return;let p=u&&l-u;return p?Math.round(1e3*d/p):void 0}},n4=function(e,t){let r,n,a=0,o=1e3/t,i=(t,o=Date.now())=>{a=o,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-a;s>=o?i(e,t):(r=e,n||(n=setTimeout(()=>{n=null,i(r)},o-s)))},()=>r&&i(r)]},n6=(e,t,r=3)=>{let n=0,a=n9(50,250);return n4(r=>{let o=r.loaded,i=r.lengthComputable?r.total:void 0,s=o-n,l=a(s);n=o,e({loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})},r)},n8=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},n7=e=>(...t)=>nx.asap(()=>e(...t)),ae=nq.hasStandardBrowserEnv?(s=new URL(nq.origin),l=nq.navigator&&/(msie|trident)/i.test(nq.navigator.userAgent),e=>(e=new URL(e,nq.origin),s.protocol===e.protocol&&s.host===e.host&&(l||s.port===e.port))):()=>!0,at=nq.hasStandardBrowserEnv?{write(e,t,r,n,a,o,i){if("u"<typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];nx.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),nx.isString(n)&&s.push(`path=${n}`),nx.isString(a)&&s.push(`domain=${a}`),!0===o&&s.push("secure"),nx.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("u"<typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function ar(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||!1==r)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let an=e=>e instanceof n0?{...e}:e;function aa(e,t){t=t||{};let r={};function n(e,t,r,n){return nx.isPlainObject(e)&&nx.isPlainObject(t)?nx.merge.call({caseless:n},e,t):nx.isPlainObject(t)?nx.merge({},t):nx.isArray(t)?t.slice():t}function a(e,t,r,a){return nx.isUndefined(t)?nx.isUndefined(e)?void 0:n(void 0,e,r,a):n(e,t,r,a)}function o(e,t){if(!nx.isUndefined(t))return n(void 0,t)}function i(e,t){return nx.isUndefined(t)?nx.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,a,o){return o in t?n(r,a):o in e?n(void 0,r):void 0}let l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t,r)=>a(an(e),an(t),r,!0)};return nx.forEach(Object.keys({...e,...t}),function(n){let o=l[n]||a,i=o(e[n],t[n],n);nx.isUndefined(i)&&o!==s||(r[n]=i)}),r}let ao=e=>{let t=aa({},e),{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:o,headers:i,auth:s}=t;if(t.headers=i=n0.from(i),t.url=nL(ar(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),nx.isFormData(r)){if(nq.hasStandardBrowserEnv||nq.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(nx.isFunction(r.getHeaders)){let e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&i.set(e,r)})}}if(nq.hasStandardBrowserEnv&&(n&&nx.isFunction(n)&&(n=n(t)),n||!1!==n&&ae(t.url))){let e=a&&o&&at.read(o);e&&i.set(a,e)}return t},ai="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){var n;let a,o,i,s,l,u,c=ao(e),d=c.data,p=n0.from(c.headers).normalize(),{responseType:h,onUploadProgress:f,onDownloadProgress:g}=c;function m(){s&&s(),l&&l(),c.cancelToken&&c.cancelToken.unsubscribe(a),c.signal&&c.signal.removeEventListener("abort",a)}let v=new XMLHttpRequest;function y(){if(!v)return;let n=n0.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());n5(function(e){t(e),m()},function(e){r(e),m()},{data:h&&"text"!==h&&"json"!==h?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v}),v=null}v.open(c.method.toUpperCase(),c.url,!0),v.timeout=c.timeout,"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||4!==v.readyState||(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(y)},v.onabort=function(){v&&(r(new nS("Request aborted",nS.ECONNABORTED,e,v)),v=null)},v.onerror=function(t){let n=new nS(t&&t.message?t.message:"Network Error",nS.ERR_NETWORK,e,v);n.event=t||null,r(n),v=null},v.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||nM;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),r(new nS(t,n.clarifyTimeoutError?nS.ETIMEDOUT:nS.ECONNABORTED,e,v)),v=null},void 0===d&&p.setContentType(null),"setRequestHeader"in v&&nx.forEach(p.toJSON(),function(e,t){v.setRequestHeader(t,e)}),nx.isUndefined(c.withCredentials)||(v.withCredentials=!!c.withCredentials),h&&"json"!==h&&(v.responseType=c.responseType),g&&([i,l]=n6(g,!0),v.addEventListener("progress",i)),f&&v.upload&&([o,s]=n6(f),v.upload.addEventListener("progress",o),v.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(a=t=>{v&&(r(!t||t.type?new n3(null,e,v):t),v.abort(),v=null)},c.cancelToken&&c.cancelToken.subscribe(a),c.signal&&(c.signal.aborted?a():c.signal.addEventListener("abort",a)));let b=(n=c.url,(u=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n))&&u[1]||"");b&&-1===nq.protocols.indexOf(b)?r(new nS("Unsupported protocol "+b+":",nS.ERR_BAD_REQUEST,e)):v.send(d||null)})},as=function*(e,t){let r,n=e.byteLength;if(!t||n<t)return void(yield e);let a=0;for(;a<n;)r=a+t,yield e.slice(a,r),a=r},al=async function*(e,t){for await(let r of au(e))yield*as(r,t)},au=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},ac=(e,t,r,n)=>{let a,o=al(e,t),i=0,s=e=>{!a&&(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){s(),e.close();return}let a=n.byteLength;if(r){let e=i+=a;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:ad}=nx,ap=(({Request:e,Response:t})=>({Request:e,Response:t}))(nx.global),{ReadableStream:ah,TextEncoder:af}=nx.global,ag=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},am=e=>{let t,{fetch:r,Request:n,Response:a}=e=nx.merge.call({skipUndefined:!0},ap,e),o=r?ad(r):"function"==typeof fetch,i=ad(n),s=ad(a);if(!o)return!1;let l=o&&ad(ah),u=o&&("function"==typeof af?(t=new af,e=>t.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer())),c=i&&l&&ag(()=>{let e=!1,t=new n(nq.origin,{body:new ah,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=s&&l&&ag(()=>nx.isReadableStream(new a("").body)),p={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{p[e]||(p[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new nS(`Response type '${e}' is not supported`,nS.ERR_NOT_SUPPORT,r)})});let h=async e=>{if(null==e)return 0;if(nx.isBlob(e))return e.size;if(nx.isSpecCompliantForm(e)){let t=new n(nq.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return nx.isArrayBufferView(e)||nx.isArrayBuffer(e)?e.byteLength:(nx.isURLSearchParams(e)&&(e+=""),nx.isString(e))?(await u(e)).byteLength:void 0},f=async(e,t)=>{let r=nx.toFiniteNumber(e.getContentLength());return null==r?h(t):r};return async e=>{let t,{url:o,method:s,data:l,signal:u,cancelToken:h,timeout:g,onDownloadProgress:m,onUploadProgress:v,responseType:y,headers:b,withCredentials:w="same-origin",fetchOptions:k}=ao(e),x=r||fetch;y=y?(y+"").toLowerCase():"text";let S=((e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,a=function(e){if(!r){r=!0,i();let t=e instanceof Error?e:this.reason;n.abort(t instanceof nS?t:new n3(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,a(new nS(`timeout ${t} of ms exceeded`,nS.ETIMEDOUT))},t),i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)}),e=null)};e.forEach(e=>e.addEventListener("abort",a));let{signal:s}=n;return s.unsubscribe=()=>nx.asap(i),s}})([u,h&&h.toAbortSignal()],g),C=null,P=S&&S.unsubscribe&&(()=>{S.unsubscribe()});try{if(v&&c&&"get"!==s&&"head"!==s&&0!==(t=await f(b,l))){let e,r=new n(o,{method:"POST",body:l,duplex:"half"});if(nx.isFormData(l)&&(e=r.headers.get("content-type"))&&b.setContentType(e),r.body){let[e,n]=n8(t,n6(n7(v)));l=ac(r.body,65536,e,n)}}nx.isString(w)||(w=w?"include":"omit");let r=i&&"credentials"in n.prototype,u={...k,signal:S,method:s.toUpperCase(),headers:b.normalize().toJSON(),body:l,duplex:"half",credentials:r?w:void 0};C=i&&new n(o,u);let h=await (i?x(C,k):x(o,u)),g=d&&("stream"===y||"response"===y);if(d&&(m||g&&P)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=h[t]});let t=nx.toFiniteNumber(h.headers.get("content-length")),[r,n]=m&&n8(t,n6(n7(m),!0))||[];h=new a(ac(h.body,65536,r,()=>{n&&n(),P&&P()}),e)}y=y||"text";let E=await p[nx.findKey(p,y)||"text"](h,e);return!g&&P&&P(),await new Promise((t,r)=>{n5(t,r,{data:E,headers:n0.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:C})})}catch(t){if(P&&P(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new nS("Network Error",nS.ERR_NETWORK,e,C),{cause:t.cause||t});throw nS.from(t,t&&t.code,e,C)}}},av=new Map,ay=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:a}=t,o=[n,a,r],i=o.length,s,l,u=av;for(;i--;)s=o[i],void 0===(l=u.get(s))&&u.set(s,l=i?new Map:am(t)),u=l;return l};ay();let ab={http:null,xhr:ai,fetch:{get:ay}};nx.forEach(ab,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let aw=e=>`- ${e}`,ak=e=>nx.isFunction(e)||null===e||!1===e,ax=function(e,t){let r,n,{length:a}=e=nx.isArray(e)?e:[e],o={};for(let i=0;i<a;i++){let a;if(n=r=e[i],!ak(r)&&void 0===(n=ab[(a=String(r)).toLowerCase()]))throw new nS(`Unknown adapter '${a}'`);if(n&&(nx.isFunction(n)||(n=n.get(t))))break;o[a||"#"+i]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new nS("There is no suitable adapter to dispatch the request "+(a?e.length>1?"since :\n"+e.map(aw).join("\n"):" "+aw(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function aS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new n3(null,e)}function aC(e){return aS(e),e.headers=n0.from(e.headers),e.data=n1.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ax(e.adapter||nG.adapter,e)(e).then(function(t){return aS(e),t.data=n1.call(e,e.transformResponse,t),t.headers=n0.from(t.headers),t},function(t){return!n2(t)&&(aS(e),t&&t.response&&(t.response.data=n1.call(e,e.transformResponse,t.response),t.response.headers=n0.from(t.response.headers))),Promise.reject(t)})}let aP={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{aP[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let aE={};aP.transitional=function(e,t,r){function n(e,t){return"[Axios v1.13.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,a,o)=>{if(!1===e)throw new nS(n(a," has been removed"+(t?" in "+t:"")),nS.ERR_DEPRECATED);return t&&!aE[a]&&(aE[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,o)}},aP.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};let aT=function(e,t,r){if("object"!=typeof e)throw new nS("options must be an object",nS.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),a=n.length;for(;a-- >0;){let o=n[a],i=t[o];if(i){let t=e[o],r=void 0===t||i(t,o,e);if(!0!==r)throw new nS("option "+o+" must be "+r,nS.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new nS("Unknown option "+o,nS.ERR_BAD_OPTION)}};class aR{constructor(e){this.defaults=e||{},this.interceptors={request:new nI,response:new nI}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:a,paramsSerializer:o,headers:i}=t=aa(this.defaults,t);void 0!==a&&aT(a,{silentJSONParsing:aP.transitional(aP.boolean),forcedJSONParsing:aP.transitional(aP.boolean),clarifyTimeoutError:aP.transitional(aP.boolean)},!1),null!=o&&(nx.isFunction(o)?t.paramsSerializer={serialize:o}:aT(o,{encode:aP.function,serialize:aP.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),aT(t,{baseUrl:aP.spelling("baseURL"),withXsrfToken:aP.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=i&&nx.merge(i.common,i[t.method]);i&&nx.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=n0.concat(s,i);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[aC.bind(this),void 0];for(e.unshift(...l),e.push(...c),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=l.length;let p=t;for(;d<n;){let e=l[d++],t=l[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{r=aC.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,n=c.length;d<n;)r=r.then(c[d++],c[d++]);return r}getUri(e){return nL(ar((e=aa(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}nx.forEach(["delete","get","head","options"],function(e){aR.prototype[e]=function(t,r){return this.request(aa(r||{},{method:e,url:t,data:(r||{}).data}))}}),nx.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,a){return this.request(aa(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}aR.prototype[e]=t(),aR.prototype[e+"Form"]=t(!0)});class aO{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,a){r.reason||(r.reason=new n3(e,n,a),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new aO(function(t){e=t}),cancel:e}}}let aj={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(aj).forEach(([e,t])=>{aj[t]=e});let az=function e(t){let r=new aR(t),n=rG(aR.prototype.request,r);return nx.extend(n,aR.prototype,r,{allOwnKeys:!0}),nx.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(aa(t,r))},n}(nG);az.Axios=aR,az.CanceledError=n3,az.CancelToken=aO,az.isCancel=n2,az.VERSION="1.13.2",az.toFormData=nj,az.AxiosError=nS,az.Cancel=az.CanceledError,az.all=function(e){return Promise.all(e)},az.spread=function(e){return function(t){return e.apply(null,t)}},az.isAxiosError=function(e){return nx.isObject(e)&&!0===e.isAxiosError},az.mergeConfig=aa,az.AxiosHeaders=n0,az.formToJSON=e=>nK(nx.isHTMLForm(e)?new FormData(e):e),az.getAdapter=ax,az.HttpStatusCode=aj,az.default=az;let{Axios:aN,AxiosError:a_,CanceledError:aA,isCancel:aL,CancelToken:aI,VERSION:aM,all:aF,Cancel:aD,isAxiosError:aB,spread:a$,toFormData:aV,AxiosHeaders:aU,HttpStatusCode:aH,formToJSON:aW,getAdapter:aq,mergeConfig:aK}=az,{slice:aG,forEach:aX}=[],aY=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,aQ=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"},n=encodeURIComponent(t),a=`${e}=${n}`;if(r.maxAge>0){let e=r.maxAge-0;if(Number.isNaN(e))throw Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(e)}`}if(r.domain){if(!aY.test(r.domain))throw TypeError("option domain is invalid");a+=`; Domain=${r.domain}`}if(r.path){if(!aY.test(r.path))throw TypeError("option path is invalid");a+=`; Path=${r.path}`}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invalid");a+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(a+="; HttpOnly"),r.secure&&(a+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"none":a+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return r.partitioned&&(a+="; Partitioned"),a},aZ={create(e,t,r,n){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*r*1e3)),n&&(a.domain=n),document.cookie=aQ(e,t,a)},read(e){let t=`${e}=`,r=document.cookie.split(";");for(let e=0;e<r.length;e++){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var aJ={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"u">typeof document)return aZ.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:r,cookieMinutes:n,cookieDomain:a,cookieOptions:o}=t;r&&"u">typeof document&&aZ.create(r,e,n,a,o)}},a0={name:"querystring",lookup(e){let t,{lookupQuerystring:r}=e;if("u">typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));let n=e.substring(1).split("&");for(let e=0;e<n.length;e++){let a=n[e].indexOf("=");a>0&&n[e].substring(0,a)===r&&(t=n[e].substring(a+1))}}return t}},a1={name:"hash",lookup(e){let t,{lookupHash:r,lookupFromHashIndex:n}=e;if("u">typeof window){let{hash:e}=window.location;if(e&&e.length>2){let a=e.substring(1);if(r){let e=a.split("&");for(let n=0;n<e.length;n++){let a=e[n].indexOf("=");a>0&&e[n].substring(0,a)===r&&(t=e[n].substring(a+1))}}if(t)return t;if(!t&&n>-1){let t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;return t["number"==typeof n?n:0]?.replace("/","")}}}return t}};let a2=null,a3=()=>{if(null!==a2)return a2;try{if(!(a2="u">typeof window&&null!==window.localStorage))return!1;let e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){a2=!1}return a2};var a5={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&a3())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:r}=t;r&&a3()&&window.localStorage.setItem(r,e)}};let a9=null,a4=()=>{if(null!==a9)return a9;try{if(!(a9="u">typeof window&&null!==window.sessionStorage))return!1;let e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){a9=!1}return a9};var a6={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&a4())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:r}=t;r&&a4()&&window.sessionStorage.setItem(r,e)}},a8={name:"navigator",lookup(e){let t=[];if("u">typeof navigator){let{languages:e,userLanguage:r,language:n}=navigator;if(e)for(let r=0;r<e.length;r++)t.push(e[r]);r&&t.push(r),n&&t.push(n)}return t.length>0?t:void 0}},a7={name:"htmlTag",lookup(e){let t,{htmlTag:r}=e,n=r||("u">typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},oe={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("u"<typeof window)return;let r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(Array.isArray(r))return r["number"==typeof t?t:0]?.replace("/","")}},ot={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e,r="u">typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r["number"==typeof t?t+1:1]}};let or=!1;try{document.cookie,or=!0}catch(e){}let on=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];or||on.splice(1,1);class oa{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return aX.call(aG.call(arguments,1),t=>{if(t)for(let r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:on,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(aJ),this.addDetector(a0),this.addDetector(a5),this.addDetector(a6),this.addDetector(a8),this.addDetector(a7),this.addDetector(oe),this.addDetector(ot),this.addDetector(a1)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return(e.forEach(e=>{if(this.detectors[e]){let r=this.detectors[e].lookup(this.options);r&&"string"==typeof r&&(r=[r]),r&&(t=t.concat(r))}}),t=t.filter(e=>null!=e&&!("string"==typeof e&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e)))).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes)?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;!t||this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)})}}oa.type="languageDetector";let oo=r.p+"static/image/bag-bad-cropped.webp",oi=r.p+"static/image/bag-bad-hands-full.webp",os=r.p+"static/image/bag-good-angle.webp",ol=r.p+"static/image/bag-good-full-body.webp",ou=r.p+"static/image/eyewear-bad-face-turned.webp",oc=r.p+"static/image/eyewear-bad-wearing-glasses.webp",od=r.p+"static/image/eyewear-good-facing-camera.webp",op=r.p+"static/image/eyewear-good-hair-back.webp",oh=r.p+"static/image/footwear-bad-feet-hidden.webp",of=r.p+"static/image/footwear-bad-one-foot-cropped.webp",og=r.p+"static/image/footwear-good-knees-down.webp",om=r.p+"static/image/footwear-good-standing.webp",ov=r.p+"static/image/full-body-bad-cropped.webp",oy=r.p+"static/image/full-body-bad-sitting.webp",ob=r.p+"static/image/full-body-good-angle.webp",ow=r.p+"static/image/full-body-good-head-to-toe.webp",ok=r.p+"static/image/headwear-bad-cropped-head.webp",ox=r.p+"static/image/headwear-bad-wearing-hat.webp",oS=r.p+"static/image/headwear-good-angle.webp",oC=r.p+"static/image/headwear-good-front.webp",oP=r.p+"static/image/lower-body-bad-covered-waist.webp",oE=r.p+"static/image/lower-body-bad-sitting.webp",oT=r.p+"static/image/lower-body-good-full-body.webp",oR=r.p+"static/image/lower-body-good-waist-to-feet.webp",oO=r.p+"static/image/neck-bad-hair-covering.webp",oj=r.p+"static/image/neck-bad-high-collar.webp",oz=r.p+"static/image/neck-good-hair-up.webp",oN=r.p+"static/image/neck-good-open-neckline.webp",o_=r.p+"static/image/upper-body-bad-arms-crossed.webp",oA=r.p+"static/image/upper-body-bad-object-blocking-torso.webp",oL=r.p+"static/image/upper-body-good-angle.webp",oI=r.p+"static/image/upper-body-good-facing-camera.webp",oM=r.p+"static/image/waist-bad-oversized-top.webp",oF=r.p+"static/image/waist-bad-sitting.webp",oD=r.p+"static/image/waist-good-full-body.webp",oB=r.p+"static/image/waist-good-top-tucked.webp",o$=r.p+"static/image/wrist-bad-clenched-fist.webp",oV=r.p+"static/image/wrist-bad-covered.webp",oU=r.p+"static/image/wrist-good-close-up.webp",oH=r.p+"static/image/wrist-good-sleeve-back.webp";var oW={"./src/style.css?inline"(e,t,r){r.d(t,{A:()=>s});var n=r("../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),a=r.n(n),o=r("../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=r.n(o)()(a());i.push([e.id,`@layer properties {
|
|
7
7
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
8
8
|
*, :before, :after, ::backdrop {
|
|
9
9
|
--tw-translate-x: 0;
|
|
@@ -1030,6 +1030,10 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
1030
1030
|
width: 56px;
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
|
+
.w-\\[90\\%\\] {
|
|
1034
|
+
width: 90%;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1033
1037
|
.w-\\[340px\\] {
|
|
1034
1038
|
width: 340px;
|
|
1035
1039
|
}
|
|
@@ -5474,13 +5478,13 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
5474
5478
|
font-style: normal;
|
|
5475
5479
|
font-display: swap;
|
|
5476
5480
|
}
|
|
5477
|
-
`,""]);let s=i.toString()},"../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);n&&i[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),r&&(c[2]&&(c[1]="@media ".concat(c[2]," {").concat(c[1],"}")),c[2]=r),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"(e){e.exports=function(e){return e[1]}}},oq={};function oK(e){var t=oq[e];if(void 0!==t)return t.exports;var r=oq[e]={id:e,exports:{}};return oW[e](r,r.exports,oK),r.exports}function oG(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function oX(...e){return t=>{let r=!1,n=e.map(e=>{let n=oG(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():oG(e[t],null)}}}}oK.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return oK.d(t,{a:t}),t},oK.d=(e,t)=>{for(var r in t)oK.o(t,r)&&!oK.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},oK.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var oY=Symbol.for("react.lazy"),oQ=L[" use ".trim().toString()];function oZ(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===oY&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var oJ=((g=A.forwardRef((e,t)=>{let{children:r,...n}=e;if(oZ(r)&&"function"==typeof oQ&&(r=oQ(r._payload)),A.isValidElement(r)){var a;let e,o,i=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==A.Fragment&&(s.ref=t?oX(t,i):i),A.cloneElement(r,s)}return A.Children.count(r)>1?A.Children.only(null):null})).displayName="Slot.SlotClone",u=g,(c=A.forwardRef((e,t)=>{let{children:r,...n}=e;oZ(r)&&"function"==typeof oQ&&(r=oQ(r._payload));let a=A.Children.toArray(r),o=a.find(o1);if(o){let e=o.props.children,r=a.map(t=>t!==o?t:A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null);return(0,N.jsx)(u,{...n,ref:t,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,N.jsx)(u,{...n,ref:t,children:r})})).displayName="Slot.Slot",c),o0=Symbol("radix.slottable");function o1(e){return A.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o0}function o2(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}let o3=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),o5=[],o9=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],a=r.nextPart.get(n);if(a){let r=o9(e,t+1,a);if(r)return r}let o=r.validators;if(null===o)return;let i=0===t?e.join("-"):e.slice(t).join("-"),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(i))return t.classGroupId}},o4=(e,t)=>{let r=o3();for(let n in e)o6(e[n],r,n,t);return r},o6=(e,t,r,n)=>{let a=e.length;for(let o=0;o<a;o++)o8(e[o],t,r,n)},o8=(e,t,r,n)=>{"string"==typeof e?o7(e,t,r):"function"==typeof e?ie(e,t,r,n):it(e,t,r,n)},o7=(e,t,r)=>{(""===e?t:ir(t,e)).classGroupId=r},ie=(e,t,r,n)=>{ia(e)?o6(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},it=(e,t,r,n)=>{let a=Object.entries(e),o=a.length;for(let e=0;e<o;e++){let[o,i]=a[e];o6(i,ir(t,o),r,n)}},ir=(e,t)=>{let r=e,n=t.split("-"),a=n.length;for(let e=0;e<a;e++){let t=n[e],a=r.nextPart.get(t);a||(a=o3(),r.nextPart.set(t,a)),r=a}return r},ia=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,io=[],ii=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),is=/\s+/,il=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=il(e[n]))&&(r&&(r+=" "),r+=t);return r},iu=[],ic=e=>{let t=t=>t[e]||iu;return t.isThemeGetter=!0,t},id=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ip=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ih=/^\d+\/\d+$/,ig=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,im=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,iv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,iy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ib=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,iw=e=>ih.test(e),ik=e=>!!e&&!Number.isNaN(Number(e)),ix=e=>!!e&&Number.isInteger(Number(e)),iS=e=>e.endsWith("%")&&ik(e.slice(0,-1)),iC=e=>ig.test(e),iP=()=>!0,iE=e=>im.test(e)&&!iv.test(e),iT=()=>!1,iR=e=>iy.test(e),iO=e=>ib.test(e),ij=e=>!i_(e)&&!iF(e),iz=e=>iW(e,iX,iT),i_=e=>id.test(e),iN=e=>iW(e,iY,iE),iA=e=>iW(e,iQ,ik),iL=e=>iW(e,iK,iT),iI=e=>iW(e,iG,iO),iM=e=>iW(e,iJ,iR),iF=e=>ip.test(e),iD=e=>iq(e,iY),iB=e=>iq(e,iZ),i$=e=>iq(e,iK),iV=e=>iq(e,iX),iU=e=>iq(e,iG),iH=e=>iq(e,iJ,!0),iW=(e,t,r)=>{let n=id.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},iq=(e,t,r=!1)=>{let n=ip.exec(e);return!!n&&(n[1]?t(n[1]):r)},iK=e=>"position"===e||"percentage"===e,iG=e=>"image"===e||"url"===e,iX=e=>"length"===e||"size"===e||"bg-size"===e,iY=e=>"length"===e,iQ=e=>"number"===e,iZ=e=>"family-name"===e,iJ=e=>"shadow"===e,i0=((e,...t)=>{let r,n,a,o,i=e=>{let t=n(e);if(t)return t;let o=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o}=t,i=[],s=e.trim().split(is),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!h,g=n(f?p.substring(0,h):p);if(!g){if(!f||!(g=n(p))){l=t+(l.length>0?" "+l:l);continue}f=!1}let m=0===c.length?"":1===c.length?c[0]:o(c).join(":"),v=d?m+"!":m,y=v+g;if(i.indexOf(y)>-1)continue;i.push(y);let b=a(g,f);for(let e=0;e<b.length;++e){let t=b[e];i.push(v+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return a(e,o),o};return o=s=>{var l;let u;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),a=(a,o)=>{r[a]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(a(e,t),t):void 0},set(e,t){e in r?r[e]=t:a(e,t)}}})((l=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,a=0,o=0,i=e.length;for(let s=0;s<i;s++){let i=e[s];if(0===n&&0===a){if(":"===i){r.push(e.slice(o,s)),o=s+1;continue}if("/"===i){t=s;continue}}"["===i?n++:"]"===i?n--:"("===i?a++:")"===i&&a--}let s=0===r.length?e:e.slice(o),l=s,u=!1;return s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0),ii(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):ii(io,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(l),sortModifiers:(u=new Map,l.orderSensitiveModifiers.forEach((e,t)=>{u.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let a=e[n],o="["===a[0],i=u.has(a);o||i?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(a)):r.push(a)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return o4(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,a;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(a=t.slice(0,n))?"arbitrary.."+a:void 0)}let n=e.split("-"),a=+(""===n[0]&&n.length>1);return o9(n,a,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],a=r[e];if(t){if(a){let e=Array(a.length+t.length);for(let t=0;t<a.length;t++)e[t]=a[t];for(let r=0;r<t.length;r++)e[a.length+r]=t[r];return e}return t}return a||o5}return r[e]||o5}}})(l)}).cache.get,a=r.cache.set,o=i,i(s)},(...e)=>o(((...e)=>{let t,r,n=0,a="";for(;n<e.length;)(t=e[n++])&&(r=il(t))&&(a&&(a+=" "),a+=r);return a})(...e))})(()=>{let e=ic("color"),t=ic("font"),r=ic("text"),n=ic("font-weight"),a=ic("tracking"),o=ic("leading"),i=ic("breakpoint"),s=ic("container"),l=ic("spacing"),u=ic("radius"),c=ic("shadow"),d=ic("inset-shadow"),p=ic("text-shadow"),h=ic("drop-shadow"),f=ic("blur"),g=ic("perspective"),m=ic("aspect"),v=ic("ease"),y=ic("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),iF,i_],x=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],C=()=>[iF,i_,l],P=()=>[iw,"full","auto",...C()],E=()=>[ix,"none","subgrid",iF,i_],T=()=>["auto",{span:["full",ix,iF,i_]},ix,iF,i_],R=()=>[ix,"auto",iF,i_],O=()=>["auto","min","max","fr",iF,i_],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...C()],N=()=>[iw,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],A=()=>[e,iF,i_],L=()=>[...w(),i$,iL,{position:[iF,i_]}],I=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",iV,iz,{size:[iF,i_]}],F=()=>[iS,iD,iN],D=()=>["","none","full",u,iF,i_],B=()=>["",ik,iD,iN],$=()=>["solid","dashed","dotted","double"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],U=()=>[ik,iS,i$,iL],H=()=>["","none",f,iF,i_],W=()=>["none",ik,iF,i_],q=()=>["none",ik,iF,i_],K=()=>[ik,iF,i_],G=()=>[iw,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[iC],breakpoint:[iC],color:[iP],container:[iC],"drop-shadow":[iC],ease:["in","out","in-out"],font:[ij],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[iC],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[iC],shadow:[iC],spacing:["px",ik],text:[iC],"text-shadow":[iC],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",iw,i_,iF,m]}],container:["container"],columns:[{columns:[ik,i_,iF,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{start:P()}],end:[{end:P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[ix,"auto",iF,i_]}],basis:[{basis:[iw,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ik,iw,"auto","initial","none",i_]}],grow:[{grow:["",ik,iF,i_]}],shrink:[{shrink:["",ik,iF,i_]}],order:[{order:[ix,"first","last","none",iF,i_]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:T()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:T()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],w:[{w:[s,"screen",...N()]}],"min-w":[{"min-w":[s,"screen","none",...N()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",r,iD,iN]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,iF,iA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",iS,i_]}],"font-family":[{font:[iB,i_,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,iF,i_]}],"line-clamp":[{"line-clamp":[ik,"none",iF,iA]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",iF,i_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",iF,i_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:[ik,"from-font","auto",iF,iN]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[ik,"auto",iF,i_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",iF,i_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",iF,i_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:I()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ix,iF,i_],radial:["",iF,i_],conic:[ix,iF,i_]},iU,iI]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$(),"hidden","none"]}],"divide-style":[{divide:[...$(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...$(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ik,iF,i_]}],"outline-w":[{outline:["",ik,iD,iN]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",c,iH,iM]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,iH,iM]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[ik,iN]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,iH,iM]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[ik,iF,i_]}],"mix-blend":[{"mix-blend":[...V(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":V()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ik]}],"mask-image-linear-from-pos":[{"mask-linear-from":U()}],"mask-image-linear-to-pos":[{"mask-linear-to":U()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":U()}],"mask-image-t-to-pos":[{"mask-t-to":U()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":U()}],"mask-image-r-to-pos":[{"mask-r-to":U()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":U()}],"mask-image-b-to-pos":[{"mask-b-to":U()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":U()}],"mask-image-l-to-pos":[{"mask-l-to":U()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":U()}],"mask-image-x-to-pos":[{"mask-x-to":U()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":U()}],"mask-image-y-to-pos":[{"mask-y-to":U()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[iF,i_]}],"mask-image-radial-from-pos":[{"mask-radial-from":U()}],"mask-image-radial-to-pos":[{"mask-radial-to":U()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[ik]}],"mask-image-conic-from-pos":[{"mask-conic-from":U()}],"mask-image-conic-to-pos":[{"mask-conic-to":U()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:I()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",iF,i_]}],filter:[{filter:["","none",iF,i_]}],blur:[{blur:H()}],brightness:[{brightness:[ik,iF,i_]}],contrast:[{contrast:[ik,iF,i_]}],"drop-shadow":[{"drop-shadow":["","none",h,iH,iM]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",ik,iF,i_]}],"hue-rotate":[{"hue-rotate":[ik,iF,i_]}],invert:[{invert:["",ik,iF,i_]}],saturate:[{saturate:[ik,iF,i_]}],sepia:[{sepia:["",ik,iF,i_]}],"backdrop-filter":[{"backdrop-filter":["","none",iF,i_]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[ik,iF,i_]}],"backdrop-contrast":[{"backdrop-contrast":[ik,iF,i_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ik,iF,i_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ik,iF,i_]}],"backdrop-invert":[{"backdrop-invert":["",ik,iF,i_]}],"backdrop-opacity":[{"backdrop-opacity":[ik,iF,i_]}],"backdrop-saturate":[{"backdrop-saturate":[ik,iF,i_]}],"backdrop-sepia":[{"backdrop-sepia":["",ik,iF,i_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",iF,i_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ik,"initial",iF,i_]}],ease:[{ease:["linear","initial",v,iF,i_]}],delay:[{delay:[ik,iF,i_]}],animate:[{animate:["none",y,iF,i_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,iF,i_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:K()}],"skew-x":[{"skew-x":K()}],"skew-y":[{"skew-y":K()}],transform:[{transform:[iF,i_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:G()}],"translate-x":[{"translate-x":G()}],"translate-y":[{"translate-y":G()}],"translate-z":[{"translate-z":G()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",iF,i_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",iF,i_]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[ik,iD,iN,iA]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function i1(...e){return i0(o2(e))}let i2=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i3=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o2(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,i=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let i=i2(t)||i2(n);return a[e][i]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o2(e,i,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...s}[t]):({...o,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)},i5=i3("cursor-pointer inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-xl transition-all disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg:not([class*=size-])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary--hover active:bg-primary--pressed disabled:bg-primary--disabled disabled:opacity-20",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary--hover active:bg-secondary--pressed disabled:bg-secondary--disabled disabled:opacity-20",outline:"border border-button-outline bg-transparent text-foreground hover:border-button-outline-hover active:bg-button-outline-pressed disabled:border-border-dark disabled:opacity-20",ghost:"hover:bg-accent hover:text-accent-foreground active:bg-accent--pressed",contrast:"bg-contrast text-contrast-foreground hover:bg-contrast--hover active:bg-contrast--pressed disabled:bg-contrast--disabled disabled:opacity-30"},size:{default:"h-9 px-3.5 typo-button-normal [&_svg]:size-5",sm:"h-8 px-3 typo-button-small [&_svg]:size-4",lg:"h-11 px-4 typo-button-big [&_svg]:size-6",icon:"size-9 rounded-full [&_svg]:size-5","icon-sm":"size-8 rounded-full [&_svg]:size-4","icon-lg":"size-11 rounded-full [&_svg]:size-6"}},defaultVariants:{variant:"default",size:"default"}});function i9({className:e,variant:t,size:r,asChild:n=!1,...a}){return(0,N.jsx)(n?oJ:"button",{"data-slot":"button",className:i1(i5({variant:t,size:r,className:e})),...a})}let i4=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},i6=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i8={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i7=(0,A.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:o,iconNode:i,...s},l)=>(0,A.createElement)("svg",{ref:l,...i8,width:t,height:t,stroke:e,strokeWidth:n?24*Number(r)/Number(t):r,className:i6("lucide",a),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(s)&&{"aria-hidden":"true"},...s},[...i.map(([e,t])=>(0,A.createElement)(e,t)),...Array.isArray(o)?o:[o]])),se=(T=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],(d=(0,A.forwardRef)(({className:e,...t},r)=>(0,A.createElement)(i7,{ref:r,iconNode:T,className:i6(`lucide-${i4("x").replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,"lucide-x",e),...t}))).displayName=i4("x"),d);function st({...e}){return(0,N.jsx)(tn,{"data-slot":"dialog",...e})}function sr({...e}){return(0,N.jsx)(tl,{"data-slot":"dialog-portal",...e})}function sn({className:e,...t}){return(0,N.jsx)(tc,{"data-slot":"dialog-overlay",className:i1("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function sa({className:e,children:t,contentInsideOverlay:r=!1,showCloseButton:n=!0,portalContainer:a,...o}){let i=(0,N.jsxs)(tf,{"data-slot":"dialog-content",className:i1("bg-background-containers data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-6 rounded-3xl border-0 p-6 shadow-[var(--shadow-login)] duration-200 outline-none sm:max-w-120 sm:p-10",e),...o,children:[t,n&&(0,N.jsxs)(tS,{"data-slot":"dialog-close",className:"focus-visible:ring-ring/30 absolute top-4 right-4 inline-flex size-6 cursor-pointer items-center justify-center rounded-full text-icons-light transition-colors hover:text-icons-normal focus-visible:text-icons-dark focus-visible:ring-2 focus-visible:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[(0,N.jsx)(se,{className:"size-6"}),(0,N.jsx)("span",{className:"sr-only",children:"Close"})]})]});return(0,N.jsx)(sr,{"data-slot":"dialog-portal",container:a,children:r?(0,N.jsx)(sn,{children:i}):(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(sn,{}),i]})})}function so({className:e,...t}){return(0,N.jsx)("div",{"data-slot":"dialog-header",className:i1("flex flex-col gap-2 text-left",e),...t})}function si({className:e,...t}){return(0,N.jsx)(tb,{"data-slot":"dialog-title",className:i1("typo-base-18 text-text-dark",e),...t})}function ss({className:e,...t}){return(0,N.jsx)(tk,{"data-slot":"dialog-description",className:i1("typo-base-16 text-text-light",e),...t})}let sl=(0,A.createContext)({theme:"system",setTheme:()=>null});function su({children:e,defaultTheme:t="system",storageKey:r="v-theme",root:n=window.document.documentElement,enableStorage:a=!1,...o}){let[i,s]=(0,A.useState)(()=>a&&localStorage.getItem(r)||t);return(0,A.useEffect)(()=>{if(n.classList.remove("light","dark"),"system"===i){let e=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";n.classList.add(e);return}n.classList.add(i)},[i,n]),(0,N.jsx)(sl,{...o,value:{theme:i,setTheme:e=>{a&&localStorage.setItem(r,e),s(e)}},children:e})}var sc=oK("../ui/src/styles/fonts.css?inline");function sd(e){return az.create({baseURL:e,timeout:3e4})}let sp=new Set(["common","delete","get","head","post","put","patch","options","purge","link","unlink"]);function sh(){return globalThis.process?.env?.NODE_ENV}function sf(e){if(void 0===e)return[];let t="function"==typeof e.toJSON?e.toJSON():e,r=[];return!function e(t,r){if(null!==t&&"object"==typeof t)for(let[n,a]of Object.entries(t)){if(null==a)continue;let t=n.toLowerCase();if("common"===t){e(a,r);continue}sp.has(t)||r.push([n,String(a)])}}(t,r),r}function sg(e){return!!("u">typeof FormData&&e instanceof FormData)||null!==e&&"object"==typeof e&&(e.constructor?.name==="FormData"||"function"==typeof e.getBoundary)}let sm=new Set(["authorization","cookie","set-cookie","x-xsrf-token"]);function sv(e){if(null==e)return;let t="function"==typeof e.toJSON?e.toJSON():e;if(null===t||"object"!=typeof t)return;let r={};for(let[e,n]of Object.entries(t))null!=n&&(r[e]=sm.has(e.toLowerCase())?"[redacted]":String(n));return r}function sy(e){if(null!=e){if("string"==typeof e)try{return JSON.parse(e)}catch{return e.length>2e3?`${e.slice(0,2e3)}… (${e.length} chars)`:e}return sg(e)?"[FormData]":e}}function sb(e){let t=(e.requestConfig.method??"GET").toUpperCase(),r=e.requestConfig.url??"",n=`[api:server] ${t} ${r} → ${e.status} (${e.durationMs}ms)`,a={requestId:e.requestId,...e.error?{error:e.error}:{},params:e.requestConfig.params,requestBody:sy(e.requestConfig.data),requestHeaders:sv(e.requestConfig.headers),responseHeaders:sv(e.responseHeaders),responseBody:sy(e.responseBody)};(e.status>=500||void 0!==e.error&&0===e.status?console.error:e.status>=400?console.warn:console.log)(n,a)}let sw=function({clientName:e,configureFunctionName:t,defaultBaseURL:r}){let n=sd(r),a=sd(r),o=null,i=null,s=null,l=null,u=null,c=null;async function d(e,t){let r=function(e,t){let r;if(void 0===t.data||sg(t.data))return t;let n=aU.from(t.headers);return n.has("Content-Type")||void 0!==(r=e.defaults.headers.common)&&aU.from(r).has("Content-Type")||n.set("Content-Type","application/json"),t.headers=n,t}(e,function(e){let t=aU.from(e.headers);if(null!==s){let e=s()?.trim();e&&!t.has("Authorization")&&t.set("Authorization",`Bearer ${e}`)}if(null!==c)for(let[r,n]of Object.entries(c({url:e.url,method:e.method})))n&&!t.has(r)&&t.set(r,n);return e.headers=t,e}({...t})),n=function(e){let t,r=aU.from(e.headers),n=r.get("x-request-id");if("string"==typeof n&&n.length>0)return n;let a=(t=globalThis.crypto,"function"==typeof t?.randomUUID?t.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`);return r.set("x-request-id",a),e.headers=r,a}(r),a=function(){if("u">typeof window)return!1;let e=sh(),t=globalThis.process;return t?.env?.DEBUG_API==="true"||"production"!==e&&"test"!==e&&"testing"!==e}(),o=a?Date.now():0;try{let t=await e.request(r);return a&&sb({requestConfig:r,requestId:n,status:t.status,durationMs:Date.now()-o,responseHeaders:t.headers,responseBody:t.data}),t}catch(e){throw a&&sb({requestConfig:r,requestId:n,status:e.response?.status??0,durationMs:Date.now()-o,responseHeaders:e.response?.headers,responseBody:e.response?.data,error:e.message}),e}}async function p(e){return d(e.skipUnauthorizedRecovery?a:n,function(e){let{skipUnauthorizedRecovery:t,...r}=e;return r}(e))}let h=async e=>p({...e,skipUnauthorizedRecovery:!0});function f(){return null!==o}return{configureClientRuntime:function(t){let r,i=(r=function(e){let t=sf(e);if(0===t.length)return;let r=new Map;for(let[e,n]of t)r.set(e.toLowerCase(),n);return Object.fromEntries(Array.from(r.entries()).sort(([e],[t])=>e.localeCompare(t)))}(t.headers),JSON.stringify({...void 0!==t.baseURL?{baseURL:t.baseURL}:{},...void 0!==t.timeout?{timeout:t.timeout}:{},...void 0!==r?{headers:r}:{}}));if("{}"!==i){if(null!==o){if(o===i)return;let t=`${e} already configured. Existing: ${o}. New: ${i}.`;if("production"===sh())return void console.warn(t);throw Error(t)}for(let e of[n,a])void 0!==t.baseURL&&(e.defaults.baseURL=t.baseURL),void 0!==t.timeout&&(e.defaults.timeout=t.timeout),void 0!==t.headers&&function(e,t){let r=e.defaults.headers,n=r.common,a=aU.from(n);for(let[e,r]of sf(t))a.set(e,r);r.common=a.toJSON(),e.defaults.headers=r}(e,t.headers);o=i}},configureAccessTokenResolverRuntime:function(e){s=e},configureUnauthorizedHandlerRuntime:function(e){if(l=e,null===e){null!==i&&(n.interceptors.response.eject(i),i=null),u=null;return}null===i&&(i=n.interceptors.response.use(e=>e,async e=>{let t=e.config;if(e.response?.status!==401||null===l||void 0===t||t._apiRetried)return Promise.reject(e);if(null===u){let t=l;if(null===t)return Promise.reject(e);u=Promise.resolve().then(()=>t(e,{requestWithoutUnauthorizedRecovery:h})).finally(()=>{u=null})}try{if(!await u)return Promise.reject(e);t._apiRetried=!0;let r=aU.from(t.headers);return r.delete("Authorization"),t.headers=r,d(n,t)}catch{return Promise.reject(e)}}))},configureHeadersResolverRuntime:function(e){c=e},isClientConfiguredRuntime:f,assertClientConfiguredRuntime:function(){if(!f())throw Error(`${e} is not configured. Call ${t}(...) before making requests.`)},resetClientForTestsRuntime:function(){let e;if("test"!==(e=sh())&&"testing"!==e)throw Error("resetApiClientForTests() can only be called in test environment.");n=sd(r),a=sd(r),o=null,i=null,s=null,l=null,u=null,c=null},requestRuntime:p,requestWithoutUnauthorizedRecovery:h,addResponseInterceptorRuntime:function(e,t){return n.interceptors.response.use(e,t)}}}({clientName:"API node client",configureFunctionName:"configureNodeApiClient",defaultBaseURL:"https://api.vizbl.com"}),sk=sw.configureClientRuntime;sw.configureAccessTokenResolverRuntime,sw.configureHeadersResolverRuntime,sw.configureUnauthorizedHandlerRuntime,sw.isClientConfiguredRuntime,sw.assertClientConfiguredRuntime,sw.resetClientForTestsRuntime;let sx=sw.requestRuntime;async function sS(e){return sx(e)}async function sC(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/nano-banana/guest/try-on/generate/sync",data:e,...n})).data}async function sP(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/nano-banana/guest/upload/request",params:e,...n})).data}async function sE(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/widget/activate-try-on",params:e,...n})).data}async function sT(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/try-on/upload/request",params:e,...n})).data}async function sR(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/try-on/generate",data:e,...n})).data}async function sO(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/widget/token",data:e,...n})).data}async function sj(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/widget/events",data:e,...n})).data}async function sz(e={}){let{client:t=sS,...r}=e;return(await t({method:"POST",url:"/session/guest",...r})).data}function s_(e){return e?.trim()||void 0}sw.requestWithoutUnauthorizedRecovery,sw.addResponseInterceptorRuntime;let sN="x-guest-token";class sA{createGuestSession;guestTokenPromise=null;constructor({createGuestSession:e=sL}={}){this.createGuestSession=e}async requestUploadUrls(e){return this.withGuestAuth(t=>sP({count:e},{headers:t}))}async generateTryOn(e,t={}){return this.withGuestAuth(r=>sC(e,{headers:r,responseType:"blob",timeout:t.timeout??9e4}))}sendWidgetEvent(){}async withGuestAuth(e){let t=this.getGuestToken(),r=await t;try{return await e({[sN]:r})}catch(r){var n;if(n=r,n?.response?.status!==401&&n?.status!==401)throw r;return e({[sN]:await this.replaceGuestToken(t)})}}getGuestToken(){return this.guestTokenPromise||(this.guestTokenPromise=this.requestGuestToken(),this.forgetTokenOnFailure(this.guestTokenPromise)),this.guestTokenPromise}replaceGuestToken(e){return(this.guestTokenPromise===e||null===this.guestTokenPromise)&&(this.guestTokenPromise=this.requestGuestToken(),this.forgetTokenOnFailure(this.guestTokenPromise)),this.guestTokenPromise}async requestGuestToken(){var e,t=await this.createGuestSession();let r="string"==typeof(e=t?.token)?e.trim():"";if(!r)throw Error("AI try-on guest session response is missing a token");return r}forgetTokenOnFailure(e){e.catch(()=>{this.guestTokenPromise===e&&(this.guestTokenPromise=null)})}}function sL(e){return sz(e)}class sI{apiConfig;issueWidgetToken;now;refreshThresholdMs;refreshPromise=null;session;constructor(e,t={}){this.apiConfig=t.apiConfig,this.issueWidgetToken=t.issueWidgetToken??sO,this.now=t.now??Date.now,this.refreshThresholdMs=t.refreshThresholdMs??3e4,this.session=this.toSnapshot(e)}get snapshot(){return{...this.session}}async getTokenForRequest(){return this.isCloseToExpiry()?(await this.refresh()).token:this.session.token}async getApiConfigForRequest(e){let t=await this.getTokenForRequest();return{...this.apiConfig,...e,headers:{...this.apiConfig?.headers,...e?.headers,"x-widget-session-token":t}}}isCloseToExpiry(){return this.session.expiresAt-this.now()<=this.refreshThresholdMs}refresh(){return this.refreshPromise||(this.refreshPromise=this.issueWidgetToken({token:this.session.token},this.apiConfig).then(e=>(this.session=this.toSnapshot(e),this.snapshot)).finally(()=>{this.refreshPromise=null})),this.refreshPromise}toSnapshot(e){return{token:e.token,sid:e.sid,expiresAt:this.now()+1e3*e.expiresIn}}}let sM=(e,t)=>sj(e,t),sF=e=>sE.length>0?sE(void 0,e):sE(e);class sD{activateTryOn;apiConfig;createWidgetEvent;sessionPromise=null;constructor({activateTryOn:e=sF,createWidgetEvent:t=sM,apiKey:r}={}){this.activateTryOn=e,this.createWidgetEvent=t,this.apiConfig={headers:function(e){let t=e?.trim();return t?{"x-api-key":t}:{}}(r)}}async requestUploadUrls(e){return sT({count:e},await this.getApiConfigForRequest())}async generateTryOn(e,t={}){return sR(e,await this.getApiConfigForRequest({responseType:"blob",timeout:t.timeout??9e4}))}async getApiConfigForRequest(e={}){return(await this.getSession()).getApiConfigForRequest({...e,headers:{...this.apiConfig.headers,...e.headers}})}sendWidgetEvent(e){this.getApiConfigForRequest().then(t=>this.createWidgetEvent({event:e,timestamp:new Date().toISOString()},t)).catch(()=>{})}getSession(){if(this.sessionPromise)return this.sessionPromise;let e=this.activateTryOn(this.apiConfig).then(e=>{var t,r;let n=(t=function(e){let t=e?.widgetSession;if(null===t||"object"!=typeof t)throw Error("AI try-on activation response is missing Widget Session");return{expiresIn:Number(t.expiresIn),sid:sB(t.sid),token:sB(t.token)}}(e),r={apiConfig:this.apiConfig},t?.token&&t.sid&&Number.isFinite(t.expiresIn)?new sI(t,r):null);if(!n)throw Error("AI try-on activation response is missing Widget Session");return n});return this.sessionPromise=e,e.catch(()=>{this.sessionPromise===e&&(this.sessionPromise=null)}),e}}function sB(e){return"string"==typeof e?e.trim():""}function s$({apiKey:e}={}){let t=s_(e);return t?new sD({apiKey:t}):new sA(void 0)}let sV={en:{ns1:{back:"Back",badge:"Try it on",confirmBadge:"Almost there",close:"Close",comparisonSlider:"Comparison slider",comparisonTitle:"Compare before and after",confirmChangePhoto:"Change photo",confirmGenerate:"Generate my look",confirmSubtitle:"Hit Generate and see how it looks on you",confirmTitle:"Ready to try it on?",dialogDescription:"AI try-on widget dialog",dialogTitle:"AI Try-On",download:"Download",errorBadge:"Little error",errorDifferentPhoto:"Change photo",errorGuidance:"Try again with a different photo. Make sure it shows your full body.",errorRetry:"Try again",errorSubtitle:"It happens — let's try again",errorTitle:"Something went wrong",historyPhoto:"Previous photo",historySubtitle:"Use a previous photo or upload something new",historyTitle:"Your photos",historyUploadNew:"Upload new",bagIntroBadCropped:"Cropped photo",bagIntroBadHandsFull:"Both hands already full",bagIntroGoodAngle:"Slight angle",bagIntroGoodFullBody:"Full body, one hand free",bagIntroSubtitle:"A full-body shot with one shoulder or hand free",bagIntroTitle:"Strike a carrying pose",eyewearIntroBadFaceTurned:"Face turned away",eyewearIntroBadWearingGlasses:"Already wearing glasses",eyewearIntroGoodFacingCamera:"Facing camera, eyes visible",eyewearIntroGoodHairBack:"Hair back, good light",eyewearIntroSubtitle:"Straight-on photo works best.",eyewearIntroTitle:"Glasses go right on your face",fullBodyIntroBadCropped:"Cropped at the waist",fullBodyIntroBadSitting:"Sitting hides the fit",fullBodyIntroGoodAngle:"Slight angle, body visible",fullBodyIntroGoodHeadToToe:"Head to toe in frame",fullBodyIntroSubtitle:"Full-body photos work best — here's what to look for",fullBodyIntroTitle:"Better photo, better result",footwearIntroBadFeetHidden:"Feet hidden",footwearIntroBadOneFootCropped:"One foot out of frame",footwearIntroGoodKneesDown:"Knees-down on flat ground",footwearIntroGoodStanding:"Standing, both feet visible",footwearIntroSubtitle:"Both feet in the frame, standing on a plain floor.",footwearIntroTitle:"Down to your feet",headwearIntroBadCroppedHead:"Head cropped out",headwearIntroBadWearingHat:"Already wearing a hat",headwearIntroGoodAngle:"Slight angle, head in frame",headwearIntroGoodFront:"Head and shoulders, front on",headwearIntroSubtitle:"A head-and-shoulders shot with your whole head in view",headwearIntroTitle:"Heads up",introCta:"Got it, continue",introBadge:"Quick tip",myFits:"My fits",lowerBodyIntroBadCoveredWaist:"Top covers the waistline",lowerBodyIntroBadSitting:"Sitting bends the legs",lowerBodyIntroGoodFullBody:"Full body works too",lowerBodyIntroGoodWaistToFeet:"Waist to feet, standing",lowerBodyIntroSubtitle:"Stand up and show us everything from waist to feet.",lowerBodyIntroTitle:"It’s all about the legs",neckIntroBadHairCovering:"Hair covers neck and ears",neckIntroBadHighCollar:"High collar hides the neck",neckIntroGoodHairUp:"Hair up, neck visible",neckIntroGoodOpenNeckline:"Open neckline, chest up",neckIntroSubtitle:"Jewelry needs open skin — hair back, neckline clear.",neckIntroTitle:"Neck and ears, front and center",processingBadge:"Wait a second",processingProgress:"Reading your photo…",processingSubtitle:"Hang tight while we dress you up",processingTitle:"Working our magic…",reset:"Reset",resultBadge:"That’s the one",resultCompare:"Change photo",resultOpenComparison:"View before / after",resultProductLink:"View product",resultReset:"Save",resultShare:"Share",resultTitle:"Here's how it looks on you",resultTryAnother:"Add To Cart – $430",share:"Share",startHistory:"View previous results",startTitle:"Want to see it on you?",startUpload:"Choose your photo",termsJoiner:"&",termsLink:"Terms",termsPrefix:"By using this service, your agree to",privacyLink:"privacy Policy",upperBodyIntroBadArmsCrossed:"Arms crossed hide the fit",upperBodyIntroBadObjectBlockingTorso:"Object blocks the torso",upperBodyIntroGoodAngle:"Slight angle",upperBodyIntroGoodFacingCamera:"Hips up, facing camera",upperBodyIntroSubtitle:"From the hips up, arms relaxed — that’s all this one needs.",upperBodyIntroTitle:"Let’s see your top half",waistIntroBadOversizedTop:"Oversized top hides the waist",waistIntroBadSitting:"Sitting folds the waistline",waistIntroGoodFullBody:"Full body, waistline visible",waistIntroGoodTopTucked:"Top tucked in, waist visible",waistIntroSubtitle:"Tuck in your top so we can see exactly where the belt sits.",waistIntroTitle:"Show your waistline",wristIntroBadClenchedFist:"Clenched fist",wristIntroBadCovered:"Sleeve covers the wrist",wristIntroGoodCloseUp:"Wrist close-up, hand relaxed",wristIntroGoodSleeveBack:"Sleeve pulled back",wristIntroSubtitle:"A close-up of your wrist does the trick.",wristIntroTitle:"Give us a hand"}},ru:{ns1:{back:"Назад",badge:"Примерить",confirmBadge:"Почти готово",close:"Закрыть",comparisonSlider:"Слайдер сравнения",comparisonTitle:"Сравнение до и после",confirmChangePhoto:"Изменить фото",confirmGenerate:"Сгенерировать образ",confirmSubtitle:"Нажмите \xabСгенерировать\xbb, чтобы увидеть, как это выглядит на вас",confirmTitle:"Готовы примерить?",dialogDescription:"Диалог виджета AI-примерки",dialogTitle:"AI-примерка",download:"Скачать",errorBadge:"Небольшая ошибка",errorDifferentPhoto:"Изменить фото",errorGuidance:"Попробуйте другое фото. Убедитесь, что вы видны в полный рост.",errorRetry:"Попробовать снова",errorSubtitle:"Так бывает — попробуем еще раз",errorTitle:"Что-то пошло не так",historyPhoto:"Предыдущее фото",historySubtitle:"Используйте предыдущее фото или загрузите новое",historyTitle:"Ваши фото",historyUploadNew:"Загрузить новое",bagIntroBadCropped:"Слишком крупный план",bagIntroBadHandsFull:"Обе руки заняты",bagIntroGoodAngle:"По пояс, под небольшим углом",bagIntroGoodFullBody:"В полный рост, одна рука свободна",bagIntroSubtitle:"В кадре должен быть виден торс. Оставьте свободной одну руку или плечо.",bagIntroTitle:"Загрузите фото по пояс или в полный рост",eyewearIntroBadFaceTurned:"Лицо отвернуто от камеры",eyewearIntroBadWearingGlasses:"Очки уже надеты",eyewearIntroGoodFacingCamera:"Лицом к камере, глаза видны",eyewearIntroGoodHairBack:"Селфи под небольшим углом",eyewearIntroSubtitle:"В кадре должны быть хорошо видны лицо и глаза.",eyewearIntroTitle:"Загрузите фото лица",fullBodyIntroBadCropped:"Фото по пояс",fullBodyIntroBadSitting:"Сидячая поза",fullBodyIntroGoodAngle:"Селфи под небольшим углом",fullBodyIntroGoodHeadToToe:"Всё тело в кадре",fullBodyIntroSubtitle:"В кадре должно быть видно вас целиком.",fullBodyIntroTitle:"Загрузите фото в полный рост",footwearIntroBadFeetHidden:"Стопы не видны",footwearIntroBadOneFootCropped:"Одна стопа не попала в кадр",footwearIntroGoodKneesDown:"От колен до стоп, на ровном полу",footwearIntroGoodStanding:"В полный рост, обе стопы в кадре",footwearIntroSubtitle:"Встаньте на ровный пол. Обе стопы должны быть в кадре.",footwearIntroTitle:"Загрузите фото, где видны обе стопы",headwearIntroBadCroppedHead:"Часть головы не попала в кадр",headwearIntroBadWearingHat:"На фото уже есть головной убор",headwearIntroGoodAngle:"Селфи под небольшим углом",headwearIntroGoodFront:"Анфас, голова и плечи в кадре",headwearIntroSubtitle:"В кадре должны быть видны голова и плечи целиком.",headwearIntroTitle:"Загрузите фото головы и плеч",introCta:"Продолжить",introBadge:"Совет",myFits:"My fits",lowerBodyIntroBadCoveredWaist:"Свободная одежда скрывает линию талии",lowerBodyIntroBadSitting:"В сидячей позе ноги согнуты",lowerBodyIntroGoodFullBody:"Фото в полный рост",lowerBodyIntroGoodWaistToFeet:"От пояса до стоп, стоя",lowerBodyIntroSubtitle:"В кадре должны быть видны ноги целиком.",lowerBodyIntroTitle:"Загрузите фото от пояса до стоп",neckIntroBadHairCovering:"Волосы закрывают шею и уши",neckIntroBadHighCollar:"Одежда закрывает шею",neckIntroGoodHairUp:"Лицом к камере, волосы убраны",neckIntroGoodOpenNeckline:"Селфи под небольшим углом",neckIntroSubtitle:"В кадре должны быть видны шея и уши.",neckIntroTitle:"Загрузите фото головы и плеч",processingBadge:"Секунду",processingProgress:"Считываем ваше фото…",processingSubtitle:"Подождите, пока мы примеряем образ",processingTitle:"Творим магию…",reset:"Сбросить",resultBadge:"То, что нужно",resultCompare:"Изменить фото",resultOpenComparison:"До / после",resultProductLink:"Открыть товар",resultReset:"Сохранить",resultShare:"Поделиться",resultTitle:"Вот как это выглядит на вас",resultTryAnother:"Add To Cart – $430",share:"Поделиться",startHistory:"Смотреть прошлые результаты",startTitle:"Хотите увидеть это на себе?",startUpload:"Выбрать фото",termsJoiner:"и",termsLink:"Условиями",termsPrefix:"Используя сервис, вы соглашаетесь с",privacyLink:"Политикой конфиденциальности",upperBodyIntroBadArmsCrossed:"Скрещённые руки закрывают торс",upperBodyIntroBadObjectBlockingTorso:"Предмет в руках закрывает торс",upperBodyIntroGoodAngle:"Селфи под небольшим углом",upperBodyIntroGoodFacingCamera:"По пояс, лицом к камере",upperBodyIntroSubtitle:"В кадре должны быть видны торс и расслабленные руки.",upperBodyIntroTitle:"Загрузите фото по пояс",waistIntroBadOversizedTop:"Одежда закрывает линию талии",waistIntroBadSitting:"В сидячей позе линия талии искажается",waistIntroGoodFullBody:"В полный рост, талия видна",waistIntroGoodTopTucked:"По пояс, талия видна",waistIntroSubtitle:"Линия талии должна быть открыта и хорошо видна.",waistIntroTitle:"Загрузите фото, где видна талия",wristIntroBadClenchedFist:"Сжатый кулак исказит результат",wristIntroBadCovered:"Одежда закрывает запястье",wristIntroGoodCloseUp:"Расслабленная кисть",wristIntroGoodSleeveBack:"Запястье открыто",wristIntroSubtitle:"В кадре должны быть видны кисть и запястье.",wristIntroTitle:"Загрузите фото руки"}}},sU=/initial-value:([^;\n]+);/i,sH=(p=(R=oK("./src/style.css?inline").A).replace(/:root\s*,\s*:host|:root/g,":host"),(h=Array.from(R.matchAll(/@property\s+(--[^{\s]+)\s*\{([^}]*)\}/g)).map(([,e,t])=>{let r=t.match(sU);if(!r)return null;let n=r[1].trim();return` ${e}: ${n};`}).filter(e=>null!==e).join("\n"))?`:host {
|
|
5481
|
+
`,""]);let s=i.toString()},"../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);n&&i[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),r&&(c[2]&&(c[1]="@media ".concat(c[2]," {").concat(c[1],"}")),c[2]=r),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.7.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"(e){e.exports=function(e){return e[1]}}},oq={};function oK(e){var t=oq[e];if(void 0!==t)return t.exports;var r=oq[e]={id:e,exports:{}};return oW[e](r,r.exports,oK),r.exports}function oG(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function oX(...e){return t=>{let r=!1,n=e.map(e=>{let n=oG(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():oG(e[t],null)}}}}oK.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return oK.d(t,{a:t}),t},oK.d=(e,t)=>{for(var r in t)oK.o(t,r)&&!oK.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},oK.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var oY=Symbol.for("react.lazy"),oQ=L[" use ".trim().toString()];function oZ(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===oY&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var oJ=((g=A.forwardRef((e,t)=>{let{children:r,...n}=e;if(oZ(r)&&"function"==typeof oQ&&(r=oQ(r._payload)),A.isValidElement(r)){var a;let e,o,i=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==A.Fragment&&(s.ref=t?oX(t,i):i),A.cloneElement(r,s)}return A.Children.count(r)>1?A.Children.only(null):null})).displayName="Slot.SlotClone",u=g,(c=A.forwardRef((e,t)=>{let{children:r,...n}=e;oZ(r)&&"function"==typeof oQ&&(r=oQ(r._payload));let a=A.Children.toArray(r),o=a.find(o1);if(o){let e=o.props.children,r=a.map(t=>t!==o?t:A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null);return(0,_.jsx)(u,{...n,ref:t,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,_.jsx)(u,{...n,ref:t,children:r})})).displayName="Slot.Slot",c),o0=Symbol("radix.slottable");function o1(e){return A.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o0}function o2(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}let o3=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),o5=[],o9=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],a=r.nextPart.get(n);if(a){let r=o9(e,t+1,a);if(r)return r}let o=r.validators;if(null===o)return;let i=0===t?e.join("-"):e.slice(t).join("-"),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(i))return t.classGroupId}},o4=(e,t)=>{let r=o3();for(let n in e)o6(e[n],r,n,t);return r},o6=(e,t,r,n)=>{let a=e.length;for(let o=0;o<a;o++)o8(e[o],t,r,n)},o8=(e,t,r,n)=>{"string"==typeof e?o7(e,t,r):"function"==typeof e?ie(e,t,r,n):it(e,t,r,n)},o7=(e,t,r)=>{(""===e?t:ir(t,e)).classGroupId=r},ie=(e,t,r,n)=>{ia(e)?o6(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},it=(e,t,r,n)=>{let a=Object.entries(e),o=a.length;for(let e=0;e<o;e++){let[o,i]=a[e];o6(i,ir(t,o),r,n)}},ir=(e,t)=>{let r=e,n=t.split("-"),a=n.length;for(let e=0;e<a;e++){let t=n[e],a=r.nextPart.get(t);a||(a=o3(),r.nextPart.set(t,a)),r=a}return r},ia=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,io=[],ii=(e,t,r,n,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:a}),is=/\s+/,il=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=il(e[n]))&&(r&&(r+=" "),r+=t);return r},iu=[],ic=e=>{let t=t=>t[e]||iu;return t.isThemeGetter=!0,t},id=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ip=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ih=/^\d+\/\d+$/,ig=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,im=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,iv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,iy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ib=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,iw=e=>ih.test(e),ik=e=>!!e&&!Number.isNaN(Number(e)),ix=e=>!!e&&Number.isInteger(Number(e)),iS=e=>e.endsWith("%")&&ik(e.slice(0,-1)),iC=e=>ig.test(e),iP=()=>!0,iE=e=>im.test(e)&&!iv.test(e),iT=()=>!1,iR=e=>iy.test(e),iO=e=>ib.test(e),ij=e=>!iN(e)&&!iF(e),iz=e=>iW(e,iX,iT),iN=e=>id.test(e),i_=e=>iW(e,iY,iE),iA=e=>iW(e,iQ,ik),iL=e=>iW(e,iK,iT),iI=e=>iW(e,iG,iO),iM=e=>iW(e,iJ,iR),iF=e=>ip.test(e),iD=e=>iq(e,iY),iB=e=>iq(e,iZ),i$=e=>iq(e,iK),iV=e=>iq(e,iX),iU=e=>iq(e,iG),iH=e=>iq(e,iJ,!0),iW=(e,t,r)=>{let n=id.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},iq=(e,t,r=!1)=>{let n=ip.exec(e);return!!n&&(n[1]?t(n[1]):r)},iK=e=>"position"===e||"percentage"===e,iG=e=>"image"===e||"url"===e,iX=e=>"length"===e||"size"===e||"bg-size"===e,iY=e=>"length"===e,iQ=e=>"number"===e,iZ=e=>"family-name"===e,iJ=e=>"shadow"===e,i0=((e,...t)=>{let r,n,a,o,i=e=>{let t=n(e);if(t)return t;let o=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o}=t,i=[],s=e.trim().split(is),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!h,g=n(f?p.substring(0,h):p);if(!g){if(!f||!(g=n(p))){l=t+(l.length>0?" "+l:l);continue}f=!1}let m=0===c.length?"":1===c.length?c[0]:o(c).join(":"),v=d?m+"!":m,y=v+g;if(i.indexOf(y)>-1)continue;i.push(y);let b=a(g,f);for(let e=0;e<b.length;++e){let t=b[e];i.push(v+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return a(e,o),o};return o=s=>{var l;let u;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),a=(a,o)=>{r[a]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(a(e,t),t):void 0},set(e,t){e in r?r[e]=t:a(e,t)}}})((l=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,a=0,o=0,i=e.length;for(let s=0;s<i;s++){let i=e[s];if(0===n&&0===a){if(":"===i){r.push(e.slice(o,s)),o=s+1;continue}if("/"===i){t=s;continue}}"["===i?n++:"]"===i?n--:"("===i?a++:")"===i&&a--}let s=0===r.length?e:e.slice(o),l=s,u=!1;return s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0),ii(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):ii(io,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(l),sortModifiers:(u=new Map,l.orderSensitiveModifiers.forEach((e,t)=>{u.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let a=e[n],o="["===a[0],i=u.has(a);o||i?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(a)):r.push(a)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return o4(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,a;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(a=t.slice(0,n))?"arbitrary.."+a:void 0)}let n=e.split("-"),a=+(""===n[0]&&n.length>1);return o9(n,a,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],a=r[e];if(t){if(a){let e=Array(a.length+t.length);for(let t=0;t<a.length;t++)e[t]=a[t];for(let r=0;r<t.length;r++)e[a.length+r]=t[r];return e}return t}return a||o5}return r[e]||o5}}})(l)}).cache.get,a=r.cache.set,o=i,i(s)},(...e)=>o(((...e)=>{let t,r,n=0,a="";for(;n<e.length;)(t=e[n++])&&(r=il(t))&&(a&&(a+=" "),a+=r);return a})(...e))})(()=>{let e=ic("color"),t=ic("font"),r=ic("text"),n=ic("font-weight"),a=ic("tracking"),o=ic("leading"),i=ic("breakpoint"),s=ic("container"),l=ic("spacing"),u=ic("radius"),c=ic("shadow"),d=ic("inset-shadow"),p=ic("text-shadow"),h=ic("drop-shadow"),f=ic("blur"),g=ic("perspective"),m=ic("aspect"),v=ic("ease"),y=ic("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),iF,iN],x=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],C=()=>[iF,iN,l],P=()=>[iw,"full","auto",...C()],E=()=>[ix,"none","subgrid",iF,iN],T=()=>["auto",{span:["full",ix,iF,iN]},ix,iF,iN],R=()=>[ix,"auto",iF,iN],O=()=>["auto","min","max","fr",iF,iN],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],z=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...C()],_=()=>[iw,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],A=()=>[e,iF,iN],L=()=>[...w(),i$,iL,{position:[iF,iN]}],I=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",iV,iz,{size:[iF,iN]}],F=()=>[iS,iD,i_],D=()=>["","none","full",u,iF,iN],B=()=>["",ik,iD,i_],$=()=>["solid","dashed","dotted","double"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],U=()=>[ik,iS,i$,iL],H=()=>["","none",f,iF,iN],W=()=>["none",ik,iF,iN],q=()=>["none",ik,iF,iN],K=()=>[ik,iF,iN],G=()=>[iw,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[iC],breakpoint:[iC],color:[iP],container:[iC],"drop-shadow":[iC],ease:["in","out","in-out"],font:[ij],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[iC],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[iC],shadow:[iC],spacing:["px",ik],text:[iC],"text-shadow":[iC],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",iw,iN,iF,m]}],container:["container"],columns:[{columns:[ik,iN,iF,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{start:P()}],end:[{end:P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[ix,"auto",iF,iN]}],basis:[{basis:[iw,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ik,iw,"auto","initial","none",iN]}],grow:[{grow:["",ik,iF,iN]}],shrink:[{shrink:["",ik,iF,iN]}],order:[{order:[ix,"first","last","none",iF,iN]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:T()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:T()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...z(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],w:[{w:[s,"screen",..._()]}],"min-w":[{"min-w":[s,"screen","none",..._()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},..._()]}],h:[{h:["screen","lh",..._()]}],"min-h":[{"min-h":["screen","lh","none",..._()]}],"max-h":[{"max-h":["screen","lh",..._()]}],"font-size":[{text:["base",r,iD,i_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,iF,iA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",iS,iN]}],"font-family":[{font:[iB,iN,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,iF,iN]}],"line-clamp":[{"line-clamp":[ik,"none",iF,iA]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",iF,iN]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",iF,iN]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:[ik,"from-font","auto",iF,i_]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[ik,"auto",iF,iN]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",iF,iN]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",iF,iN]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:I()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ix,iF,iN],radial:["",iF,iN],conic:[ix,iF,iN]},iU,iI]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$(),"hidden","none"]}],"divide-style":[{divide:[...$(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...$(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ik,iF,iN]}],"outline-w":[{outline:["",ik,iD,i_]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",c,iH,iM]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,iH,iM]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[ik,i_]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,iH,iM]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[ik,iF,iN]}],"mix-blend":[{"mix-blend":[...V(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":V()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ik]}],"mask-image-linear-from-pos":[{"mask-linear-from":U()}],"mask-image-linear-to-pos":[{"mask-linear-to":U()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":U()}],"mask-image-t-to-pos":[{"mask-t-to":U()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":U()}],"mask-image-r-to-pos":[{"mask-r-to":U()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":U()}],"mask-image-b-to-pos":[{"mask-b-to":U()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":U()}],"mask-image-l-to-pos":[{"mask-l-to":U()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":U()}],"mask-image-x-to-pos":[{"mask-x-to":U()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":U()}],"mask-image-y-to-pos":[{"mask-y-to":U()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[iF,iN]}],"mask-image-radial-from-pos":[{"mask-radial-from":U()}],"mask-image-radial-to-pos":[{"mask-radial-to":U()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[ik]}],"mask-image-conic-from-pos":[{"mask-conic-from":U()}],"mask-image-conic-to-pos":[{"mask-conic-to":U()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:I()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",iF,iN]}],filter:[{filter:["","none",iF,iN]}],blur:[{blur:H()}],brightness:[{brightness:[ik,iF,iN]}],contrast:[{contrast:[ik,iF,iN]}],"drop-shadow":[{"drop-shadow":["","none",h,iH,iM]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",ik,iF,iN]}],"hue-rotate":[{"hue-rotate":[ik,iF,iN]}],invert:[{invert:["",ik,iF,iN]}],saturate:[{saturate:[ik,iF,iN]}],sepia:[{sepia:["",ik,iF,iN]}],"backdrop-filter":[{"backdrop-filter":["","none",iF,iN]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[ik,iF,iN]}],"backdrop-contrast":[{"backdrop-contrast":[ik,iF,iN]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ik,iF,iN]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ik,iF,iN]}],"backdrop-invert":[{"backdrop-invert":["",ik,iF,iN]}],"backdrop-opacity":[{"backdrop-opacity":[ik,iF,iN]}],"backdrop-saturate":[{"backdrop-saturate":[ik,iF,iN]}],"backdrop-sepia":[{"backdrop-sepia":["",ik,iF,iN]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",iF,iN]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ik,"initial",iF,iN]}],ease:[{ease:["linear","initial",v,iF,iN]}],delay:[{delay:[ik,iF,iN]}],animate:[{animate:["none",y,iF,iN]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,iF,iN]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:K()}],"skew-x":[{"skew-x":K()}],"skew-y":[{"skew-y":K()}],transform:[{transform:[iF,iN,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:G()}],"translate-x":[{"translate-x":G()}],"translate-y":[{"translate-y":G()}],"translate-z":[{"translate-z":G()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",iF,iN]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",iF,iN]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[ik,iD,i_,iA]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function i1(...e){return i0(o2(e))}let i2=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i3=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o2(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,i=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let i=i2(t)||i2(n);return a[e][i]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o2(e,i,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...s}[t]):({...o,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)},i5=i3("cursor-pointer inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-xl transition-all disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg:not([class*=size-])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary--hover active:bg-primary--pressed disabled:bg-primary--disabled disabled:opacity-20",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary--hover active:bg-secondary--pressed disabled:bg-secondary--disabled disabled:opacity-20",outline:"border border-button-outline bg-transparent text-foreground hover:border-button-outline-hover active:bg-button-outline-pressed disabled:border-border-dark disabled:opacity-20",ghost:"hover:bg-accent hover:text-accent-foreground active:bg-accent--pressed",contrast:"bg-contrast text-contrast-foreground hover:bg-contrast--hover active:bg-contrast--pressed disabled:bg-contrast--disabled disabled:opacity-30"},size:{default:"h-9 px-3.5 typo-button-normal [&_svg]:size-5",sm:"h-8 px-3 typo-button-small [&_svg]:size-4",lg:"h-11 px-4 typo-button-big [&_svg]:size-6",icon:"size-9 rounded-full [&_svg]:size-5","icon-sm":"size-8 rounded-full [&_svg]:size-4","icon-lg":"size-11 rounded-full [&_svg]:size-6"}},defaultVariants:{variant:"default",size:"default"}});function i9({className:e,variant:t,size:r,asChild:n=!1,...a}){return(0,_.jsx)(n?oJ:"button",{"data-slot":"button",className:i1(i5({variant:t,size:r,className:e})),...a})}let i4=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},i6=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i8={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i7=(0,A.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:o,iconNode:i,...s},l)=>(0,A.createElement)("svg",{ref:l,...i8,width:t,height:t,stroke:e,strokeWidth:n?24*Number(r)/Number(t):r,className:i6("lucide",a),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(s)&&{"aria-hidden":"true"},...s},[...i.map(([e,t])=>(0,A.createElement)(e,t)),...Array.isArray(o)?o:[o]])),se=(T=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],(d=(0,A.forwardRef)(({className:e,...t},r)=>(0,A.createElement)(i7,{ref:r,iconNode:T,className:i6(`lucide-${i4("x").replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,"lucide-x",e),...t}))).displayName=i4("x"),d);function st({...e}){return(0,_.jsx)(tn,{"data-slot":"dialog",...e})}function sr({...e}){return(0,_.jsx)(tl,{"data-slot":"dialog-portal",...e})}function sn({className:e,...t}){return(0,_.jsx)(tc,{"data-slot":"dialog-overlay",className:i1("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function sa({className:e,children:t,contentInsideOverlay:r=!1,showCloseButton:n=!0,portalContainer:a,...o}){let i=(0,_.jsxs)(tf,{"data-slot":"dialog-content",className:i1("bg-background-containers data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-6 rounded-3xl border-0 p-6 shadow-[var(--shadow-login)] duration-200 outline-none sm:max-w-120 sm:p-10",e),...o,children:[t,n&&(0,_.jsxs)(tS,{"data-slot":"dialog-close",className:"focus-visible:ring-ring/30 absolute top-4 right-4 inline-flex size-6 cursor-pointer items-center justify-center rounded-full text-icons-light transition-colors hover:text-icons-normal focus-visible:text-icons-dark focus-visible:ring-2 focus-visible:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[(0,_.jsx)(se,{className:"size-6"}),(0,_.jsx)("span",{className:"sr-only",children:"Close"})]})]});return(0,_.jsx)(sr,{"data-slot":"dialog-portal",container:a,children:r?(0,_.jsx)(sn,{children:i}):(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(sn,{}),i]})})}function so({className:e,...t}){return(0,_.jsx)("div",{"data-slot":"dialog-header",className:i1("flex flex-col gap-2 text-left",e),...t})}function si({className:e,...t}){return(0,_.jsx)(tb,{"data-slot":"dialog-title",className:i1("typo-base-18 text-text-dark",e),...t})}function ss({className:e,...t}){return(0,_.jsx)(tk,{"data-slot":"dialog-description",className:i1("typo-base-16 text-text-light",e),...t})}let sl=(0,A.createContext)({theme:"system",setTheme:()=>null});function su({children:e,defaultTheme:t="system",storageKey:r="v-theme",root:n=window.document.documentElement,enableStorage:a=!1,...o}){let[i,s]=(0,A.useState)(()=>a&&localStorage.getItem(r)||t);return(0,A.useEffect)(()=>{if(n.classList.remove("light","dark"),"system"===i){let e=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";n.classList.add(e);return}n.classList.add(i)},[i,n]),(0,_.jsx)(sl,{...o,value:{theme:i,setTheme:e=>{a&&localStorage.setItem(r,e),s(e)}},children:e})}var sc=oK("../ui/src/styles/fonts.css?inline");function sd(e){return az.create({baseURL:e,timeout:3e4})}let sp=new Set(["common","delete","get","head","post","put","patch","options","purge","link","unlink"]);function sh(){return globalThis.process?.env?.NODE_ENV}function sf(e){if(void 0===e)return[];let t="function"==typeof e.toJSON?e.toJSON():e,r=[];return!function e(t,r){if(null!==t&&"object"==typeof t)for(let[n,a]of Object.entries(t)){if(null==a)continue;let t=n.toLowerCase();if("common"===t){e(a,r);continue}sp.has(t)||r.push([n,String(a)])}}(t,r),r}function sg(e){return!!("u">typeof FormData&&e instanceof FormData)||null!==e&&"object"==typeof e&&(e.constructor?.name==="FormData"||"function"==typeof e.getBoundary)}let sm=new Set(["authorization","cookie","set-cookie","x-xsrf-token"]);function sv(e){if(null==e)return;let t="function"==typeof e.toJSON?e.toJSON():e;if(null===t||"object"!=typeof t)return;let r={};for(let[e,n]of Object.entries(t))null!=n&&(r[e]=sm.has(e.toLowerCase())?"[redacted]":String(n));return r}function sy(e){if(null!=e){if("string"==typeof e)try{return JSON.parse(e)}catch{return e.length>2e3?`${e.slice(0,2e3)}… (${e.length} chars)`:e}return sg(e)?"[FormData]":e}}function sb(e){let t=(e.requestConfig.method??"GET").toUpperCase(),r=e.requestConfig.url??"",n=`[api:server] ${t} ${r} → ${e.status} (${e.durationMs}ms)`,a={requestId:e.requestId,...e.error?{error:e.error}:{},params:e.requestConfig.params,requestBody:sy(e.requestConfig.data),requestHeaders:sv(e.requestConfig.headers),responseHeaders:sv(e.responseHeaders),responseBody:sy(e.responseBody)};(e.status>=500||void 0!==e.error&&0===e.status?console.error:e.status>=400?console.warn:console.log)(n,a)}let sw=function({clientName:e,configureFunctionName:t,defaultBaseURL:r}){let n=sd(r),a=sd(r),o=null,i=null,s=null,l=null,u=null,c=null;async function d(e,t){let r=function(e,t){let r;if(void 0===t.data||sg(t.data))return t;let n=aU.from(t.headers);return n.has("Content-Type")||void 0!==(r=e.defaults.headers.common)&&aU.from(r).has("Content-Type")||n.set("Content-Type","application/json"),t.headers=n,t}(e,function(e){let t=aU.from(e.headers);if(null!==s){let e=s()?.trim();e&&!t.has("Authorization")&&t.set("Authorization",`Bearer ${e}`)}if(null!==c)for(let[r,n]of Object.entries(c({url:e.url,method:e.method})))n&&!t.has(r)&&t.set(r,n);return e.headers=t,e}({...t})),n=function(e){let t,r=aU.from(e.headers),n=r.get("x-request-id");if("string"==typeof n&&n.length>0)return n;let a=(t=globalThis.crypto,"function"==typeof t?.randomUUID?t.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`);return r.set("x-request-id",a),e.headers=r,a}(r),a=function(){if("u">typeof window)return!1;let e=sh(),t=globalThis.process;return t?.env?.DEBUG_API==="true"||"production"!==e&&"test"!==e&&"testing"!==e}(),o=a?Date.now():0;try{let t=await e.request(r);return a&&sb({requestConfig:r,requestId:n,status:t.status,durationMs:Date.now()-o,responseHeaders:t.headers,responseBody:t.data}),t}catch(e){throw a&&sb({requestConfig:r,requestId:n,status:e.response?.status??0,durationMs:Date.now()-o,responseHeaders:e.response?.headers,responseBody:e.response?.data,error:e.message}),e}}async function p(e){return d(e.skipUnauthorizedRecovery?a:n,function(e){let{skipUnauthorizedRecovery:t,...r}=e;return r}(e))}let h=async e=>p({...e,skipUnauthorizedRecovery:!0});function f(){return null!==o}return{configureClientRuntime:function(t){let r,i=(r=function(e){let t=sf(e);if(0===t.length)return;let r=new Map;for(let[e,n]of t)r.set(e.toLowerCase(),n);return Object.fromEntries(Array.from(r.entries()).sort(([e],[t])=>e.localeCompare(t)))}(t.headers),JSON.stringify({...void 0!==t.baseURL?{baseURL:t.baseURL}:{},...void 0!==t.timeout?{timeout:t.timeout}:{},...void 0!==r?{headers:r}:{}}));if("{}"!==i){if(null!==o){if(o===i)return;let t=`${e} already configured. Existing: ${o}. New: ${i}.`;if("production"===sh())return void console.warn(t);throw Error(t)}for(let e of[n,a])void 0!==t.baseURL&&(e.defaults.baseURL=t.baseURL),void 0!==t.timeout&&(e.defaults.timeout=t.timeout),void 0!==t.headers&&function(e,t){let r=e.defaults.headers,n=r.common,a=aU.from(n);for(let[e,r]of sf(t))a.set(e,r);r.common=a.toJSON(),e.defaults.headers=r}(e,t.headers);o=i}},configureAccessTokenResolverRuntime:function(e){s=e},configureUnauthorizedHandlerRuntime:function(e){if(l=e,null===e){null!==i&&(n.interceptors.response.eject(i),i=null),u=null;return}null===i&&(i=n.interceptors.response.use(e=>e,async e=>{let t=e.config;if(e.response?.status!==401||null===l||void 0===t||t._apiRetried)return Promise.reject(e);if(null===u){let t=l;if(null===t)return Promise.reject(e);u=Promise.resolve().then(()=>t(e,{requestWithoutUnauthorizedRecovery:h})).finally(()=>{u=null})}try{if(!await u)return Promise.reject(e);t._apiRetried=!0;let r=aU.from(t.headers);return r.delete("Authorization"),t.headers=r,d(n,t)}catch{return Promise.reject(e)}}))},configureHeadersResolverRuntime:function(e){c=e},isClientConfiguredRuntime:f,assertClientConfiguredRuntime:function(){if(!f())throw Error(`${e} is not configured. Call ${t}(...) before making requests.`)},resetClientForTestsRuntime:function(){let e;if("test"!==(e=sh())&&"testing"!==e)throw Error("resetApiClientForTests() can only be called in test environment.");n=sd(r),a=sd(r),o=null,i=null,s=null,l=null,u=null,c=null},requestRuntime:p,requestWithoutUnauthorizedRecovery:h,addResponseInterceptorRuntime:function(e,t){return n.interceptors.response.use(e,t)}}}({clientName:"API node client",configureFunctionName:"configureNodeApiClient",defaultBaseURL:"https://api.vizbl.com"}),sk=sw.configureClientRuntime;sw.configureAccessTokenResolverRuntime,sw.configureHeadersResolverRuntime,sw.configureUnauthorizedHandlerRuntime,sw.isClientConfiguredRuntime,sw.assertClientConfiguredRuntime,sw.resetClientForTestsRuntime;let sx=sw.requestRuntime;async function sS(e){return sx(e)}async function sC(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/nano-banana/guest/try-on/generate/sync",data:e,...n})).data}async function sP(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/nano-banana/guest/upload/request",params:e,...n})).data}async function sE(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/widget/activate-try-on",params:e,...n})).data}async function sT(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/try-on/upload/request",params:e,...n})).data}async function sR(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/try-on/generate",data:e,...n})).data}async function sO(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/widget/token",data:e,...n})).data}async function sj(e,t={}){let{client:r=sS,...n}=t;return(await r({method:"POST",url:"/public/widget/events",data:e,...n})).data}async function sz(e={}){let{client:t=sS,...r}=e;return(await t({method:"POST",url:"/session/guest",...r})).data}function sN(e){return e?.trim()||void 0}sw.requestWithoutUnauthorizedRecovery,sw.addResponseInterceptorRuntime;let s_="x-guest-token";class sA{createGuestSession;guestTokenPromise=null;constructor({createGuestSession:e=sL}={}){this.createGuestSession=e}async requestUploadUrls(e){return this.withGuestAuth(t=>sP({count:e},{headers:t}))}async generateTryOn(e,t={}){return this.withGuestAuth(r=>sC(e,{headers:r,responseType:"blob",timeout:t.timeout??9e4}))}sendWidgetEvent(){}async withGuestAuth(e){let t=this.getGuestToken(),r=await t;try{return await e({[s_]:r})}catch(r){var n;if(n=r,n?.response?.status!==401&&n?.status!==401)throw r;return e({[s_]:await this.replaceGuestToken(t)})}}getGuestToken(){return this.guestTokenPromise||(this.guestTokenPromise=this.requestGuestToken(),this.forgetTokenOnFailure(this.guestTokenPromise)),this.guestTokenPromise}replaceGuestToken(e){return(this.guestTokenPromise===e||null===this.guestTokenPromise)&&(this.guestTokenPromise=this.requestGuestToken(),this.forgetTokenOnFailure(this.guestTokenPromise)),this.guestTokenPromise}async requestGuestToken(){var e,t=await this.createGuestSession();let r="string"==typeof(e=t?.token)?e.trim():"";if(!r)throw Error("AI try-on guest session response is missing a token");return r}forgetTokenOnFailure(e){e.catch(()=>{this.guestTokenPromise===e&&(this.guestTokenPromise=null)})}}function sL(e){return sz(e)}class sI{apiConfig;issueWidgetToken;now;refreshThresholdMs;refreshPromise=null;session;constructor(e,t={}){this.apiConfig=t.apiConfig,this.issueWidgetToken=t.issueWidgetToken??sO,this.now=t.now??Date.now,this.refreshThresholdMs=t.refreshThresholdMs??3e4,this.session=this.toSnapshot(e)}get snapshot(){return{...this.session}}async getTokenForRequest(){return this.isCloseToExpiry()?(await this.refresh()).token:this.session.token}async getApiConfigForRequest(e){let t=await this.getTokenForRequest();return{...this.apiConfig,...e,headers:{...this.apiConfig?.headers,...e?.headers,"x-widget-session-token":t}}}isCloseToExpiry(){return this.session.expiresAt-this.now()<=this.refreshThresholdMs}refresh(){return this.refreshPromise||(this.refreshPromise=this.issueWidgetToken({token:this.session.token},this.apiConfig).then(e=>(this.session=this.toSnapshot(e),this.snapshot)).finally(()=>{this.refreshPromise=null})),this.refreshPromise}toSnapshot(e){return{token:e.token,sid:e.sid,expiresAt:this.now()+1e3*e.expiresIn}}}let sM=(e,t)=>sj(e,t),sF=e=>sE.length>0?sE(void 0,e):sE(e);class sD{activateTryOn;apiConfig;createWidgetEvent;sessionPromise=null;constructor({activateTryOn:e=sF,createWidgetEvent:t=sM,apiKey:r}={}){this.activateTryOn=e,this.createWidgetEvent=t,this.apiConfig={headers:function(e){let t=e?.trim();return t?{"x-api-key":t}:{}}(r)}}async requestUploadUrls(e){return sT({count:e},await this.getApiConfigForRequest())}async generateTryOn(e,t={}){return sR(e,await this.getApiConfigForRequest({responseType:"blob",timeout:t.timeout??9e4}))}async getApiConfigForRequest(e={}){return(await this.getSession()).getApiConfigForRequest({...e,headers:{...this.apiConfig.headers,...e.headers}})}sendWidgetEvent(e){this.getApiConfigForRequest().then(t=>this.createWidgetEvent({event:e,timestamp:new Date().toISOString()},t)).catch(()=>{})}getSession(){if(this.sessionPromise)return this.sessionPromise;let e=this.activateTryOn(this.apiConfig).then(e=>{var t,r;let n=(t=function(e){let t=e?.widgetSession;if(null===t||"object"!=typeof t)throw Error("AI try-on activation response is missing Widget Session");return{expiresIn:Number(t.expiresIn),sid:sB(t.sid),token:sB(t.token)}}(e),r={apiConfig:this.apiConfig},t?.token&&t.sid&&Number.isFinite(t.expiresIn)?new sI(t,r):null);if(!n)throw Error("AI try-on activation response is missing Widget Session");return n});return this.sessionPromise=e,e.catch(()=>{this.sessionPromise===e&&(this.sessionPromise=null)}),e}}function sB(e){return"string"==typeof e?e.trim():""}function s$({apiKey:e}={}){let t=sN(e);return t?new sD({apiKey:t}):new sA(void 0)}let sV={en:{ns1:{back:"Back",badge:"Try it on",confirmBadge:"Almost there",close:"Close",comparisonSlider:"Comparison slider",comparisonTitle:"Compare before and after",confirmChangePhoto:"Change photo",confirmGenerate:"Generate my look",confirmSubtitle:"Hit Generate and see how it looks on you",confirmTitle:"Ready to try it on?",dialogDescription:"AI try-on widget dialog",dialogTitle:"AI Try-On",download:"Download",errorBadge:"Little error",errorDifferentPhoto:"Change photo",errorGuidance:"Try again with a different photo. Make sure it shows your full body.",errorRetry:"Try again",errorSubtitle:"It happens — let's try again",errorTitle:"Something went wrong",historyPhoto:"Previous photo",historySubtitle:"Use a previous photo or upload something new",historyTitle:"Your photos",historyUploadNew:"Upload new",bagIntroBadCropped:"Cropped photo",bagIntroBadHandsFull:"Both hands already full",bagIntroGoodAngle:"Slight angle",bagIntroGoodFullBody:"Full body, one hand free",bagIntroSubtitle:"A full-body shot with one shoulder or hand free",bagIntroTitle:"Strike a carrying pose",eyewearIntroBadFaceTurned:"Face turned away",eyewearIntroBadWearingGlasses:"Already wearing glasses",eyewearIntroGoodFacingCamera:"Facing camera, eyes visible",eyewearIntroGoodHairBack:"Hair back, good light",eyewearIntroSubtitle:"Straight-on photo works best.",eyewearIntroTitle:"Glasses go right on your face",fullBodyIntroBadCropped:"Cropped at the waist",fullBodyIntroBadSitting:"Sitting hides the fit",fullBodyIntroGoodAngle:"Slight angle, body visible",fullBodyIntroGoodHeadToToe:"Head to toe in frame",fullBodyIntroSubtitle:"Full-body photos work best — here's what to look for",fullBodyIntroTitle:"Better photo, better result",footwearIntroBadFeetHidden:"Feet hidden",footwearIntroBadOneFootCropped:"One foot out of frame",footwearIntroGoodKneesDown:"Knees-down on flat ground",footwearIntroGoodStanding:"Standing, both feet visible",footwearIntroSubtitle:"Both feet in the frame, standing on a plain floor.",footwearIntroTitle:"Down to your feet",headwearIntroBadCroppedHead:"Head cropped out",headwearIntroBadWearingHat:"Already wearing a hat",headwearIntroGoodAngle:"Slight angle, head in frame",headwearIntroGoodFront:"Head and shoulders, front on",headwearIntroSubtitle:"A head-and-shoulders shot with your whole head in view",headwearIntroTitle:"Heads up",introCta:"Got it, continue",introBadge:"Quick tip",myFits:"My fits",lowerBodyIntroBadCoveredWaist:"Top covers the waistline",lowerBodyIntroBadSitting:"Sitting bends the legs",lowerBodyIntroGoodFullBody:"Full body works too",lowerBodyIntroGoodWaistToFeet:"Waist to feet, standing",lowerBodyIntroSubtitle:"Stand up and show us everything from waist to feet.",lowerBodyIntroTitle:"It’s all about the legs",neckIntroBadHairCovering:"Hair covers neck and ears",neckIntroBadHighCollar:"High collar hides the neck",neckIntroGoodHairUp:"Hair up, neck visible",neckIntroGoodOpenNeckline:"Open neckline, chest up",neckIntroSubtitle:"Jewelry needs open skin — hair back, neckline clear.",neckIntroTitle:"Neck and ears, front and center",processingBadge:"Wait a second",processingProgress:"Reading your photo…",processingSubtitle:"Hang tight while we dress you up",processingTitle:"Working our magic…",reset:"Reset",resultBadge:"That’s the one",resultCompare:"Change photo",resultOpenComparison:"View before / after",resultProductLink:"View product",resultReset:"Save",resultShare:"Share",resultTitle:"Here's how it looks on you",resultTryAnother:"Add To Cart",resultTryAnotherWithPrice:"Add To Cart – {{price}}",share:"Share",startHistory:"View previous results",startTitle:"Want to see it on you?",startUpload:"Choose your photo",termsJoiner:"&",termsLink:"Terms",termsPrefix:"By using this service, your agree to",privacyLink:"privacy Policy",upperBodyIntroBadArmsCrossed:"Arms crossed hide the fit",upperBodyIntroBadObjectBlockingTorso:"Object blocks the torso",upperBodyIntroGoodAngle:"Slight angle",upperBodyIntroGoodFacingCamera:"Hips up, facing camera",upperBodyIntroSubtitle:"From the hips up, arms relaxed — that’s all this one needs.",upperBodyIntroTitle:"Let’s see your top half",waistIntroBadOversizedTop:"Oversized top hides the waist",waistIntroBadSitting:"Sitting folds the waistline",waistIntroGoodFullBody:"Full body, waistline visible",waistIntroGoodTopTucked:"Top tucked in, waist visible",waistIntroSubtitle:"Tuck in your top so we can see exactly where the belt sits.",waistIntroTitle:"Show your waistline",wristIntroBadClenchedFist:"Clenched fist",wristIntroBadCovered:"Sleeve covers the wrist",wristIntroGoodCloseUp:"Wrist close-up, hand relaxed",wristIntroGoodSleeveBack:"Sleeve pulled back",wristIntroSubtitle:"A close-up of your wrist does the trick.",wristIntroTitle:"Give us a hand"}},ru:{ns1:{back:"Назад",badge:"Примерить",confirmBadge:"Почти готово",close:"Закрыть",comparisonSlider:"Слайдер сравнения",comparisonTitle:"Сравнение до и после",confirmChangePhoto:"Изменить фото",confirmGenerate:"Сгенерировать образ",confirmSubtitle:"Нажмите \xabСгенерировать\xbb, чтобы увидеть, как это выглядит на вас",confirmTitle:"Готовы примерить?",dialogDescription:"Диалог виджета AI-примерки",dialogTitle:"AI-примерка",download:"Скачать",errorBadge:"Небольшая ошибка",errorDifferentPhoto:"Изменить фото",errorGuidance:"Попробуйте другое фото. Убедитесь, что вы видны в полный рост.",errorRetry:"Попробовать снова",errorSubtitle:"Так бывает — попробуем еще раз",errorTitle:"Что-то пошло не так",historyPhoto:"Предыдущее фото",historySubtitle:"Используйте предыдущее фото или загрузите новое",historyTitle:"Ваши фото",historyUploadNew:"Загрузить новое",bagIntroBadCropped:"Слишком крупный план",bagIntroBadHandsFull:"Обе руки заняты",bagIntroGoodAngle:"По пояс, под небольшим углом",bagIntroGoodFullBody:"В полный рост, одна рука свободна",bagIntroSubtitle:"В кадре должен быть виден торс. Оставьте свободной одну руку или плечо.",bagIntroTitle:"Загрузите фото по пояс или в полный рост",eyewearIntroBadFaceTurned:"Лицо отвернуто от камеры",eyewearIntroBadWearingGlasses:"Очки уже надеты",eyewearIntroGoodFacingCamera:"Лицом к камере, глаза видны",eyewearIntroGoodHairBack:"Селфи под небольшим углом",eyewearIntroSubtitle:"В кадре должны быть хорошо видны лицо и глаза.",eyewearIntroTitle:"Загрузите фото лица",fullBodyIntroBadCropped:"Фото по пояс",fullBodyIntroBadSitting:"Сидячая поза",fullBodyIntroGoodAngle:"Селфи под небольшим углом",fullBodyIntroGoodHeadToToe:"Всё тело в кадре",fullBodyIntroSubtitle:"В кадре должно быть видно вас целиком.",fullBodyIntroTitle:"Загрузите фото в полный рост",footwearIntroBadFeetHidden:"Стопы не видны",footwearIntroBadOneFootCropped:"Одна стопа не попала в кадр",footwearIntroGoodKneesDown:"От колен до стоп, на ровном полу",footwearIntroGoodStanding:"В полный рост, обе стопы в кадре",footwearIntroSubtitle:"Встаньте на ровный пол. Обе стопы должны быть в кадре.",footwearIntroTitle:"Загрузите фото, где видны обе стопы",headwearIntroBadCroppedHead:"Часть головы не попала в кадр",headwearIntroBadWearingHat:"На фото уже есть головной убор",headwearIntroGoodAngle:"Селфи под небольшим углом",headwearIntroGoodFront:"Анфас, голова и плечи в кадре",headwearIntroSubtitle:"В кадре должны быть видны голова и плечи целиком.",headwearIntroTitle:"Загрузите фото головы и плеч",introCta:"Продолжить",introBadge:"Совет",myFits:"My fits",lowerBodyIntroBadCoveredWaist:"Свободная одежда скрывает линию талии",lowerBodyIntroBadSitting:"В сидячей позе ноги согнуты",lowerBodyIntroGoodFullBody:"Фото в полный рост",lowerBodyIntroGoodWaistToFeet:"От пояса до стоп, стоя",lowerBodyIntroSubtitle:"В кадре должны быть видны ноги целиком.",lowerBodyIntroTitle:"Загрузите фото от пояса до стоп",neckIntroBadHairCovering:"Волосы закрывают шею и уши",neckIntroBadHighCollar:"Одежда закрывает шею",neckIntroGoodHairUp:"Лицом к камере, волосы убраны",neckIntroGoodOpenNeckline:"Селфи под небольшим углом",neckIntroSubtitle:"В кадре должны быть видны шея и уши.",neckIntroTitle:"Загрузите фото головы и плеч",processingBadge:"Секунду",processingProgress:"Считываем ваше фото…",processingSubtitle:"Подождите, пока мы примеряем образ",processingTitle:"Творим магию…",reset:"Сбросить",resultBadge:"То, что нужно",resultCompare:"Изменить фото",resultOpenComparison:"До / после",resultProductLink:"Открыть товар",resultReset:"Сохранить",resultShare:"Поделиться",resultTitle:"Вот как это выглядит на вас",resultTryAnother:"Add To Cart",resultTryAnotherWithPrice:"Add To Cart – {{price}}",share:"Поделиться",startHistory:"Смотреть прошлые результаты",startTitle:"Хотите увидеть это на себе?",startUpload:"Выбрать фото",termsJoiner:"и",termsLink:"Условиями",termsPrefix:"Используя сервис, вы соглашаетесь с",privacyLink:"Политикой конфиденциальности",upperBodyIntroBadArmsCrossed:"Скрещённые руки закрывают торс",upperBodyIntroBadObjectBlockingTorso:"Предмет в руках закрывает торс",upperBodyIntroGoodAngle:"Селфи под небольшим углом",upperBodyIntroGoodFacingCamera:"По пояс, лицом к камере",upperBodyIntroSubtitle:"В кадре должны быть видны торс и расслабленные руки.",upperBodyIntroTitle:"Загрузите фото по пояс",waistIntroBadOversizedTop:"Одежда закрывает линию талии",waistIntroBadSitting:"В сидячей позе линия талии искажается",waistIntroGoodFullBody:"В полный рост, талия видна",waistIntroGoodTopTucked:"По пояс, талия видна",waistIntroSubtitle:"Линия талии должна быть открыта и хорошо видна.",waistIntroTitle:"Загрузите фото, где видна талия",wristIntroBadClenchedFist:"Сжатый кулак исказит результат",wristIntroBadCovered:"Одежда закрывает запястье",wristIntroGoodCloseUp:"Расслабленная кисть",wristIntroGoodSleeveBack:"Запястье открыто",wristIntroSubtitle:"В кадре должны быть видны кисть и запястье.",wristIntroTitle:"Загрузите фото руки"}}},sU=/initial-value:([^;\n]+);/i,sH=(p=(R=oK("./src/style.css?inline").A).replace(/:root\s*,\s*:host|:root/g,":host"),(h=Array.from(R.matchAll(/@property\s+(--[^{\s]+)\s*\{([^}]*)\}/g)).map(([,e,t])=>{let r=t.match(sU);if(!r)return null;let n=r[1].trim();return` ${e}: ${n};`}).filter(e=>null!==e).join("\n"))?`:host {
|
|
5478
5482
|
${h}
|
|
5479
5483
|
}
|
|
5480
5484
|
|
|
5481
|
-
${p}`:p),sW=["full-body","upper-body","lower-body","footwear","headwear","eyewear","neck","wrist","bag","waist"],sq=new Set(sW);function sK(e){return"string"==typeof e&&sq.has(e)}function sG(e,t="productType"){if(!sK(e)){let r="string"==typeof e&&e.length>0?` "${e}"`:"";throw Error(`AI try-on ${t} must be one of: ${sW.join(", ")}; received${r||" no value"}`)}}function sX(e){return(0,N.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8.37303 5.00342",fill:"none",...e,children:(0,N.jsx)("path",{d:"M1 1L4.18652 4.00342L7.37303 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function sY(e,t){-1===e.indexOf(t)&&e.push(t)}function sQ(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class sZ{constructor(){this.subscriptions=[]}add(e){return sY(this.subscriptions,e),()=>sQ(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let a=0;a<n;a++){let n=this.subscriptions[a];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let sJ={},s0=e=>e,s1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s2(e,t){let r=!1,n=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,i=s1.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,a=!1,o=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){i.has(t)&&(c.schedule(t),e()),l++,t(s)}let c={schedule:(e,t=!1,o=!1)=>{let s=o&&a?r:n;return t&&i.add(e),s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(s=e,a){o=!0;return}a=!0;let i=r;r=n,n=i,r.forEach(u),t,l=0,r.clear(),a=!1,o&&(o=!1,c.process(e))}};return c}(o,t?r:void 0),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:p,render:h,postRender:f}=i,g=()=>{let o=sJ.useManualTiming,i=o?a.timestamp:performance.now();r=!1,o||(a.delta=n?1e3/60:Math.max(Math.min(i-a.timestamp,40),1)),a.timestamp=i,a.isProcessing=!0,s.process(a),l.process(a),u.process(a),c.process(a),d.process(a),p.process(a),h.process(a),f.process(a),a.isProcessing=!1,r&&t&&(n=!1,e(g))};return{schedule:s1.reduce((t,o)=>{let s=i[o];return t[o]=(t,o=!1,i=!1)=>(!r&&(r=!0,n=!0,a.isProcessing||e(g)),s.schedule(t,o,i)),t},{}),cancel:e=>{for(let t=0;t<s1.length;t++)i[s1[t]].cancel(e)},state:a,steps:i}}let{schedule:s3,cancel:s5,state:s9,steps:s4}=s2("u">typeof requestAnimationFrame?requestAnimationFrame:s0,!0);function s6(){t=void 0}let s8={now:()=>(void 0===t&&s8.set(s9.isProcessing||sJ.useManualTiming?s9.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(s6)}},s7={current:void 0};class le{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=s8.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=s8.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new sZ);let r=this.events[e].add(t);return"change"===e?()=>{r(),s3.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s7.current&&s7.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=s8.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function lt(e,t){return new le(e,t)}let lr=(0,A.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ln(e){let t=(0,A.useRef)(null);return null===t.current&&(t.current=e()),t.current}function la(e){let t=ln(()=>lt(e)),{isStatic:r}=(0,A.useContext)(lr);if(r){let[,r]=(0,A.useState)(e);(0,A.useEffect)(()=>t.on("change",r),[])}return t}let lo=e=>!!(e&&e.getVelocity),li=()=>{},ls=()=>{},ll=(e,t)=>r=>t(e(r)),lu=(...e)=>e.reduce(ll),lc=(e,t,r)=>r>t?t:r<e?e:r,ld=e=>1e3*e,lp={layout:0,mainThread:0,waapi:0},lh=e=>t=>"string"==typeof t&&t.startsWith(e),lf=lh("--"),lg=lh("var(--"),lm=e=>!!lg(e)&&lv.test(e.split("/*")[0].trim()),lv=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ly(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let lb={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},lw={...lb,transform:e=>lc(0,1,e)},lk={...lb,default:1},lx=e=>Math.round(1e5*e)/1e5,lS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,lC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,lP=(e,t)=>r=>!!("string"==typeof r&&lC.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),lE=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[a,o,i,s]=n.match(lS);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(i),alpha:void 0!==s?parseFloat(s):1}},lT={...lb,transform:e=>Math.round(lc(0,255,e))},lR={test:lP("rgb","red"),parse:lE("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+lT.transform(e)+", "+lT.transform(t)+", "+lT.transform(r)+", "+lx(lw.transform(n))+")"},lO={test:lP("#"),parse:function(e){let t="",r="",n="",a="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),a=e.substring(4,5),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}},transform:lR.transform},lj=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),lz=lj("deg"),l_=lj("%"),lN=lj("px"),lA=lj("vh"),lL=lj("vw"),lI={...l_,parse:e=>l_.parse(e)/100,transform:e=>l_.transform(100*e)},lM={test:lP("hsl","hue"),parse:lE("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+l_.transform(lx(t))+", "+l_.transform(lx(r))+", "+lx(lw.transform(n))+")"},lF={test:e=>lR.test(e)||lO.test(e)||lM.test(e),parse:e=>lR.test(e)?lR.parse(e):lM.test(e)?lM.parse(e):lO.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?lR.transform(e):lM.transform(e),getAnimatableNone:e=>{let t=lF.parse(e);return t.alpha=0,lF.transform(t)}},lD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,lB="number",l$="color",lV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function lU(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},a=[],o=0,i=t.replace(lV,e=>(lF.test(e)?(n.color.push(o),a.push(l$),r.push(lF.parse(e))):e.startsWith("var(")?(n.var.push(o),a.push("var"),r.push(e)):(n.number.push(o),a.push(lB),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:i,indexes:n,types:a}}function lH({split:e,types:t}){let r=e.length;return n=>{let a="";for(let o=0;o<r;o++)if(a+=e[o],void 0!==n[o]){let e=t[o];e===lB?a+=lx(n[o]):e===l$?a+=lF.transform(n[o]):a+=n[o]}return a}}let lW={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(lS)?.length||0)+(e.match(lD)?.length||0)>0},parse:function(e){return lU(e).values},createTransformer:function(e){return lH(lU(e))},getAnimatableNone:function(e){let t=lU(e);return lH(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:lF.test(e)?lF.getAnimatableNone(e):e)(e,t.split[r])))}};function lq(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function lK(e,t){return r=>r>0?t:e}let lG=(e,t,r)=>e+(t-e)*r,lX=(e,t,r)=>{let n=e*e,a=r*(t*t-n)+n;return a<0?0:Math.sqrt(a)},lY=[lO,lR,lM];function lQ(e){let t=lY.find(t=>t.test(e));if(li(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===lM&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let a=0,o=0,i=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;a=lq(s,n,e+1/3),o=lq(s,n,e),i=lq(s,n,e-1/3)}else a=o=i=r;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*i),alpha:n}}(r)),r}let lZ=(e,t)=>{let r=lQ(e),n=lQ(t);if(!r||!n)return lK(e,t);let a={...r};return e=>(a.red=lX(r.red,n.red,e),a.green=lX(r.green,n.green,e),a.blue=lX(r.blue,n.blue,e),a.alpha=lG(r.alpha,n.alpha,e),lR.transform(a))},lJ=new Set(["none","hidden"]);function l0(e,t){return r=>lG(e,t,r)}function l1(e){return"number"==typeof e?l0:"string"==typeof e?lm(e)?lK:lF.test(e)?lZ:l5:Array.isArray(e)?l2:"object"==typeof e?lF.test(e)?lZ:l3:lK}function l2(e,t){let r=[...e],n=r.length,a=e.map((e,r)=>l1(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}}function l3(e,t){let r={...e,...t},n={};for(let a in r)void 0!==e[a]&&void 0!==t[a]&&(n[a]=l1(e[a])(e[a],t[a]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let l5=(e,t)=>{let r=lW.createTransformer(t),n=lU(e),a=lU(t);if(n.indexes.var.length===a.indexes.var.length&&n.indexes.color.length===a.indexes.color.length&&n.indexes.number.length>=a.indexes.number.length){if(lJ.has(e)&&!a.values.length||lJ.has(t)&&!n.values.length)return lJ.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return lu(l2(function(e,t){let r=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let o=t.types[a],i=e.indexes[o][n[o]],s=e.values[i]??0;r[a]=s,n[o]++}return r}(n,a),a.values),r)}return li(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),lK(e,t)};function l9(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?lG(e,t,r):l1(e)(e,t)}let l4=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>s3.update(t,e),stop:()=>s5(t),now:()=>s9.isProcessing?s9.timestamp:s8.now()}},l6=(e,t,r=10)=>{let n="",a=Math.max(Math.round(t/r),2);for(let t=0;t<a;t++)n+=Math.round(1e4*e(t/(a-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function l8(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let l7=.01,ue=2,ut=.005,ur=.5;function un(e,t){return e*Math.sqrt(1-t*t)}let ua=["duration","bounce"],uo=["stiffness","damping","mass"];function ui(e,t){return t.some(t=>void 0!==e[t])}function us(e=.3,t=.3){let r,n,a,o,i,s,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:u,restDelta:c}=l,d=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],h={done:!1,value:d},{stiffness:f,damping:g,mass:m,duration:v,velocity:y,isResolvedFromDuration:b}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ui(e,uo)&&ui(e,ua))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,a=2*lc(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:a}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let a,o;li(e<=ld(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=lc(.05,1,i),e=lc(.01,10,e/1e3),i<1?(a=t=>{let n=t*i,a=n*e;return .001-(n-r)/un(t,i)*Math.exp(-a)},o=t=>{let n=t*i*e,o=Math.pow(i,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=un(Math.pow(t,2),i);return(n*r+r-o)*s*(-a(t)+.001>0?-1:1)/l}):(a=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(a,o,5/e);if(e=ld(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*i*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),w=y||0,k=g/(2*Math.sqrt(f*m)),x=p-d,S=Math.sqrt(f/m)/1e3,C=5>Math.abs(x);if(u||(u=C?l7:ue),c||(c=C?ut:ur),k<1)a=un(S,k),o=(w+k*S*x)/a,r=e=>p-Math.exp(-k*S*e)*(o*Math.sin(a*e)+x*Math.cos(a*e)),i=k*S*o+x*a,s=k*S*x-o*a,n=e=>Math.exp(-k*S*e)*(i*Math.sin(a*e)+s*Math.cos(a*e));else if(1===k){r=e=>p-Math.exp(-S*e)*(x+(w+S*x)*e);let e=w+S*x;n=t=>Math.exp(-S*t)*(S*e*t-w)}else{let e=S*Math.sqrt(k*k-1);r=t=>{let r=Math.exp(-k*S*t),n=Math.min(e*t,300);return p-r*((w+k*S*x)*Math.sinh(n)+e*x*Math.cosh(n))/e};let t=(w+k*S*x)/e,a=k*S*t-x*e,o=k*S*x-t*e;n=t=>{let r=Math.exp(-k*S*t),n=Math.min(e*t,300);return r*(a*Math.sinh(n)+o*Math.cosh(n))}}let P={calculatedDuration:b&&v||null,velocity:e=>ld(n(e)),next:e=>{if(!b&&k<1){let t=Math.exp(-k*S*e),r=Math.sin(a*e),n=Math.cos(a*e),l=p-t*(o*r+x*n);return h.done=Math.abs(ld(t*(i*r+s*n)))<=u&&Math.abs(p-l)<=c,h.value=h.done?p:l,h}let t=r(e);return b?h.done=e>=v:h.done=Math.abs(ld(n(e)))<=u&&Math.abs(p-t)<=c,h.value=h.done?p:t,h},toString:()=>{let e=Math.min(l8(P),2e4),t=l6(t=>P.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return P}function ul(e,t,r){var n,a;let o=Math.max(t-5,0);return n=r-e(o),(a=t-o)?1e3/a*n:0}function uu({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,p,h=e[0],f={done:!1,value:h},g=r*t,m=h+g,v=void 0===i?m:i(m);v!==m&&(g=v-h);let y=e=>-g*Math.exp(-e/n),b=e=>v+y(e),w=e=>{let t=y(e),r=b(e);f.done=Math.abs(t)<=u,f.value=f.done?v:r},k=e=>{let t;if(t=f.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;d=e,p=us({keyframes:[f.value,(r=f.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:ul(b,e,f.value),damping:a,stiffness:o,restDelta:u,restSpeed:c})}};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==d||(t=!0,w(e),k(e)),void 0!==d&&e>=d)?p.next(e-d):(t||w(e),f)}}}us.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),a=Math.min(l8(n),2e4);return{type:"keyframes",ease:e=>n.next(a*e).value/t,duration:a/1e3}}(e,100,us);return e.ease=t.ease,e.duration=ld(t.duration),e.type="keyframes",e};let uc=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function ud(e,t,r,n){return e===t&&r===n?s0:a=>0===a||1===a?a:uc(function(e,t,r,n,a){let o,i,s=0;do(o=uc(i=t+(r-t)/2,n,a)-e)>0?r=i:t=i;while(Math.abs(o)>1e-7&&++s<12);return i}(a,0,1,e,r),t,n)}let up=ud(.42,0,1,1),uh=ud(0,0,.58,1),uf=ud(.42,0,.58,1),ug=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,um=e=>t=>1-e(1-t),uv=ud(.33,1.53,.69,.99),uy=um(uv),ub=ug(uy),uw=e=>e>=1?1:(e*=2)<1?.5*uy(e):.5*(2-Math.pow(2,-10*(e-1))),uk=e=>1-Math.sin(Math.acos(e)),ux=um(uk),uS=ug(uk),uC=e=>Array.isArray(e)&&"number"==typeof e[0],uP={linear:s0,easeIn:up,easeInOut:uf,easeOut:uh,circIn:uk,circInOut:uS,circOut:ux,backIn:uy,backInOut:ub,backOut:uv,anticipate:uw},uE=e=>{if(uC(e)){ls(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,a]=e;return ud(t,r,n,a)}return"string"==typeof e?(ls(void 0!==uP[e],`Invalid easing type '${e}'`,"invalid-easing-type"),uP[e]):e},uT=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function uR(e,t,{clamp:r=!0,ease:n,mixer:a}={}){let o=e.length;if(ls(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],a=r||sJ.mix||l9,o=e.length-1;for(let r=0;r<o;r++){let o=a(e[r],e[r+1]);t&&(o=lu(Array.isArray(t)?t[r]||s0:t,o)),n.push(o)}return n}(t,n,a),l=s.length,u=r=>{if(i&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let a=uT(e[n],e[n+1],r);return s[n](a)};return r?t=>u(lc(e[0],e[o-1],t)):u}function uO({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var a;let o,i=Array.isArray(n)&&"number"!=typeof n[0]?n.map(uE):uE(n),s={done:!1,value:t[0]},l=uR((a=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let a=uT(0,t,n);e.push(lG(r,1,a))}}(o=[0],t.length-1),o),a.map(t=>t*e)),t,{ease:Array.isArray(i)?i:t.map(()=>i||uf).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let uj=e=>null!==e;function uz(e,{repeat:t,repeatType:r="loop"},n,a=1){let o=e.filter(uj),i=a<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}let u_={decay:uu,inertia:uu,tween:uO,keyframes:uO,spring:us};function uN(e){"string"==typeof e.type&&(e.type=u_[e.type])}class uA{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let uL=e=>e/100;class uI extends uA{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==s8.now()&&this.tick(s8.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},lp.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;uN(e);let{type:t=uO,repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:o=0}=e,{keyframes:i}=e,s=t||uO;s!==uO&&"number"!=typeof i[0]&&(this.mixKeyframes=lu(uL,l9(i[0],i[1])),i=[0,100]);let l=s({...e,keyframes:i});"mirror"===a&&(this.mirroredGenerator=s({...e,keyframes:[...i].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=l8(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:a,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:h,type:f,onUpdate:g,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-a/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>a;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=a);let b=this.currentTime,w=n;if(d){let e=Math.min(this.currentTime,a)/s,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===p?(r=1-r,h&&(r-=h/s)):"mirror"===p&&(w=i)),b=lc(0,1,r)*s}y?(this.delayState.value=c[0],r=this.delayState):r=w.next(b),o&&!y&&(r.value=o(r.value));let{done:k}=r;y||null===l||(k=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return x&&f!==uu&&(r.value=uz(c,this.options,m,this.speed)),g&&g(r.value),x&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=ld(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ul(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(s8.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=l4,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s8.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,lp.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function uM(e){return"number"==typeof e?e:parseFloat(e)}let uF="u">typeof window,uD=uF?A.useLayoutEffect:A.useEffect;function uB(e,t){let r=la(t()),n=()=>r.set(t());return n(),uD(()=>{let t=()=>s3.preRender(n,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),s5(n)}}),r}function u$(e,t,r,n){if("function"==typeof e){let t;return s7.current=[],e(),t=uB(s7.current,e),s7.current=void 0,t}if(void 0!==r&&!Array.isArray(r)&&"function"!=typeof t){var a=e,o=t,i=r,s=n;let l=ln(()=>Object.keys(i)),u=ln(()=>({}));for(let e of l)u[e]=u$(a,o,i[e],s);return u}let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],a=uR(e[1+r],e[2+r],e[3+r]);return t?a(n):a}(t,r,n);return Array.isArray(e)?uV(e,l):uV([e],([e])=>l(e))}function uV(e,t){let r=ln(()=>[]);return uB(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}let uU=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],uH=new Set(uU),uW=new Set(["brightness","contrast","saturate","opacity"]);function uq(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(lS)||[];if(!n)return e;let a=r.replace(n,""),o=+!!uW.has(t);return n!==r&&(o*=100),t+"("+o+a+")"}let uK=/\b([a-z-]*)\(.*?\)/gu,uG={...lW,getAnimatableNone:e=>{let t=e.match(uK);return t?t.map(uq).join(" "):e}},uX={...lW,getAnimatableNone:e=>{let t=lW.parse(e);return lW.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},uY={...lb,transform:Math.round},uQ={borderWidth:lN,borderTopWidth:lN,borderRightWidth:lN,borderBottomWidth:lN,borderLeftWidth:lN,borderRadius:lN,borderTopLeftRadius:lN,borderTopRightRadius:lN,borderBottomRightRadius:lN,borderBottomLeftRadius:lN,width:lN,maxWidth:lN,height:lN,maxHeight:lN,top:lN,right:lN,bottom:lN,left:lN,inset:lN,insetBlock:lN,insetBlockStart:lN,insetBlockEnd:lN,insetInline:lN,insetInlineStart:lN,insetInlineEnd:lN,padding:lN,paddingTop:lN,paddingRight:lN,paddingBottom:lN,paddingLeft:lN,paddingBlock:lN,paddingBlockStart:lN,paddingBlockEnd:lN,paddingInline:lN,paddingInlineStart:lN,paddingInlineEnd:lN,margin:lN,marginTop:lN,marginRight:lN,marginBottom:lN,marginLeft:lN,marginBlock:lN,marginBlockStart:lN,marginBlockEnd:lN,marginInline:lN,marginInlineStart:lN,marginInlineEnd:lN,fontSize:lN,backgroundPositionX:lN,backgroundPositionY:lN,rotate:lz,rotateX:lz,rotateY:lz,rotateZ:lz,scale:lk,scaleX:lk,scaleY:lk,scaleZ:lk,skew:lz,skewX:lz,skewY:lz,distance:lN,translateX:lN,translateY:lN,translateZ:lN,x:lN,y:lN,z:lN,perspective:lN,transformPerspective:lN,opacity:lw,originX:lI,originY:lI,originZ:lN,zIndex:uY,fillOpacity:lw,strokeOpacity:lw,numOctaves:uY},uZ={...uQ,color:lF,backgroundColor:lF,outlineColor:lF,fill:lF,stroke:lF,borderColor:lF,borderTopColor:lF,borderRightColor:lF,borderBottomColor:lF,borderLeftColor:lF,filter:uG,WebkitFilter:uG,mask:uX,WebkitMask:uX},uJ=e=>uZ[e],u0=()=>({translate:0,scale:1,origin:0,originPoint:0}),u1=()=>({x:u0(),y:u0()}),u2=()=>({min:0,max:0}),u3=()=>({x:u2(),y:u2()}),u5=new Set(["width","height","top","left","right","bottom",...uU]),u9=e=>t=>t.test(e),u4=[lb,lN,l_,lz,lL,lA,{test:e=>"auto"===e,parse:e=>e}],u6=e=>u4.find(u9(e)),u8=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,u7=e=>180*e/Math.PI,ce=e=>cr(u7(Math.atan2(e[1],e[0]))),ct={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ce,rotateZ:ce,skewX:e=>u7(Math.atan(e[1])),skewY:e=>u7(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cr=e=>((e%=360)<0&&(e+=360),e),cn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ca=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),co={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:cn,scaleY:ca,scale:e=>(cn(e)+ca(e))/2,rotateX:e=>cr(u7(Math.atan2(e[6],e[5]))),rotateY:e=>cr(u7(Math.atan2(-e[2],e[0]))),rotateZ:ce,rotate:ce,skewX:e=>u7(Math.atan(e[4])),skewY:e=>u7(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ci(e){return+!!e.includes("scale")}function cs(e,t){let r,n;if(!e||"none"===e)return ci(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(a)r=co,n=a;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ct,n=t}if(!n)return ci(t);let o=r[t],i=n[1].split(",").map(cl);return"function"==typeof o?o(i):i[o]}function cl(e){return parseFloat(e.trim())}let cu=e=>e===lb||e===lN,cc=new Set(["x","y","z"]),cd=uU.filter(e=>!cc.has(e)),cp={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let a=e.max-e.min;return"border-box"===n?a:a-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let a=e.max-e.min;return"border-box"===n?a:a-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>cs(t,"x"),y:(e,{transform:t})=>cs(t,"y")};cp.translateX=cp.x,cp.translateY=cp.y;let ch=new Set,cf=!1,cg=!1,cm=!1;function cv(){if(cg){let e=Array.from(ch).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],cd.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}cg=!1,cf=!1,ch.forEach(e=>e.complete(cm)),ch.clear()}function cy(){ch.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(cg=!0)})}class cb{constructor(e,t,r,n,a,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=a,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(ch.add(this),cf||(cf=!0,s3.read(cy),s3.resolveKeyframes(cv))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let a=n?.get(),o=e[e.length-1];if(void 0!==a)e[0]=a;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===a&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ch.delete(this)}cancel(){"scheduled"===this.state&&(ch.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let cw=new Set([uG,uX]);function ck(e,t){let r=uJ(e);return cw.has(r)||(r=lW),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let cx=new Set(["auto","none","0"]);class cS extends cb{constructor(e,t,r,n,a){super(e,t,r,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&lm(n=n.trim())){let a=function e(t,r,n=1){ls(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[a,o]=function(e){let t=u8.exec(e);if(!t)return[,];let[,r,n,a]=t;return[`--${r??n}`,a]}(t);if(!a)return;let i=window.getComputedStyle(r).getPropertyValue(a);if(i){let e=i.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return lm(o)?e(o,r,n+1):o}(n,t.current);void 0!==a&&(e[r]=a),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!u5.has(r)||2!==e.length)return;let[n,a]=e,o=u6(n),i=u6(a);if(ly(n)!==ly(a)&&cp[r]){this.needsMeasurement=!0;return}if(o!==i)if(cu(o)&&cu(i))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else cp[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null!==e)return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e);return!0}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,a=0;for(;a<e.length&&!n;){let t=e[a];"string"==typeof t&&!cx.has(t)&&lU(t).values.length&&(n=e[a]),a++}if(n&&r)for(let a of t)e[a]=ck(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=cp[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let a=r.length-1,o=r[a];r[a]=cp[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}function cC(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function cP(e){let t;return()=>(void 0===t&&(t=e()),t)}let cE={};function cT(e,t){let r=cP(e);return()=>cE[t]??r()}let cR=cT(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),cO=cT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),cj=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,cz={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cj([0,.65,.55,1]),circOut:cj([.55,0,1,.45]),backIn:cj([.31,.01,.66,-.59]),backOut:cj([.33,1.53,.69,.99])};function c_(e){return"function"==typeof e&&"applyToOptions"in e}class cN extends uA{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:i,onComplete:s}=e;this.isPseudoElement=!!a,this.allowFlatten=o,this.options=e,ls("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return c_(e)&&cO()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:a=300,repeat:o=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?cO()?l6(t,r):"ease-out":uC(t)?cj(t):Array.isArray(t)?t.map(t=>e(t,r)||cz.easeOut):cz[t]}(s,a);Array.isArray(d)&&(c.easing=d);let p={delay:n,duration:a,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"};u&&(p.pseudoElement=u);let h=e.animate(c,p);return h}(t,r,n,l,a),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let e=uz(n,this.options,i,this.speed);this.updateMotionValue&&this.updateMotionValue(e),cC(t,r,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ld(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&cR())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),s0):n(this)}}let cA=new Set(["opacity","clipPath","filter","transform"]),{schedule:cL}=s2(queueMicrotask,!1),cI=[...u4,lF,lW],cM=new WeakMap;function cF(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function cD(e){return"string"==typeof e||Array.isArray(e)}let cB=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],c$=["initial",...cB];function cV(e){return cF(e.animate)||c$.some(t=>cD(e[t]))}function cU(e){return!!(cV(e)||e.variants)}let cH={current:null},cW={current:!1},cq="u">typeof window;function cK(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function cG(e,t,r,n){if("function"==typeof t){let[a,o]=cK(n);t=t(void 0!==r?r:e.custom,a,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[a,o]=cK(n);t=t(void 0!==r?r:e.custom,a,o)}return t}let cX=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],cY={};class cQ{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:a,blockInitialAnimation:o,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=cb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=s8.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,s3.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=a,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=cV(t),this.isVariantNode=cU(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&lo(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,cM.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(cW.current||function(){if(cW.current=!0,cq)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cH.current=e.matches;e.addEventListener("change",t),t()}else cH.current=!1}(),this.shouldReduceMotion=cH.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),s5(this.notifyUpdate),s5(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&cA.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:a,ease:o,duration:i}=t.accelerate,s=new cN({element:this.current,name:e,keyframes:n,times:a,ease:o,duration:ld(i)}),l=r(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let n=uH.has(e);n&&this.onBindTransform&&this.onBindTransform();let a=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&s3.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{a(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in cY){let t=cY[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):u3()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<cX.length;t++){let r=cX[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let a=t[n],o=r[n];if(lo(a))e.addValue(n,a);else if(lo(o))e.addValue(n,lt(a,{owner:e}));else if(o!==a)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(a):t.hasAnimated||t.set(a)}else{let t=e.getStaticValue(n);e.addValue(n,lt(void 0!==t?t:a,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=lt(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,a;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(a=r,/^0[^.\s]+$/u.test(a))))r=parseFloat(r);else{let n;n=r,!cI.find(u9(n))&&lW.test(t)&&(r=ck(e,t))}this.setBaseTarget(e,lo(r)?r.get():r)}return lo(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=cG(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||lo(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new sZ),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){cL.render(this.render)}}class cZ extends cQ{constructor(){super(...arguments),this.KeyframeResolver=cS}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;lo(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function cJ(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let c0=(e,t)=>t&&"number"==typeof e?t.transform(e):e,c1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},c2=uU.length;function c3(e,t,r){let{style:n,vars:a,transformOrigin:o}=e,i=!1,s=!1;for(let e in t){let r=t[e];if(uH.has(e)){i=!0;continue}if(lf(e)){a[e]=r;continue}{let t=c0(r,uQ[e]);e.startsWith("origin")?(s=!0,o[e]=t):n[e]=t}}if(!t.transform&&(i||r?n.transform=function(e,t,r){let n="",a=!0;for(let o=0;o<c2;o++){let i=uU[o],s=e[i];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===+!!i.startsWith("scale");else{let e=parseFloat(s);l=i.startsWith("scale")?1===e:0===e}if(!l||r){let e=c0(s,uQ[i]);if(!l){a=!1;let t=c1[i]||i;n+=`${t}(${e}) `}r&&(t[i]=e)}}return n=n.trim(),r?n=r(t,a?"":n):a&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}let c5={offset:"stroke-dashoffset",array:"stroke-dasharray"},c9={offset:"strokeDashoffset",array:"strokeDasharray"},c4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function c6(e,{attrX:t,attrY:r,attrScale:n,pathLength:a,pathSpacing:o=1,pathOffset:i=0,...s},l,u,c){if(c3(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p}=e;for(let e of(d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=c?.transformBox??"fill-box",delete d.transformBox),c4))void 0!==d[e]&&(p[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==a&&function(e,t,r=1,n=0,a=!0){e.pathLength=1;let o=a?c5:c9;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,a,o,i,!1)}let c8=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),c7=e=>"string"==typeof e&&"svg"===e.toLowerCase();function de(e,{style:t,vars:r},n,a){let o,i=e.style;for(o in t)i[o]=t[o];for(o in a?.applyProjectionStyles(i,n),r)i.setProperty(o,r[o])}function dt(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let dr={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!lN.test(e))return e;else e=parseFloat(e);let r=dt(e,t.target.x),n=dt(e,t.target.y);return`${r}% ${n}%`}},dn={borderRadius:{...dr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:dr,borderTopRightRadius:dr,borderBottomLeftRadius:dr,borderBottomRightRadius:dr,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=lW.parse(e);if(n.length>5)return e;let a=lW.createTransformer(e),o=+("number"!=typeof n[0]),i=r.x.scale*t.x,s=r.y.scale*t.y;n[0+o]/=i,n[1+o]/=s;let l=lG(i,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),a(n)}}};function da(e,{layout:t,layoutId:r}){return uH.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!dn[e]||"opacity"===e)}function di(e,t,r){let n=e.style,a=t?.style,o={};if(!n)return o;for(let t in n)(lo(n[t])||a&&lo(a[t])||da(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function ds(e,t,r){let n=di(e,t,r);for(let r in e)(lo(e[r])||lo(t[r]))&&(n[-1!==uU.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class dl extends cZ{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=u3}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(uH.has(t)){let e=uJ(t);return e&&e.default||0}return t=c8.has(t)?t:cJ(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return ds(e,t,r)}build(e,t,r){c6(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in de(e,t,void 0,n),t.attrs)e.setAttribute(c8.has(r)?r:cJ(r),t.attrs[r])}mount(e){this.isSVGTag=c7(e.tagName),super.mount(e)}}function du({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function dc(e){return void 0===e||1===e}function dd({scale:e,scaleX:t,scaleY:r}){return!dc(e)||!dc(t)||!dc(r)}function dp(e){return dd(e)||dh(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function dh(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function df(e,t,r,n,a){return void 0!==a&&(e=n+a*(e-n)),n+r*(e-n)+t}function dg(e,t=0,r=1,n,a){e.min=df(e.min,t,r,n,a),e.max=df(e.max,t,r,n,a)}function dm(e,{x:t,y:r}){dg(e.x,t.translate,t.scale,t.originPoint),dg(e.y,r.translate,r.scale,r.originPoint)}function dv(e,t){e.min+=t,e.max+=t}function dy(e,t,r,n,a=.5){let o=lG(e.min,e.max,a);dg(e,t,r,o,n)}function db(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function dw(e,t,r){let n=r??e;dy(e.x,db(t.x,n.x),t.scaleX,t.scale,t.originX),dy(e.y,db(t.y,n.y),t.scaleY,t.scale,t.originY)}function dk(e,t){return du(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class dx extends cZ{constructor(){super(...arguments),this.type="html",this.renderInstance=de}readValueFromInstance(e,t){if(uH.has(t))return this.projection?.isProjecting?ci(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return cs(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(lf(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return dk(e,t)}build(e,t,r){c3(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return di(e,t,r)}}let dS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function dC(e){if("string"!=typeof e||e.includes("-"));else if(dS.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let dP=(0,A.createContext)({}),dE=(0,A.createContext)({strict:!1}),dT=(0,A.createContext)({});function dR(e){return Array.isArray(e)?e.join(" "):e}let dO=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function dj(e,t,r){for(let n in t)lo(t[n])||da(n,r)||(e[n]=t[n])}let dz=()=>({...dO(),attrs:{}}),d_=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function dN(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||d_.has(e)}let dA=e=>!dN(e);try{O=require("@emotion/is-prop-valid").default,"function"==typeof O&&(dA=e=>e.startsWith("on")?!dN(e):O(e))}catch{}function dL(e){return lo(e)?e.get():e}let dI=(0,A.createContext)(null),dM=e=>(t,r)=>{let n=(0,A.useContext)(dT),a=(0,A.useContext)(dI),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,a){return{latestValues:function(e,t,r,n){let a={},o=n(e,{});for(let e in o)a[e]=dL(o[e]);let{initial:i,animate:s}=e,l=cV(e),u=cU(e);t&&u&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===i)?s:i;if(d&&"boolean"!=typeof d&&!cF(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=cG(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(a[e]=t)}for(let t in e)a[t]=e[t]}}}return a}(r,n,a,e),renderState:t()}})(e,t,n,a);return r?o():ln(o)},dF=dM({scrapeMotionValuesFromProps:di,createRenderState:dO}),dD=dM({scrapeMotionValuesFromProps:ds,createRenderState:dz}),dB={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},d$=!1;function dV(){return!function(){if(d$)return;let e={};for(let t in dB)e[t]={isEnabled:e=>dB[t].some(t=>!!e[t])};cY=e,d$=!0}(),cY}let dU=Symbol.for("motionComponentSymbol"),dH="data-"+cJ("framerAppearId"),dW=(0,A.createContext)({});function dq(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function dK(e,{forwardMotionProps:t=!1,type:r}={},n,a){n&&function(e){let t=dV();for(let r in e)t[r]={...t[r],...e[r]};cY=t}(n);let o=r?"svg"===r:dC(e),i=o?dD:dF;function s(r,n){var s;let l,u,c,d={...(0,A.useContext)(lr),...r,layoutId:function({layoutId:e}){let t=(0,A.useContext)(dP).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:p}=d,h=function(e){let{initial:t,animate:r}=function(e,t){if(cV(e)){let{initial:t,animate:r}=e;return{initial:!1===t||cD(t)?t:void 0,animate:cD(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,A.useContext)(dT));return(0,A.useMemo)(()=>({initial:t,animate:r}),[dR(t),dR(r)])}(r),f=i(r,p);if(!p&&uF){(0,A.useContext)(dE).strict;let t=function(e){let{drag:t,layout:r}=dV();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,h.visualElement=function(e,t,r,n,a,o){let{visualElement:i}=(0,A.useContext)(dT),s=(0,A.useContext)(dE),l=(0,A.useContext)(dI),u=(0,A.useContext)(lr).reducedMotion,c=(0,A.useRef)(null),d=(0,A.useRef)(!1);n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:i,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,isSVG:o}),d.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let p=c.current,h=(0,A.useContext)(dW);p&&!p.projection&&a&&("html"===p.type||"svg"===p.type)&&function(e,t,r,n){let{layoutId:a,layout:o,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:!!i||s&&dq(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(c.current,r,a,h);let f=(0,A.useRef)(!1);(0,A.useInsertionEffect)(()=>{p&&f.current&&p.update(r,l)});let g=r[dH],m=(0,A.useRef)(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return uD(()=>{d.current=!0,p&&(f.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),m.current&&p.animationState&&p.animationState.animateChanges())}),(0,A.useEffect)(()=>{p&&(!m.current&&p.animationState&&p.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),m.current=!1),p.enteringChildren=void 0)}),p}(e,f,d,a,t.ProjectionNode,o)}return(0,N.jsxs)(dT.Provider,{value:h,children:[l&&h.visualElement?(0,N.jsx)(l,{visualElement:h.visualElement,...d}):null,function(e,t,r,{latestValues:n},a,o=!1,i){let s=(i??dC(e)?function(e,t,r,n){let a=(0,A.useMemo)(()=>{let r=dz();return c6(r,t,c7(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};dj(t,e.style,e),a.style={...t,...a.style}}return a}:function(e,t){let r,n,a={},o=(r=e.style||{},dj(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,A.useMemo)(()=>{let r=dO();return c3(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=o,a})(t,n,a,e),l=function(e,t,r){let n={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(dA(a)||!0===r&&dN(a)||!t&&!dN(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(t,"string"==typeof e,o),u=e!==A.Fragment?{...l,...s,ref:r}:{},{children:c}=t,d=(0,A.useMemo)(()=>lo(c)?c.get():c,[c]);return(0,A.createElement)(e,{...u,children:d})}(e,r,(s=h.visualElement,u=(0,A.useRef)(n),(0,A.useInsertionEffect)(()=>{u.current=n}),c=(0,A.useRef)(null),(0,A.useCallback)(e=>{e&&f.onMount?.(e),s&&(e?s.mount(e):s.unmount());let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e)},[s])),f,p,t,o)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,A.forwardRef)(s);return l[dU]=e,l}class dG{constructor(e){this.isMounted=!1,this.node=e}update(){}}function dX(e,t,r){let n=e.getProps();return cG(n,t,void 0!==r?r:n.custom,e)}function dY(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function dQ(e,t){let r=e?.[t]??e?.default??e;return r!==e?dY(r,e):r}let dZ=e=>Array.isArray(e);function dJ(e,t){let r=e.getValue("willChange");if(lo(r)&&r.add)return r.add(t);if(!r&&sJ.WillChange){let r=new sJ.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let d0={anticipate:uw,backInOut:ub,circInOut:uS};class d1 extends cN{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in d0&&(e.ease=d0[e.ease])}(e),uN(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:a,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let i=new uI({...o,autoplay:!1}),s=Math.max(10,s8.now()-this.startTime),l=lc(0,10,s-10),u=i.sample(s).value,{name:c}=this.options;a&&c&&cC(a,c,u),t.setWithVelocity(i.sample(Math.max(0,s-l)).value,u,l),i.stop()}}let d2=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(lW.test(e)||"0"===e)&&!e.startsWith("url("));function d3(e){e.duration=0,e.type="keyframes"}let d5=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,d9=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),d4=cP(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class d6 extends uA{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:o="loop",keyframes:i,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s8.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:a,repeatType:o,name:s,motionValue:l,element:u,...c},p=u?.KeyframeResolver||cb;this.keyframeResolver=new p(i,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let a;this.keyframeResolver=void 0;let{name:o,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=s8.now();let d=!0;!function(e,t,r,n){let a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],i=d2(a,t),s=d2(o,t);return li(i===s,`You are trying to animate ${t} from "${a}" to "${o}". "${i?o:a}" is not an animatable value.`,"value-not-animatable"),!!i&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||c_(r))&&n)}(e,o,i,s)&&(d=!1,(sJ.instantAnimations||!l)&&c?.(uz(e,r,t)),e[0]=e[e.length-1],d3(r),r.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},h=d&&!u&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:a,damping:o,type:i,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return d4()&&r&&(cA.has(r)||d9.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&d5.test(e[t]))return!0;return!1}(s))&&("transform"!==r||!u)&&!l&&!n&&"mirror"!==a&&0!==o&&"inertia"!==i}(p),f=p.motionValue?.owner?.current;if(h)try{a=new d1({...p,element:f})}catch{a=new uI(p)}else a=new uI(p);a.finished.then(()=>{this.notifyFinished()}).catch(s0),this.pendingTimeline&&(this.stopTimeline=a.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=a}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),cm=!0,cy(),cv(),cm=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let d8={type:"spring",stiffness:500,damping:25,restSpeed:10},d7={type:"keyframes",duration:.8},pe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pt=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),pr=(e,t,r,n={},a,o)=>i=>{let s=dQ(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=ld(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{i(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:a};!function(e){for(let t in e)if(!pt.has(t))return!0;return!1}(s)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?d7:uH.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:d8:pe)(e,c)),c.duration&&(c.duration=ld(c.duration)),c.repeatDelay&&(c.repeatDelay=ld(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(d3(c),0===c.delay&&(d=!0)),(sJ.instantAnimations||sJ.skipAnimations||a?.shouldSkipAnimations)&&(d=!0,d3(c),c.delay=0),c.allowFlatten=!s.type&&!s.ease,d&&!o&&void 0!==t.get()){let e=uz(c.keyframes,s);if(void 0!==e)return void s3.update(()=>{c.onUpdate(e),c.onComplete()})}return s.isSync?new uI(c):new d6(c)};function pn(e,t,{delay:r=0,transitionOverride:n,type:a}={}){let{transition:o,transitionEnd:i,...s}=t,l=e.getDefaultTransition();o=o?dY(o,l):l;let u=o?.reduceMotion;n&&(o=n);let c=[],d=a&&e.animationState&&e.animationState.getState()[a];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),a=s[t];if(void 0===a||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let i={delay:r,...dQ(o||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(a)&&a===l&&!i.velocity){s3.update(()=>n.set(a));continue}let p=!1;if(window.MotionHandoffAnimation){let r=e.props[dH];if(r){let e=window.MotionHandoffAnimation(r,t,s3);null!==e&&(i.startTime=e,p=!0)}}dJ(e,t);let h=u??e.shouldReduceMotion;n.start(pr(t,n,a,h&&u5.has(t)?{type:!1}:i,e,p));let f=n.animation;f&&c.push(f)}if(i){let t=()=>s3.update(()=>{i&&function(e,t){let{transitionEnd:r={},transition:n={},...a}=dX(e,t)||{};for(let t in a={...a,...r}){var o;let r=dZ(o=a[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,lt(r))}}(e,i)});c.length?Promise.all(c).then(t):t()}return c}function pa(e,t,r,n=0,a=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),i=e.size,s=(i-1)*n;return"function"==typeof r?r(o,i):1===a?o*n:s-o*n}function po(e,t,r={}){let n=dX(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(a=r.transitionOverride);let o=n?()=>Promise.all(pn(e,n,r)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:i,staggerDirection:s}=a;return function(e,t,r=0,n=0,a=0,o=1,i){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(po(l,t,{...i,delay:r+("function"==typeof n?0:n)+pa(e.variantChildren,l,n,a,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,o,i,s,r)}:()=>Promise.resolve(),{when:s}=a;if(!s)return Promise.all([o(),i(r.delay)]);{let[e,t]="beforeChildren"===s?[o,i]:[i,o];return e().then(()=>t())}}let pi=c$.length;function ps(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let pl=[...cB].reverse(),pu=cB.length;function pc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function pd(){return{animate:pc(!0),whileInView:pc(),whileHover:pc(),whileTap:pc(),whileDrag:pc(),whileFocus:pc(),exit:pc()}}let pp=0,ph={x:!1,y:!1};function pf(e){return[e("x"),e("y")]}function pg(e){return e.max-e.min}function pm(e,t,r,n=.5){e.origin=n,e.originPoint=lG(t.min,t.max,e.origin),e.scale=pg(r)/pg(t),e.translate=lG(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function pv(e,t,r,n){pm(e.x,t.x,r.x,n?n.originX:void 0),pm(e.y,t.y,r.y,n?n.originY:void 0)}function py(e,t,r,n=0){e.min=(n?lG(r.min,r.max,n):r.min)+t.min,e.max=e.min+pg(t)}function pb(e,t,r,n=0){let a=n?lG(r.min,r.max,n):r.min;e.min=t.min-a,e.max=e.min+pg(t)}function pw(e,t,r,n){pb(e.x,t.x,r.x,n?.x),pb(e.y,t.y,r.y,n?.y)}let pk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function px(e){return pk.has(e.tagName)||!0===e.isContentEditable}function pS(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let pC=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function pP(e){return{point:{x:e.pageX,y:e.pageY}}}function pE(e,t,r,n){return pS(e,t,e=>pC(e)&&r(e,pP(e)),n)}let pT=({current:e})=>e?e.ownerDocument.defaultView:null,pR=(e,t)=>Math.abs(e-t),pO=new Set(["auto","scroll"]);class pj{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:a=!1,distanceThreshold:o=3,element:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=pN(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,a=(e=r.offset,t={x:0,y:0},Math.sqrt(pR(e.x,t.x)**2+pR(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!a)return;let{point:o}=r,{timestamp:i}=s9;this.history.push({...o,timestamp:i});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=pz(t,this.transformPagePoint),s3.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:a}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&a&&a(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=pN("pointercancel"===e.type?this.lastMoveEventInfo:pz(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!pC(e))return;this.dragSnapToOrigin=a,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const s=pz(pP(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=s9;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,pN(s,this.history)),this.removeListeners=lu(pE(this.contextWindow,"pointermove",this.handlePointerMove),pE(this.contextWindow,"pointerup",this.handlePointerUp),pE(this.contextWindow,"pointercancel",this.handlePointerUp)),i&&this.startScrollTracking(i)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(pO.has(e.overflowX)||pO.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},a={x:n.x-t.x,y:n.y-t.y};(0!==a.x||0!==a.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=a.x,this.lastMoveEventInfo.point.y+=a.y):this.history.length>0&&(this.history[0].x-=a.x,this.history[0].y-=a.y),this.scrollPositions.set(e,n),s3.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),s5(this.updatePoint)}}function pz(e,t){return t?{point:t(e.point)}:e}function p_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pN({point:e},t){return{point:e,delta:p_(e,pA(t)),offset:p_(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,a=pA(e);for(;r>=0&&(n=e[r],!(a.timestamp-n.timestamp>ld(.1)));)r--;if(!n)return{x:0,y:0};let o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}(t,.1)}}function pA(e){return e[e.length-1]}function pL(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function pI(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function pM(e,t,r){return{min:pF(e,t),max:pF(e,r)}}function pF(e,t){return"number"==typeof e?e:e[t]||0}let pD=new WeakMap;class pB{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=u3(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let a=e=>{t?(this.stopAnimation(),this.snapToCursor(pP(e).point)):this.pauseAnimation()},o=(e,t)=>{this.stopAnimation();let{drag:r,dragPropagation:n,onDragStart:a}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(ph[e])return null;else return ph[e]=!0,()=>{ph[e]=!1};return ph.x||ph.y?null:(ph.x=ph.y=!0,()=>{ph.x=ph.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pf(e=>{let t=this.getAxisMotionValue(e).get()||0;if(l_.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=pg(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),a&&s3.postRender(()=>a(e,t)),dJ(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},i=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:a,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:i}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(i),null!==this.currentDirection&&a&&a(this.currentDirection);return}this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),o&&o(e,t)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>pf(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new pj(e,{onSessionStart:a,onStart:o,onMove:i,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:pT(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i&&s3.postRender(()=>i(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!p$(e,n,this.currentDirection))return;let a=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?lG(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?lG(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&dq(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:a}){return{x:pL(e.x,r,a),y:pL(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:pM(e,"left","right"),y:pM(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&pf(e=>{var t,n;let a;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],a={},void 0!==n.min&&(a.min=n.min-t.min),void 0!==n.max&&(a.max=n.max-t.min),a))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!dq(t))return!1;let n=t.current;ls(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let o=function(e,t,r){let n=dk(e,r),{scroll:a}=t;return a&&(dv(n.x,a.offset.x),dv(n.y,a.offset.y)),n}(n,a.root,this.visualElement.getTransformPagePoint()),i=(e=a.layout.layoutBox,{x:pI(e.x,o.x),y:pI(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=du(e))}return i}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{};return Promise.all(pf(i=>{if(!p$(i,t,this.currentDirection))return;let l=s&&s[i]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[i]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...a,...l};return this.startAxisValueAnimation(i,u)})).then(i)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return dJ(this.visualElement,e),r.start(pr(e,r,0,t,this.visualElement,!1))}stopAnimation(){pf(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){pf(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){pf(t=>{let{drag:r}=this.getProps();if(!p$(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,a=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],i=a.get()||0;a.set(e[t]-lG(r,o,.5)+i)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!dq(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};pf(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,a;let o,i,s,l=t.get();n[e]=(r={min:l,max:l},a=this.constraints[e],o=.5,i=pg(r),(s=pg(a))>i?o=uT(a.min,a.max-i,r.min):i>s&&(o=uT(r.min,r.max-s,a.min)),lc(0,1,o))}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),pf(t=>{if(!p$(t,e,null))return;let r=this.getAxisMotionValue(t),{min:a,max:o}=this.constraints[t];r.set(lG(a,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;pD.set(this.visualElement,this);let e=this.visualElement.current,t=pE(e,"pointerdown",t=>{let{drag:r,dragListener:n=!0}=this.getProps(),a=t.target,o=a!==e&&px(a);r&&n&&!o&&this.start(t)}),r=()=>{let{dragConstraints:e}=this.getProps();dq(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,a=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),s3.read(r);let o=pS(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(pf(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),a(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:o=.35,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:a,dragElastic:o,dragMomentum:i}}}function p$(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let pV=e=>(t,r)=>{e&&s3.postRender(()=>e(t,r))},pU={hasAnimatedSinceResize:!0,hasEverUpdated:!1},pH=!1;class pW extends A.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:a}=e;a&&(t.group&&t.group.add(a),r&&r.register&&n&&r.register(a),pH&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),pU.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:a}=this.props,{projection:o}=r;return o&&(o.isPresent=a,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),pH=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==a?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||s3.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),cL.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;pH=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function pq(e){let[t,r]=function(e=!0){let t=(0,A.useContext)(dI);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:a}=t,o=(0,A.useId)();(0,A.useEffect)(()=>{if(e)return a(o)},[e]);let i=(0,A.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!r&&n?[!1,i]:[!0]}(),n=(0,A.useContext)(dP);return(0,N.jsx)(pW,{...e,layoutGroup:n,switchLayoutGroup:(0,A.useContext)(dW),isPresent:t,safeToRemove:r})}function pK(e){return"object"==typeof e&&null!==e}function pG(e){return pK(e)&&"ownerSVGElement"in e}let pX=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],pY=pX.length,pQ=e=>"string"==typeof e?parseFloat(e):e,pZ=e=>"number"==typeof e||lN.test(e);function pJ(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let p0=p2(0,.5,ux),p1=p2(.5,.95,s0);function p2(e,t,r){return n=>n<e?0:n>t?1:r(uT(e,t,n))}function p3(e,t){e.min=t.min,e.max=t.max}function p5(e,t){p3(e.x,t.x),p3(e.y,t.y)}function p9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function p4(e,t,r,n,a){return e-=t,e=n+1/r*(e-n),void 0!==a&&(e=n+1/a*(e-n)),e}function p6(e,t,[r,n,a],o,i){!function(e,t=0,r=1,n=.5,a,o=e,i=e){if(l_.test(t)&&(t=parseFloat(t),t=lG(i.min,i.max,t/100)-i.min),"number"!=typeof t)return;let s=lG(o.min,o.max,n);e===o&&(s-=t),e.min=p4(e.min,t,r,s,a),e.max=p4(e.max,t,r,s,a)}(e,t[r],t[n],t[a],t.scale,o,i)}let p8=["x","scaleX","originX"],p7=["y","scaleY","originY"];function he(e,t,r,n){p6(e.x,t,p8,r?r.x:void 0,n?n.x:void 0),p6(e.y,t,p7,r?r.y:void 0,n?n.y:void 0)}function ht(e){return 0===e.translate&&1===e.scale}function hr(e){return ht(e.x)&&ht(e.y)}function hn(e,t){return e.min===t.min&&e.max===t.max}function ha(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ho(e,t){return ha(e.x,t.x)&&ha(e.y,t.y)}function hi(e){return pg(e.x)/pg(e.y)}function hs(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class hl{constructor(){this.members=[]}add(e){sY(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(sQ(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(sQ(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:a}=e.options;(void 0===n||n!==a)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let hu=(e,t)=>e.depth-t.depth;class hc{constructor(){this.children=[],this.isDirty=!1}add(e){sY(this.children,e),this.isDirty=!0}remove(e){sQ(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(hu),this.isDirty=!1,this.children.forEach(e)}}let hd=["","X","Y","Z"],hp=0;function hh(e,t,r,n){let{latestValues:a}=t;a[e]&&(r[e]=a[e],t.setStaticValue(e,0),n&&(n[e]=0))}function hf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(e={},r=t?.()){this.id=hp++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(hv),this.nodes.forEach(hE),this.nodes.forEach(hT),this.nodes.forEach(hy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new hc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new sZ),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=pG(t)&&!(pG(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,a=()=>this.root.updateBlockedByResize=!1;s3.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=s8.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(s5(o),a(r-250))},s3.setup(o,!0),r=()=>s5(o),pU.hasAnimatedSinceResize&&(pU.hasAnimatedSinceResize=!1,this.nodes.forEach(hP))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&a&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||a.getDefaultTransition()||hN,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!ho(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...dQ(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||hP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),s5(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hR),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[dH];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",s3,!(e||r))}let{parent:a}=t;a&&!a.hasCheckedOptimisedAppear&&e(a)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(hk),this.nodes.forEach(hw);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(hx);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(hS),this.nodes.forEach(hC),this.nodes.forEach(hg),this.nodes.forEach(hm)):this.nodes.forEach(hx),this.clearAllSnapshots();let e=s8.now();s9.delta=lc(0,1e3/60,e-s9.timestamp),s9.timestamp=e,s9.isProcessing=!0,s4.update.process(s9),s4.preRender.process(s9),s4.render.process(s9),s9.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,cL.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(hb),this.sharedNodes.forEach(hO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s3.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s3.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||pg(this.snapshot.measuredBox.x)||pg(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=u3()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!a)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!hr(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||dp(this.latestValues)||o)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),hI((t=n).x),hI(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return u3();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(hF))){let{scroll:e}=this.root;e&&(dv(t.x,e.offset.x),dv(t.y,e.offset.y))}return t}removeElementScroll(e){let t=u3();if(p5(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:a,options:o}=n;n!==this.root&&a&&o.layoutScroll&&(a.wasRoot&&p5(t,e),dv(t.x,a.offset.x),dv(t.y,a.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||u3();p5(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(dv(n.x,-r.scroll.offset.x),dv(n.y,-r.scroll.offset.y)),dp(r.latestValues)&&dw(n,r.latestValues,r.layout?.layoutBox)}return dp(this.latestValues)&&dw(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=u3();p5(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];dp(n.latestValues)&&(n.instance&&(dd(n.latestValues)&&n.updateSnapshot(),p5(r=u3(),n.measurePageBox())),he(t,n.latestValues,n.snapshot?.layoutBox,r))}return dp(this.latestValues)&&he(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==s9.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:a}=this.options;if(!this.layout||!(n||a))return;this.resolvedRelativeTargetAt=s9.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=u3(),this.targetWithTransforms=u3()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var i,s,l,u;this.forceRelativeParentToResolveTarget(),i=this.target,s=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,py(i.x,s.x,l.x,u?.x),py(i.y,s.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):p5(this.target,this.layout.layoutBox),dm(this.target,this.targetDelta)):p5(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||dd(this.parent.latestValues)||dh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=u3(),this.relativeTargetOrigin=u3(),pw(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),p5(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===s9.timestamp&&(r=!1),r)return;let{layout:n,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||a))return;p5(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,i=this.treeScale.y;!function(e,t,r,n=!1){let a,o,i=r.length;if(i){t.x=t.y=1;for(let s=0;s<i;s++){o=(a=r[s]).projectionDelta;let{visualElement:i}=a.options;(!i||!i.props.style||"contents"!==i.props.style.display)&&(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(dv(e.x,-a.scroll.offset.x),dv(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,dm(e,o)),n&&dp(a.latestValues)&&dw(e,a.latestValues,a.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=u3());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(p9(this.prevProjectionDelta.x,this.projectionDelta.x),p9(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),pv(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===i&&hs(this.projectionDelta.x,this.prevProjectionDelta.x)&&hs(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=u1(),this.projectionDelta=u1(),this.projectionDeltaWithTransform=u1()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,a=n?n.latestValues:{},o={...this.latestValues},i=u1();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=u3(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(h_));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(hj(i.x,e.x,n),hj(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,h,f,g,m;pw(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),h=this.relativeTarget,f=this.relativeTargetOrigin,g=s,m=n,hz(h.x,f.x,g.x,m),hz(h.y,f.y,g.y,m),r&&(u=this.relativeTarget,p=r,hn(u.x,p.x)&&hn(u.y,p.y))&&(this.isProjectionDirty=!1),r||(r=u3()),p5(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,a,o){a?(e.opacity=lG(0,r.opacity??1,p0(n)),e.opacityExit=lG(t.opacity??1,0,p1(n))):o&&(e.opacity=lG(t.opacity??1,r.opacity??1,n));for(let a=0;a<pY;a++){let o=pX[a],i=pJ(t,o),s=pJ(r,o);(void 0!==i||void 0!==s)&&(i||(i=0),s||(s=0),0===i||0===s||pZ(i)===pZ(s)?(e[o]=Math.max(lG(pQ(i),pQ(s),n),0),(l_.test(s)||l_.test(i))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=lG(t.rotate||0,r.rotate||0,n))}(o,a,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(s5(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s3.update(()=>{var t,r,n;let a;pU.hasAnimatedSinceResize=!0,lp.layout++,this.motionValue||(this.motionValue=lt(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{lp.layout--},onComplete:()=>{lp.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(a=lo(t)?t:lt(t)).start(pr("",a,r,n)),a.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:a}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&hM(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||u3();let t=pg(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=pg(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}p5(t,r),dw(t,a),pv(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new hl),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&hh("z",e,n,this.animationValues);for(let t=0;t<hd.length;t++)hh(`rotate${hd[t]}`,e,n,this.animationValues),hh(`skew${hd[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=dL(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=dL(t?.pointerEvents)||""),this.hasProjected&&!dp(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let a=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(e,t,r){let n="",a=e.x.translate/t.x,o=e.y.translate/t.y,i=r?.z||0;if((a||o||i)&&(n=`translate3d(${a}px, ${o}px, ${i}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:a,rotateY:o,skewX:i,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),a&&(n+=`rotateX(${a}deg) `),o&&(n+=`rotateY(${o}deg) `),i&&(n+=`skewX(${i}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,a);r&&(o=r(a,o)),e.transform=o;let{x:i,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*i.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?a.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:e.opacity=n===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,dn){if(void 0===a[t])continue;let{correct:r,applyTo:i,isCSSVariable:s}=dn[t],l="none"===o?a[t]:r(a[t],n);if(i){let t=i.length;for(let r=0;r<t;r++)e[i[r]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?dL(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(hw),this.root.sharedNodes.clear()}}}function hg(e){e.updateLayout()}function hm(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:a}=e.options,o=t.source!==e.layout.source;if("size"===a)pf(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],a=pg(n);n.min=r[e].min,n.max=n.min+a});else if("x"===a||"y"===a){let e="x"===a?"y":"x";p3(o?t.measuredBox[e]:t.layoutBox[e],r[e])}else hM(a,t.layoutBox,r)&&pf(n=>{let a=o?t.measuredBox[n]:t.layoutBox[n],i=pg(r[n]);a.max=a.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+i)});let i=u1();pv(i,r,t.layoutBox);let s=u1();o?pv(s,e.applyTransform(n,!0),t.measuredBox):pv(s,r,t.layoutBox);let l=!hr(i),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:a,layout:o}=n;if(a&&o){let i=e.options.layoutAnchor||void 0,s=u3();pw(s,t.layoutBox,a.layoutBox,i);let l=u3();pw(l,r,o.layoutBox,i),ho(s,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function hv(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hy(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function hb(e){e.clearSnapshot()}function hw(e){e.clearMeasurements()}function hk(e){e.isLayoutDirty=!0,e.updateLayout()}function hx(e){e.isLayoutDirty=!1}function hS(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function hC(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hP(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hE(e){e.resolveTargetDelta()}function hT(e){e.calcProjection()}function hR(e){e.resetSkewAndRotation()}function hO(e){e.removeLeadSnapshot()}function hj(e,t,r){e.translate=lG(t.translate,0,r),e.scale=lG(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function hz(e,t,r,n){e.min=lG(t.min,r.min,n),e.max=lG(t.max,r.max,n)}function h_(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let hN={duration:.45,ease:[.4,0,.1,1]},hA=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hL=hA("applewebkit/")&&!hA("chrome/")?Math.round:s0;function hI(e){e.min=hL(e.min),e.max=hL(e.max)}function hM(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(hi(t)-hi(r)))}function hF(e){return e!==e.root&&e.scroll?.wasRoot}let hD=hf({attachResizeListener:(e,t)=>pS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),hB={current:void 0},h$=hf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!hB.current){let e=new hD({});e.mount(window),e.setOptions({layoutScroll:!0}),hB.current=e}return hB.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function hV(e,t){let r=function(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,r=(void 0)??t.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function hU(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let a=n["onHover"+r];a&&s3.postRender(()=>a(t,pP(t)))}let hH=(e,t)=>!!t&&(e===t||hH(e,t.parentElement)),hW=new WeakSet;function hq(e){return t=>{"Enter"===t.key&&e(t)}}function hK(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function hG(e){return pC(e)&&!(ph.x||ph.y)}let hX=new WeakSet;function hY(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let a=n["onTap"+("End"===r?"":r)];a&&s3.postRender(()=>a(t,pP(t)))}let hQ=new WeakMap,hZ=new WeakMap,hJ=e=>{let t=hQ.get(e.target);t&&t(e)},h0=e=>{e.forEach(hJ)},h1={some:0,all:1},h2=function(e,t){if("u"<typeof Proxy)return dK;let r=new Map,n=(r,n)=>dK(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(a,o)=>"create"===o?n:(r.has(o)||r.set(o,dK(o,void 0,e,t)),r.get(o))})}({animation:{Feature:class extends dG{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>po(e,t,r)));else if("string"==typeof t)n=po(e,t,r);else{let a="function"==typeof t?dX(e,t,r.custom):t;n=Promise.all(pn(e,a,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=pd(),n=!0,a=!1,o=t=>(r,n)=>{let a=dX(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(a){let{transition:e,transitionEnd:t,...n}=a;r={...r,...n,...t}}return r};function i(i){let{props:s}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<pi;e++){let n=c$[e],a=t.props[n];(cD(a)||!1===a)&&(r[n]=a)}return r}(e.parent)||{},u=[],c=new Set,d={},p=1/0;for(let t=0;t<pu;t++){var h,f;let g=pl[t],m=r[g],v=void 0!==s[g]?s[g]:l[g],y=cD(v),b=g===i?m.isActive:null;!1===b&&(p=t);let w=v===l[g]&&v!==s[g]&&y;if(w&&(n||a)&&e.manuallyAnimateOnMount&&(w=!1),m.protectedKeys={...d},!m.isActive&&null===b||!v&&!m.prevProp||cF(v)||"boolean"==typeof v)continue;if("exit"===g&&m.isActive&&!0!==b){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let k=(h=m.prevProp,"string"==typeof(f=v)?f!==h:!!Array.isArray(f)&&!ps(f,h)),x=k||g===i&&m.isActive&&!w&&y||t>p&&y,S=!1,C=Array.isArray(v)?v:[v],P=C.reduce(o(g),{});!1===b&&(P={});let{prevResolvedValues:E={}}=m,T={...E,...P},R=t=>{x=!0,c.has(t)&&(S=!0,c.delete(t)),m.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in T){let t=P[e],r=E[e];if(!d.hasOwnProperty(e))(dZ(t)&&dZ(r)?ps(t,r):t===r)?void 0!==t&&c.has(e)?R(e):m.protectedKeys[e]=!0:null!=t?R(e):c.add(e)}m.prevProp=v,m.prevResolvedValues=P,m.isActive&&(d={...d,...P}),(n||a)&&e.blockInitialAnimation&&(x=!1);let O=w&&k,j=!O||S;x&&j&&u.push(...C.map(t=>{let r={type:g};if("string"==typeof t&&(n||a)&&!O&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,a=dX(n,t);if(n.enteringChildren&&a){let{delayChildren:t}=a.transition||{};r.delay=pa(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof s.initial){let r=dX(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),a=e.getValue(r);a&&(a.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let g=!!u.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,a=!1,g?t(u):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let a=i(t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=pd(),a=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();cF(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends dG{constructor(){super(...arguments),this.id=pp++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends dG{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:a,amount:o="some",once:i}=r,s={root:n?n.current:void 0,rootMargin:a,threshold:"number"==typeof o?o:h1[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),a=t?r:n;a&&a(e)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;hZ.has(r)||hZ.set(r,{});let n=hZ.get(r),a=JSON.stringify(t);return n[a]||(n[a]=new IntersectionObserver(h0,{root:e,...t})),n[a]}(s),hQ.set(e,l),t.observe(e),()=>{hQ.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends dG{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,a,o]=hV(e,r),i=e=>{let n=e.currentTarget;if(!hG(e)||hX.has(e))return;hW.add(n),r.stopPropagation&&hX.add(e);let o=t(n,e),i=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),hW.has(n)&&hW.delete(n),hG(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{i(e,n===window||n===document||r.useGlobalTarget||hH(n,e.target))},l=e=>{i(e,!1)};window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",l,a)};return n.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",i,a),pK(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=hq(()=>{if(hW.has(r))return;hK(r,"down");let e=hq(()=>{hK(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>hK(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,a)),px(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(hY(this.node,t,"Start"),(e,{success:t})=>hY(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends dG{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lu(pS(this.node.current,"focus",()=>this.onFocus()),pS(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends dG{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,a,o]=hV(e,r);return n.forEach(e=>{let r,n=!1,o=!1,i=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},s=e=>{n=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),o&&(o=!1,i(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}i(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||ph.x||ph.y)return;o=!1;let i=t(e,n);"function"==typeof i&&(r=i,e.addEventListener("pointerleave",l,a))},a),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",s,a)},a)}),o}(e,(e,t)=>(hU(this.node,t,"Start"),e=>hU(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends dG{constructor(){super(...arguments),this.removePointerDownListener=s0}onPointerDown(e){this.session=new pj(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pT(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:pV(e),onStart:pV(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&s3.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=pE(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends dG{constructor(e){super(e),this.removeGroupControls=s0,this.removeListeners=s0,this.controls=new pB(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s0}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:h$,MeasureLayout:pq},layout:{ProjectionNode:h$,MeasureLayout:pq}},(e,t)=>t.isSVG??dC(e)?new dl(t):new dx(t,{allowProjection:e!==A.Fragment})),h3=(0,A.createContext)(null);function h5(){let e=(0,A.use)(h3);if(!e)throw Error("useComparisonSliderContext must be used within ComparisonSlider");return e}function h9({"aria-label":e="Comparison slider",className:t,mode:r="drag",onDragEnd:n,onDragStart:a,...o}){let[i,s]=(0,A.useState)(!1),l=la(50),u=function(e,t={}){return function(e,t={}){let{isStatic:r}=(0,A.useContext)(lr),n=()=>lo(e)?e.get():e;if(r)return u$(n);let a=la(n());return(0,A.useInsertionEffect)(()=>(function(e,t,r={}){let n,a=e.get(),o=null,i=a,s="string"==typeof a?a.replace(/[\d.-]/g,""):void 0,l=()=>{o&&(o.stop(),o=null),e.animation=void 0},u=()=>{(()=>{let t=uM(e.get()),a=uM(i);if(t===a)return l();let s=o?o.getGeneratorVelocity():e.getVelocity();l(),o=new uI({keyframes:[t,a],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...r,onUpdate:n})})(),e.animation=o??void 0,e.events.animationStart?.notify(),o?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{i=e,n=e=>{var r,n;return t((r=e,(n=s)?r+n:r))},s3.postRender(u)},l),lo(t)){let n=!0===r.skipInitialAnimation,a=t.on("change",t=>{var r,a,o,i;n?(n=!1,e.jump((r=t,(a=s)?r+a:r),!1)):e.set((o=t,(i=s)?o+i:o))}),o=e.on("destroy",a);return()=>{a(),o()}}return l})(a,e,t),[a,JSON.stringify(t)]),a}(e,{type:"spring",...t})}(l,{bounce:0,duration:0}),[c,d]=(0,A.useState)(50),p=(0,A.useMemo)(()=>({mode:r,motionSliderPosition:u,setSliderPosition:d,sliderPosition:c}),[r,u,c]);function h(e){let t=Math.min(Math.max(e,0),100);l.set(t),d(t)}function f(e,t){(i||"drag"!==r)&&h((t-e.left)/e.width*100)}function g(){"drag"===r&&(s(!0),a?.())}function m(){"drag"===r&&(s(!1),n?.())}return(0,N.jsx)(h3,{value:p,children:(0,N.jsx)("div",{"aria-label":e,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":c,className:i1("relative isolate w-full select-none overflow-hidden",t),role:"slider",tabIndex:0,onKeyDown:e=>{let t=e.shiftKey?10:1;("ArrowLeft"===e.key||"ArrowDown"===e.key)&&(e.preventDefault(),h(c-t)),("ArrowRight"===e.key||"ArrowUp"===e.key)&&(e.preventDefault(),h(c+t)),"Home"===e.key&&(e.preventDefault(),h(0)),"End"===e.key&&(e.preventDefault(),h(100))},onMouseDown:g,onMouseLeave:m,onMouseMove:e=>{f(e.currentTarget.getBoundingClientRect(),e.clientX)},onMouseUp:m,onTouchEnd:m,onTouchMove:e=>{f(e.currentTarget.getBoundingClientRect(),e.touches[0]?.clientX??0)},onTouchStart:g,...o})})}function h4({className:e,position:t,...r}){let{motionSliderPosition:n}=h5(),a=u$(n,e=>`inset(0 0 0 ${e}%)`),o=u$(n,e=>`inset(0 ${100-e}% 0 0)`);return(0,N.jsx)(h2.div,{"aria-hidden":"true",className:i1("absolute inset-0 h-full w-full object-cover",e),role:"img",style:{clipPath:"left"===t?a:o},...r})}function h6({className:e,children:t,...r}){let{mode:n,motionSliderPosition:a}=h5(),o=u$(a,e=>`${e}%`);return(0,N.jsx)(h2.div,{"aria-hidden":"true",className:i1("-translate-x-1/2 absolute top-0 z-50 flex h-full w-10 items-center justify-center","drag"===n&&"cursor-grab active:cursor-grabbing",e),role:"presentation",style:{left:o},...r,children:t??(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("div",{className:"-translate-x-1/2 absolute left-1/2 h-full w-0.5 bg-background"}),"drag"===n&&(0,N.jsx)("div",{className:"z-50 flex items-center justify-center rounded-sm bg-background px-0.5 py-1",children:(0,N.jsx)("span",{className:"h-4 w-0.5 rounded-full bg-muted-foreground"})})]})})}function h8(e){return(0,N.jsxs)("svg",{fill:"none",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,N.jsx)("path",{d:"M5.83302 17.3478C5.83302 16.9097 6.00874 16.4895 6.3213 16.1797C6.63386 15.8699 7.05766 15.6957 7.49968 15.6957C7.9417 15.6957 8.3655 15.8699 8.67806 16.1797C8.99062 16.4895 9.16634 16.9097 9.16634 17.3478C9.16634 17.786 8.99062 18.2061 8.67806 18.516C8.3655 18.8258 7.9417 19 7.49968 19C7.05766 19 6.63386 18.8258 6.3213 18.516C6.00874 18.2061 5.83302 17.786 5.83302 17.3478Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M14.9999 17.3478C14.9999 16.9097 15.1756 16.4896 15.4882 16.1797C15.8008 15.8699 16.2246 15.6957 16.6666 15.6957C17.1086 15.6957 17.5324 15.8699 17.845 16.1797C18.1575 16.4896 18.3332 16.9097 18.3332 17.3478C18.3332 17.786 18.1575 18.2061 17.845 18.516C17.5324 18.8258 17.1086 19 16.6666 19C16.2246 19 15.8008 18.8258 15.4882 18.516C15.1756 18.2061 14.9999 17.786 14.9999 17.3478Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M4.16665 0L4.2407 0.00322688C4.60569 0.0352804 4.91062 0.302097 4.9837 0.66393L5.68357 4.1304H19.1666C19.4149 4.1304 19.6503 4.24008 19.8087 4.4297C19.967 4.61939 20.0318 4.86954 19.9853 5.11137L18.6514 12.0419L18.6506 12.0484C18.5363 12.6188 18.223 13.1309 17.766 13.4956C17.3132 13.857 16.7478 14.0499 16.1669 14.0426L8.06637 14.0434C7.48543 14.0507 6.92009 13.857 6.46725 13.4956C6.01045 13.1311 5.69711 12.6193 5.58265 12.0492L4.18618 5.13235C4.18448 5.12458 4.18277 5.11681 4.18129 5.10895L3.48387 1.65216H0.833329C0.373094 1.65216 0 1.28231 0 0.826081C0 0.369849 0.373094 0 0.833329 0H4.16665ZM7.21676 11.7249L7.21757 11.7265C7.2557 11.9166 7.35986 12.0874 7.51217 12.2089C7.66452 12.3305 7.85536 12.3949 8.0509 12.3912H16.1824C16.3779 12.3949 16.5688 12.3305 16.7211 12.2089C16.8544 12.1025 16.951 11.9584 16.9986 11.7967L17.0157 11.7265L18.1591 5.78257H6.01722L7.21676 11.7249Z",fill:"currentColor"})]})}function h7(e){return(0,N.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,N.jsx)("g",{clipPath:"url(#clip0_3784_10212)",children:(0,N.jsx)("path",{d:"M13.4104 11.9958L17.7104 7.70579C17.8036 7.61255 17.8776 7.50186 17.928 7.38004C17.9785 7.25822 18.0045 7.12765 18.0045 6.99579C18.0045 6.86393 17.9785 6.73336 17.928 6.61154C17.8776 6.48972 17.8036 6.37903 17.7104 6.28579C17.6171 6.19255 17.5064 6.11859 17.3846 6.06813C17.2628 6.01767 17.1322 5.9917 17.0004 5.9917C16.8685 5.9917 16.7379 6.01767 16.6161 6.06813C16.4943 6.11859 16.3836 6.19255 16.2904 6.28579L12.0004 10.5858L7.71036 6.28579C7.52206 6.09749 7.26666 5.9917 7.00036 5.9917C6.73406 5.9917 6.47866 6.09749 6.29036 6.28579C6.10206 6.47409 5.99627 6.72949 5.99627 6.99579C5.99627 7.26209 6.10206 7.51749 6.29036 7.70579L10.5904 11.9958L6.29036 16.2858C6.19651 16.3787 6.12201 16.4893 6.07116 16.6111C6.02032 16.733 5.99414 16.8637 5.99414 16.9958C5.99414 17.1278 6.02032 17.2586 6.07116 17.3804C6.12201 17.5023 6.19651 17.6129 6.29036 17.7058C6.38332 17.7995 6.49392 17.8739 6.61578 17.9247C6.73764 17.9754 6.86835 18.0016 7.00036 18.0016C7.13237 18.0016 7.26308 17.9754 7.38494 17.9247C7.5068 17.8739 7.6174 17.7995 7.71036 17.7058L12.0004 13.4058L16.2904 17.7058C16.4067 17.8236 16.5505 17.9107 16.7087 17.9593C16.867 18.0079 17.0349 18.0165 17.1973 17.9843C17.3597 17.9521 17.5116 17.8801 17.6394 17.7748C17.7671 17.6695 17.8668 17.5341 17.9294 17.3808C18.0058 17.1971 18.0257 16.9948 17.9865 16.7997C17.9473 16.6047 17.8508 16.4257 17.7094 16.2858L13.4104 11.9958Z",fill:"currentColor"})}),(0,N.jsx)("defs",{children:(0,N.jsx)("clipPath",{id:"clip0_3784_10212",children:(0,N.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})}function fe(e){return(0,N.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[(0,N.jsx)("path",{d:"M14.3102 16.38L13.0002 17.64V12C13.0002 11.7348 12.8948 11.4804 12.7073 11.2929C12.5197 11.1053 12.2654 11 12.0002 11C11.735 11 11.4806 11.1053 11.2931 11.2929C11.1055 11.4804 11.0002 11.7348 11.0002 12V17.59L9.71018 16.29C9.56958 16.15 9.39071 16.0548 9.1961 16.0163C9.00149 15.9779 8.79984 15.9978 8.61656 16.0738C8.43329 16.1497 8.27658 16.2781 8.16618 16.443C8.05578 16.6078 7.99663 16.8016 7.99618 17C7.99616 17.1318 8.02212 17.2624 8.07256 17.3842C8.12301 17.506 8.19695 17.6167 8.29018 17.71L11.2902 20.71C11.4758 20.8945 11.7264 20.999 11.9881 21.0008C12.2499 21.0027 12.5019 20.9019 12.6902 20.72L15.6902 17.82C15.796 17.7323 15.8827 17.6237 15.9448 17.5011C16.0069 17.3785 16.0431 17.2444 16.0512 17.1072C16.0593 16.97 16.039 16.8325 15.9917 16.7035C15.9444 16.5744 15.871 16.4565 15.7762 16.357C15.6811 16.2574 15.5664 16.1786 15.4394 16.1255C15.3124 16.0723 15.1758 16.046 15.0382 16.0482C14.9005 16.0503 14.7648 16.0809 14.6395 16.138C14.5142 16.1951 14.4021 16.2775 14.3102 16.38Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M17.6704 6.999C17.2623 5.82006 16.497 4.79762 15.4807 4.07397C14.4645 3.35031 13.2479 2.96143 12.0004 2.96143C10.7528 2.96143 9.53628 3.35031 8.52005 4.07397C7.50381 4.79762 6.73842 5.82006 6.33038 6.999C5.43194 7.11934 4.5831 7.48166 3.87468 8.0472C3.16627 8.61274 2.62492 9.36022 2.30855 10.2097C1.99218 11.0592 1.91269 11.9787 2.07859 12.8698C2.24449 13.761 2.64953 14.5903 3.25038 15.269C3.32296 15.3968 3.42284 15.5071 3.54289 15.592C3.66295 15.6768 3.80023 15.7341 3.94497 15.7599C4.08971 15.7856 4.23834 15.7791 4.38029 15.7408C4.52223 15.7026 4.65399 15.6335 4.76618 15.5385C4.87838 15.4435 4.96825 15.3249 5.0294 15.1912C5.09055 15.0576 5.12147 14.912 5.11996 14.765C5.11845 14.618 5.08455 14.4732 5.02067 14.3408C4.95679 14.2084 4.86451 14.0917 4.75038 13.999C4.3635 13.5665 4.11037 13.031 4.02167 12.4575C3.93297 11.884 4.01252 11.2971 4.25066 10.7679C4.4888 10.2387 4.87532 9.7899 5.36338 9.47593C5.85143 9.16197 6.42007 8.9963 7.00038 8.999H7.10038C7.33433 9.00372 7.56252 8.92625 7.74524 8.78008C7.92796 8.6339 8.05363 8.42828 8.10038 8.199C8.284 7.29477 8.77457 6.48182 9.48898 5.8979C10.2034 5.31398 11.0977 4.99499 12.0204 4.99499C12.9431 4.99499 13.8374 5.31398 14.5518 5.8979C15.2662 6.48182 15.7568 7.29477 15.9404 8.199C15.9871 8.42828 16.1128 8.6339 16.2955 8.78008C16.4782 8.92625 16.7064 9.00372 16.9404 8.999H17.0004C17.5807 8.9963 18.1493 9.16197 18.6374 9.47593C19.1254 9.7899 19.512 10.2387 19.7501 10.7679C19.9883 11.2971 20.0678 11.884 19.9791 12.4575C19.8904 13.031 19.6373 13.5665 19.2504 13.999C19.1623 14.0978 19.0947 14.2131 19.0515 14.3382C19.0083 14.4633 18.9904 14.5957 18.9987 14.7278C19.0071 14.8599 19.0416 14.989 19.1003 15.1077C19.1589 15.2263 19.2405 15.3321 19.3404 15.419C19.5394 15.5938 19.7996 15.6825 20.064 15.6656C20.3283 15.6488 20.5752 15.5277 20.7504 15.329C21.3679 14.6514 21.7873 13.8172 21.9626 12.9173C22.138 12.0175 22.0625 11.0868 21.7446 10.227C21.4267 9.36713 20.8785 8.61124 20.1599 8.04194C19.4414 7.47264 18.5802 7.11185 17.6704 6.999Z",fill:"currentColor"})]})}function ft(e){return(0,N.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.3333 13.3343",fill:"none",...e,children:(0,N.jsx)("path",{d:"M12.6667 2.66759H9.33333V1.55425C9.31769 1.12747 9.13347 0.724291 8.82105 0.433114C8.50862 0.141937 8.0935 -0.0134857 7.66667 0.000918958H5.66667C5.23984 -0.0134857 4.82471 0.141937 4.51229 0.433114C4.19986 0.724291 4.01564 1.12747 4 1.55425V2.66759H0.666667C0.489856 2.66759 0.320286 2.73782 0.195262 2.86285C0.0702379 2.98787 0 3.15744 0 3.33425C0 3.51106 0.0702379 3.68063 0.195262 3.80566C0.320286 3.93068 0.489856 4.00092 0.666667 4.00092H1.33333V11.3343C1.33333 11.8647 1.54405 12.3734 1.91912 12.7485C2.29419 13.1235 2.8029 13.3343 3.33333 13.3343H10C10.5304 13.3343 11.0391 13.1235 11.4142 12.7485C11.7893 12.3734 12 11.8647 12 11.3343V4.00092H12.6667C12.8435 4.00092 13.013 3.93068 13.1381 3.80566C13.2631 3.68063 13.3333 3.51106 13.3333 3.33425C13.3333 3.15744 13.2631 2.98787 13.1381 2.86285C13.013 2.73782 12.8435 2.66759 12.6667 2.66759ZM5.33333 1.55425C5.33333 1.44759 5.47333 1.33425 5.66667 1.33425H7.66667C7.86 1.33425 8 1.44759 8 1.55425V2.66759H5.33333V1.55425ZM10.6667 11.3343C10.6667 11.5111 10.5964 11.6806 10.4714 11.8057C10.3464 11.9307 10.1768 12.0009 10 12.0009H3.33333C3.15652 12.0009 2.98695 11.9307 2.86193 11.8057C2.7369 11.6806 2.66667 11.5111 2.66667 11.3343V4.00092H10.6667V11.3343Z",fill:"currentColor"})})}function fr(e){return(0,N.jsxs)("svg",{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,N.jsx)("path",{d:"M20 11C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12V18C19 18.2652 18.8946 18.5196 18.7071 18.7071C18.5196 18.8946 18.2652 19 18 19H6C5.73478 19 5.48043 18.8946 5.29289 18.7071C5.10536 18.5196 5 18.2652 5 18V6C5 5.73478 5.10536 5.48043 5.29289 5.29289C5.48043 5.10536 5.73478 5 6 5H12C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4C13 3.73478 12.8946 3.48043 12.7071 3.29289C12.5196 3.10536 12.2652 3 12 3H6C5.20435 3 4.44129 3.31607 3.87868 3.87868C3.31607 4.44129 3 5.20435 3 6V18C3 18.7956 3.31607 19.5587 3.87868 20.1213C4.44129 20.6839 5.20435 21 6 21H18C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18V12C21 11.7348 20.8946 11.4804 20.7071 11.2929C20.5196 11.1054 20.2652 11 20 11Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M16.0001 5H17.5801L11.2901 11.28C11.1725 11.3965 11.0856 11.5402 11.0371 11.6985C10.9887 11.8567 10.9802 12.0245 11.0123 12.1868C11.0445 12.3491 11.1164 12.5009 11.2216 12.6287C11.3268 12.7565 11.462 12.8562 11.6151 12.919C11.7987 12.9957 12.0009 13.0158 12.196 12.9768C12.3911 12.9378 12.5701 12.8414 12.7101 12.7L19.0001 6.42V8C19.0001 8.26522 19.1054 8.51957 19.293 8.70711C19.4805 8.89464 19.7349 9 20.0001 9C20.2653 9 20.5197 8.89464 20.7072 8.70711C20.8947 8.51957 21.0001 8.26522 21.0001 8V4C21.0001 3.73478 20.8947 3.48043 20.7072 3.29289C20.5197 3.10536 20.2653 3 20.0001 3H16.0001C15.7349 3 15.4805 3.10536 15.293 3.29289C15.1054 3.48043 15.0001 3.73478 15.0001 4C15.0001 4.26522 15.1054 4.51957 15.293 4.70711C15.4805 4.89464 15.7349 5 16.0001 5Z",fill:"currentColor"})]})}function fn(e){return(0,N.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,N.jsx)("path",{d:"M20 15.9998C20.5522 15.9998 20.9999 16.4476 21 16.9998V18.9998C20.9999 19.7952 20.6835 20.5584 20.1211 21.1209C19.5585 21.6833 18.7955 21.9998 18 21.9998H6C5.20446 21.9998 4.44149 21.6833 3.87891 21.1209C3.31646 20.5584 3.00012 19.7952 3 18.9998V16.9998C3.00009 16.4476 3.44777 15.9998 4 15.9998C4.55223 15.9998 4.99991 16.4476 5 16.9998V18.9998C5.00012 19.2648 5.1056 19.5194 5.29297 19.7068C5.48048 19.8942 5.7349 19.9998 6 19.9998H18C18.2651 19.9998 18.5195 19.8942 18.707 19.7068C18.8944 19.5194 18.9999 19.2648 19 18.9998V16.9998C19.0001 16.4476 19.4478 15.9998 20 15.9998Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M11.3691 3.22437C11.7619 2.90402 12.3409 2.92662 12.707 3.29273L17.707 8.29273C18.0973 8.68328 18.0975 9.31635 17.707 9.7068C17.3166 10.097 16.6834 10.097 16.293 9.7068L13 6.41383V15.9998C12.9997 16.5518 12.552 16.9997 12 16.9998C11.4479 16.9998 11.0003 16.5518 11 15.9998V6.41383L7.70703 9.7068C7.31657 10.097 6.68343 10.097 6.29297 9.7068C5.90252 9.31635 5.90268 8.68328 6.29297 8.29273L11.293 3.29273L11.3691 3.22437Z",fill:"currentColor"})]})}var fa=Symbol("radix.slottable");function fo(e){return A.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===fa}var fi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,n;let a,o,i,s=(n=r=`Primitive.${t}`,(a=A.forwardRef((e,t)=>{let{children:r,...n}=e;if(A.isValidElement(r)){var a;let e,o,i=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==A.Fragment&&(s.ref=t?oX(t,i):i),A.cloneElement(r,s)}return A.Children.count(r)>1?A.Children.only(null):null})).displayName=`${n}.SlotClone`,o=a,(i=A.forwardRef((e,t)=>{let{children:r,...n}=e,a=A.Children.toArray(r),i=a.find(fo);if(i){let e=i.props.children,r=a.map(t=>t!==i?t:A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null);return(0,N.jsx)(o,{...n,ref:t,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,N.jsx)(o,{...n,ref:t,children:r})})).displayName=`${r}.Slot`,i),l=A.forwardRef((e,r)=>{let{asChild:n,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,N.jsx)(n?s:t,{...a,ref:r})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),fs="Progress",[fl,fu]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>A.createContext(e));return function(r){let n=r?.[e]||t;return A.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let a=A.createContext(n),o=r.length;r=[...r,n];let i=t=>{let{scope:r,children:n,...i}=t,s=r?.[e]?.[o]||a,l=A.useMemo(()=>i,Object.values(i));return(0,N.jsx)(s.Provider,{value:l,children:n})};return i.displayName=t+"Provider",[i,function(r,i){let s=i?.[e]?.[o]||a,l=A.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(fs),[fc,fd]=fl(fs),fp=A.forwardRef((e,t)=>{var r,n;let{__scopeProgress:a,value:o=null,max:i,getValueLabel:s=fg,...l}=e;(i||0===i)&&!fy(i)&&console.error((r=`${i}`,`Invalid prop \`max\` of value \`${r}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let u=fy(i)?i:100;null===o||fb(o,u)||console.error((n=`${o}`,`Invalid prop \`value\` of value \`${n}\` supplied to \`Progress\`. The \`value\` prop must be:
|
|
5485
|
+
${p}`:p),sW=["full-body","upper-body","lower-body","footwear","headwear","eyewear","neck","wrist","bag","waist"],sq=new Set(sW);function sK(e){return"string"==typeof e&&sq.has(e)}function sG(e,t="productType"){if(!sK(e)){let r="string"==typeof e&&e.length>0?` "${e}"`:"";throw Error(`AI try-on ${t} must be one of: ${sW.join(", ")}; received${r||" no value"}`)}}function sX(e){return(0,_.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8.37303 5.00342",fill:"none",...e,children:(0,_.jsx)("path",{d:"M1 1L4.18652 4.00342L7.37303 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function sY(e,t){-1===e.indexOf(t)&&e.push(t)}function sQ(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class sZ{constructor(){this.subscriptions=[]}add(e){return sY(this.subscriptions,e),()=>sQ(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let a=0;a<n;a++){let n=this.subscriptions[a];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let sJ={},s0=e=>e,s1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s2(e,t){let r=!1,n=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,i=s1.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,a=!1,o=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){i.has(t)&&(c.schedule(t),e()),l++,t(s)}let c={schedule:(e,t=!1,o=!1)=>{let s=o&&a?r:n;return t&&i.add(e),s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(s=e,a){o=!0;return}a=!0;let i=r;r=n,n=i,r.forEach(u),t,l=0,r.clear(),a=!1,o&&(o=!1,c.process(e))}};return c}(o,t?r:void 0),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:p,render:h,postRender:f}=i,g=()=>{let o=sJ.useManualTiming,i=o?a.timestamp:performance.now();r=!1,o||(a.delta=n?1e3/60:Math.max(Math.min(i-a.timestamp,40),1)),a.timestamp=i,a.isProcessing=!0,s.process(a),l.process(a),u.process(a),c.process(a),d.process(a),p.process(a),h.process(a),f.process(a),a.isProcessing=!1,r&&t&&(n=!1,e(g))};return{schedule:s1.reduce((t,o)=>{let s=i[o];return t[o]=(t,o=!1,i=!1)=>(!r&&(r=!0,n=!0,a.isProcessing||e(g)),s.schedule(t,o,i)),t},{}),cancel:e=>{for(let t=0;t<s1.length;t++)i[s1[t]].cancel(e)},state:a,steps:i}}let{schedule:s3,cancel:s5,state:s9,steps:s4}=s2("u">typeof requestAnimationFrame?requestAnimationFrame:s0,!0);function s6(){t=void 0}let s8={now:()=>(void 0===t&&s8.set(s9.isProcessing||sJ.useManualTiming?s9.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(s6)}},s7={current:void 0};class le{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=s8.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=s8.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new sZ);let r=this.events[e].add(t);return"change"===e?()=>{r(),s3.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s7.current&&s7.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=s8.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function lt(e,t){return new le(e,t)}let lr=(0,A.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ln(e){let t=(0,A.useRef)(null);return null===t.current&&(t.current=e()),t.current}function la(e){let t=ln(()=>lt(e)),{isStatic:r}=(0,A.useContext)(lr);if(r){let[,r]=(0,A.useState)(e);(0,A.useEffect)(()=>t.on("change",r),[])}return t}let lo=e=>!!(e&&e.getVelocity),li=()=>{},ls=()=>{},ll=(e,t)=>r=>t(e(r)),lu=(...e)=>e.reduce(ll),lc=(e,t,r)=>r>t?t:r<e?e:r,ld=e=>1e3*e,lp={layout:0,mainThread:0,waapi:0},lh=e=>t=>"string"==typeof t&&t.startsWith(e),lf=lh("--"),lg=lh("var(--"),lm=e=>!!lg(e)&&lv.test(e.split("/*")[0].trim()),lv=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ly(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let lb={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},lw={...lb,transform:e=>lc(0,1,e)},lk={...lb,default:1},lx=e=>Math.round(1e5*e)/1e5,lS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,lC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,lP=(e,t)=>r=>!!("string"==typeof r&&lC.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),lE=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[a,o,i,s]=n.match(lS);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(i),alpha:void 0!==s?parseFloat(s):1}},lT={...lb,transform:e=>Math.round(lc(0,255,e))},lR={test:lP("rgb","red"),parse:lE("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+lT.transform(e)+", "+lT.transform(t)+", "+lT.transform(r)+", "+lx(lw.transform(n))+")"},lO={test:lP("#"),parse:function(e){let t="",r="",n="",a="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),a=e.substring(4,5),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}},transform:lR.transform},lj=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),lz=lj("deg"),lN=lj("%"),l_=lj("px"),lA=lj("vh"),lL=lj("vw"),lI={...lN,parse:e=>lN.parse(e)/100,transform:e=>lN.transform(100*e)},lM={test:lP("hsl","hue"),parse:lE("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+lN.transform(lx(t))+", "+lN.transform(lx(r))+", "+lx(lw.transform(n))+")"},lF={test:e=>lR.test(e)||lO.test(e)||lM.test(e),parse:e=>lR.test(e)?lR.parse(e):lM.test(e)?lM.parse(e):lO.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?lR.transform(e):lM.transform(e),getAnimatableNone:e=>{let t=lF.parse(e);return t.alpha=0,lF.transform(t)}},lD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,lB="number",l$="color",lV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function lU(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},a=[],o=0,i=t.replace(lV,e=>(lF.test(e)?(n.color.push(o),a.push(l$),r.push(lF.parse(e))):e.startsWith("var(")?(n.var.push(o),a.push("var"),r.push(e)):(n.number.push(o),a.push(lB),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:i,indexes:n,types:a}}function lH({split:e,types:t}){let r=e.length;return n=>{let a="";for(let o=0;o<r;o++)if(a+=e[o],void 0!==n[o]){let e=t[o];e===lB?a+=lx(n[o]):e===l$?a+=lF.transform(n[o]):a+=n[o]}return a}}let lW={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(lS)?.length||0)+(e.match(lD)?.length||0)>0},parse:function(e){return lU(e).values},createTransformer:function(e){return lH(lU(e))},getAnimatableNone:function(e){let t=lU(e);return lH(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:lF.test(e)?lF.getAnimatableNone(e):e)(e,t.split[r])))}};function lq(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function lK(e,t){return r=>r>0?t:e}let lG=(e,t,r)=>e+(t-e)*r,lX=(e,t,r)=>{let n=e*e,a=r*(t*t-n)+n;return a<0?0:Math.sqrt(a)},lY=[lO,lR,lM];function lQ(e){let t=lY.find(t=>t.test(e));if(li(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===lM&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let a=0,o=0,i=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;a=lq(s,n,e+1/3),o=lq(s,n,e),i=lq(s,n,e-1/3)}else a=o=i=r;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*i),alpha:n}}(r)),r}let lZ=(e,t)=>{let r=lQ(e),n=lQ(t);if(!r||!n)return lK(e,t);let a={...r};return e=>(a.red=lX(r.red,n.red,e),a.green=lX(r.green,n.green,e),a.blue=lX(r.blue,n.blue,e),a.alpha=lG(r.alpha,n.alpha,e),lR.transform(a))},lJ=new Set(["none","hidden"]);function l0(e,t){return r=>lG(e,t,r)}function l1(e){return"number"==typeof e?l0:"string"==typeof e?lm(e)?lK:lF.test(e)?lZ:l5:Array.isArray(e)?l2:"object"==typeof e?lF.test(e)?lZ:l3:lK}function l2(e,t){let r=[...e],n=r.length,a=e.map((e,r)=>l1(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}}function l3(e,t){let r={...e,...t},n={};for(let a in r)void 0!==e[a]&&void 0!==t[a]&&(n[a]=l1(e[a])(e[a],t[a]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let l5=(e,t)=>{let r=lW.createTransformer(t),n=lU(e),a=lU(t);if(n.indexes.var.length===a.indexes.var.length&&n.indexes.color.length===a.indexes.color.length&&n.indexes.number.length>=a.indexes.number.length){if(lJ.has(e)&&!a.values.length||lJ.has(t)&&!n.values.length)return lJ.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return lu(l2(function(e,t){let r=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let o=t.types[a],i=e.indexes[o][n[o]],s=e.values[i]??0;r[a]=s,n[o]++}return r}(n,a),a.values),r)}return li(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),lK(e,t)};function l9(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?lG(e,t,r):l1(e)(e,t)}let l4=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>s3.update(t,e),stop:()=>s5(t),now:()=>s9.isProcessing?s9.timestamp:s8.now()}},l6=(e,t,r=10)=>{let n="",a=Math.max(Math.round(t/r),2);for(let t=0;t<a;t++)n+=Math.round(1e4*e(t/(a-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function l8(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let l7=.01,ue=2,ut=.005,ur=.5;function un(e,t){return e*Math.sqrt(1-t*t)}let ua=["duration","bounce"],uo=["stiffness","damping","mass"];function ui(e,t){return t.some(t=>void 0!==e[t])}function us(e=.3,t=.3){let r,n,a,o,i,s,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:u,restDelta:c}=l,d=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],h={done:!1,value:d},{stiffness:f,damping:g,mass:m,duration:v,velocity:y,isResolvedFromDuration:b}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ui(e,uo)&&ui(e,ua))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,a=2*lc(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:a}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let a,o;li(e<=ld(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=lc(.05,1,i),e=lc(.01,10,e/1e3),i<1?(a=t=>{let n=t*i,a=n*e;return .001-(n-r)/un(t,i)*Math.exp(-a)},o=t=>{let n=t*i*e,o=Math.pow(i,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=un(Math.pow(t,2),i);return(n*r+r-o)*s*(-a(t)+.001>0?-1:1)/l}):(a=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(a,o,5/e);if(e=ld(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*i*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),w=y||0,k=g/(2*Math.sqrt(f*m)),x=p-d,S=Math.sqrt(f/m)/1e3,C=5>Math.abs(x);if(u||(u=C?l7:ue),c||(c=C?ut:ur),k<1)a=un(S,k),o=(w+k*S*x)/a,r=e=>p-Math.exp(-k*S*e)*(o*Math.sin(a*e)+x*Math.cos(a*e)),i=k*S*o+x*a,s=k*S*x-o*a,n=e=>Math.exp(-k*S*e)*(i*Math.sin(a*e)+s*Math.cos(a*e));else if(1===k){r=e=>p-Math.exp(-S*e)*(x+(w+S*x)*e);let e=w+S*x;n=t=>Math.exp(-S*t)*(S*e*t-w)}else{let e=S*Math.sqrt(k*k-1);r=t=>{let r=Math.exp(-k*S*t),n=Math.min(e*t,300);return p-r*((w+k*S*x)*Math.sinh(n)+e*x*Math.cosh(n))/e};let t=(w+k*S*x)/e,a=k*S*t-x*e,o=k*S*x-t*e;n=t=>{let r=Math.exp(-k*S*t),n=Math.min(e*t,300);return r*(a*Math.sinh(n)+o*Math.cosh(n))}}let P={calculatedDuration:b&&v||null,velocity:e=>ld(n(e)),next:e=>{if(!b&&k<1){let t=Math.exp(-k*S*e),r=Math.sin(a*e),n=Math.cos(a*e),l=p-t*(o*r+x*n);return h.done=Math.abs(ld(t*(i*r+s*n)))<=u&&Math.abs(p-l)<=c,h.value=h.done?p:l,h}let t=r(e);return b?h.done=e>=v:h.done=Math.abs(ld(n(e)))<=u&&Math.abs(p-t)<=c,h.value=h.done?p:t,h},toString:()=>{let e=Math.min(l8(P),2e4),t=l6(t=>P.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return P}function ul(e,t,r){var n,a;let o=Math.max(t-5,0);return n=r-e(o),(a=t-o)?1e3/a*n:0}function uu({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,p,h=e[0],f={done:!1,value:h},g=r*t,m=h+g,v=void 0===i?m:i(m);v!==m&&(g=v-h);let y=e=>-g*Math.exp(-e/n),b=e=>v+y(e),w=e=>{let t=y(e),r=b(e);f.done=Math.abs(t)<=u,f.value=f.done?v:r},k=e=>{let t;if(t=f.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;d=e,p=us({keyframes:[f.value,(r=f.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:ul(b,e,f.value),damping:a,stiffness:o,restDelta:u,restSpeed:c})}};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==d||(t=!0,w(e),k(e)),void 0!==d&&e>=d)?p.next(e-d):(t||w(e),f)}}}us.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),a=Math.min(l8(n),2e4);return{type:"keyframes",ease:e=>n.next(a*e).value/t,duration:a/1e3}}(e,100,us);return e.ease=t.ease,e.duration=ld(t.duration),e.type="keyframes",e};let uc=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function ud(e,t,r,n){return e===t&&r===n?s0:a=>0===a||1===a?a:uc(function(e,t,r,n,a){let o,i,s=0;do(o=uc(i=t+(r-t)/2,n,a)-e)>0?r=i:t=i;while(Math.abs(o)>1e-7&&++s<12);return i}(a,0,1,e,r),t,n)}let up=ud(.42,0,1,1),uh=ud(0,0,.58,1),uf=ud(.42,0,.58,1),ug=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,um=e=>t=>1-e(1-t),uv=ud(.33,1.53,.69,.99),uy=um(uv),ub=ug(uy),uw=e=>e>=1?1:(e*=2)<1?.5*uy(e):.5*(2-Math.pow(2,-10*(e-1))),uk=e=>1-Math.sin(Math.acos(e)),ux=um(uk),uS=ug(uk),uC=e=>Array.isArray(e)&&"number"==typeof e[0],uP={linear:s0,easeIn:up,easeInOut:uf,easeOut:uh,circIn:uk,circInOut:uS,circOut:ux,backIn:uy,backInOut:ub,backOut:uv,anticipate:uw},uE=e=>{if(uC(e)){ls(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,a]=e;return ud(t,r,n,a)}return"string"==typeof e?(ls(void 0!==uP[e],`Invalid easing type '${e}'`,"invalid-easing-type"),uP[e]):e},uT=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function uR(e,t,{clamp:r=!0,ease:n,mixer:a}={}){let o=e.length;if(ls(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],a=r||sJ.mix||l9,o=e.length-1;for(let r=0;r<o;r++){let o=a(e[r],e[r+1]);t&&(o=lu(Array.isArray(t)?t[r]||s0:t,o)),n.push(o)}return n}(t,n,a),l=s.length,u=r=>{if(i&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let a=uT(e[n],e[n+1],r);return s[n](a)};return r?t=>u(lc(e[0],e[o-1],t)):u}function uO({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var a;let o,i=Array.isArray(n)&&"number"!=typeof n[0]?n.map(uE):uE(n),s={done:!1,value:t[0]},l=uR((a=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let a=uT(0,t,n);e.push(lG(r,1,a))}}(o=[0],t.length-1),o),a.map(t=>t*e)),t,{ease:Array.isArray(i)?i:t.map(()=>i||uf).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let uj=e=>null!==e;function uz(e,{repeat:t,repeatType:r="loop"},n,a=1){let o=e.filter(uj),i=a<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}let uN={decay:uu,inertia:uu,tween:uO,keyframes:uO,spring:us};function u_(e){"string"==typeof e.type&&(e.type=uN[e.type])}class uA{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let uL=e=>e/100;class uI extends uA{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==s8.now()&&this.tick(s8.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},lp.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;u_(e);let{type:t=uO,repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:o=0}=e,{keyframes:i}=e,s=t||uO;s!==uO&&"number"!=typeof i[0]&&(this.mixKeyframes=lu(uL,l9(i[0],i[1])),i=[0,100]);let l=s({...e,keyframes:i});"mirror"===a&&(this.mirroredGenerator=s({...e,keyframes:[...i].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=l8(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:a,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:h,type:f,onUpdate:g,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-a/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>a;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=a);let b=this.currentTime,w=n;if(d){let e=Math.min(this.currentTime,a)/s,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===p?(r=1-r,h&&(r-=h/s)):"mirror"===p&&(w=i)),b=lc(0,1,r)*s}y?(this.delayState.value=c[0],r=this.delayState):r=w.next(b),o&&!y&&(r.value=o(r.value));let{done:k}=r;y||null===l||(k=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return x&&f!==uu&&(r.value=uz(c,this.options,m,this.speed)),g&&g(r.value),x&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=ld(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ul(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(s8.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=l4,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s8.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,lp.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function uM(e){return"number"==typeof e?e:parseFloat(e)}let uF="u">typeof window,uD=uF?A.useLayoutEffect:A.useEffect;function uB(e,t){let r=la(t()),n=()=>r.set(t());return n(),uD(()=>{let t=()=>s3.preRender(n,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),s5(n)}}),r}function u$(e,t,r,n){if("function"==typeof e){let t;return s7.current=[],e(),t=uB(s7.current,e),s7.current=void 0,t}if(void 0!==r&&!Array.isArray(r)&&"function"!=typeof t){var a=e,o=t,i=r,s=n;let l=ln(()=>Object.keys(i)),u=ln(()=>({}));for(let e of l)u[e]=u$(a,o,i[e],s);return u}let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],a=uR(e[1+r],e[2+r],e[3+r]);return t?a(n):a}(t,r,n);return Array.isArray(e)?uV(e,l):uV([e],([e])=>l(e))}function uV(e,t){let r=ln(()=>[]);return uB(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}let uU=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],uH=new Set(uU),uW=new Set(["brightness","contrast","saturate","opacity"]);function uq(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(lS)||[];if(!n)return e;let a=r.replace(n,""),o=+!!uW.has(t);return n!==r&&(o*=100),t+"("+o+a+")"}let uK=/\b([a-z-]*)\(.*?\)/gu,uG={...lW,getAnimatableNone:e=>{let t=e.match(uK);return t?t.map(uq).join(" "):e}},uX={...lW,getAnimatableNone:e=>{let t=lW.parse(e);return lW.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},uY={...lb,transform:Math.round},uQ={borderWidth:l_,borderTopWidth:l_,borderRightWidth:l_,borderBottomWidth:l_,borderLeftWidth:l_,borderRadius:l_,borderTopLeftRadius:l_,borderTopRightRadius:l_,borderBottomRightRadius:l_,borderBottomLeftRadius:l_,width:l_,maxWidth:l_,height:l_,maxHeight:l_,top:l_,right:l_,bottom:l_,left:l_,inset:l_,insetBlock:l_,insetBlockStart:l_,insetBlockEnd:l_,insetInline:l_,insetInlineStart:l_,insetInlineEnd:l_,padding:l_,paddingTop:l_,paddingRight:l_,paddingBottom:l_,paddingLeft:l_,paddingBlock:l_,paddingBlockStart:l_,paddingBlockEnd:l_,paddingInline:l_,paddingInlineStart:l_,paddingInlineEnd:l_,margin:l_,marginTop:l_,marginRight:l_,marginBottom:l_,marginLeft:l_,marginBlock:l_,marginBlockStart:l_,marginBlockEnd:l_,marginInline:l_,marginInlineStart:l_,marginInlineEnd:l_,fontSize:l_,backgroundPositionX:l_,backgroundPositionY:l_,rotate:lz,rotateX:lz,rotateY:lz,rotateZ:lz,scale:lk,scaleX:lk,scaleY:lk,scaleZ:lk,skew:lz,skewX:lz,skewY:lz,distance:l_,translateX:l_,translateY:l_,translateZ:l_,x:l_,y:l_,z:l_,perspective:l_,transformPerspective:l_,opacity:lw,originX:lI,originY:lI,originZ:l_,zIndex:uY,fillOpacity:lw,strokeOpacity:lw,numOctaves:uY},uZ={...uQ,color:lF,backgroundColor:lF,outlineColor:lF,fill:lF,stroke:lF,borderColor:lF,borderTopColor:lF,borderRightColor:lF,borderBottomColor:lF,borderLeftColor:lF,filter:uG,WebkitFilter:uG,mask:uX,WebkitMask:uX},uJ=e=>uZ[e],u0=()=>({translate:0,scale:1,origin:0,originPoint:0}),u1=()=>({x:u0(),y:u0()}),u2=()=>({min:0,max:0}),u3=()=>({x:u2(),y:u2()}),u5=new Set(["width","height","top","left","right","bottom",...uU]),u9=e=>t=>t.test(e),u4=[lb,l_,lN,lz,lL,lA,{test:e=>"auto"===e,parse:e=>e}],u6=e=>u4.find(u9(e)),u8=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,u7=e=>180*e/Math.PI,ce=e=>cr(u7(Math.atan2(e[1],e[0]))),ct={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ce,rotateZ:ce,skewX:e=>u7(Math.atan(e[1])),skewY:e=>u7(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cr=e=>((e%=360)<0&&(e+=360),e),cn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ca=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),co={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:cn,scaleY:ca,scale:e=>(cn(e)+ca(e))/2,rotateX:e=>cr(u7(Math.atan2(e[6],e[5]))),rotateY:e=>cr(u7(Math.atan2(-e[2],e[0]))),rotateZ:ce,rotate:ce,skewX:e=>u7(Math.atan(e[4])),skewY:e=>u7(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ci(e){return+!!e.includes("scale")}function cs(e,t){let r,n;if(!e||"none"===e)return ci(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(a)r=co,n=a;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ct,n=t}if(!n)return ci(t);let o=r[t],i=n[1].split(",").map(cl);return"function"==typeof o?o(i):i[o]}function cl(e){return parseFloat(e.trim())}let cu=e=>e===lb||e===l_,cc=new Set(["x","y","z"]),cd=uU.filter(e=>!cc.has(e)),cp={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let a=e.max-e.min;return"border-box"===n?a:a-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let a=e.max-e.min;return"border-box"===n?a:a-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>cs(t,"x"),y:(e,{transform:t})=>cs(t,"y")};cp.translateX=cp.x,cp.translateY=cp.y;let ch=new Set,cf=!1,cg=!1,cm=!1;function cv(){if(cg){let e=Array.from(ch).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],cd.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}cg=!1,cf=!1,ch.forEach(e=>e.complete(cm)),ch.clear()}function cy(){ch.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(cg=!0)})}class cb{constructor(e,t,r,n,a,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=a,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(ch.add(this),cf||(cf=!0,s3.read(cy),s3.resolveKeyframes(cv))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let a=n?.get(),o=e[e.length-1];if(void 0!==a)e[0]=a;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===a&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ch.delete(this)}cancel(){"scheduled"===this.state&&(ch.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let cw=new Set([uG,uX]);function ck(e,t){let r=uJ(e);return cw.has(r)||(r=lW),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let cx=new Set(["auto","none","0"]);class cS extends cb{constructor(e,t,r,n,a){super(e,t,r,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&lm(n=n.trim())){let a=function e(t,r,n=1){ls(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[a,o]=function(e){let t=u8.exec(e);if(!t)return[,];let[,r,n,a]=t;return[`--${r??n}`,a]}(t);if(!a)return;let i=window.getComputedStyle(r).getPropertyValue(a);if(i){let e=i.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return lm(o)?e(o,r,n+1):o}(n,t.current);void 0!==a&&(e[r]=a),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!u5.has(r)||2!==e.length)return;let[n,a]=e,o=u6(n),i=u6(a);if(ly(n)!==ly(a)&&cp[r]){this.needsMeasurement=!0;return}if(o!==i)if(cu(o)&&cu(i))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else cp[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null!==e)return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e);return!0}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,a=0;for(;a<e.length&&!n;){let t=e[a];"string"==typeof t&&!cx.has(t)&&lU(t).values.length&&(n=e[a]),a++}if(n&&r)for(let a of t)e[a]=ck(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=cp[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let a=r.length-1,o=r[a];r[a]=cp[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}function cC(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function cP(e){let t;return()=>(void 0===t&&(t=e()),t)}let cE={};function cT(e,t){let r=cP(e);return()=>cE[t]??r()}let cR=cT(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),cO=cT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),cj=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,cz={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cj([0,.65,.55,1]),circOut:cj([.55,0,1,.45]),backIn:cj([.31,.01,.66,-.59]),backOut:cj([.33,1.53,.69,.99])};function cN(e){return"function"==typeof e&&"applyToOptions"in e}class c_ extends uA{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:i,onComplete:s}=e;this.isPseudoElement=!!a,this.allowFlatten=o,this.options=e,ls("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return cN(e)&&cO()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:a=300,repeat:o=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?cO()?l6(t,r):"ease-out":uC(t)?cj(t):Array.isArray(t)?t.map(t=>e(t,r)||cz.easeOut):cz[t]}(s,a);Array.isArray(d)&&(c.easing=d);let p={delay:n,duration:a,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"};u&&(p.pseudoElement=u);let h=e.animate(c,p);return h}(t,r,n,l,a),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let e=uz(n,this.options,i,this.speed);this.updateMotionValue&&this.updateMotionValue(e),cC(t,r,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ld(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&cR())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),s0):n(this)}}let cA=new Set(["opacity","clipPath","filter","transform"]),{schedule:cL}=s2(queueMicrotask,!1),cI=[...u4,lF,lW],cM=new WeakMap;function cF(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function cD(e){return"string"==typeof e||Array.isArray(e)}let cB=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],c$=["initial",...cB];function cV(e){return cF(e.animate)||c$.some(t=>cD(e[t]))}function cU(e){return!!(cV(e)||e.variants)}let cH={current:null},cW={current:!1},cq="u">typeof window;function cK(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function cG(e,t,r,n){if("function"==typeof t){let[a,o]=cK(n);t=t(void 0!==r?r:e.custom,a,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[a,o]=cK(n);t=t(void 0!==r?r:e.custom,a,o)}return t}let cX=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],cY={};class cQ{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:a,blockInitialAnimation:o,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=cb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=s8.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,s3.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=a,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=cV(t),this.isVariantNode=cU(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&lo(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,cM.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(cW.current||function(){if(cW.current=!0,cq)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cH.current=e.matches;e.addEventListener("change",t),t()}else cH.current=!1}(),this.shouldReduceMotion=cH.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),s5(this.notifyUpdate),s5(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&cA.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:a,ease:o,duration:i}=t.accelerate,s=new c_({element:this.current,name:e,keyframes:n,times:a,ease:o,duration:ld(i)}),l=r(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let n=uH.has(e);n&&this.onBindTransform&&this.onBindTransform();let a=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&s3.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{a(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in cY){let t=cY[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):u3()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<cX.length;t++){let r=cX[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let a=t[n],o=r[n];if(lo(a))e.addValue(n,a);else if(lo(o))e.addValue(n,lt(a,{owner:e}));else if(o!==a)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(a):t.hasAnimated||t.set(a)}else{let t=e.getStaticValue(n);e.addValue(n,lt(void 0!==t?t:a,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=lt(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,a;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(a=r,/^0[^.\s]+$/u.test(a))))r=parseFloat(r);else{let n;n=r,!cI.find(u9(n))&&lW.test(t)&&(r=ck(e,t))}this.setBaseTarget(e,lo(r)?r.get():r)}return lo(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=cG(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||lo(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new sZ),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){cL.render(this.render)}}class cZ extends cQ{constructor(){super(...arguments),this.KeyframeResolver=cS}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;lo(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function cJ(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let c0=(e,t)=>t&&"number"==typeof e?t.transform(e):e,c1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},c2=uU.length;function c3(e,t,r){let{style:n,vars:a,transformOrigin:o}=e,i=!1,s=!1;for(let e in t){let r=t[e];if(uH.has(e)){i=!0;continue}if(lf(e)){a[e]=r;continue}{let t=c0(r,uQ[e]);e.startsWith("origin")?(s=!0,o[e]=t):n[e]=t}}if(!t.transform&&(i||r?n.transform=function(e,t,r){let n="",a=!0;for(let o=0;o<c2;o++){let i=uU[o],s=e[i];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===+!!i.startsWith("scale");else{let e=parseFloat(s);l=i.startsWith("scale")?1===e:0===e}if(!l||r){let e=c0(s,uQ[i]);if(!l){a=!1;let t=c1[i]||i;n+=`${t}(${e}) `}r&&(t[i]=e)}}return n=n.trim(),r?n=r(t,a?"":n):a&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}let c5={offset:"stroke-dashoffset",array:"stroke-dasharray"},c9={offset:"strokeDashoffset",array:"strokeDasharray"},c4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function c6(e,{attrX:t,attrY:r,attrScale:n,pathLength:a,pathSpacing:o=1,pathOffset:i=0,...s},l,u,c){if(c3(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p}=e;for(let e of(d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=c?.transformBox??"fill-box",delete d.transformBox),c4))void 0!==d[e]&&(p[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==a&&function(e,t,r=1,n=0,a=!0){e.pathLength=1;let o=a?c5:c9;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,a,o,i,!1)}let c8=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),c7=e=>"string"==typeof e&&"svg"===e.toLowerCase();function de(e,{style:t,vars:r},n,a){let o,i=e.style;for(o in t)i[o]=t[o];for(o in a?.applyProjectionStyles(i,n),r)i.setProperty(o,r[o])}function dt(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let dr={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!l_.test(e))return e;else e=parseFloat(e);let r=dt(e,t.target.x),n=dt(e,t.target.y);return`${r}% ${n}%`}},dn={borderRadius:{...dr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:dr,borderTopRightRadius:dr,borderBottomLeftRadius:dr,borderBottomRightRadius:dr,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=lW.parse(e);if(n.length>5)return e;let a=lW.createTransformer(e),o=+("number"!=typeof n[0]),i=r.x.scale*t.x,s=r.y.scale*t.y;n[0+o]/=i,n[1+o]/=s;let l=lG(i,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),a(n)}}};function da(e,{layout:t,layoutId:r}){return uH.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!dn[e]||"opacity"===e)}function di(e,t,r){let n=e.style,a=t?.style,o={};if(!n)return o;for(let t in n)(lo(n[t])||a&&lo(a[t])||da(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function ds(e,t,r){let n=di(e,t,r);for(let r in e)(lo(e[r])||lo(t[r]))&&(n[-1!==uU.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class dl extends cZ{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=u3}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(uH.has(t)){let e=uJ(t);return e&&e.default||0}return t=c8.has(t)?t:cJ(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return ds(e,t,r)}build(e,t,r){c6(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in de(e,t,void 0,n),t.attrs)e.setAttribute(c8.has(r)?r:cJ(r),t.attrs[r])}mount(e){this.isSVGTag=c7(e.tagName),super.mount(e)}}function du({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function dc(e){return void 0===e||1===e}function dd({scale:e,scaleX:t,scaleY:r}){return!dc(e)||!dc(t)||!dc(r)}function dp(e){return dd(e)||dh(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function dh(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function df(e,t,r,n,a){return void 0!==a&&(e=n+a*(e-n)),n+r*(e-n)+t}function dg(e,t=0,r=1,n,a){e.min=df(e.min,t,r,n,a),e.max=df(e.max,t,r,n,a)}function dm(e,{x:t,y:r}){dg(e.x,t.translate,t.scale,t.originPoint),dg(e.y,r.translate,r.scale,r.originPoint)}function dv(e,t){e.min+=t,e.max+=t}function dy(e,t,r,n,a=.5){let o=lG(e.min,e.max,a);dg(e,t,r,o,n)}function db(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function dw(e,t,r){let n=r??e;dy(e.x,db(t.x,n.x),t.scaleX,t.scale,t.originX),dy(e.y,db(t.y,n.y),t.scaleY,t.scale,t.originY)}function dk(e,t){return du(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class dx extends cZ{constructor(){super(...arguments),this.type="html",this.renderInstance=de}readValueFromInstance(e,t){if(uH.has(t))return this.projection?.isProjecting?ci(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return cs(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(lf(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return dk(e,t)}build(e,t,r){c3(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return di(e,t,r)}}let dS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function dC(e){if("string"!=typeof e||e.includes("-"));else if(dS.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let dP=(0,A.createContext)({}),dE=(0,A.createContext)({strict:!1}),dT=(0,A.createContext)({});function dR(e){return Array.isArray(e)?e.join(" "):e}let dO=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function dj(e,t,r){for(let n in t)lo(t[n])||da(n,r)||(e[n]=t[n])}let dz=()=>({...dO(),attrs:{}}),dN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function d_(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||dN.has(e)}let dA=e=>!d_(e);try{O=require("@emotion/is-prop-valid").default,"function"==typeof O&&(dA=e=>e.startsWith("on")?!d_(e):O(e))}catch{}function dL(e){return lo(e)?e.get():e}let dI=(0,A.createContext)(null),dM=e=>(t,r)=>{let n=(0,A.useContext)(dT),a=(0,A.useContext)(dI),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,a){return{latestValues:function(e,t,r,n){let a={},o=n(e,{});for(let e in o)a[e]=dL(o[e]);let{initial:i,animate:s}=e,l=cV(e),u=cU(e);t&&u&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===i)?s:i;if(d&&"boolean"!=typeof d&&!cF(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=cG(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(a[e]=t)}for(let t in e)a[t]=e[t]}}}return a}(r,n,a,e),renderState:t()}})(e,t,n,a);return r?o():ln(o)},dF=dM({scrapeMotionValuesFromProps:di,createRenderState:dO}),dD=dM({scrapeMotionValuesFromProps:ds,createRenderState:dz}),dB={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},d$=!1;function dV(){return!function(){if(d$)return;let e={};for(let t in dB)e[t]={isEnabled:e=>dB[t].some(t=>!!e[t])};cY=e,d$=!0}(),cY}let dU=Symbol.for("motionComponentSymbol"),dH="data-"+cJ("framerAppearId"),dW=(0,A.createContext)({});function dq(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function dK(e,{forwardMotionProps:t=!1,type:r}={},n,a){n&&function(e){let t=dV();for(let r in e)t[r]={...t[r],...e[r]};cY=t}(n);let o=r?"svg"===r:dC(e),i=o?dD:dF;function s(r,n){var s;let l,u,c,d={...(0,A.useContext)(lr),...r,layoutId:function({layoutId:e}){let t=(0,A.useContext)(dP).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:p}=d,h=function(e){let{initial:t,animate:r}=function(e,t){if(cV(e)){let{initial:t,animate:r}=e;return{initial:!1===t||cD(t)?t:void 0,animate:cD(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,A.useContext)(dT));return(0,A.useMemo)(()=>({initial:t,animate:r}),[dR(t),dR(r)])}(r),f=i(r,p);if(!p&&uF){(0,A.useContext)(dE).strict;let t=function(e){let{drag:t,layout:r}=dV();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,h.visualElement=function(e,t,r,n,a,o){let{visualElement:i}=(0,A.useContext)(dT),s=(0,A.useContext)(dE),l=(0,A.useContext)(dI),u=(0,A.useContext)(lr).reducedMotion,c=(0,A.useRef)(null),d=(0,A.useRef)(!1);n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:i,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,isSVG:o}),d.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let p=c.current,h=(0,A.useContext)(dW);p&&!p.projection&&a&&("html"===p.type||"svg"===p.type)&&function(e,t,r,n){let{layoutId:a,layout:o,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:!!i||s&&dq(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(c.current,r,a,h);let f=(0,A.useRef)(!1);(0,A.useInsertionEffect)(()=>{p&&f.current&&p.update(r,l)});let g=r[dH],m=(0,A.useRef)(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return uD(()=>{d.current=!0,p&&(f.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),m.current&&p.animationState&&p.animationState.animateChanges())}),(0,A.useEffect)(()=>{p&&(!m.current&&p.animationState&&p.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),m.current=!1),p.enteringChildren=void 0)}),p}(e,f,d,a,t.ProjectionNode,o)}return(0,_.jsxs)(dT.Provider,{value:h,children:[l&&h.visualElement?(0,_.jsx)(l,{visualElement:h.visualElement,...d}):null,function(e,t,r,{latestValues:n},a,o=!1,i){let s=(i??dC(e)?function(e,t,r,n){let a=(0,A.useMemo)(()=>{let r=dz();return c6(r,t,c7(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};dj(t,e.style,e),a.style={...t,...a.style}}return a}:function(e,t){let r,n,a={},o=(r=e.style||{},dj(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,A.useMemo)(()=>{let r=dO();return c3(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=o,a})(t,n,a,e),l=function(e,t,r){let n={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(dA(a)||!0===r&&d_(a)||!t&&!d_(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(t,"string"==typeof e,o),u=e!==A.Fragment?{...l,...s,ref:r}:{},{children:c}=t,d=(0,A.useMemo)(()=>lo(c)?c.get():c,[c]);return(0,A.createElement)(e,{...u,children:d})}(e,r,(s=h.visualElement,u=(0,A.useRef)(n),(0,A.useInsertionEffect)(()=>{u.current=n}),c=(0,A.useRef)(null),(0,A.useCallback)(e=>{e&&f.onMount?.(e),s&&(e?s.mount(e):s.unmount());let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e)},[s])),f,p,t,o)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,A.forwardRef)(s);return l[dU]=e,l}class dG{constructor(e){this.isMounted=!1,this.node=e}update(){}}function dX(e,t,r){let n=e.getProps();return cG(n,t,void 0!==r?r:n.custom,e)}function dY(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function dQ(e,t){let r=e?.[t]??e?.default??e;return r!==e?dY(r,e):r}let dZ=e=>Array.isArray(e);function dJ(e,t){let r=e.getValue("willChange");if(lo(r)&&r.add)return r.add(t);if(!r&&sJ.WillChange){let r=new sJ.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let d0={anticipate:uw,backInOut:ub,circInOut:uS};class d1 extends c_{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in d0&&(e.ease=d0[e.ease])}(e),u_(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:a,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let i=new uI({...o,autoplay:!1}),s=Math.max(10,s8.now()-this.startTime),l=lc(0,10,s-10),u=i.sample(s).value,{name:c}=this.options;a&&c&&cC(a,c,u),t.setWithVelocity(i.sample(Math.max(0,s-l)).value,u,l),i.stop()}}let d2=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(lW.test(e)||"0"===e)&&!e.startsWith("url("));function d3(e){e.duration=0,e.type="keyframes"}let d5=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,d9=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),d4=cP(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class d6 extends uA{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:o="loop",keyframes:i,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s8.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:a,repeatType:o,name:s,motionValue:l,element:u,...c},p=u?.KeyframeResolver||cb;this.keyframeResolver=new p(i,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let a;this.keyframeResolver=void 0;let{name:o,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=s8.now();let d=!0;!function(e,t,r,n){let a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],i=d2(a,t),s=d2(o,t);return li(i===s,`You are trying to animate ${t} from "${a}" to "${o}". "${i?o:a}" is not an animatable value.`,"value-not-animatable"),!!i&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||cN(r))&&n)}(e,o,i,s)&&(d=!1,(sJ.instantAnimations||!l)&&c?.(uz(e,r,t)),e[0]=e[e.length-1],d3(r),r.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},h=d&&!u&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:a,damping:o,type:i,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return d4()&&r&&(cA.has(r)||d9.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&d5.test(e[t]))return!0;return!1}(s))&&("transform"!==r||!u)&&!l&&!n&&"mirror"!==a&&0!==o&&"inertia"!==i}(p),f=p.motionValue?.owner?.current;if(h)try{a=new d1({...p,element:f})}catch{a=new uI(p)}else a=new uI(p);a.finished.then(()=>{this.notifyFinished()}).catch(s0),this.pendingTimeline&&(this.stopTimeline=a.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=a}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),cm=!0,cy(),cv(),cm=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let d8={type:"spring",stiffness:500,damping:25,restSpeed:10},d7={type:"keyframes",duration:.8},pe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pt=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),pr=(e,t,r,n={},a,o)=>i=>{let s=dQ(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=ld(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{i(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:a};!function(e){for(let t in e)if(!pt.has(t))return!0;return!1}(s)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?d7:uH.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:d8:pe)(e,c)),c.duration&&(c.duration=ld(c.duration)),c.repeatDelay&&(c.repeatDelay=ld(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(d3(c),0===c.delay&&(d=!0)),(sJ.instantAnimations||sJ.skipAnimations||a?.shouldSkipAnimations)&&(d=!0,d3(c),c.delay=0),c.allowFlatten=!s.type&&!s.ease,d&&!o&&void 0!==t.get()){let e=uz(c.keyframes,s);if(void 0!==e)return void s3.update(()=>{c.onUpdate(e),c.onComplete()})}return s.isSync?new uI(c):new d6(c)};function pn(e,t,{delay:r=0,transitionOverride:n,type:a}={}){let{transition:o,transitionEnd:i,...s}=t,l=e.getDefaultTransition();o=o?dY(o,l):l;let u=o?.reduceMotion;n&&(o=n);let c=[],d=a&&e.animationState&&e.animationState.getState()[a];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),a=s[t];if(void 0===a||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let i={delay:r,...dQ(o||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(a)&&a===l&&!i.velocity){s3.update(()=>n.set(a));continue}let p=!1;if(window.MotionHandoffAnimation){let r=e.props[dH];if(r){let e=window.MotionHandoffAnimation(r,t,s3);null!==e&&(i.startTime=e,p=!0)}}dJ(e,t);let h=u??e.shouldReduceMotion;n.start(pr(t,n,a,h&&u5.has(t)?{type:!1}:i,e,p));let f=n.animation;f&&c.push(f)}if(i){let t=()=>s3.update(()=>{i&&function(e,t){let{transitionEnd:r={},transition:n={},...a}=dX(e,t)||{};for(let t in a={...a,...r}){var o;let r=dZ(o=a[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,lt(r))}}(e,i)});c.length?Promise.all(c).then(t):t()}return c}function pa(e,t,r,n=0,a=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),i=e.size,s=(i-1)*n;return"function"==typeof r?r(o,i):1===a?o*n:s-o*n}function po(e,t,r={}){let n=dX(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(a=r.transitionOverride);let o=n?()=>Promise.all(pn(e,n,r)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:i,staggerDirection:s}=a;return function(e,t,r=0,n=0,a=0,o=1,i){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(po(l,t,{...i,delay:r+("function"==typeof n?0:n)+pa(e.variantChildren,l,n,a,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,o,i,s,r)}:()=>Promise.resolve(),{when:s}=a;if(!s)return Promise.all([o(),i(r.delay)]);{let[e,t]="beforeChildren"===s?[o,i]:[i,o];return e().then(()=>t())}}let pi=c$.length;function ps(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let pl=[...cB].reverse(),pu=cB.length;function pc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function pd(){return{animate:pc(!0),whileInView:pc(),whileHover:pc(),whileTap:pc(),whileDrag:pc(),whileFocus:pc(),exit:pc()}}let pp=0,ph={x:!1,y:!1};function pf(e){return[e("x"),e("y")]}function pg(e){return e.max-e.min}function pm(e,t,r,n=.5){e.origin=n,e.originPoint=lG(t.min,t.max,e.origin),e.scale=pg(r)/pg(t),e.translate=lG(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function pv(e,t,r,n){pm(e.x,t.x,r.x,n?n.originX:void 0),pm(e.y,t.y,r.y,n?n.originY:void 0)}function py(e,t,r,n=0){e.min=(n?lG(r.min,r.max,n):r.min)+t.min,e.max=e.min+pg(t)}function pb(e,t,r,n=0){let a=n?lG(r.min,r.max,n):r.min;e.min=t.min-a,e.max=e.min+pg(t)}function pw(e,t,r,n){pb(e.x,t.x,r.x,n?.x),pb(e.y,t.y,r.y,n?.y)}let pk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function px(e){return pk.has(e.tagName)||!0===e.isContentEditable}function pS(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let pC=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function pP(e){return{point:{x:e.pageX,y:e.pageY}}}function pE(e,t,r,n){return pS(e,t,e=>pC(e)&&r(e,pP(e)),n)}let pT=({current:e})=>e?e.ownerDocument.defaultView:null,pR=(e,t)=>Math.abs(e-t),pO=new Set(["auto","scroll"]);class pj{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:a=!1,distanceThreshold:o=3,element:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=p_(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,a=(e=r.offset,t={x:0,y:0},Math.sqrt(pR(e.x,t.x)**2+pR(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!a)return;let{point:o}=r,{timestamp:i}=s9;this.history.push({...o,timestamp:i});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=pz(t,this.transformPagePoint),s3.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:a}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&a&&a(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=p_("pointercancel"===e.type?this.lastMoveEventInfo:pz(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!pC(e))return;this.dragSnapToOrigin=a,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const s=pz(pP(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=s9;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,p_(s,this.history)),this.removeListeners=lu(pE(this.contextWindow,"pointermove",this.handlePointerMove),pE(this.contextWindow,"pointerup",this.handlePointerUp),pE(this.contextWindow,"pointercancel",this.handlePointerUp)),i&&this.startScrollTracking(i)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(pO.has(e.overflowX)||pO.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},a={x:n.x-t.x,y:n.y-t.y};(0!==a.x||0!==a.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=a.x,this.lastMoveEventInfo.point.y+=a.y):this.history.length>0&&(this.history[0].x-=a.x,this.history[0].y-=a.y),this.scrollPositions.set(e,n),s3.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),s5(this.updatePoint)}}function pz(e,t){return t?{point:t(e.point)}:e}function pN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function p_({point:e},t){return{point:e,delta:pN(e,pA(t)),offset:pN(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,a=pA(e);for(;r>=0&&(n=e[r],!(a.timestamp-n.timestamp>ld(.1)));)r--;if(!n)return{x:0,y:0};let o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}(t,.1)}}function pA(e){return e[e.length-1]}function pL(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function pI(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function pM(e,t,r){return{min:pF(e,t),max:pF(e,r)}}function pF(e,t){return"number"==typeof e?e:e[t]||0}let pD=new WeakMap;class pB{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=u3(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let a=e=>{t?(this.stopAnimation(),this.snapToCursor(pP(e).point)):this.pauseAnimation()},o=(e,t)=>{this.stopAnimation();let{drag:r,dragPropagation:n,onDragStart:a}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(ph[e])return null;else return ph[e]=!0,()=>{ph[e]=!1};return ph.x||ph.y?null:(ph.x=ph.y=!0,()=>{ph.x=ph.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pf(e=>{let t=this.getAxisMotionValue(e).get()||0;if(lN.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=pg(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),a&&s3.postRender(()=>a(e,t)),dJ(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},i=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:a,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:i}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(i),null!==this.currentDirection&&a&&a(this.currentDirection);return}this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),o&&o(e,t)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>pf(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new pj(e,{onSessionStart:a,onStart:o,onMove:i,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:pT(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i&&s3.postRender(()=>i(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!p$(e,n,this.currentDirection))return;let a=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?lG(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?lG(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&dq(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:a}){return{x:pL(e.x,r,a),y:pL(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:pM(e,"left","right"),y:pM(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&pf(e=>{var t,n;let a;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],a={},void 0!==n.min&&(a.min=n.min-t.min),void 0!==n.max&&(a.max=n.max-t.min),a))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!dq(t))return!1;let n=t.current;ls(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let o=function(e,t,r){let n=dk(e,r),{scroll:a}=t;return a&&(dv(n.x,a.offset.x),dv(n.y,a.offset.y)),n}(n,a.root,this.visualElement.getTransformPagePoint()),i=(e=a.layout.layoutBox,{x:pI(e.x,o.x),y:pI(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=du(e))}return i}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{};return Promise.all(pf(i=>{if(!p$(i,t,this.currentDirection))return;let l=s&&s[i]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[i]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...a,...l};return this.startAxisValueAnimation(i,u)})).then(i)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return dJ(this.visualElement,e),r.start(pr(e,r,0,t,this.visualElement,!1))}stopAnimation(){pf(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){pf(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){pf(t=>{let{drag:r}=this.getProps();if(!p$(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,a=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],i=a.get()||0;a.set(e[t]-lG(r,o,.5)+i)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!dq(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};pf(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,a;let o,i,s,l=t.get();n[e]=(r={min:l,max:l},a=this.constraints[e],o=.5,i=pg(r),(s=pg(a))>i?o=uT(a.min,a.max-i,r.min):i>s&&(o=uT(r.min,r.max-s,a.min)),lc(0,1,o))}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),pf(t=>{if(!p$(t,e,null))return;let r=this.getAxisMotionValue(t),{min:a,max:o}=this.constraints[t];r.set(lG(a,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;pD.set(this.visualElement,this);let e=this.visualElement.current,t=pE(e,"pointerdown",t=>{let{drag:r,dragListener:n=!0}=this.getProps(),a=t.target,o=a!==e&&px(a);r&&n&&!o&&this.start(t)}),r=()=>{let{dragConstraints:e}=this.getProps();dq(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,a=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),s3.read(r);let o=pS(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(pf(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),a(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:o=.35,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:a,dragElastic:o,dragMomentum:i}}}function p$(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let pV=e=>(t,r)=>{e&&s3.postRender(()=>e(t,r))},pU={hasAnimatedSinceResize:!0,hasEverUpdated:!1},pH=!1;class pW extends A.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:a}=e;a&&(t.group&&t.group.add(a),r&&r.register&&n&&r.register(a),pH&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),pU.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:a}=this.props,{projection:o}=r;return o&&(o.isPresent=a,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),pH=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==a?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||s3.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),cL.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;pH=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function pq(e){let[t,r]=function(e=!0){let t=(0,A.useContext)(dI);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:a}=t,o=(0,A.useId)();(0,A.useEffect)(()=>{if(e)return a(o)},[e]);let i=(0,A.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!r&&n?[!1,i]:[!0]}(),n=(0,A.useContext)(dP);return(0,_.jsx)(pW,{...e,layoutGroup:n,switchLayoutGroup:(0,A.useContext)(dW),isPresent:t,safeToRemove:r})}function pK(e){return"object"==typeof e&&null!==e}function pG(e){return pK(e)&&"ownerSVGElement"in e}let pX=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],pY=pX.length,pQ=e=>"string"==typeof e?parseFloat(e):e,pZ=e=>"number"==typeof e||l_.test(e);function pJ(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let p0=p2(0,.5,ux),p1=p2(.5,.95,s0);function p2(e,t,r){return n=>n<e?0:n>t?1:r(uT(e,t,n))}function p3(e,t){e.min=t.min,e.max=t.max}function p5(e,t){p3(e.x,t.x),p3(e.y,t.y)}function p9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function p4(e,t,r,n,a){return e-=t,e=n+1/r*(e-n),void 0!==a&&(e=n+1/a*(e-n)),e}function p6(e,t,[r,n,a],o,i){!function(e,t=0,r=1,n=.5,a,o=e,i=e){if(lN.test(t)&&(t=parseFloat(t),t=lG(i.min,i.max,t/100)-i.min),"number"!=typeof t)return;let s=lG(o.min,o.max,n);e===o&&(s-=t),e.min=p4(e.min,t,r,s,a),e.max=p4(e.max,t,r,s,a)}(e,t[r],t[n],t[a],t.scale,o,i)}let p8=["x","scaleX","originX"],p7=["y","scaleY","originY"];function he(e,t,r,n){p6(e.x,t,p8,r?r.x:void 0,n?n.x:void 0),p6(e.y,t,p7,r?r.y:void 0,n?n.y:void 0)}function ht(e){return 0===e.translate&&1===e.scale}function hr(e){return ht(e.x)&&ht(e.y)}function hn(e,t){return e.min===t.min&&e.max===t.max}function ha(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ho(e,t){return ha(e.x,t.x)&&ha(e.y,t.y)}function hi(e){return pg(e.x)/pg(e.y)}function hs(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class hl{constructor(){this.members=[]}add(e){sY(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(sQ(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(sQ(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:a}=e.options;(void 0===n||n!==a)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let hu=(e,t)=>e.depth-t.depth;class hc{constructor(){this.children=[],this.isDirty=!1}add(e){sY(this.children,e),this.isDirty=!0}remove(e){sQ(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(hu),this.isDirty=!1,this.children.forEach(e)}}let hd=["","X","Y","Z"],hp=0;function hh(e,t,r,n){let{latestValues:a}=t;a[e]&&(r[e]=a[e],t.setStaticValue(e,0),n&&(n[e]=0))}function hf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(e={},r=t?.()){this.id=hp++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(hv),this.nodes.forEach(hE),this.nodes.forEach(hT),this.nodes.forEach(hy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new hc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new sZ),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=pG(t)&&!(pG(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,a=()=>this.root.updateBlockedByResize=!1;s3.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=s8.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(s5(o),a(r-250))},s3.setup(o,!0),r=()=>s5(o),pU.hasAnimatedSinceResize&&(pU.hasAnimatedSinceResize=!1,this.nodes.forEach(hP))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&a&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||a.getDefaultTransition()||h_,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!ho(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...dQ(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||hP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),s5(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hR),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[dH];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",s3,!(e||r))}let{parent:a}=t;a&&!a.hasCheckedOptimisedAppear&&e(a)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(hk),this.nodes.forEach(hw);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(hx);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(hS),this.nodes.forEach(hC),this.nodes.forEach(hg),this.nodes.forEach(hm)):this.nodes.forEach(hx),this.clearAllSnapshots();let e=s8.now();s9.delta=lc(0,1e3/60,e-s9.timestamp),s9.timestamp=e,s9.isProcessing=!0,s4.update.process(s9),s4.preRender.process(s9),s4.render.process(s9),s9.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,cL.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(hb),this.sharedNodes.forEach(hO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s3.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s3.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||pg(this.snapshot.measuredBox.x)||pg(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=u3()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!a)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!hr(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||dp(this.latestValues)||o)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),hI((t=n).x),hI(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return u3();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(hF))){let{scroll:e}=this.root;e&&(dv(t.x,e.offset.x),dv(t.y,e.offset.y))}return t}removeElementScroll(e){let t=u3();if(p5(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:a,options:o}=n;n!==this.root&&a&&o.layoutScroll&&(a.wasRoot&&p5(t,e),dv(t.x,a.offset.x),dv(t.y,a.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||u3();p5(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(dv(n.x,-r.scroll.offset.x),dv(n.y,-r.scroll.offset.y)),dp(r.latestValues)&&dw(n,r.latestValues,r.layout?.layoutBox)}return dp(this.latestValues)&&dw(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=u3();p5(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];dp(n.latestValues)&&(n.instance&&(dd(n.latestValues)&&n.updateSnapshot(),p5(r=u3(),n.measurePageBox())),he(t,n.latestValues,n.snapshot?.layoutBox,r))}return dp(this.latestValues)&&he(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==s9.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:a}=this.options;if(!this.layout||!(n||a))return;this.resolvedRelativeTargetAt=s9.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=u3(),this.targetWithTransforms=u3()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var i,s,l,u;this.forceRelativeParentToResolveTarget(),i=this.target,s=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,py(i.x,s.x,l.x,u?.x),py(i.y,s.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):p5(this.target,this.layout.layoutBox),dm(this.target,this.targetDelta)):p5(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||dd(this.parent.latestValues)||dh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=u3(),this.relativeTargetOrigin=u3(),pw(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),p5(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===s9.timestamp&&(r=!1),r)return;let{layout:n,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||a))return;p5(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,i=this.treeScale.y;!function(e,t,r,n=!1){let a,o,i=r.length;if(i){t.x=t.y=1;for(let s=0;s<i;s++){o=(a=r[s]).projectionDelta;let{visualElement:i}=a.options;(!i||!i.props.style||"contents"!==i.props.style.display)&&(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(dv(e.x,-a.scroll.offset.x),dv(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,dm(e,o)),n&&dp(a.latestValues)&&dw(e,a.latestValues,a.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=u3());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(p9(this.prevProjectionDelta.x,this.projectionDelta.x),p9(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),pv(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===i&&hs(this.projectionDelta.x,this.prevProjectionDelta.x)&&hs(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=u1(),this.projectionDelta=u1(),this.projectionDeltaWithTransform=u1()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,a=n?n.latestValues:{},o={...this.latestValues},i=u1();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=u3(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(hN));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(hj(i.x,e.x,n),hj(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,h,f,g,m;pw(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),h=this.relativeTarget,f=this.relativeTargetOrigin,g=s,m=n,hz(h.x,f.x,g.x,m),hz(h.y,f.y,g.y,m),r&&(u=this.relativeTarget,p=r,hn(u.x,p.x)&&hn(u.y,p.y))&&(this.isProjectionDirty=!1),r||(r=u3()),p5(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,a,o){a?(e.opacity=lG(0,r.opacity??1,p0(n)),e.opacityExit=lG(t.opacity??1,0,p1(n))):o&&(e.opacity=lG(t.opacity??1,r.opacity??1,n));for(let a=0;a<pY;a++){let o=pX[a],i=pJ(t,o),s=pJ(r,o);(void 0!==i||void 0!==s)&&(i||(i=0),s||(s=0),0===i||0===s||pZ(i)===pZ(s)?(e[o]=Math.max(lG(pQ(i),pQ(s),n),0),(lN.test(s)||lN.test(i))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=lG(t.rotate||0,r.rotate||0,n))}(o,a,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(s5(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s3.update(()=>{var t,r,n;let a;pU.hasAnimatedSinceResize=!0,lp.layout++,this.motionValue||(this.motionValue=lt(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{lp.layout--},onComplete:()=>{lp.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(a=lo(t)?t:lt(t)).start(pr("",a,r,n)),a.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:a}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&hM(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||u3();let t=pg(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=pg(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}p5(t,r),dw(t,a),pv(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new hl),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&hh("z",e,n,this.animationValues);for(let t=0;t<hd.length;t++)hh(`rotate${hd[t]}`,e,n,this.animationValues),hh(`skew${hd[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=dL(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=dL(t?.pointerEvents)||""),this.hasProjected&&!dp(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let a=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(e,t,r){let n="",a=e.x.translate/t.x,o=e.y.translate/t.y,i=r?.z||0;if((a||o||i)&&(n=`translate3d(${a}px, ${o}px, ${i}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:a,rotateY:o,skewX:i,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),a&&(n+=`rotateX(${a}deg) `),o&&(n+=`rotateY(${o}deg) `),i&&(n+=`skewX(${i}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,a);r&&(o=r(a,o)),e.transform=o;let{x:i,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*i.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?a.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:e.opacity=n===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,dn){if(void 0===a[t])continue;let{correct:r,applyTo:i,isCSSVariable:s}=dn[t],l="none"===o?a[t]:r(a[t],n);if(i){let t=i.length;for(let r=0;r<t;r++)e[i[r]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?dL(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(hw),this.root.sharedNodes.clear()}}}function hg(e){e.updateLayout()}function hm(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:a}=e.options,o=t.source!==e.layout.source;if("size"===a)pf(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],a=pg(n);n.min=r[e].min,n.max=n.min+a});else if("x"===a||"y"===a){let e="x"===a?"y":"x";p3(o?t.measuredBox[e]:t.layoutBox[e],r[e])}else hM(a,t.layoutBox,r)&&pf(n=>{let a=o?t.measuredBox[n]:t.layoutBox[n],i=pg(r[n]);a.max=a.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+i)});let i=u1();pv(i,r,t.layoutBox);let s=u1();o?pv(s,e.applyTransform(n,!0),t.measuredBox):pv(s,r,t.layoutBox);let l=!hr(i),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:a,layout:o}=n;if(a&&o){let i=e.options.layoutAnchor||void 0,s=u3();pw(s,t.layoutBox,a.layoutBox,i);let l=u3();pw(l,r,o.layoutBox,i),ho(s,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function hv(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hy(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function hb(e){e.clearSnapshot()}function hw(e){e.clearMeasurements()}function hk(e){e.isLayoutDirty=!0,e.updateLayout()}function hx(e){e.isLayoutDirty=!1}function hS(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function hC(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hP(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hE(e){e.resolveTargetDelta()}function hT(e){e.calcProjection()}function hR(e){e.resetSkewAndRotation()}function hO(e){e.removeLeadSnapshot()}function hj(e,t,r){e.translate=lG(t.translate,0,r),e.scale=lG(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function hz(e,t,r,n){e.min=lG(t.min,r.min,n),e.max=lG(t.max,r.max,n)}function hN(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let h_={duration:.45,ease:[.4,0,.1,1]},hA=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hL=hA("applewebkit/")&&!hA("chrome/")?Math.round:s0;function hI(e){e.min=hL(e.min),e.max=hL(e.max)}function hM(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(hi(t)-hi(r)))}function hF(e){return e!==e.root&&e.scroll?.wasRoot}let hD=hf({attachResizeListener:(e,t)=>pS(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),hB={current:void 0},h$=hf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!hB.current){let e=new hD({});e.mount(window),e.setOptions({layoutScroll:!0}),hB.current=e}return hB.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function hV(e,t){let r=function(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,r=(void 0)??t.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function hU(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let a=n["onHover"+r];a&&s3.postRender(()=>a(t,pP(t)))}let hH=(e,t)=>!!t&&(e===t||hH(e,t.parentElement)),hW=new WeakSet;function hq(e){return t=>{"Enter"===t.key&&e(t)}}function hK(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function hG(e){return pC(e)&&!(ph.x||ph.y)}let hX=new WeakSet;function hY(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let a=n["onTap"+("End"===r?"":r)];a&&s3.postRender(()=>a(t,pP(t)))}let hQ=new WeakMap,hZ=new WeakMap,hJ=e=>{let t=hQ.get(e.target);t&&t(e)},h0=e=>{e.forEach(hJ)},h1={some:0,all:1},h2=function(e,t){if("u"<typeof Proxy)return dK;let r=new Map,n=(r,n)=>dK(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(a,o)=>"create"===o?n:(r.has(o)||r.set(o,dK(o,void 0,e,t)),r.get(o))})}({animation:{Feature:class extends dG{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>po(e,t,r)));else if("string"==typeof t)n=po(e,t,r);else{let a="function"==typeof t?dX(e,t,r.custom):t;n=Promise.all(pn(e,a,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=pd(),n=!0,a=!1,o=t=>(r,n)=>{let a=dX(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(a){let{transition:e,transitionEnd:t,...n}=a;r={...r,...n,...t}}return r};function i(i){let{props:s}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<pi;e++){let n=c$[e],a=t.props[n];(cD(a)||!1===a)&&(r[n]=a)}return r}(e.parent)||{},u=[],c=new Set,d={},p=1/0;for(let t=0;t<pu;t++){var h,f;let g=pl[t],m=r[g],v=void 0!==s[g]?s[g]:l[g],y=cD(v),b=g===i?m.isActive:null;!1===b&&(p=t);let w=v===l[g]&&v!==s[g]&&y;if(w&&(n||a)&&e.manuallyAnimateOnMount&&(w=!1),m.protectedKeys={...d},!m.isActive&&null===b||!v&&!m.prevProp||cF(v)||"boolean"==typeof v)continue;if("exit"===g&&m.isActive&&!0!==b){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let k=(h=m.prevProp,"string"==typeof(f=v)?f!==h:!!Array.isArray(f)&&!ps(f,h)),x=k||g===i&&m.isActive&&!w&&y||t>p&&y,S=!1,C=Array.isArray(v)?v:[v],P=C.reduce(o(g),{});!1===b&&(P={});let{prevResolvedValues:E={}}=m,T={...E,...P},R=t=>{x=!0,c.has(t)&&(S=!0,c.delete(t)),m.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in T){let t=P[e],r=E[e];if(!d.hasOwnProperty(e))(dZ(t)&&dZ(r)?ps(t,r):t===r)?void 0!==t&&c.has(e)?R(e):m.protectedKeys[e]=!0:null!=t?R(e):c.add(e)}m.prevProp=v,m.prevResolvedValues=P,m.isActive&&(d={...d,...P}),(n||a)&&e.blockInitialAnimation&&(x=!1);let O=w&&k,j=!O||S;x&&j&&u.push(...C.map(t=>{let r={type:g};if("string"==typeof t&&(n||a)&&!O&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,a=dX(n,t);if(n.enteringChildren&&a){let{delayChildren:t}=a.transition||{};r.delay=pa(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof s.initial){let r=dX(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),a=e.getValue(r);a&&(a.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let g=!!u.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,a=!1,g?t(u):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let a=i(t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=pd(),a=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();cF(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends dG{constructor(){super(...arguments),this.id=pp++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends dG{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:a,amount:o="some",once:i}=r,s={root:n?n.current:void 0,rootMargin:a,threshold:"number"==typeof o?o:h1[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),a=t?r:n;a&&a(e)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;hZ.has(r)||hZ.set(r,{});let n=hZ.get(r),a=JSON.stringify(t);return n[a]||(n[a]=new IntersectionObserver(h0,{root:e,...t})),n[a]}(s),hQ.set(e,l),t.observe(e),()=>{hQ.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends dG{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,a,o]=hV(e,r),i=e=>{let n=e.currentTarget;if(!hG(e)||hX.has(e))return;hW.add(n),r.stopPropagation&&hX.add(e);let o=t(n,e),i=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),hW.has(n)&&hW.delete(n),hG(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{i(e,n===window||n===document||r.useGlobalTarget||hH(n,e.target))},l=e=>{i(e,!1)};window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",l,a)};return n.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",i,a),pK(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=hq(()=>{if(hW.has(r))return;hK(r,"down");let e=hq(()=>{hK(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>hK(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,a)),px(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(hY(this.node,t,"Start"),(e,{success:t})=>hY(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends dG{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lu(pS(this.node.current,"focus",()=>this.onFocus()),pS(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends dG{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,a,o]=hV(e,r);return n.forEach(e=>{let r,n=!1,o=!1,i=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},s=e=>{n=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),o&&(o=!1,i(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}i(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||ph.x||ph.y)return;o=!1;let i=t(e,n);"function"==typeof i&&(r=i,e.addEventListener("pointerleave",l,a))},a),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",s,a)},a)}),o}(e,(e,t)=>(hU(this.node,t,"Start"),e=>hU(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends dG{constructor(){super(...arguments),this.removePointerDownListener=s0}onPointerDown(e){this.session=new pj(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pT(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:pV(e),onStart:pV(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&s3.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=pE(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends dG{constructor(e){super(e),this.removeGroupControls=s0,this.removeListeners=s0,this.controls=new pB(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s0}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:h$,MeasureLayout:pq},layout:{ProjectionNode:h$,MeasureLayout:pq}},(e,t)=>t.isSVG??dC(e)?new dl(t):new dx(t,{allowProjection:e!==A.Fragment})),h3=(0,A.createContext)(null);function h5(){let e=(0,A.use)(h3);if(!e)throw Error("useComparisonSliderContext must be used within ComparisonSlider");return e}function h9({"aria-label":e="Comparison slider",className:t,mode:r="drag",onDragEnd:n,onDragStart:a,...o}){let[i,s]=(0,A.useState)(!1),l=la(50),u=function(e,t={}){return function(e,t={}){let{isStatic:r}=(0,A.useContext)(lr),n=()=>lo(e)?e.get():e;if(r)return u$(n);let a=la(n());return(0,A.useInsertionEffect)(()=>(function(e,t,r={}){let n,a=e.get(),o=null,i=a,s="string"==typeof a?a.replace(/[\d.-]/g,""):void 0,l=()=>{o&&(o.stop(),o=null),e.animation=void 0},u=()=>{(()=>{let t=uM(e.get()),a=uM(i);if(t===a)return l();let s=o?o.getGeneratorVelocity():e.getVelocity();l(),o=new uI({keyframes:[t,a],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...r,onUpdate:n})})(),e.animation=o??void 0,e.events.animationStart?.notify(),o?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{i=e,n=e=>{var r,n;return t((r=e,(n=s)?r+n:r))},s3.postRender(u)},l),lo(t)){let n=!0===r.skipInitialAnimation,a=t.on("change",t=>{var r,a,o,i;n?(n=!1,e.jump((r=t,(a=s)?r+a:r),!1)):e.set((o=t,(i=s)?o+i:o))}),o=e.on("destroy",a);return()=>{a(),o()}}return l})(a,e,t),[a,JSON.stringify(t)]),a}(e,{type:"spring",...t})}(l,{bounce:0,duration:0}),[c,d]=(0,A.useState)(50),p=(0,A.useMemo)(()=>({mode:r,motionSliderPosition:u,setSliderPosition:d,sliderPosition:c}),[r,u,c]);function h(e){let t=Math.min(Math.max(e,0),100);l.set(t),d(t)}function f(e,t){(i||"drag"!==r)&&h((t-e.left)/e.width*100)}function g(){"drag"===r&&(s(!0),a?.())}function m(){"drag"===r&&(s(!1),n?.())}return(0,_.jsx)(h3,{value:p,children:(0,_.jsx)("div",{"aria-label":e,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":c,className:i1("relative isolate w-full select-none overflow-hidden",t),role:"slider",tabIndex:0,onKeyDown:e=>{let t=e.shiftKey?10:1;("ArrowLeft"===e.key||"ArrowDown"===e.key)&&(e.preventDefault(),h(c-t)),("ArrowRight"===e.key||"ArrowUp"===e.key)&&(e.preventDefault(),h(c+t)),"Home"===e.key&&(e.preventDefault(),h(0)),"End"===e.key&&(e.preventDefault(),h(100))},onMouseDown:g,onMouseLeave:m,onMouseMove:e=>{f(e.currentTarget.getBoundingClientRect(),e.clientX)},onMouseUp:m,onTouchEnd:m,onTouchMove:e=>{f(e.currentTarget.getBoundingClientRect(),e.touches[0]?.clientX??0)},onTouchStart:g,...o})})}function h4({className:e,position:t,...r}){let{motionSliderPosition:n}=h5(),a=u$(n,e=>`inset(0 0 0 ${e}%)`),o=u$(n,e=>`inset(0 ${100-e}% 0 0)`);return(0,_.jsx)(h2.div,{"aria-hidden":"true",className:i1("absolute inset-0 h-full w-full object-cover",e),role:"img",style:{clipPath:"left"===t?a:o},...r})}function h6({className:e,children:t,...r}){let{mode:n,motionSliderPosition:a}=h5(),o=u$(a,e=>`${e}%`);return(0,_.jsx)(h2.div,{"aria-hidden":"true",className:i1("-translate-x-1/2 absolute top-0 z-50 flex h-full w-10 items-center justify-center","drag"===n&&"cursor-grab active:cursor-grabbing",e),role:"presentation",style:{left:o},...r,children:t??(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("div",{className:"-translate-x-1/2 absolute left-1/2 h-full w-0.5 bg-background"}),"drag"===n&&(0,_.jsx)("div",{className:"z-50 flex items-center justify-center rounded-sm bg-background px-0.5 py-1",children:(0,_.jsx)("span",{className:"h-4 w-0.5 rounded-full bg-muted-foreground"})})]})})}function h8(e){return(0,_.jsxs)("svg",{fill:"none",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,_.jsx)("path",{d:"M5.83302 17.3478C5.83302 16.9097 6.00874 16.4895 6.3213 16.1797C6.63386 15.8699 7.05766 15.6957 7.49968 15.6957C7.9417 15.6957 8.3655 15.8699 8.67806 16.1797C8.99062 16.4895 9.16634 16.9097 9.16634 17.3478C9.16634 17.786 8.99062 18.2061 8.67806 18.516C8.3655 18.8258 7.9417 19 7.49968 19C7.05766 19 6.63386 18.8258 6.3213 18.516C6.00874 18.2061 5.83302 17.786 5.83302 17.3478Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M14.9999 17.3478C14.9999 16.9097 15.1756 16.4896 15.4882 16.1797C15.8008 15.8699 16.2246 15.6957 16.6666 15.6957C17.1086 15.6957 17.5324 15.8699 17.845 16.1797C18.1575 16.4896 18.3332 16.9097 18.3332 17.3478C18.3332 17.786 18.1575 18.2061 17.845 18.516C17.5324 18.8258 17.1086 19 16.6666 19C16.2246 19 15.8008 18.8258 15.4882 18.516C15.1756 18.2061 14.9999 17.786 14.9999 17.3478Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M4.16665 0L4.2407 0.00322688C4.60569 0.0352804 4.91062 0.302097 4.9837 0.66393L5.68357 4.1304H19.1666C19.4149 4.1304 19.6503 4.24008 19.8087 4.4297C19.967 4.61939 20.0318 4.86954 19.9853 5.11137L18.6514 12.0419L18.6506 12.0484C18.5363 12.6188 18.223 13.1309 17.766 13.4956C17.3132 13.857 16.7478 14.0499 16.1669 14.0426L8.06637 14.0434C7.48543 14.0507 6.92009 13.857 6.46725 13.4956C6.01045 13.1311 5.69711 12.6193 5.58265 12.0492L4.18618 5.13235C4.18448 5.12458 4.18277 5.11681 4.18129 5.10895L3.48387 1.65216H0.833329C0.373094 1.65216 0 1.28231 0 0.826081C0 0.369849 0.373094 0 0.833329 0H4.16665ZM7.21676 11.7249L7.21757 11.7265C7.2557 11.9166 7.35986 12.0874 7.51217 12.2089C7.66452 12.3305 7.85536 12.3949 8.0509 12.3912H16.1824C16.3779 12.3949 16.5688 12.3305 16.7211 12.2089C16.8544 12.1025 16.951 11.9584 16.9986 11.7967L17.0157 11.7265L18.1591 5.78257H6.01722L7.21676 11.7249Z",fill:"currentColor"})]})}function h7(e){return(0,_.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,_.jsx)("g",{clipPath:"url(#clip0_3784_10212)",children:(0,_.jsx)("path",{d:"M13.4104 11.9958L17.7104 7.70579C17.8036 7.61255 17.8776 7.50186 17.928 7.38004C17.9785 7.25822 18.0045 7.12765 18.0045 6.99579C18.0045 6.86393 17.9785 6.73336 17.928 6.61154C17.8776 6.48972 17.8036 6.37903 17.7104 6.28579C17.6171 6.19255 17.5064 6.11859 17.3846 6.06813C17.2628 6.01767 17.1322 5.9917 17.0004 5.9917C16.8685 5.9917 16.7379 6.01767 16.6161 6.06813C16.4943 6.11859 16.3836 6.19255 16.2904 6.28579L12.0004 10.5858L7.71036 6.28579C7.52206 6.09749 7.26666 5.9917 7.00036 5.9917C6.73406 5.9917 6.47866 6.09749 6.29036 6.28579C6.10206 6.47409 5.99627 6.72949 5.99627 6.99579C5.99627 7.26209 6.10206 7.51749 6.29036 7.70579L10.5904 11.9958L6.29036 16.2858C6.19651 16.3787 6.12201 16.4893 6.07116 16.6111C6.02032 16.733 5.99414 16.8637 5.99414 16.9958C5.99414 17.1278 6.02032 17.2586 6.07116 17.3804C6.12201 17.5023 6.19651 17.6129 6.29036 17.7058C6.38332 17.7995 6.49392 17.8739 6.61578 17.9247C6.73764 17.9754 6.86835 18.0016 7.00036 18.0016C7.13237 18.0016 7.26308 17.9754 7.38494 17.9247C7.5068 17.8739 7.6174 17.7995 7.71036 17.7058L12.0004 13.4058L16.2904 17.7058C16.4067 17.8236 16.5505 17.9107 16.7087 17.9593C16.867 18.0079 17.0349 18.0165 17.1973 17.9843C17.3597 17.9521 17.5116 17.8801 17.6394 17.7748C17.7671 17.6695 17.8668 17.5341 17.9294 17.3808C18.0058 17.1971 18.0257 16.9948 17.9865 16.7997C17.9473 16.6047 17.8508 16.4257 17.7094 16.2858L13.4104 11.9958Z",fill:"currentColor"})}),(0,_.jsx)("defs",{children:(0,_.jsx)("clipPath",{id:"clip0_3784_10212",children:(0,_.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})}function fe(e){return(0,_.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[(0,_.jsx)("path",{d:"M14.3102 16.38L13.0002 17.64V12C13.0002 11.7348 12.8948 11.4804 12.7073 11.2929C12.5197 11.1053 12.2654 11 12.0002 11C11.735 11 11.4806 11.1053 11.2931 11.2929C11.1055 11.4804 11.0002 11.7348 11.0002 12V17.59L9.71018 16.29C9.56958 16.15 9.39071 16.0548 9.1961 16.0163C9.00149 15.9779 8.79984 15.9978 8.61656 16.0738C8.43329 16.1497 8.27658 16.2781 8.16618 16.443C8.05578 16.6078 7.99663 16.8016 7.99618 17C7.99616 17.1318 8.02212 17.2624 8.07256 17.3842C8.12301 17.506 8.19695 17.6167 8.29018 17.71L11.2902 20.71C11.4758 20.8945 11.7264 20.999 11.9881 21.0008C12.2499 21.0027 12.5019 20.9019 12.6902 20.72L15.6902 17.82C15.796 17.7323 15.8827 17.6237 15.9448 17.5011C16.0069 17.3785 16.0431 17.2444 16.0512 17.1072C16.0593 16.97 16.039 16.8325 15.9917 16.7035C15.9444 16.5744 15.871 16.4565 15.7762 16.357C15.6811 16.2574 15.5664 16.1786 15.4394 16.1255C15.3124 16.0723 15.1758 16.046 15.0382 16.0482C14.9005 16.0503 14.7648 16.0809 14.6395 16.138C14.5142 16.1951 14.4021 16.2775 14.3102 16.38Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M17.6704 6.999C17.2623 5.82006 16.497 4.79762 15.4807 4.07397C14.4645 3.35031 13.2479 2.96143 12.0004 2.96143C10.7528 2.96143 9.53628 3.35031 8.52005 4.07397C7.50381 4.79762 6.73842 5.82006 6.33038 6.999C5.43194 7.11934 4.5831 7.48166 3.87468 8.0472C3.16627 8.61274 2.62492 9.36022 2.30855 10.2097C1.99218 11.0592 1.91269 11.9787 2.07859 12.8698C2.24449 13.761 2.64953 14.5903 3.25038 15.269C3.32296 15.3968 3.42284 15.5071 3.54289 15.592C3.66295 15.6768 3.80023 15.7341 3.94497 15.7599C4.08971 15.7856 4.23834 15.7791 4.38029 15.7408C4.52223 15.7026 4.65399 15.6335 4.76618 15.5385C4.87838 15.4435 4.96825 15.3249 5.0294 15.1912C5.09055 15.0576 5.12147 14.912 5.11996 14.765C5.11845 14.618 5.08455 14.4732 5.02067 14.3408C4.95679 14.2084 4.86451 14.0917 4.75038 13.999C4.3635 13.5665 4.11037 13.031 4.02167 12.4575C3.93297 11.884 4.01252 11.2971 4.25066 10.7679C4.4888 10.2387 4.87532 9.7899 5.36338 9.47593C5.85143 9.16197 6.42007 8.9963 7.00038 8.999H7.10038C7.33433 9.00372 7.56252 8.92625 7.74524 8.78008C7.92796 8.6339 8.05363 8.42828 8.10038 8.199C8.284 7.29477 8.77457 6.48182 9.48898 5.8979C10.2034 5.31398 11.0977 4.99499 12.0204 4.99499C12.9431 4.99499 13.8374 5.31398 14.5518 5.8979C15.2662 6.48182 15.7568 7.29477 15.9404 8.199C15.9871 8.42828 16.1128 8.6339 16.2955 8.78008C16.4782 8.92625 16.7064 9.00372 16.9404 8.999H17.0004C17.5807 8.9963 18.1493 9.16197 18.6374 9.47593C19.1254 9.7899 19.512 10.2387 19.7501 10.7679C19.9883 11.2971 20.0678 11.884 19.9791 12.4575C19.8904 13.031 19.6373 13.5665 19.2504 13.999C19.1623 14.0978 19.0947 14.2131 19.0515 14.3382C19.0083 14.4633 18.9904 14.5957 18.9987 14.7278C19.0071 14.8599 19.0416 14.989 19.1003 15.1077C19.1589 15.2263 19.2405 15.3321 19.3404 15.419C19.5394 15.5938 19.7996 15.6825 20.064 15.6656C20.3283 15.6488 20.5752 15.5277 20.7504 15.329C21.3679 14.6514 21.7873 13.8172 21.9626 12.9173C22.138 12.0175 22.0625 11.0868 21.7446 10.227C21.4267 9.36713 20.8785 8.61124 20.1599 8.04194C19.4414 7.47264 18.5802 7.11185 17.6704 6.999Z",fill:"currentColor"})]})}function ft(e){return(0,_.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.3333 13.3343",fill:"none",...e,children:(0,_.jsx)("path",{d:"M12.6667 2.66759H9.33333V1.55425C9.31769 1.12747 9.13347 0.724291 8.82105 0.433114C8.50862 0.141937 8.0935 -0.0134857 7.66667 0.000918958H5.66667C5.23984 -0.0134857 4.82471 0.141937 4.51229 0.433114C4.19986 0.724291 4.01564 1.12747 4 1.55425V2.66759H0.666667C0.489856 2.66759 0.320286 2.73782 0.195262 2.86285C0.0702379 2.98787 0 3.15744 0 3.33425C0 3.51106 0.0702379 3.68063 0.195262 3.80566C0.320286 3.93068 0.489856 4.00092 0.666667 4.00092H1.33333V11.3343C1.33333 11.8647 1.54405 12.3734 1.91912 12.7485C2.29419 13.1235 2.8029 13.3343 3.33333 13.3343H10C10.5304 13.3343 11.0391 13.1235 11.4142 12.7485C11.7893 12.3734 12 11.8647 12 11.3343V4.00092H12.6667C12.8435 4.00092 13.013 3.93068 13.1381 3.80566C13.2631 3.68063 13.3333 3.51106 13.3333 3.33425C13.3333 3.15744 13.2631 2.98787 13.1381 2.86285C13.013 2.73782 12.8435 2.66759 12.6667 2.66759ZM5.33333 1.55425C5.33333 1.44759 5.47333 1.33425 5.66667 1.33425H7.66667C7.86 1.33425 8 1.44759 8 1.55425V2.66759H5.33333V1.55425ZM10.6667 11.3343C10.6667 11.5111 10.5964 11.6806 10.4714 11.8057C10.3464 11.9307 10.1768 12.0009 10 12.0009H3.33333C3.15652 12.0009 2.98695 11.9307 2.86193 11.8057C2.7369 11.6806 2.66667 11.5111 2.66667 11.3343V4.00092H10.6667V11.3343Z",fill:"currentColor"})})}function fr(e){return(0,_.jsxs)("svg",{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,_.jsx)("path",{d:"M20 11C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12V18C19 18.2652 18.8946 18.5196 18.7071 18.7071C18.5196 18.8946 18.2652 19 18 19H6C5.73478 19 5.48043 18.8946 5.29289 18.7071C5.10536 18.5196 5 18.2652 5 18V6C5 5.73478 5.10536 5.48043 5.29289 5.29289C5.48043 5.10536 5.73478 5 6 5H12C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4C13 3.73478 12.8946 3.48043 12.7071 3.29289C12.5196 3.10536 12.2652 3 12 3H6C5.20435 3 4.44129 3.31607 3.87868 3.87868C3.31607 4.44129 3 5.20435 3 6V18C3 18.7956 3.31607 19.5587 3.87868 20.1213C4.44129 20.6839 5.20435 21 6 21H18C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18V12C21 11.7348 20.8946 11.4804 20.7071 11.2929C20.5196 11.1054 20.2652 11 20 11Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M16.0001 5H17.5801L11.2901 11.28C11.1725 11.3965 11.0856 11.5402 11.0371 11.6985C10.9887 11.8567 10.9802 12.0245 11.0123 12.1868C11.0445 12.3491 11.1164 12.5009 11.2216 12.6287C11.3268 12.7565 11.462 12.8562 11.6151 12.919C11.7987 12.9957 12.0009 13.0158 12.196 12.9768C12.3911 12.9378 12.5701 12.8414 12.7101 12.7L19.0001 6.42V8C19.0001 8.26522 19.1054 8.51957 19.293 8.70711C19.4805 8.89464 19.7349 9 20.0001 9C20.2653 9 20.5197 8.89464 20.7072 8.70711C20.8947 8.51957 21.0001 8.26522 21.0001 8V4C21.0001 3.73478 20.8947 3.48043 20.7072 3.29289C20.5197 3.10536 20.2653 3 20.0001 3H16.0001C15.7349 3 15.4805 3.10536 15.293 3.29289C15.1054 3.48043 15.0001 3.73478 15.0001 4C15.0001 4.26522 15.1054 4.51957 15.293 4.70711C15.4805 4.89464 15.7349 5 16.0001 5Z",fill:"currentColor"})]})}function fn(e){return(0,_.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,_.jsx)("path",{d:"M20 15.9998C20.5522 15.9998 20.9999 16.4476 21 16.9998V18.9998C20.9999 19.7952 20.6835 20.5584 20.1211 21.1209C19.5585 21.6833 18.7955 21.9998 18 21.9998H6C5.20446 21.9998 4.44149 21.6833 3.87891 21.1209C3.31646 20.5584 3.00012 19.7952 3 18.9998V16.9998C3.00009 16.4476 3.44777 15.9998 4 15.9998C4.55223 15.9998 4.99991 16.4476 5 16.9998V18.9998C5.00012 19.2648 5.1056 19.5194 5.29297 19.7068C5.48048 19.8942 5.7349 19.9998 6 19.9998H18C18.2651 19.9998 18.5195 19.8942 18.707 19.7068C18.8944 19.5194 18.9999 19.2648 19 18.9998V16.9998C19.0001 16.4476 19.4478 15.9998 20 15.9998Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M11.3691 3.22437C11.7619 2.90402 12.3409 2.92662 12.707 3.29273L17.707 8.29273C18.0973 8.68328 18.0975 9.31635 17.707 9.7068C17.3166 10.097 16.6834 10.097 16.293 9.7068L13 6.41383V15.9998C12.9997 16.5518 12.552 16.9997 12 16.9998C11.4479 16.9998 11.0003 16.5518 11 15.9998V6.41383L7.70703 9.7068C7.31657 10.097 6.68343 10.097 6.29297 9.7068C5.90252 9.31635 5.90268 8.68328 6.29297 8.29273L11.293 3.29273L11.3691 3.22437Z",fill:"currentColor"})]})}var fa=Symbol("radix.slottable");function fo(e){return A.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===fa}var fi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,n;let a,o,i,s=(n=r=`Primitive.${t}`,(a=A.forwardRef((e,t)=>{let{children:r,...n}=e;if(A.isValidElement(r)){var a;let e,o,i=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==A.Fragment&&(s.ref=t?oX(t,i):i),A.cloneElement(r,s)}return A.Children.count(r)>1?A.Children.only(null):null})).displayName=`${n}.SlotClone`,o=a,(i=A.forwardRef((e,t)=>{let{children:r,...n}=e,a=A.Children.toArray(r),i=a.find(fo);if(i){let e=i.props.children,r=a.map(t=>t!==i?t:A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null);return(0,_.jsx)(o,{...n,ref:t,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,_.jsx)(o,{...n,ref:t,children:r})})).displayName=`${r}.Slot`,i),l=A.forwardRef((e,r)=>{let{asChild:n,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,_.jsx)(n?s:t,{...a,ref:r})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),fs="Progress",[fl,fu]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>A.createContext(e));return function(r){let n=r?.[e]||t;return A.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let a=A.createContext(n),o=r.length;r=[...r,n];let i=t=>{let{scope:r,children:n,...i}=t,s=r?.[e]?.[o]||a,l=A.useMemo(()=>i,Object.values(i));return(0,_.jsx)(s.Provider,{value:l,children:n})};return i.displayName=t+"Provider",[i,function(r,i){let s=i?.[e]?.[o]||a,l=A.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(fs),[fc,fd]=fl(fs),fp=A.forwardRef((e,t)=>{var r,n;let{__scopeProgress:a,value:o=null,max:i,getValueLabel:s=fg,...l}=e;(i||0===i)&&!fy(i)&&console.error((r=`${i}`,`Invalid prop \`max\` of value \`${r}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let u=fy(i)?i:100;null===o||fb(o,u)||console.error((n=`${o}`,`Invalid prop \`value\` of value \`${n}\` supplied to \`Progress\`. The \`value\` prop must be:
|
|
5482
5486
|
- a positive number
|
|
5483
5487
|
- less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
|
|
5484
5488
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
5485
5489
|
|
|
5486
|
-
Defaulting to \`null\`.`));let c=fb(o,u)?o:null,d=fv(c)?s(c,u):void 0;return(0,N.jsx)(fc,{scope:a,value:c,max:u,children:(0,N.jsx)(fi.div,{"aria-valuemax":u,"aria-valuemin":0,"aria-valuenow":fv(c)?c:void 0,"aria-valuetext":d,role:"progressbar","data-state":fm(c,u),"data-value":c??void 0,"data-max":u,...l,ref:t})})});fp.displayName=fs;var fh="ProgressIndicator",ff=A.forwardRef((e,t)=>{let{__scopeProgress:r,...n}=e,a=fd(fh,r);return(0,N.jsx)(fi.div,{"data-state":fm(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...n,ref:t})});function fg(e,t){return`${Math.round(e/t*100)}%`}function fm(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function fv(e){return"number"==typeof e}function fy(e){return fv(e)&&!isNaN(e)&&e>0}function fb(e,t){return fv(e)&&!isNaN(e)&&e<=t&&e>=0}function fw({className:e,value:t,max:r=100,...n}){let a=r>0?r:100,o="number"==typeof t?Math.min(Math.max(t/a*100,0),100):0;return(0,N.jsx)(fp,{"data-slot":"progress",className:i1("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),value:t,max:a,...n,children:(0,N.jsx)(ff,{"data-slot":"progress-indicator",className:"h-full bg-primary transition-[width]",style:{width:`${o}%`}})})}function fk(e){return(0,N.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:(0,N.jsx)("path",{d:"M8.21723 14.9975C8.10298 14.997 7.99004 14.9731 7.8854 14.9272C7.78077 14.8814 7.68665 14.8145 7.60889 14.7308L3.55889 10.4225C3.4075 10.2611 3.3264 10.0463 3.33343 9.82513C3.34046 9.604 3.43505 9.39471 3.59639 9.24332C3.75773 9.09192 3.97261 9.01082 4.19374 9.01785C4.41488 9.02489 4.62417 9.11948 4.77556 9.28082L8.20889 12.9392L15.2172 5.27248C15.2883 5.18392 15.3768 5.11083 15.4772 5.0577C15.5776 5.00458 15.6878 4.97254 15.8011 4.96355C15.9143 4.95456 16.0282 4.96882 16.1357 5.00544C16.2432 5.04207 16.3421 5.10029 16.4263 5.17652C16.5105 5.25276 16.5782 5.3454 16.6253 5.44877C16.6724 5.55213 16.6979 5.66403 16.7001 5.7776C16.7024 5.89116 16.6815 6.00399 16.6385 6.10916C16.5956 6.21433 16.5316 6.30961 16.4506 6.38915L8.83389 14.7225C8.75686 14.8077 8.66308 14.8761 8.55841 14.9234C8.45373 14.9707 8.34042 14.996 8.22556 14.9975H8.21723Z",fill:"currentColor"})})}function fx(e){return(0,N.jsxs)("svg",{fill:"none",viewBox:"0 0 19.9993 19.9996",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,N.jsx)("path",{d:"M16 9C16 7.14348 15.2629 5.36256 13.9502 4.0498C12.6374 2.73705 10.8565 2 9 2C7.14348 2 5.36256 2.73705 4.0498 4.0498C2.73705 5.36256 2 7.14348 2 9C2 10.8565 2.73705 12.6374 4.0498 13.9502C5.36256 15.2629 7.14348 16 9 16C10.8565 16 12.6374 15.2629 13.9502 13.9502C15.2629 12.6374 16 10.8565 16 9ZM18 9C18 11.3869 17.0521 13.6764 15.3643 15.3643C13.6764 17.0521 11.3869 18 9 18C6.61305 18 4.32357 17.0521 2.63574 15.3643C0.947915 13.6764 0 11.3869 0 9C0 6.61305 0.947915 4.32357 2.63574 2.63574C4.32357 0.947915 6.61305 0 9 0C11.3869 0 13.6764 0.947915 15.3643 2.63574C17.0521 4.32357 18 6.61305 18 9Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M13.9428 13.943C14.3333 13.5525 14.9663 13.5525 15.3568 13.943L19.7064 18.2926C20.097 18.6832 20.097 19.3162 19.7064 19.7067C19.3159 20.0972 18.6829 20.0972 18.2924 19.7067L13.9428 15.3571C13.5522 14.9666 13.5522 14.3335 13.9428 13.943Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M7.99983 12.0001V6.00008C7.99983 5.4478 8.44755 5.00008 8.99983 5.00008C9.55211 5.00008 9.99983 5.4478 9.99983 6.00008V12.0001C9.99983 12.5524 9.55211 13.0001 8.99983 13.0001C8.44755 13.0001 7.99983 12.5524 7.99983 12.0001Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M11.9998 8.00008C12.5521 8.00008 12.9998 8.4478 12.9998 9.00008C12.9998 9.55237 12.5521 10.0001 11.9998 10.0001H5.99983C5.44755 10.0001 4.99983 9.55237 4.99983 9.00008C4.99983 8.4478 5.44755 8.00008 5.99983 8.00008H11.9998Z",fill:"currentColor"})]})}function fS({children:e,className:t,...r}){return(0,N.jsx)("div",{className:i1("relative h-82 w-full overflow-hidden rounded-xl bg-background-base sm:h-100",t),...r,children:e})}function fC({className:e,src:t}){return(0,N.jsxs)(N.Fragment,{children:[t&&(0,N.jsx)("img",{"aria-hidden":"true",className:i1("absolute inset-0 size-full scale-125 object-cover blur-3xl",e),src:t}),(0,N.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-background-dark/5"})]})}function fP({backdropClassName:e,className:t,fallbackSrc:r,imageClassName:n,photo:a}){let o=a?.src??r;function i(e){r&&(e.currentTarget.src=r)}return(0,N.jsxs)(N.Fragment,{children:[o&&(0,N.jsx)("img",{"aria-hidden":"true",className:i1("absolute inset-0 size-full scale-125 object-cover blur-3xl",t,e),src:o,onError:i}),(0,N.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-background-dark/5"}),o&&(0,N.jsx)("img",{alt:a?.name??"",className:i1("absolute inset-0 size-full object-contain",t,n),src:o,onError:i})]})}function fE({className:e,fallbackSrc:t,photo:r}){let n=r?.src??t;return(0,N.jsxs)(N.Fragment,{children:[n&&(0,N.jsx)("img",{"aria-hidden":"true",className:i1("absolute inset-0 size-full scale-125 object-cover blur-3xl",e),src:n,onError:e=>{t&&(e.currentTarget.src=t)}}),(0,N.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-background-dark/20"})]})}function fT({className:e,...t}){let r=(0,A.useId)().replace(/:/g,""),n=`${r}-loading-texture-gradient`,a=`${r}-loading-texture-pattern`,o=`${r}-loading-texture-mask`;return(0,N.jsxs)("svg",{className:i1("text-constant-white",e),fill:"none",focusable:"false",viewBox:"0 0 776 992",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,N.jsxs)("defs",{children:[(0,N.jsxs)("radialGradient",{id:n,cx:"0",cy:"0",gradientTransform:"translate(388 496) rotate(90) scale(1021)",gradientUnits:"userSpaceOnUse",r:"1",children:[(0,N.jsx)("stop",{stopColor:"currentColor",stopOpacity:"0.7"}),(0,N.jsx)("stop",{offset:"0.586538",stopColor:"currentColor",stopOpacity:"0"})]}),(0,N.jsx)("pattern",{id:a,width:"24",height:"24",patternUnits:"userSpaceOnUse",children:(0,N.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"currentColor"})}),(0,N.jsx)("mask",{id:o,children:(0,N.jsx)("rect",{width:"776",height:"992",fill:`url(#${a})`})})]}),(0,N.jsx)("rect",{width:"776",height:"992",fill:`url(#${n})`,mask:`url(#${o})`})]})}function fR({animated:e=!1,className:t,...r}){return(0,N.jsxs)("div",{"aria-hidden":"true",className:i1("absolute h-133 w-104 max-w-none",t),...r,children:[!e&&(0,N.jsx)(fT,{className:"absolute inset-0 size-full opacity-30"}),e&&(0,N.jsx)("span",{className:"absolute inset-0 [mask-image:radial-gradient(circle,var(--v-constant-black)_0_36%,transparent_82%)] [mask-position:center] [mask-repeat:no-repeat] [mask-size:18%_18%] [-webkit-mask-image:radial-gradient(circle,var(--v-constant-black)_0_36%,transparent_82%)] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:18%_18%] animate-[ai-try-on-loading-texture-pulse_2.6s_linear_infinite] motion-reduce:animate-none motion-reduce:[mask-size:220%_220%] motion-reduce:[-webkit-mask-size:220%_220%]",children:(0,N.jsx)(fT,{className:"absolute inset-0 size-full opacity-70"})})]})}function fO({badge:e,className:t,fallbackSrc:r,photo:n,selected:a,...o}){return(0,N.jsxs)("button",{className:i1("group relative aspect-square w-full overflow-hidden rounded-xl bg-background-base-2 text-left ring-offset-2 transition","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground",a?"ring-2 ring-foreground":null,t),type:"button",...o,children:[n?.src?(0,N.jsx)("img",{alt:n.name??"",className:"size-full object-cover",src:n.src}):r?(0,N.jsx)("img",{alt:"",className:"size-full object-cover",src:r}):null,a&&(0,N.jsx)("span",{className:"absolute right-2 top-2 flex size-7 items-center justify-center rounded-full bg-foreground text-background-containers",children:(0,N.jsx)(fk,{className:"size-4"})}),e&&(0,N.jsx)("span",{className:"absolute right-2 top-2",children:e})]})}function fj({className:e,label:t,progress:r=0,...n}){let a=Math.min(Math.max(r,0),100);return(0,N.jsxs)("div",{className:i1("rounded-xl bg-background-base px-6 py-8",e),...n,children:[(0,N.jsxs)("div",{className:"mb-2 flex items-center justify-between text-sm font-medium text-text-sub",children:[(0,N.jsx)("span",{children:t}),(0,N.jsxs)("span",{children:[Math.round(a),"%"]})]}),(0,N.jsx)(fw,{className:"h-1 bg-background-base-3 [&_[data-slot=progress-indicator]]:bg-background-dark",value:a})]})}function fz({className:e,fallbackSrc:t,photo:r}){let n=r?.src??t;return n?(0,N.jsx)("img",{alt:r?.name??"",className:i1("absolute left-1/2 top-0 h-full w-69 -translate-x-1/2 object-cover",e),src:n,onError:e=>{t&&(e.currentTarget.src=t)}}):null}function f_({className:e,imageSrc:t,name:r}){return t?(0,N.jsx)("img",{alt:r??"",className:i1("absolute bottom-2 left-2 h-30 w-auto rounded-xl border border-background-containers bg-background-containers object-contain shadow-md",e),src:t}):null}function fN({good:e,imageSrc:t,label:r}){return(0,N.jsxs)("div",{className:"relative aspect-square w-full overflow-hidden rounded-xl border border-border-light bg-background-base",children:[(0,N.jsx)("img",{alt:r,className:"size-full object-cover",src:t}),(0,N.jsx)("span",{className:i1("absolute right-2 top-2 flex size-7 items-center justify-center rounded-full",e?"bg-background-green":"bg-background-red"),children:e?(0,N.jsx)(fk,{className:"size-5 text-background-containers"}):(0,N.jsx)(h7,{className:"size-5 text-background-containers"})})]})}function fA({className:e,onOpenComparison:t,productLabel:r,productUrl:n,result:a,zoomLabel:o}){let i="inline-flex h-8 min-w-0 max-w-52 flex-1 items-center justify-center gap-1.5 rounded-xl bg-button-light px-3 text-xs font-semibold text-text-dark";return(0,N.jsxs)(fS,{"aria-label":o,className:i1("block cursor-pointer text-left",e),role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t())},children:[(0,N.jsx)(fP,{photo:a?.after}),(0,N.jsxs)("div",{className:"absolute bottom-2 left-2 right-2 flex items-center justify-between gap-2",children:[n?(0,N.jsxs)("a",{className:i,href:n,onClick:e=>e.stopPropagation(),children:[(0,N.jsx)(fr,{"aria-hidden":"true",className:"size-4"}),(0,N.jsx)("span",{className:"truncate",children:r})]}):(0,N.jsxs)("span",{className:i,children:[(0,N.jsx)(fr,{"aria-hidden":"true",className:"size-4"}),(0,N.jsx)("span",{className:"truncate",children:r})]}),(0,N.jsx)("button",{"aria-label":o,className:"inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-button-light text-text-dark",type:"button",onClick:e=>{e.stopPropagation(),t()},children:(0,N.jsx)(fx,{"aria-hidden":"true",className:"size-3.5"})})]})]})}function fL({onAddToCart:e,onClose:t,onDeleteResult:r,onSaveResult:n,onShareResult:a,portalContainer:o,productName:i,productUrl:s,result:l}){let{t:u}=rE(),c=i??u("resultProductLink");return(0,N.jsx)(st,{open:!0,onOpenChange:e=>!e&&t(),children:(0,N.jsxs)(sa,{className:"dark fixed inset-0 left-0 top-0 flex h-svh max-h-none w-svw max-w-none translate-x-0 translate-y-0 flex-col rounded-none bg-[#212124E5] p-0 text-text-dark duration-200 sm:max-w-none sm:p-0",portalContainer:o,showCloseButton:!1,children:[(0,N.jsxs)(so,{className:"sr-only",children:[(0,N.jsx)(si,{children:u("comparisonTitle")}),(0,N.jsx)(ss,{children:u("comparisonSlider")})]}),(0,N.jsxs)("div",{className:"flex h-23 shrink-0 items-center justify-between px-8 py-6",children:[s?(0,N.jsx)(i9,{asChild:!0,className:"max-w-80",size:"lg",variant:"outline",children:(0,N.jsxs)("a",{href:s,children:[(0,N.jsx)(fr,{"data-icon":"inline-start"}),(0,N.jsx)("span",{className:"truncate",children:c})]})}):(0,N.jsxs)(i9,{className:"max-w-80",size:"lg",type:"button",variant:"outline",children:[(0,N.jsx)(fr,{"data-icon":"inline-start"}),(0,N.jsx)("span",{className:"truncate",children:c})]}),(0,N.jsx)(i9,{"aria-label":u("close"),size:"icon-lg",type:"button",variant:"outline",onClick:t,children:(0,N.jsx)(h7,{className:"!size-3","data-icon":"inline-start"})})]}),(0,N.jsx)("div",{className:"flex min-h-0 flex-1 items-center justify-center px-8",children:(0,N.jsxs)(h9,{"aria-label":u("comparisonSlider"),className:"h-full max-h-179 w-full max-w-143 bg-background-base-2",children:[(0,N.jsx)(h4,{position:"right",children:(0,N.jsx)(fz,{className:"w-full object-contain",photo:l?.after})}),(0,N.jsx)(h4,{position:"left",children:(0,N.jsx)(fz,{className:"w-full object-contain",photo:l?.before})}),(0,N.jsxs)(h6,{className:"w-11",children:[(0,N.jsx)("div",{className:"absolute left-1/2 h-full w-0.5 -translate-x-1/2 bg-constant-white"}),(0,N.jsx)("div",{className:"flex size-9 items-center justify-center rounded-full bg-constant-white text-constant-black shadow-lg",children:(0,N.jsx)("span",{className:"h-5 w-0.5 rounded-full bg-current"})})]})]})}),(0,N.jsx)("div",{className:"flex h-23 shrink-0 items-center justify-center px-8 pb-6 pt-3",children:(0,N.jsxs)("div",{className:"flex w-full max-w-104 items-start gap-2",children:[(0,N.jsxs)(i9,{className:"min-w-0 flex-1",size:"lg",type:"button",variant:"contrast",onClick:e,children:[(0,N.jsx)(h8,{"data-icon":"inline-start"}),(0,N.jsx)("span",{className:"truncate",children:u("resultTryAnother")})]}),(0,N.jsx)(i9,{"aria-label":u("share"),size:"icon-lg",type:"button",variant:"outline",onClick:a,children:(0,N.jsx)(fn,{"data-icon":"inline-start"})}),(0,N.jsx)(i9,{"aria-label":u("download"),size:"icon-lg",type:"button",variant:"outline",onClick:n,children:(0,N.jsx)(fe,{"data-icon":"inline-start"})}),(0,N.jsx)(i9,{"aria-label":u("reset"),size:"icon-lg",type:"button",variant:"outline",onClick:function(){r()},children:(0,N.jsx)(ft,{"data-icon":"inline-start"})})]})})]})})}ff.displayName=fh;let fI=i3("inline-flex w-fit items-center justify-center overflow-hidden rounded-full whitespace-nowrap",{variants:{variant:{default:"bg-contrast text-contrast-foreground",secondary:"bg-[var(--color-background-gray-transparent)] text-text-base",positive:"bg-[var(--color-background-green-transparent)] text-text-green",negative:"bg-[var(--color-background-red-transparent)] text-text-red",standard:"bg-[var(--color-background-blue-transparent)] text-text-blue"},size:{sm:"h-6 px-2 typo-button-small",md:"h-[30px] px-3 typo-button-normal"}},defaultVariants:{variant:"default",size:"sm"}});function fM({className:e,variant:t,size:r,asChild:n=!1,...a}){return(0,N.jsx)(n?oJ:"span",{"data-slot":"badge",className:i1(fI({variant:t,size:r,className:e})),...a})}function fF({className:e,...t}){return(0,N.jsx)("div",{className:i1("flex max-h-svh w-svw flex-col overflow-hidden rounded-t-3xl rounded-b-none bg-background-containers text-foreground shadow-2xl sm:max-h-[min(calc(100svh-var(--spacing)*8),--spacing(176))] sm:w-120 sm:rounded-3xl",e),...t})}function fD({badge:e,badgeTone:t="gray",className:r,closeLabel:n,leftSlot:a,middleSlot:o,onClose:i,preferMiddleSlotFirst:s=!1,showCloseButton:l=!1,...u}){let c=e?(0,N.jsx)(fB,{tone:t,children:e}):null;return(0,N.jsxs)("div",{className:i1("flex h-17 items-center justify-between p-4",r),...u,children:[(0,N.jsxs)("div",{className:"flex items-center gap-2",children:[a,s?o:c,s?c:o]}),l&&(0,N.jsx)(i9,{"aria-label":n,size:"icon",type:"button",variant:"outline",onClick:i,children:(0,N.jsx)(h7,{"data-icon":"inline-start"})})]})}function fB({className:e,tone:t="gray",...r}){return(0,N.jsx)(fM,{className:e,size:"md",variant:"blue"===t?"standard":"green"===t?"positive":"red"===t?"negative":"secondary",...r})}function f$({className:e,...t}){return(0,N.jsx)("div",{className:i1("flex min-h-0 flex-1 flex-col animate-in fade-in-0 duration-100 motion-reduce:animate-none",e),...t})}function fV(e){return(0,N.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,N.jsx)("path",{d:"M21.1667 8.4C21.1667 8.16131 21.07 7.93245 20.8981 7.76367C20.7262 7.59489 20.4931 7.5 20.25 7.5H16.5833C16.2768 7.5 15.9906 7.3496 15.8206 7.09922L14.2594 4.8H9.74056L8.17936 7.09922C8.00935 7.3496 7.72316 7.5 7.41667 7.5H3.75C3.50688 7.5 3.2738 7.59489 3.10189 7.76367C2.92998 7.93245 2.83333 8.16131 2.83333 8.4V18.3C2.83333 18.5387 2.92998 18.7675 3.10189 18.9363C3.2738 19.1051 3.50689 19.2 3.75 19.2H20.25C20.4931 19.2 20.7262 19.1051 20.8981 18.9363C21.07 18.7675 21.1667 18.5387 21.1667 18.3V8.4ZM14.75 12.9C14.75 12.184 14.46 11.4973 13.9443 10.991C13.4287 10.4847 12.7292 10.2001 12 10.2C11.2707 10.2 10.5705 10.4847 10.0548 10.991C9.53923 11.4973 9.25 12.1841 9.25 12.9C9.25 13.6159 9.53923 14.3027 10.0548 14.809C10.5705 15.3153 11.2707 15.6 12 15.6C12.7292 15.5999 13.4287 15.3153 13.9443 14.809C14.46 14.3027 14.75 13.616 14.75 12.9ZM16.5833 12.9C16.5833 14.0934 16.1 15.2377 15.2406 16.0816C14.3811 16.9255 13.2155 17.3999 12 17.4C10.7844 17.4 9.61809 16.9256 8.75854 16.0816C7.89919 15.2378 7.41667 14.0933 7.41667 12.9C7.41667 11.7067 7.89919 10.5622 8.75854 9.71836C9.61809 8.87445 10.7844 8.4 12 8.4C13.2155 8.40008 14.3811 8.87452 15.2406 9.71836C16.1 10.5623 16.5833 11.7066 16.5833 12.9ZM23 18.3C23 19.0161 22.7101 19.7026 22.1943 20.209C21.6786 20.7153 20.9793 21 20.25 21H3.75C3.02065 21 2.32139 20.7153 1.80566 20.209C1.28994 19.7026 1 19.0161 1 18.3V8.4C1 7.68392 1.28994 6.99736 1.80566 6.49102C2.32139 5.98467 3.02065 5.7 3.75 5.7H6.92611L8.4873 3.40078L8.55623 3.31201C8.72911 3.11535 8.98172 3 9.25 3H14.75L14.8637 3.00703C15.1262 3.03922 15.3639 3.18167 15.5127 3.40078L17.0739 5.7H20.25C20.9793 5.7 21.6786 5.98467 22.1943 6.49102C22.7101 6.99736 23 7.68392 23 8.4V18.3Z",fill:"currentColor"})})}function fU(e){return(0,N.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.00342 8.37303",fill:"none",...e,children:(0,N.jsx)("path",{d:"M1 1L4.00342 4.18652L1 7.37303",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function fH(e){return(0,N.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[(0,N.jsx)("path",{d:"M18 3H6C5.20435 3 4.44129 3.31607 3.87868 3.87868C3.31607 4.44129 3 5.20435 3 6V18C3 18.7956 3.31607 19.5587 3.87868 20.1213C4.44129 20.6839 5.20435 21 6 21H18C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18V6C21 5.20435 20.6839 4.44129 20.1213 3.87868C19.5587 3.31607 18.7956 3 18 3ZM6 5H18C18.2652 5 18.5196 5.10536 18.7071 5.29289C18.8946 5.48043 19 5.73478 19 6V14.36L15.8 11.63C15.3042 11.222 14.6821 10.999 14.04 10.999C13.3979 10.999 12.7758 11.222 12.28 11.63L5 17.7V6C5 5.73478 5.10536 5.48043 5.29289 5.29289C5.48043 5.10536 5.73478 5 6 5ZM18 19H6.56L13.56 13.16C13.6945 13.0602 13.8575 13.0062 14.025 13.0062C14.1925 13.0062 14.3555 13.0602 14.49 13.16L19 17V18C19 18.2652 18.8946 18.5196 18.7071 18.7071C18.5196 18.8946 18.2652 19 18 19Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M7.99983 9.99992C8.39766 9.99992 8.77919 9.84188 9.06049 9.56058C9.34179 9.27927 9.49983 8.89774 9.49983 8.49992C9.49983 8.10209 9.34179 7.72056 9.06049 7.43925C8.77919 7.15795 8.39766 6.99992 7.99983 6.99992C7.60201 6.99992 7.22047 7.15795 6.93917 7.43925C6.65787 7.72056 6.49983 8.10209 6.49983 8.49992C6.49983 8.89774 6.65787 9.27927 6.93917 9.56058C7.22047 9.84188 7.60201 9.99992 7.99983 9.99992Z",fill:"currentColor"})]})}function fW(e){return(0,N.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3C18.7956 3 19.5585 3.3163 20.1211 3.87891C20.6837 4.44152 21 5.20435 21 6V18C21 18.7956 20.6837 19.5585 20.1211 20.1211C19.5585 20.6837 18.7956 21 18 21H6C5.20435 21 4.44152 20.6837 3.87891 20.1211C3.3163 19.5585 3 18.7956 3 18V6C3 5.20435 3.3163 4.44152 3.87891 3.87891C4.44152 3.3163 5.20435 3 6 3H18ZM14.0352 12C13.8633 12 13.6974 12.0639 13.5703 12.1797L6 19H18C18.2876 18.977 18.5547 18.8414 18.7422 18.6221C18.9296 18.4028 19.0221 18.1177 19 17.8301V16.6602L14.5 12.1797C14.3729 12.0639 14.2071 12 14.0352 12ZM8 7C7.60218 7 7.22076 7.15815 6.93945 7.43945C6.65815 7.72076 6.5 8.10218 6.5 8.5C6.5 8.89782 6.65815 9.27924 6.93945 9.56055C7.22076 9.84185 7.60218 10 8 10C8.39782 10 8.77924 9.84185 9.06055 9.56055C9.34185 9.27924 9.5 8.89782 9.5 8.5C9.5 8.10218 9.34185 7.72076 9.06055 7.43945C8.77924 7.15815 8.39782 7 8 7Z",fill:"currentColor"})})}function fq(e){return(0,N.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,N.jsx)("path",{d:"M6.05944 11.1406C6.47507 8.23438 8.97819 6 12.0001 6C13.6563 6 15.1563 6.67187 16.2438 7.75625L16.2626 7.775L16.5001 8H15.0032C14.4501 8 14.0032 8.44687 14.0032 9C14.0032 9.55313 14.4501 10 15.0032 10H19.0032C19.5563 10 20.0032 9.55313 20.0032 9V5C20.0032 4.44688 19.5563 4 19.0032 4C18.4501 4 18.0032 4.44688 18.0032 5V6.66875L17.6501 6.33437C16.2032 4.89375 14.2032 4 12.0001 4C7.96882 4 4.63444 6.98125 4.08132 10.8594C4.00319 11.4062 4.38132 11.9125 4.92819 11.9906C5.47507 12.0688 5.98132 11.6875 6.05944 11.1438V11.1406ZM19.9188 13.1406C19.9969 12.5938 19.6157 12.0875 19.0719 12.0094C18.5282 11.9312 18.0188 12.3125 17.9407 12.8562C17.5251 15.7625 15.0219 17.9969 12.0001 17.9969C10.3438 17.9969 8.84382 17.325 7.75632 16.2406L7.73757 16.2219L7.50007 15.9969H8.99694C9.55007 15.9969 9.99694 15.55 9.99694 14.9969C9.99694 14.4437 9.55007 13.9969 8.99694 13.9969L5.00007 14C4.73444 14 4.47819 14.1063 4.29069 14.2969C4.10319 14.4875 3.99694 14.7406 4.00007 15.0094L4.03132 18.9781C4.03444 19.5312 4.48757 19.975 5.04069 19.9688C5.59382 19.9625 6.03757 19.5125 6.03132 18.9594L6.01882 17.35L6.35319 17.6656C7.80007 19.1062 9.79694 20 12.0001 20C16.0313 20 19.3657 17.0187 19.9188 13.1406Z",fill:"currentColor"})})}function fK({className:e,...t}){return(0,N.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:i1("size-6",e),...t,children:[(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0625 1.70412C12.1393 1.70359 12.2136 1.7151 12.2842 1.73439C12.6576 1.76978 13.0261 1.88527 13.3604 2.08303L19.7012 5.84084L19.7031 5.84181C20.1036 6.08032 20.4348 6.42322 20.665 6.83498C20.8952 7.24671 21.0168 7.71415 21.0166 8.19142V8.19338L20.998 15.7403C20.9979 16.1352 20.9124 16.526 20.751 16.8848C20.7319 16.9557 20.7049 17.026 20.667 17.0928C20.6355 17.1482 20.5983 17.1987 20.5576 17.2442C20.3296 17.6 20.023 17.8979 19.6631 18.1133L13.2998 21.9072C12.4738 22.3996 11.4611 22.4004 10.6436 21.917L10.6416 21.916L4.30078 18.1582L4.29883 18.1572C3.91023 17.9258 3.58764 17.5957 3.3584 17.2002C3.35105 17.1885 3.34181 17.1773 3.33496 17.1651C3.32803 17.1526 3.32268 17.1387 3.31641 17.126C3.09976 16.7236 2.98517 16.2703 2.98535 15.8076V15.8057L3.00391 8.25588C3.00603 7.28279 3.51293 6.37777 4.33984 5.88478L10.7021 2.09181C11.0682 1.87369 11.4708 1.75231 11.877 1.72658C11.9365 1.71245 11.999 1.70462 12.0625 1.70412ZM5.16895 7.36818C4.87108 7.54583 4.6844 7.87497 4.68359 8.23635L4.66602 15.3838L9.45801 12.5254C9.51085 12.7718 9.60256 13.0142 9.73535 13.2442C9.90127 13.5315 10.1161 13.7727 10.3633 13.9639L5.49512 16.8662L11.499 20.4248C11.8036 20.6044 12.1738 20.6008 12.4707 20.4238L18.5107 16.8233L13.4971 13.877C13.9543 13.482 14.2391 12.9423 14.3242 12.3672L19.3193 15.3037L19.3379 8.21291L19.3369 8.21388C19.3369 8.03517 19.2923 7.85955 19.2061 7.7051C19.1196 7.55056 18.9947 7.42151 18.8447 7.33205L12.8887 3.80275L12.8535 9.73439C12.3304 9.51037 11.7366 9.46806 11.1738 9.63576L11.21 3.76662L5.16895 7.36818Z",fill:"currentColor"}),(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.91641 8.60885C11.7928 7.52595 14.1912 8.16845 15.2748 10.0444C16.3582 11.9209 15.7156 14.3211 13.8393 15.4047C11.9627 16.4879 9.56339 15.8446 8.47989 13.9682C7.39671 12.0916 8.03987 9.69227 9.91641 8.60885ZM13.8031 10.894C13.189 9.83118 11.8293 9.46704 10.766 10.0805C9.7026 10.6945 9.33693 12.0551 9.95059 13.1186C10.5646 14.1821 11.9261 14.5469 12.9897 13.9331C14.0529 13.3189 14.4171 11.9575 13.8031 10.894Z",fill:"currentColor"})]})}let fG={bag:{cards:[{good:!0,imageSrc:ol,labelKey:"bagIntroGoodFullBody"},{good:!0,imageSrc:os,labelKey:"bagIntroGoodAngle"},{good:!1,imageSrc:oi,labelKey:"bagIntroBadHandsFull"},{good:!1,imageSrc:oo,labelKey:"bagIntroBadCropped"}],subtitleKey:"bagIntroSubtitle",titleKey:"bagIntroTitle"},eyewear:{cards:[{good:!0,imageSrc:od,labelKey:"eyewearIntroGoodFacingCamera"},{good:!0,imageSrc:op,labelKey:"eyewearIntroGoodHairBack"},{good:!1,imageSrc:oc,labelKey:"eyewearIntroBadWearingGlasses"},{good:!1,imageSrc:ou,labelKey:"eyewearIntroBadFaceTurned"}],subtitleKey:"eyewearIntroSubtitle",titleKey:"eyewearIntroTitle"},footwear:{cards:[{good:!0,imageSrc:om,labelKey:"footwearIntroGoodStanding"},{good:!0,imageSrc:og,labelKey:"footwearIntroGoodKneesDown"},{good:!1,imageSrc:of,labelKey:"footwearIntroBadOneFootCropped"},{good:!1,imageSrc:oh,labelKey:"footwearIntroBadFeetHidden"}],subtitleKey:"footwearIntroSubtitle",titleKey:"footwearIntroTitle"},"full-body":{cards:[{good:!0,imageSrc:ow,labelKey:"fullBodyIntroGoodHeadToToe"},{good:!0,imageSrc:ob,labelKey:"fullBodyIntroGoodAngle"},{good:!1,imageSrc:ov,labelKey:"fullBodyIntroBadCropped"},{good:!1,imageSrc:oy,labelKey:"fullBodyIntroBadSitting"}],subtitleKey:"fullBodyIntroSubtitle",titleKey:"fullBodyIntroTitle"},headwear:{cards:[{good:!0,imageSrc:oC,labelKey:"headwearIntroGoodFront"},{good:!0,imageSrc:oS,labelKey:"headwearIntroGoodAngle"},{good:!1,imageSrc:ox,labelKey:"headwearIntroBadWearingHat"},{good:!1,imageSrc:ok,labelKey:"headwearIntroBadCroppedHead"}],subtitleKey:"headwearIntroSubtitle",titleKey:"headwearIntroTitle"},"lower-body":{cards:[{good:!0,imageSrc:oR,labelKey:"lowerBodyIntroGoodWaistToFeet"},{good:!0,imageSrc:oT,labelKey:"lowerBodyIntroGoodFullBody"},{good:!1,imageSrc:oE,labelKey:"lowerBodyIntroBadSitting"},{good:!1,imageSrc:oP,labelKey:"lowerBodyIntroBadCoveredWaist"}],subtitleKey:"lowerBodyIntroSubtitle",titleKey:"lowerBodyIntroTitle"},neck:{cards:[{good:!0,imageSrc:oz,labelKey:"neckIntroGoodHairUp"},{good:!0,imageSrc:o_,labelKey:"neckIntroGoodOpenNeckline"},{good:!1,imageSrc:oO,labelKey:"neckIntroBadHairCovering"},{good:!1,imageSrc:oj,labelKey:"neckIntroBadHighCollar"}],subtitleKey:"neckIntroSubtitle",titleKey:"neckIntroTitle"},"upper-body":{cards:[{good:!0,imageSrc:oI,labelKey:"upperBodyIntroGoodFacingCamera"},{good:!0,imageSrc:oL,labelKey:"upperBodyIntroGoodAngle"},{good:!1,imageSrc:oN,labelKey:"upperBodyIntroBadArmsCrossed"},{good:!1,imageSrc:oA,labelKey:"upperBodyIntroBadObjectBlockingTorso"}],subtitleKey:"upperBodyIntroSubtitle",titleKey:"upperBodyIntroTitle"},waist:{cards:[{good:!0,imageSrc:oD,labelKey:"waistIntroGoodFullBody"},{good:!0,imageSrc:oB,labelKey:"waistIntroGoodTopTucked"},{good:!1,imageSrc:oM,labelKey:"waistIntroBadOversizedTop"},{good:!1,imageSrc:oF,labelKey:"waistIntroBadSitting"}],subtitleKey:"waistIntroSubtitle",titleKey:"waistIntroTitle"},wrist:{cards:[{good:!0,imageSrc:oU,labelKey:"wristIntroGoodCloseUp"},{good:!0,imageSrc:oH,labelKey:"wristIntroGoodSleeveBack"},{good:!1,imageSrc:o$,labelKey:"wristIntroBadClenchedFist"},{good:!1,imageSrc:oV,labelKey:"wristIntroBadCovered"}],subtitleKey:"wristIntroSubtitle",titleKey:"wristIntroTitle"}};function fX({view:e}){let{t}=rE(),r=fG[e.productType];return(0,N.jsxs)(f5,{title:t("startTitle"),subtitle:t(r.titleKey),children:[(0,N.jsxs)(fS,{className:"mt-3",children:[(0,N.jsx)(fC,{src:e.productImageSrc}),(0,N.jsx)(fz,{fallbackSrc:e.productImageSrc})]}),(0,N.jsxs)(f9,{className:"mt-4",children:[(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.choosePhoto,children:[(0,N.jsx)(fV,{"data-icon":"inline-start"}),t("startUpload")]}),(0,N.jsxs)(i9,{className:"w-full",disabled:!e.canOpenHistory,size:"lg",type:"button",variant:"outline",onClick:e.openHistory,children:[(0,N.jsx)(fW,{"data-icon":"inline-start"}),t("startHistory")]}),(0,N.jsx)(f4,{})]})]})}function fY({view:e}){let{t}=rE(),r=fG[e.productType];return(0,N.jsxs)(f5,{title:t(r.titleKey),subtitle:t(r.subtitleKey),children:[(0,N.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-3 sm:gap-4",children:r.cards.map(e=>(0,N.jsx)(fN,{good:e.good,imageSrc:e.imageSrc,label:t(e.labelKey)},e.labelKey))}),(0,N.jsx)("div",{className:"mt-4",children:(0,N.jsx)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.continueIntro,children:t("introCta")})})]})}function fQ({view:e}){let{t}=rE();return(0,N.jsxs)(f5,{title:t("historyTitle"),subtitle:t("historySubtitle"),children:[(0,N.jsx)("div",{className:"mt-3 grid min-h-104 flex-1 grid-cols-3 content-start gap-x-3 gap-y-4 overflow-x-hidden overflow-y-auto overscroll-contain pb-2 sm:gap-4",children:e.history.map(r=>(0,N.jsx)(fO,{"aria-label":r.after.name??t("historyPhoto"),photo:r.after,onClick:()=>e.selectResult(r.id)},r.id))}),(0,N.jsxs)(f9,{className:"mt-4",children:[(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.chooseNew,children:[(0,N.jsx)(fH,{"data-icon":"inline-start"}),t("historyUploadNew")]}),(0,N.jsx)(f4,{})]})]})}function fZ({view:e}){let{t}=rE();return(0,N.jsxs)(f5,{title:t("confirmTitle"),subtitle:t("confirmSubtitle"),children:[(0,N.jsxs)(fS,{className:"mt-3",children:[(0,N.jsx)(fP,{fallbackSrc:e.productImageSrc,photo:e.photo}),(0,N.jsx)(f_,{className:"bottom-2 left-2",imageSrc:e.productImageSrc,name:e.productName})]}),(0,N.jsxs)(f9,{className:"mt-4",children:[(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.generate,children:[(0,N.jsx)(fK,{"data-icon":"inline-start"}),t("confirmGenerate")]}),(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"outline",onClick:e.changePhoto,children:[(0,N.jsx)(fq,{"data-icon":"inline-start"}),t("confirmChangePhoto")]}),(0,N.jsx)(f4,{})]})]})}function fJ({view:e}){let{t}=rE();return(0,N.jsxs)(f5,{title:t("processingTitle"),subtitle:t("processingSubtitle"),children:[(0,N.jsxs)(fS,{className:"mt-3",children:[(0,N.jsx)(fE,{fallbackSrc:e.productImageSrc,photo:e.photo}),(0,N.jsx)(fR,{animated:!0,className:"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,N.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center gap-2",children:[(0,N.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white shadow-md sm:size-37.5",children:(0,N.jsx)("img",{alt:e.productName,className:"size-full object-cover",src:e.productImageSrc})}),(0,N.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white sm:size-37.5",children:e.photo?.src?(0,N.jsx)("img",{alt:"",className:"size-full object-cover",src:e.photo.src}):null})]})]}),(0,N.jsx)(fj,{className:"mt-4",label:t("processingProgress"),progress:e.processingProgress})]})}function f0({view:e}){let{t}=rE();return(0,N.jsxs)(f5,{title:t("errorTitle"),subtitle:t("errorSubtitle"),children:[(0,N.jsxs)(fS,{className:"mt-3",children:[(0,N.jsx)(fE,{fallbackSrc:e.productImageSrc,photo:e.photo}),(0,N.jsx)(fR,{className:"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,N.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-6 px-6 sm:px-12",children:[(0,N.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,N.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white bg-background-containers shadow-md sm:size-37.5",children:(0,N.jsx)("img",{alt:e.productName,className:"size-full object-cover",src:e.productImageSrc})}),(0,N.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white sm:size-37.5",children:e.photo?.src?(0,N.jsx)("img",{alt:e.photo.name??"",className:"size-full object-cover",src:e.photo.src,onError:t=>{t.currentTarget.src=e.productImageSrc}}):null})]}),(0,N.jsx)("p",{className:"w-56 text-center text-xs font-medium tracking-wider text-constant-white",children:t("errorGuidance")})]})]}),(0,N.jsxs)(f9,{className:"mt-4",children:[(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.retry,children:[(0,N.jsx)(fK,{"data-icon":"inline-start"}),t("errorRetry")]}),(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"outline",onClick:e.chooseDifferentPhoto,children:[(0,N.jsx)(fq,{"data-icon":"inline-start"}),t("errorDifferentPhoto")]}),(0,N.jsx)(f4,{className:"text-text-sub"})]})]})}function f1({view:e}){let{t}=rE();return e.myFitsOpen?(0,N.jsx)("div",{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain pb-4",children:(0,N.jsx)("div",{className:"flex flex-col gap-4 px-6 pb-2 pt-4 sm:px-8",children:e.resultHistory.map((t,r)=>(0,N.jsx)(f2,{compact:r>0,onAddToCart:e.addToCart,productName:t.productName??e.productName,productUrl:t.productUrl??e.productUrl,result:t,onDeleteResult:e.deleteResult,onOpenComparison:e.openComparison,onSaveResult:e.saveResult,onShareResult:e.shareResult},t.id??t.after.id))})}):(0,N.jsxs)(f5,{className:"pb-6",subtitle:void 0,title:t("resultTitle"),children:[(0,N.jsx)(fA,{className:"mt-6",productLabel:e.productName??t("resultProductLink"),productUrl:e.productUrl,zoomLabel:t("resultOpenComparison"),result:e.result,onOpenComparison:()=>e.openComparison(e.result?.id)}),(0,N.jsxs)(f9,{className:"mt-4",children:[(0,N.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.addToCart,children:[(0,N.jsx)(h8,{"data-icon":"inline-start"}),t("resultTryAnother")]}),(0,N.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,N.jsxs)(i9,{type:"button",variant:"outline",onClick:e.changePhoto,children:[(0,N.jsx)(fq,{"data-icon":"inline-start"}),t("resultCompare")]}),(0,N.jsxs)(i9,{type:"button",variant:"outline",onClick:()=>e.shareResult(e.result?.id),children:[(0,N.jsx)(fn,{"data-icon":"inline-start"}),t("resultShare")]}),(0,N.jsxs)(i9,{type:"button",variant:"outline",onClick:()=>e.saveResult(e.result?.id),children:[(0,N.jsx)(fe,{"data-icon":"inline-start"}),t("resultReset")]})]})]})]})}function f2({compact:e=!1,onAddToCart:t,onDeleteResult:r,onOpenComparison:n,onSaveResult:a,onShareResult:o,productName:i,productUrl:s,result:l}){let{t:u}=rE(),c=i??u("resultProductLink");return(0,N.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,N.jsx)(fA,{productLabel:c,productUrl:s,zoomLabel:u("resultOpenComparison"),result:l,onOpenComparison:()=>n(l.id)}),(0,N.jsxs)("div",{className:"flex gap-2",children:[(0,N.jsxs)(i9,{className:"min-w-0 flex-1",size:"default",type:"button",variant:"contrast",onClick:t,children:[(0,N.jsx)(h8,{"data-icon":"inline-start"}),(0,N.jsx)("span",{className:"truncate",children:u("resultTryAnother")})]}),(0,N.jsx)(i9,{"aria-label":u("share"),size:"icon",type:"button",variant:"outline",onClick:()=>o(l.id),children:(0,N.jsx)(fn,{"data-icon":"inline-start"})}),(0,N.jsx)(i9,{"aria-label":u("download"),size:"icon",type:"button",variant:"outline",onClick:()=>a(l.id),children:(0,N.jsx)(fe,{"data-icon":"inline-start"})}),!e&&(0,N.jsx)(i9,{"aria-label":u("reset"),size:"icon",type:"button",variant:"outline",onClick:()=>r(l.id),children:(0,N.jsx)(ft,{"data-icon":"inline-start"})})]})]})}function f3({label:e,onClick:t}){return(0,N.jsx)(i9,{"aria-label":e,size:"icon",type:"button",variant:"outline",onClick:t,children:(0,N.jsx)(fU,{className:"rotate-180 !size-3","data-icon":"inline-start"})})}function f5({children:e,className:t,subtitle:r,title:n}){return(0,N.jsxs)("div",{className:i1("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto overscroll-contain px-6 pb-5 sm:px-8",t),children:[(0,N.jsxs)("div",{className:"mb-1 flex flex-col gap-1",children:[(0,N.jsx)("h2",{className:"text-2xl font-medium tracking-tight text-text-dark",children:n}),r&&(0,N.jsx)("p",{className:"text-sm font-medium text-text-base",children:r})]}),e]})}function f9({children:e,className:t}){return(0,N.jsx)("div",{className:i1("flex flex-col gap-2",t),children:e})}function f4({className:e}){let{t}=rE();return(0,N.jsxs)("p",{className:i1("pt-1 text-center text-xs font-medium text-text-base",e),children:[t("termsPrefix")," ",(0,N.jsx)("a",{className:"underline underline-offset-2",href:"https://vizbl.com/legal/terms-of-use",rel:"noopener noreferrer",target:"_blank",children:t("termsLink")})," ",t("termsJoiner")," ",(0,N.jsx)("a",{className:"underline underline-offset-2",href:"https://vizbl.com/legal/privacy-policy",rel:"noopener noreferrer",target:"_blank",children:t("privacyLink")})]})}function f6(e){return"string"==typeof e?e.trim():""}function f8(e){if(e)return e;if("function"==typeof fetch)return fetch;throw Error("Fetch API is not available for AI try-on image upload")}async function f7(e,t,r){let n=await f8(r)(e,{body:t,method:"PUT"});if(!n.ok){let e=await n.text().catch(()=>"");throw Error(`Nano Banana image upload failed with status ${n.status}${e?`: ${e}`:""}`)}}async function ge(e,t){let r=e?.trim();return r?gr(r,t,"AI try-on product image fetch failed"):null}async function gt(e,t){return e.blob?e.blob:e.file?e.file:e.src?gr(e.src,t,"AI try-on source photo fetch failed"):null}async function gr(e,t,r){let n=await f8(t)(e);if(!n.ok){let e=await n.text().catch(()=>"");throw Error(`${r} with status ${n.status}${e?`: ${e}`:""}`)}return n.blob()}async function gn(e){if(e instanceof Blob)return e.type?e:new Blob([e],{type:"image/jpeg"});if(e instanceof ArrayBuffer||"string"==typeof e)return new Blob([e],{type:"image/jpeg"});throw Error("AI try-on generation did not return an image")}let ga="ai-try-on-result";async function go(e,t={}){let r=await gs(e,t.fetch),n=t.document??globalThis.document;if(!r||!n?.body)return!1;let a=t.createObjectUrl??gu,o=t.revokeObjectUrl??gc,i=a(r);if(!i)return!1;let s=n.createElement("a");return s.href=i,s.download=gl(r,e,t.filename),s.style.display="none",n.body.appendChild(s),s.click(),s.remove(),o(i),!0}async function gi(e,t={}){let r=await gs(e,t.fetch),n=t.navigator??globalThis.navigator;if(!r)return!1;if("function"==typeof File&&"function"==typeof n?.share){let a={files:[new File([r],gl(r,e,t.filename),{type:r.type||e?.type||"image/png"})]};if("function"!=typeof n.canShare||n.canShare(a))try{return await n.share(a),!0}catch(e){if("u">typeof DOMException&&e instanceof DOMException&&"AbortError"===e.name)return!1}}return go(e,t)}async function gs(e,t=globalThis.fetch){if(!e)return null;if(e.blob)return e.blob;if(e.file)return e.file;if(!e.src||"function"!=typeof t)return null;try{let r=await t(e.src);if(!r.ok)return null;return r.blob()}catch{return null}}function gl(e,t,r=ga){var n;let a=function(e){switch(e){case"image/jpeg":return"jpg";case"image/png":return"png";case"image/webp":return"webp";case"image/gif":return"gif";case"image/svg+xml":return"svg";default:return null}}(e.type||t?.type)??(n=t?.name,n?.match(/\.([a-z0-9]+)$/i)?.[1]?.toLowerCase()??null)??"png",o=r.replace(/\.[a-z0-9]+$/i,"").replace(/[^\w-]+/g,"-").replace(/^-+|-+$/g,"")||ga;return`${o}.${a}`}function gu(e){return"function"==typeof URL.createObjectURL?URL.createObjectURL(e):""}function gc(e){"function"==typeof URL.revokeObjectURL&&URL.revokeObjectURL(e)}let gd="results";function gp(){return void 0===globalThis.indexedDB?null:globalThis.indexedDB}function gh(e){return new Promise((t,r)=>{let n=e.open("neurodyn-ai-try-on",1);n.onupgradeneeded=()=>{let e=n.result;e.objectStoreNames.contains(gd)||e.createObjectStore(gd,{keyPath:"id"}).createIndex("createdAt","createdAt")},n.onerror=()=>r(n.error),n.onsuccess=()=>t(n.result)})}function gf(e){return new Promise((t,r)=>{e.onabort=()=>r(e.error),e.onerror=()=>r(e.error),e.oncomplete=()=>t()})}async function gg(e){return{after:await gm(e.after),before:await gm(e.before),createdAt:e.createdAt,id:e.id,productImageSrc:e.productImageSrc,productName:e.productName,productUrl:e.productUrl}}async function gm(e){let t=await gv(e);if(!t)throw Error("AI try-on photo cannot be persisted without image data");return{blob:t,id:e.id,lastModified:e.file?.lastModified??e.lastModified,name:e.name,size:t.size,type:t.type||e.type}}async function gv(e){if(e.blob)return e.blob;if(e.file)return e.file;if(!e.src||"function"!=typeof fetch)return null;try{let t=await fetch(e.src);return t.ok?t.blob():null}catch{return null}}function gy(e){return`neurodyn_ai_try_on_seen_tip:${e}`}function gb(e,t=gw()){if(t)try{t.setItem(gy(e),"true")}catch{}}function gw(){try{return void 0===globalThis.localStorage?null:globalThis.localStorage}catch{return null}}let gk={delete:async function e(e){let t=gp();if(!t)return!1;try{let r=await gh(t),n=r.transaction(gd,"readwrite"),a=gf(n);return n.objectStore(gd).delete(e),await a,r.close(),!0}catch(e){throw Error("AI try-on result could not be removed from history",{cause:e})}},list:async function e(){let e=gp();if(!e)return[];try{var t;let r=await gh(e),n=r.transaction(gd,"readonly"),a=gf(n),o=await (t=n.objectStore(gd).getAll(),new Promise((e,r)=>{t.onerror=()=>r(t.error),t.onsuccess=()=>e(t.result)}));return await a,r.close(),o.sort((e,t)=>t.createdAt-e.createdAt)}catch(e){throw Error("AI try-on history could not be loaded",{cause:e})}},save:async function e(e){let t=gp();if(!t)return!1;try{let r=await gg(e),n=await gh(t),a=n.transaction(gd,"readwrite"),o=gf(a);return a.objectStore(gd).put(r),await o,n.close(),!0}catch(e){throw Error("AI try-on result could not be saved to history",{cause:e})}}},gx={save:go,share:gi},gS={consumeFirstView:function(e,t=gw()){return!function(e,t=gw()){if(!t)return!1;try{return"true"===t.getItem(gy(e))}catch{return!1}}(e,t)&&(gb(e,t),!0)},markSeen:gb},gC={createObjectUrl:e=>"function"==typeof URL.createObjectURL?URL.createObjectURL(e):"",revokeObjectUrl:e=>{"function"==typeof URL.revokeObjectURL&&URL.revokeObjectURL(e)}},gP=["image/jpeg","image/png"];class gE{createObjectUrl;tipStore;state;constructor({createObjectUrl:e,productImageSrc:t,productName:r,productType:n,productUrl:a,tipStore:o}){this.createObjectUrl=e,this.tipStore=o,this.state={comparisonOpen:!1,comparisonResultId:null,error:null,generationProduct:null,history:[],myFitsOpen:!1,processingProgress:0,productImageSrc:t,productName:r,productType:n,productUrl:a,result:null,selectedPhoto:null,stage:"start"}}get view(){switch(this.state.stage){case"intro":return{productType:this.state.productType,stage:"intro"};case"history":return{history:this.state.history,stage:"history"};case"confirm":return{photo:this.state.selectedPhoto,productImageSrc:this.state.productImageSrc,productName:this.state.productName,stage:"confirm"};case"processing":return this.createProcessingView();case"error":return this.createErrorView();case"result":return{canOpenMyFits:this.state.history.length>0,myFitsOpen:this.state.myFitsOpen,productName:this.state.result?.productName??this.state.productName,productUrl:this.state.result?.productUrl??this.state.productUrl,result:this.state.result,resultHistory:function(e,t){if(!e)return[];let r=[e,...t.filter(t=>t.id!==e.id)];return r.filter((e,t)=>{let n=e.id??e.after.id;return r.findIndex(e=>(e.id??e.after.id)===n)===t})}(this.state.result,this.state.history),stage:"result"};default:return{canOpenHistory:this.state.history.length>0,productImageSrc:this.state.productImageSrc,productName:this.state.productName,productType:this.state.productType,productUrl:this.state.productUrl,stage:"start"}}}get comparison(){let e=this.getComparisonResult();return{open:this.state.comparisonOpen&&null!==e,productName:e?.productName??this.state.productName,productUrl:e?.productUrl??this.state.productUrl,result:e}}get selectedPhoto(){return this.state.selectedPhoto}get history(){return this.state.history}updateProduct({productImageSrc:e,productName:t,productType:r,productUrl:n}){this.state={...this.state,productImageSrc:e,productName:t,productType:r,productUrl:n}}hydrateHistory(e){this.state={...this.state,error:null,history:[...e,...this.state.history].reduce((e,t)=>gT(e,t),[])}}failHistory(e,t){this.state={...this.state,error:{kind:"hydrate-history"===e?"history-load":"save-result"===e?"history-save":"history-delete",message:t}}}choosePhoto(){return this.tipStore.consumeFirstView(this.state.productType)?(this.state={...this.state,stage:"intro"},null):{type:"request-file-input"}}continueIntro(){return this.tipStore.markSeen(this.state.productType),{type:"request-file-input"}}requestClose(){return"intro"===this.state.stage?(this.tipStore.markSeen(this.state.productType),this.goBack(),null):{type:"close-dialog"}}openHistory(){0!==this.state.history.length&&(this.state={...this.state,stage:"history"})}goBack(){switch(this.state.stage){case"intro":case"history":this.state={...this.state,stage:"start"};return;case"confirm":this.state={...this.state,stage:this.state.history.length>0?"history":"start"};return;case"processing":case"error":case"result":this.state={...this.state,stage:"confirm"}}}reset(){this.state={...this.state,comparisonOpen:!1,comparisonResultId:null,error:null,generationProduct:null,myFitsOpen:!1,processingProgress:0,result:null,selectedPhoto:null,stage:"start"}}selectHistoryResult(e){let t=this.state.history.find(t=>t.id===e);t&&(this.state={...this.state,error:null,myFitsOpen:!1,result:t,selectedPhoto:t.before,stage:"result"})}selectFile(e){var t,r;let n=(t=e,gP.includes(t.type)||""===t.type&&/\.(?:jpe?g|png)$/i.test(t.name)?t.size>0xa00000?"file-too-large":null:"unsupported-file-format");if(n)return this.state={...this.state,error:{code:n,kind:"upload-validation"},myFitsOpen:!1,processingProgress:0,result:null,selectedPhoto:null,stage:"error"},null;let a=this.createObjectUrl(e),o={blob:e,file:e,id:(r=e,`${r.name}-${r.size}-${r.lastModified}`),lastModified:e.lastModified,name:e.name,size:e.size,src:a,type:e.type};return this.selectPhoto(o),o}selectPhoto(e){this.state={...this.state,error:null,myFitsOpen:!1,processingProgress:0,selectedPhoto:e,stage:"confirm"}}startGeneration(){return!!this.state.selectedPhoto&&(this.state={...this.state,error:null,generationProduct:this.getProductMetadata(),myFitsOpen:!1,processingProgress:0,result:null,stage:"processing"},!0)}reportGenerationProgress(e){var t;"processing"===this.state.stage&&(this.state={...this.state,processingProgress:Math.max(this.state.processingProgress,Number.isFinite(t=e)?Math.min(Math.max(t,0),100):0)})}completeGeneration(e,t=Date.now()){let r=function(e,t,r=Date.now()){return{...e,...t,createdAt:r,id:`${e.before.id}-result-${r}`}}(e,this.state.generationProduct??this.getProductMetadata(),t);return this.state={...this.state,error:null,generationProduct:null,history:gT(this.state.history,r),myFitsOpen:!1,processingProgress:100,result:r,selectedPhoto:r.before,stage:"result"},r}failGeneration(e){this.state={...this.state,error:{kind:"generation",message:e},generationProduct:null,stage:"error"}}toggleMyFits(){"result"===this.state.stage&&0!==this.state.history.length&&(this.state={...this.state,myFitsOpen:!this.state.myFitsOpen})}closeMyFits(){this.state={...this.state,myFitsOpen:!1}}openComparison(e){let t=e?this.findResult(e):this.state.result;t&&(this.state={...this.state,comparisonOpen:!0,comparisonResultId:t.id})}closeComparison(){this.state={...this.state,comparisonOpen:!1,comparisonResultId:null}}deleteResult(e){let t=this.findResult(e),r=this.state.history.filter(t=>!gR(t,e)),n=this.state.result?.id??this.state.result?.after.id,a=this.getComparisonResult()?.id===e;if(n!==e)return this.state={...this.state,comparisonOpen:!a&&this.state.comparisonOpen,comparisonResultId:a?null:this.state.comparisonResultId,history:r},t;let o=r[0]??null;return this.state=o?{...this.state,comparisonOpen:!a&&this.state.comparisonOpen,comparisonResultId:a?null:this.state.comparisonResultId,error:null,generationProduct:null,history:r,myFitsOpen:r.length>0&&this.state.myFitsOpen,result:o,selectedPhoto:o.before,stage:"result"}:{...this.state,comparisonOpen:!1,comparisonResultId:null,error:null,generationProduct:null,history:r,myFitsOpen:!1,processingProgress:0,result:null,selectedPhoto:null,stage:"start"},t}resolveResultActionPhoto(e){let t=e?this.findResult(e):this.comparison.open?this.comparison.result:this.state.result;return t?.after??null}findResult(e){return this.state.history.find(t=>gR(t,e))??null}createProcessingView(){let e=this.state.generationProduct??this.getProductMetadata();return{photo:this.state.selectedPhoto,processingProgress:this.state.processingProgress,productImageSrc:e.productImageSrc,productName:e.productName,stage:"processing"}}createErrorView(){let e=this.state.generationProduct??this.getProductMetadata();return{error:this.state.error??{kind:"generation"},photo:this.state.selectedPhoto,productImageSrc:e.productImageSrc,productName:e.productName,stage:"error"}}getProductMetadata(){return{productImageSrc:this.state.productImageSrc,productName:this.state.productName,productUrl:this.state.productUrl}}getComparisonResult(){return this.state.comparisonOpen?this.state.comparisonResultId?this.findResult(this.state.comparisonResultId):this.state.result:null}}function gT(e,t){return[t,...e.filter(e=>e.id!==t.id)].sort((e,t)=>t.createdAt-e.createdAt)}function gR(e,t){return e.id===t||e.after.id===t}function gO(e,t){return{blob:e.blob,id:e.id,lastModified:e.lastModified,name:e.name,size:e.size,src:t(e.blob),type:e.type}}function gj(e,t){t&&(gz(e,t.before),gz(e,t.after))}function gz(e,t){g_(t)?.forEach(t=>e.add(t))}function g_(e){return e?.src?.startsWith("blob:")?[e.src]:null}function gN(e){return function(e=5e3){return new Promise(t=>setTimeout(t,e))}(function(e,t=Date.now()){return Math.max(0,5e3-(t-e))}(e))}function gA({dialogPortalContainer:e,language:t,onClose:r,processPhoto:n,productImageSrc:a,productName:o,productType:i,productUrl:s,tryOnClient:l,apiKey:u,showDialogCloseButton:c=!1}){sG(i);let{i18n:d,t:p}=rE(),h=(0,A.useRef)(null),f=s_(u),g=(0,A.useMemo)(()=>l??s$({apiKey:f}),[l,f]);(0,A.useEffect)(()=>{"string"==typeof t&&d.changeLanguage(t)},[d,t]);let m=function({historyStore:e=gk,objectUrls:t=gC,onRequestClose:r,onRequestFileInput:n,processPhoto:a,productImageSrc:o,productName:i,productType:s,productUrl:l,tryOnClient:u,resultActions:c=gx,tipStore:d=gS}){var p;let[,h]=(0,A.useReducer)(e=>e+1,0),f=(0,A.useRef)(new Set),g=(0,A.useCallback)(e=>{let r=t.createObjectUrl(e);return r&&f.current.add(r),r},[t]),m=(0,A.useRef)(null);m.current||(m.current=new gE({createObjectUrl:g,productImageSrc:o,productName:i,productType:s,productUrl:l,tipStore:d}));let v=m.current;v.updateProduct({productImageSrc:o,productName:i,productType:s,productUrl:l});let y=(0,A.useMemo)(()=>a??function({createObjectUrl:e=function(e){return"function"==typeof URL.createObjectURL?URL.createObjectURL(e):""},fetch:t,productImageSrc:r,productType:n,tryOnClient:a,apiKey:o}){sG(n);let i=a??s$({apiKey:o});return async function(a,o){let s;o?.reportProgress(4);let l=await gt(a,t);if(!l||l.size<=0)throw Error("AI try-on source photo is empty");o?.reportProgress(12);let u=await ge(r,t);if(!u||u.size<=0)throw Error("AI try-on product image is missing");o?.reportProgress(22),o?.reportProgress(32);let[c,d]=function(e,t){let r=e?.uploads;if(!Array.isArray(r)||r.length<2)throw Error("Nano Banana upload URL response is missing uploads");return r.slice(0,2).map(e=>{if(null===e||"object"!=typeof e)throw Error("Nano Banana upload URL response is missing uploads");let t=f6(e.key),r=f6(e.uploadUrl);if(!t||!r)throw Error("Nano Banana upload URL response is missing key or uploadUrl");return{key:t,uploadUrl:r}})}(await i.requestUploadUrls(2),2);o?.reportProgress(44),await Promise.all([f7(c.uploadUrl,l,t),f7(d.uploadUrl,u,t)]),o?.reportProgress(62);let p=function(e){if(!e)return()=>{};e(70);let t=Date.now(),r=globalThis.setInterval(()=>{e(70+24*(1-(1-Math.min((Date.now()-t)/45e3,1))**3))},750);return()=>globalThis.clearInterval(r)}(o?.reportProgress);try{s=await i.generateTryOn({category:n,personImage:c.key,productImages:[d.key]},{timeout:9e4})}finally{p()}o?.reportProgress(96);let h=await gn(s);if(h.size<=0)throw Error("AI try-on generation returned an empty image");o?.reportProgress(98);let f=e(h);if(!f)throw Error("AI try-on result image URL cannot be created");return{before:a,after:{blob:h,id:`${a.id}-nano-banana-result`,name:a.name?`${a.name} result`:"AI try-on result",size:h.size,src:f,type:h.type||"image/jpeg"}}}}({createObjectUrl:g,productImageSrc:o,productType:s,tryOnClient:u}),[g,a,o,s,u]),b=(0,A.useCallback)(e=>{if(e){if("request-file-input"===e.type)return void n();r?.()}},[r,n]),w=(0,A.useCallback)(()=>h(),[]),k=(0,A.useCallback)(e=>{let t=e()??null;w(),b(t)},[b,w]),x=(0,A.useCallback)(e=>{v.failHistory(e),w()},[v,w]),S=(0,A.useCallback)(t=>{e.save(t).catch(()=>{x("save-result")})},[e,x]),C=(0,A.useCallback)(t=>{e.delete(t).catch(()=>{x("delete-result")})},[e,x]),P=(0,A.useCallback)(()=>{k(()=>v.choosePhoto())},[k,v]),E=(0,A.useCallback)(async()=>{let e=v.selectedPhoto;if(!e||!v.startGeneration())return;w();let t=Date.now();try{var r;let n=await y(e,{reportProgress:e=>{v.reportGenerationProgress(e),w()}});await gN(t);let a=v.completeGeneration(n);r=f.current,g_(a.before)?.forEach(e=>r.add(e)),g_(a.after)?.forEach(e=>r.add(e)),S(a),w()}catch(e){await gN(t),v.failGeneration(e instanceof Error?e.message:void 0),w()}},[S,y,v,w]),T=(0,A.useCallback)(e=>{let t=v.deleteResult(e);t&&C(t.id),w()},[C,v,w]),R=(0,A.useCallback)(e=>{c.save(v.resolveResultActionPhoto(e))},[c,v]),O=(0,A.useCallback)(e=>{c.share(v.resolveResultActionPhoto(e))},[c,v]),j=(0,A.useCallback)(()=>{u.sendWidgetEvent("add_to_cart_from_widget")},[u]);(0,A.useEffect)(()=>{let t=!1;return async function(){try{let r=await e.list();if(t)return;v.hydrateHistory(r.map(e=>({after:gO(e.after,g),before:gO(e.before,g),createdAt:e.createdAt,id:e.id,productImageSrc:e.productImageSrc,productName:e.productName,productUrl:e.productUrl}))),w()}catch{t||x("hydrate-history")}}(),()=>{t=!0}},[g,e,x,v,w]),(0,A.useEffect)(()=>()=>{var e,r;e=f.current,r=t.revokeObjectUrl,e.forEach(e=>r(e)),e.clear()},[t]),(0,A.useEffect)(()=>{var e,r,n,a,o;let i;a=f.current,e=v.view,r=v.comparison.result,n=v.history,i=new Set,"photo"in e&&gz(i,e.photo),"result"===e.stage&&(gj(i,e.result),e.resultHistory.forEach(e=>gj(i,e))),n.forEach(e=>gj(i,e)),gj(i,r),o=t.revokeObjectUrl,a.forEach(e=>{i.has(e)||(o(e),a.delete(e))})},[t,v.view,v.comparison.result,v.history]);let z=(0,A.useMemo)(()=>(function(e,{addToCart:t,choosePhoto:r,deleteResult:n,generate:a,runSessionCommand:o,saveResult:i,shareResult:s,sync:l}){let u=e.view;switch(u.stage){case"start":return{...u,choosePhoto:r,openHistory:()=>o(()=>e.openHistory())};case"intro":return{...u,continueIntro:()=>o(()=>e.continueIntro())};case"history":return{...u,chooseNew:r,selectResult:t=>o(()=>e.selectHistoryResult(t))};case"confirm":return{...u,changePhoto:r,generate:a};case"error":return{...u,chooseDifferentPhoto:r,retry:u.photo?a:r};case"result":return{...u,addToCart:t,changePhoto:()=>{e.closeMyFits(),l(),r()},deleteResult:n,openComparison:t=>o(()=>e.openComparison(t)),reset:()=>o(()=>e.reset()),saveResult:i,shareResult:s,toggleMyFits:()=>o(()=>e.toggleMyFits())};default:return u}})(v,{addToCart:j,choosePhoto:P,deleteResult:T,generate:()=>void E(),runSessionCommand:k,saveResult:R,shareResult:O,sync:w}),[j,P,T,E,k,R,v,O,w]);return{canGoBack:"start"!==(p=v.view.stage)&&"intro"!==p&&"processing"!==p&&"error"!==p&&"result"!==p,comparison:function(e,{addToCart:t,deleteResult:r,runSessionCommand:n,saveResult:a,shareResult:o}){let i=e.comparison;return{...i,addToCart:t,close:()=>n(()=>e.closeComparison()),deleteResult:()=>{let e=i.result?.id??i.result?.after.id;e&&r(e)},saveResult:()=>a(i.result?.id??i.result?.after.id),shareResult:()=>o(i.result?.id??i.result?.after.id)}}(v,{addToCart:j,deleteResult:T,runSessionCommand:k,saveResult:R,shareResult:O}),goBack:()=>k(()=>v.goBack()),requestClose:()=>k(()=>v.requestClose()),selectFile:e=>k(()=>{v.selectFile(e)}),view:z}}({onRequestClose:r,onRequestFileInput:()=>h.current?.click(),processPhoto:n,productImageSrc:a,productName:o,productType:i,productUrl:s,tryOnClient:g}),v=m.view.stage,y="result"===m.view.stage&&m.view.myFitsOpen,b=m.canGoBack?(0,N.jsx)(f3,{label:p("back"),onClick:m.goBack}):null,w="result"===m.view.stage&&m.view.canOpenMyFits?(0,N.jsxs)(i9,{"aria-expanded":y,className:"h-9 px-3.5",type:"button",variant:"outline",onClick:m.view.toggleMyFits,children:[p("myFits"),(0,N.jsx)(sX,{className:i1("!size-3 transition-transform",y&&"rotate-180"),"data-icon":"inline-end"})]}):null;return(0,N.jsxs)(fF,{className:y?"h-svh max-h-svh sm:h-230 sm:max-h-[calc(100svh-var(--spacing)*8)]":void 0,"data-ai-try-on-stage":v,children:[(0,N.jsx)(fD,{badge:"history"===v?null:p(function(e){switch(e){case"intro":return"introBadge";case"confirm":return"confirmBadge";case"processing":return"processingBadge";case"error":return"errorBadge";case"result":return"resultBadge";default:return"badge"}}(v)),badgeTone:function(e){switch(e){case"confirm":return"blue";case"result":return"green";case"error":return"red";default:return"gray"}}(v),closeLabel:p("close"),leftSlot:b,middleSlot:w,preferMiddleSlotFirst:"result"===v,showCloseButton:c,onClose:m.requestClose}),(0,N.jsx)("input",{ref:h,accept:"image/jpeg,image/png",className:"hidden",type:"file",onChange:function(e){let t=e.currentTarget.files?.[0];t&&m.selectFile(t),e.currentTarget.value=""}}),(0,N.jsxs)(f$,{children:["start"===m.view.stage?(0,N.jsx)(fX,{view:m.view}):null,"intro"===m.view.stage?(0,N.jsx)(fY,{view:m.view}):null,"history"===m.view.stage?(0,N.jsx)(fQ,{view:m.view}):null,"confirm"===m.view.stage?(0,N.jsx)(fZ,{view:m.view}):null,"processing"===m.view.stage?(0,N.jsx)(fJ,{view:m.view}):null,"error"===m.view.stage?(0,N.jsx)(f0,{view:m.view}):null,"result"===m.view.stage?(0,N.jsx)(f1,{view:m.view}):null]},v),m.comparison.open&&(0,N.jsx)(fL,{productName:m.comparison.productName,productUrl:m.comparison.productUrl,portalContainer:e??void 0,result:m.comparison.result,onAddToCart:m.comparison.addToCart,onClose:m.comparison.close,onDeleteResult:m.comparison.deleteResult,onSaveResult:m.comparison.saveResult,onShareResult:m.comparison.shareResult})]})}function gL({defaultOpen:e=!1,language:t,onOpenChange:r,open:n,productImageSrc:a,productName:o,productType:i,productUrl:s,apiKey:l,...u}){sG(i);let c=(0,A.useMemo)(()=>{let e;return(e=rs.createInstance()).use(oa).use(rR).init({defaultNS:"ns1",fallbackLng:"en",interpolation:{escapeValue:!1},lng:t,resources:sV}),e},[t]),[d,p]=(0,A.useState)(null),[h,f]=(0,A.useState)(e),g=(0,A.useRef)(!1),m=void 0!==n,v=m?n:h,y=s_(l),b=(0,A.useMemo)(()=>s$({apiKey:y}),[y]);function w(e){m||f(e),r?.(e)}return(0,A.useEffect)(()=>{if(!v){g.current=!1;return}g.current||(g.current=!0,b.sendWidgetEvent("widget_opened"))},[v,b]),(0,N.jsxs)(N.Fragment,{children:[(0,W.createPortal)((0,N.jsx)("style",{children:sc.A}),document.head),(0,W.createPortal)((0,N.jsxs)(rK.div,{className:"fixed inset-x-0 bottom-0 w-svw tracking-normal sm:inset-x-auto sm:right-4 sm:bottom-4 sm:w-120",style:{zIndex:0x7fffffff},children:[(0,N.jsx)("style",{children:sH}),(0,N.jsx)("div",{ref:p}),d&&(0,N.jsx)(su,{defaultTheme:"light",root:d,storageKey:"neurodyn-ai-try-on-theme",children:(0,N.jsx)(rT,{i18n:c,children:(0,N.jsx)(gI,{language:t,open:v,portalContainer:d,productImageSrc:a,productName:o,productType:i,productUrl:s,tryOnClient:b,onRequestClose:()=>w(!1),onOpenChange:w,...u})})})]}),document.body)]})}function gI({language:e,onRequestClose:t,portalContainer:r,productImageSrc:n,productName:a,productType:o,productUrl:i,tryOnClient:s,...l}){let{t:u}=rE();return(0,N.jsx)(st,{...l,children:(0,N.jsxs)(sa,{className:"inset-x-0 bottom-0 top-auto block max-h-svh w-svw max-w-none translate-x-0 translate-y-0 gap-0 overflow-hidden rounded-t-3xl rounded-b-none p-0 sm:inset-x-auto sm:right-4 sm:bottom-4 sm:left-auto sm:max-h-230 sm:w-120 sm:max-w-120 sm:rounded-3xl sm:p-0",contentInsideOverlay:!0,portalContainer:r,showCloseButton:!1,onInteractOutside:e=>{e.preventDefault()},children:[(0,N.jsxs)(so,{className:"sr-only",children:[(0,N.jsx)(si,{children:u("dialogTitle")}),(0,N.jsx)(ss,{children:u("dialogDescription")})]}),(0,N.jsx)(gA,{dialogPortalContainer:r,language:e,productImageSrc:n,productName:a,productType:o,productUrl:i,tryOnClient:s,showDialogCloseButton:!0,onClose:t})]})})}sk({baseURL:"https://api.neurodyn.ai/"});var gM=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js");let gF=0;class gD{container=null;openState=!1;props=null;root=null;destroy(){this.root?.unmount(),this.root=null,this.container?.remove(),this.container=null,this.props=null,this.openState=!1}open(e){this.props=e,this.openState=!0,this.render()}handleOpenChange=e=>{this.openState=e,this.render()};ensureRoot(){return this.root||(this.container=document.createElement("div"),this.container.id=`neurodyn-ai-try-on-dialog-root-${gF++}`,document.body.appendChild(this.container),this.root=(0,gM.createRoot)(this.container)),this.root}render(){let e=this.ensureRoot();this.props&&this.openState?e.render((0,A.createElement)(gL,{...this.props,open:!0,onOpenChange:this.handleOpenChange})):e.render(null)}}let gB="data-neurodyn-ai-try-on-product-type";function g$(e,t){let r=e.getAttribute(t);return r&&r.trim().length>0?r:void 0}function gV(e,t){let r=g$(e,t);if(!r)throw Error(`AI try-on dialog trigger is missing ${t}`);return r}class gU{destroyed=!1;props;renderer=new gD;triggers;constructor(e,t={}){for(const r of(this.triggers="string"==typeof e?Array.from(document.querySelectorAll(e)):[e],this.props=t,this.triggers))r.addEventListener("click",this.handleClick)}destroy(){if(!this.destroyed){for(let e of(this.destroyed=!0,this.triggers))e.removeEventListener("click",this.handleClick);this.renderer.destroy()}}handleClick=e=>{!this.destroyed&&e.currentTarget instanceof Element&&this.renderer.open(function(e,t={}){var r,n;let a;return{language:void 0!==t.language?t.language:(r="data-neurodyn-ai-try-on-language","en"===(a=e.getAttribute(r))||"ru"===a?a:void 0),productImageSrc:void 0!==t.productImageSrc?t.productImageSrc:gV(e,"data-neurodyn-ai-try-on-product-image-src"),productName:void 0!==t.productName?t.productName:gV(e,"data-neurodyn-ai-try-on-product-name"),productUrl:void 0!==t.productUrl?t.productUrl:g$(e,"data-neurodyn-ai-try-on-product-url"),productType:function(e){if(!sK(e)){let t="string"==typeof e&&e.length>0?` "${e}"`:"";throw Error(`AI try-on product type from ${gB} must be one of: ${sW.join(", ")}; received${t||" no value"}`)}return e}(void 0!==t.productType?t.productType:e.getAttribute(gB)),apiKey:(n=void 0!==t.apiKey?t.apiKey:e.getAttribute("data-neurodyn-ai-try-on-api-key"),n?.trim()||void 0)}}(e.currentTarget,this.props))}}window.AiTryOnDialog=gU})()})();
|
|
5490
|
+
Defaulting to \`null\`.`));let c=fb(o,u)?o:null,d=fv(c)?s(c,u):void 0;return(0,_.jsx)(fc,{scope:a,value:c,max:u,children:(0,_.jsx)(fi.div,{"aria-valuemax":u,"aria-valuemin":0,"aria-valuenow":fv(c)?c:void 0,"aria-valuetext":d,role:"progressbar","data-state":fm(c,u),"data-value":c??void 0,"data-max":u,...l,ref:t})})});fp.displayName=fs;var fh="ProgressIndicator",ff=A.forwardRef((e,t)=>{let{__scopeProgress:r,...n}=e,a=fd(fh,r);return(0,_.jsx)(fi.div,{"data-state":fm(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...n,ref:t})});function fg(e,t){return`${Math.round(e/t*100)}%`}function fm(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function fv(e){return"number"==typeof e}function fy(e){return fv(e)&&!isNaN(e)&&e>0}function fb(e,t){return fv(e)&&!isNaN(e)&&e<=t&&e>=0}function fw({className:e,value:t,max:r=100,...n}){let a=r>0?r:100,o="number"==typeof t?Math.min(Math.max(t/a*100,0),100):0;return(0,_.jsx)(fp,{"data-slot":"progress",className:i1("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),value:t,max:a,...n,children:(0,_.jsx)(ff,{"data-slot":"progress-indicator",className:"h-full bg-primary transition-[width]",style:{width:`${o}%`}})})}function fk(e){return(0,_.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:(0,_.jsx)("path",{d:"M8.21723 14.9975C8.10298 14.997 7.99004 14.9731 7.8854 14.9272C7.78077 14.8814 7.68665 14.8145 7.60889 14.7308L3.55889 10.4225C3.4075 10.2611 3.3264 10.0463 3.33343 9.82513C3.34046 9.604 3.43505 9.39471 3.59639 9.24332C3.75773 9.09192 3.97261 9.01082 4.19374 9.01785C4.41488 9.02489 4.62417 9.11948 4.77556 9.28082L8.20889 12.9392L15.2172 5.27248C15.2883 5.18392 15.3768 5.11083 15.4772 5.0577C15.5776 5.00458 15.6878 4.97254 15.8011 4.96355C15.9143 4.95456 16.0282 4.96882 16.1357 5.00544C16.2432 5.04207 16.3421 5.10029 16.4263 5.17652C16.5105 5.25276 16.5782 5.3454 16.6253 5.44877C16.6724 5.55213 16.6979 5.66403 16.7001 5.7776C16.7024 5.89116 16.6815 6.00399 16.6385 6.10916C16.5956 6.21433 16.5316 6.30961 16.4506 6.38915L8.83389 14.7225C8.75686 14.8077 8.66308 14.8761 8.55841 14.9234C8.45373 14.9707 8.34042 14.996 8.22556 14.9975H8.21723Z",fill:"currentColor"})})}function fx(e){return(0,_.jsxs)("svg",{fill:"none",viewBox:"0 0 19.9993 19.9996",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,_.jsx)("path",{d:"M16 9C16 7.14348 15.2629 5.36256 13.9502 4.0498C12.6374 2.73705 10.8565 2 9 2C7.14348 2 5.36256 2.73705 4.0498 4.0498C2.73705 5.36256 2 7.14348 2 9C2 10.8565 2.73705 12.6374 4.0498 13.9502C5.36256 15.2629 7.14348 16 9 16C10.8565 16 12.6374 15.2629 13.9502 13.9502C15.2629 12.6374 16 10.8565 16 9ZM18 9C18 11.3869 17.0521 13.6764 15.3643 15.3643C13.6764 17.0521 11.3869 18 9 18C6.61305 18 4.32357 17.0521 2.63574 15.3643C0.947915 13.6764 0 11.3869 0 9C0 6.61305 0.947915 4.32357 2.63574 2.63574C4.32357 0.947915 6.61305 0 9 0C11.3869 0 13.6764 0.947915 15.3643 2.63574C17.0521 4.32357 18 6.61305 18 9Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M13.9428 13.943C14.3333 13.5525 14.9663 13.5525 15.3568 13.943L19.7064 18.2926C20.097 18.6832 20.097 19.3162 19.7064 19.7067C19.3159 20.0972 18.6829 20.0972 18.2924 19.7067L13.9428 15.3571C13.5522 14.9666 13.5522 14.3335 13.9428 13.943Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M7.99983 12.0001V6.00008C7.99983 5.4478 8.44755 5.00008 8.99983 5.00008C9.55211 5.00008 9.99983 5.4478 9.99983 6.00008V12.0001C9.99983 12.5524 9.55211 13.0001 8.99983 13.0001C8.44755 13.0001 7.99983 12.5524 7.99983 12.0001Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M11.9998 8.00008C12.5521 8.00008 12.9998 8.4478 12.9998 9.00008C12.9998 9.55237 12.5521 10.0001 11.9998 10.0001H5.99983C5.44755 10.0001 4.99983 9.55237 4.99983 9.00008C4.99983 8.4478 5.44755 8.00008 5.99983 8.00008H11.9998Z",fill:"currentColor"})]})}function fS({children:e,className:t,...r}){return(0,_.jsx)("div",{className:i1("relative h-82 w-full overflow-hidden rounded-xl bg-background-base sm:h-100",t),...r,children:e})}function fC({className:e,src:t}){return(0,_.jsxs)(_.Fragment,{children:[t&&(0,_.jsx)("img",{"aria-hidden":"true",className:i1("absolute inset-0 size-full scale-125 object-cover blur-3xl",e),src:t}),(0,_.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-background-dark/5"})]})}function fP({backdropClassName:e,className:t,fallbackSrc:r,imageClassName:n,photo:a}){let o=a?.src??r;function i(e){r&&(e.currentTarget.src=r)}return(0,_.jsxs)(_.Fragment,{children:[o&&(0,_.jsx)("img",{"aria-hidden":"true",className:i1("absolute inset-0 size-full scale-125 object-cover blur-3xl",t,e),src:o,onError:i}),(0,_.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-background-dark/5"}),o&&(0,_.jsx)("img",{alt:a?.name??"",className:i1("absolute inset-0 size-full object-contain",t,n),src:o,onError:i})]})}function fE({className:e,fallbackSrc:t,photo:r}){let n=r?.src??t;return(0,_.jsxs)(_.Fragment,{children:[n&&(0,_.jsx)("img",{"aria-hidden":"true",className:i1("absolute inset-0 size-full scale-125 object-cover blur-3xl",e),src:n,onError:e=>{t&&(e.currentTarget.src=t)}}),(0,_.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-background-dark/20"})]})}function fT({className:e,...t}){let r=(0,A.useId)().replace(/:/g,""),n=`${r}-loading-texture-gradient`,a=`${r}-loading-texture-pattern`,o=`${r}-loading-texture-mask`;return(0,_.jsxs)("svg",{className:i1("text-constant-white",e),fill:"none",focusable:"false",viewBox:"0 0 776 992",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,_.jsxs)("defs",{children:[(0,_.jsxs)("radialGradient",{id:n,cx:"0",cy:"0",gradientTransform:"translate(388 496) rotate(90) scale(1021)",gradientUnits:"userSpaceOnUse",r:"1",children:[(0,_.jsx)("stop",{stopColor:"currentColor",stopOpacity:"0.7"}),(0,_.jsx)("stop",{offset:"0.586538",stopColor:"currentColor",stopOpacity:"0"})]}),(0,_.jsx)("pattern",{id:a,width:"24",height:"24",patternUnits:"userSpaceOnUse",children:(0,_.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"currentColor"})}),(0,_.jsx)("mask",{id:o,children:(0,_.jsx)("rect",{width:"776",height:"992",fill:`url(#${a})`})})]}),(0,_.jsx)("rect",{width:"776",height:"992",fill:`url(#${n})`,mask:`url(#${o})`})]})}function fR({animated:e=!1,className:t,...r}){return(0,_.jsxs)("div",{"aria-hidden":"true",className:i1("absolute h-133 w-104 max-w-none",t),...r,children:[!e&&(0,_.jsx)(fT,{className:"absolute inset-0 size-full opacity-30"}),e&&(0,_.jsx)("span",{className:"absolute inset-0 [mask-image:radial-gradient(circle,var(--v-constant-black)_0_36%,transparent_82%)] [mask-position:center] [mask-repeat:no-repeat] [mask-size:18%_18%] [-webkit-mask-image:radial-gradient(circle,var(--v-constant-black)_0_36%,transparent_82%)] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:18%_18%] animate-[ai-try-on-loading-texture-pulse_2.6s_linear_infinite] motion-reduce:animate-none motion-reduce:[mask-size:220%_220%] motion-reduce:[-webkit-mask-size:220%_220%]",children:(0,_.jsx)(fT,{className:"absolute inset-0 size-full opacity-70"})})]})}function fO({badge:e,className:t,fallbackSrc:r,photo:n,selected:a,...o}){return(0,_.jsxs)("button",{className:i1("group relative aspect-square w-full overflow-hidden rounded-xl bg-background-base-2 text-left ring-offset-2 transition","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground",a?"ring-2 ring-foreground":null,t),type:"button",...o,children:[n?.src?(0,_.jsx)("img",{alt:n.name??"",className:"size-full object-cover",src:n.src}):r?(0,_.jsx)("img",{alt:"",className:"size-full object-cover",src:r}):null,a&&(0,_.jsx)("span",{className:"absolute right-2 top-2 flex size-7 items-center justify-center rounded-full bg-foreground text-background-containers",children:(0,_.jsx)(fk,{className:"size-4"})}),e&&(0,_.jsx)("span",{className:"absolute right-2 top-2",children:e})]})}function fj({className:e,label:t,progress:r=0,...n}){let a=Math.min(Math.max(r,0),100);return(0,_.jsxs)("div",{className:i1("rounded-xl bg-background-base px-6 py-8",e),...n,children:[(0,_.jsxs)("div",{className:"mb-2 flex items-center justify-between text-sm font-medium text-text-sub",children:[(0,_.jsx)("span",{children:t}),(0,_.jsxs)("span",{children:[Math.round(a),"%"]})]}),(0,_.jsx)(fw,{className:"h-1 bg-background-base-3 [&_[data-slot=progress-indicator]]:bg-background-dark",value:a})]})}function fz({className:e,fallbackSrc:t,photo:r}){let n=r?.src??t;return n?(0,_.jsx)("img",{alt:r?.name??"",className:i1("absolute left-1/2 top-0 h-full w-69 -translate-x-1/2 object-cover",e),src:n,onError:e=>{t&&(e.currentTarget.src=t)}}):null}function fN({className:e,imageSrc:t,name:r}){return t?(0,_.jsx)("img",{alt:r??"",className:i1("absolute bottom-2 left-2 h-30 w-auto rounded-xl border border-background-containers bg-background-containers object-contain shadow-md",e),src:t}):null}function f_({good:e,imageSrc:t,label:r}){return(0,_.jsxs)("figure",{className:"flex min-w-0 flex-col items-start gap-2",children:[(0,_.jsxs)("div",{className:"relative aspect-square w-full overflow-hidden rounded-xl border border-border-light bg-background-base",children:[(0,_.jsx)("img",{alt:r,className:"size-full object-cover",src:t}),(0,_.jsx)("span",{className:i1("absolute right-2 top-2 flex size-7 items-center justify-center rounded-full",e?"bg-background-green":"bg-background-red"),children:e?(0,_.jsx)(fk,{className:"size-5 text-background-containers"}):(0,_.jsx)(h7,{className:"size-5 text-background-containers"})})]}),(0,_.jsx)("figcaption",{className:"w-[90%] break-words text-xs font-medium leading-[1.6] tracking-[0.02em] text-text-base",children:r})]})}function fA({className:e,onOpenComparison:t,productLabel:r,productUrl:n,result:a,zoomLabel:o}){let i="inline-flex h-8 min-w-0 max-w-52 flex-1 items-center justify-center gap-1.5 rounded-xl bg-button-light px-3 text-xs font-semibold text-text-dark";return(0,_.jsxs)(fS,{"aria-label":o,className:i1("block cursor-pointer text-left",e),role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t())},children:[(0,_.jsx)(fP,{photo:a?.after}),(0,_.jsxs)("div",{className:"absolute bottom-2 left-2 right-2 flex items-center justify-between gap-2",children:[n?(0,_.jsxs)("a",{className:i,href:n,onClick:e=>e.stopPropagation(),children:[(0,_.jsx)(fr,{"aria-hidden":"true",className:"size-4"}),(0,_.jsx)("span",{className:"truncate",children:r})]}):(0,_.jsxs)("span",{className:i,children:[(0,_.jsx)(fr,{"aria-hidden":"true",className:"size-4"}),(0,_.jsx)("span",{className:"truncate",children:r})]}),(0,_.jsx)("button",{"aria-label":o,className:"inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-button-light text-text-dark",type:"button",onClick:e=>{e.stopPropagation(),t()},children:(0,_.jsx)(fx,{"aria-hidden":"true",className:"size-3.5"})})]})]})}function fL({onAddToCart:e,onClose:t,onDeleteResult:r,onSaveResult:n,onShareResult:a,portalContainer:o,productName:i,productPrice:s,productUrl:l,result:u}){var c;let{t:d}=rE(),p=i??d("resultProductLink"),h=(c=s,c?.trim()||void 0),f=h?d("resultTryAnotherWithPrice",{price:h}):d("resultTryAnother");return(0,_.jsx)(st,{open:!0,onOpenChange:e=>!e&&t(),children:(0,_.jsxs)(sa,{className:"dark fixed inset-0 left-0 top-0 flex h-svh max-h-none w-svw max-w-none translate-x-0 translate-y-0 flex-col rounded-none bg-[#212124E5] p-0 text-text-dark duration-200 sm:max-w-none sm:p-0",portalContainer:o,showCloseButton:!1,children:[(0,_.jsxs)(so,{className:"sr-only",children:[(0,_.jsx)(si,{children:d("comparisonTitle")}),(0,_.jsx)(ss,{children:d("comparisonSlider")})]}),(0,_.jsxs)("div",{className:"flex h-23 shrink-0 items-center justify-between px-8 py-6",children:[l?(0,_.jsx)(i9,{asChild:!0,className:"max-w-80",size:"lg",variant:"outline",children:(0,_.jsxs)("a",{href:l,children:[(0,_.jsx)(fr,{"data-icon":"inline-start"}),(0,_.jsx)("span",{className:"truncate",children:p})]})}):(0,_.jsxs)(i9,{className:"max-w-80",size:"lg",type:"button",variant:"outline",children:[(0,_.jsx)(fr,{"data-icon":"inline-start"}),(0,_.jsx)("span",{className:"truncate",children:p})]}),(0,_.jsx)(i9,{"aria-label":d("close"),size:"icon-lg",type:"button",variant:"outline",onClick:t,children:(0,_.jsx)(h7,{className:"!size-3","data-icon":"inline-start"})})]}),(0,_.jsx)("div",{className:"flex min-h-0 flex-1 items-center justify-center px-8",children:(0,_.jsxs)(h9,{"aria-label":d("comparisonSlider"),className:"h-full max-h-179 w-full max-w-143 bg-background-base-2",children:[(0,_.jsx)(h4,{position:"right",children:(0,_.jsx)(fz,{className:"w-full object-contain",photo:u?.after})}),(0,_.jsx)(h4,{position:"left",children:(0,_.jsx)(fz,{className:"w-full object-contain",photo:u?.before})}),(0,_.jsxs)(h6,{className:"w-11",children:[(0,_.jsx)("div",{className:"absolute left-1/2 h-full w-0.5 -translate-x-1/2 bg-constant-white"}),(0,_.jsx)("div",{className:"flex size-9 items-center justify-center rounded-full bg-constant-white text-constant-black shadow-lg",children:(0,_.jsx)("span",{className:"h-5 w-0.5 rounded-full bg-current"})})]})]})}),(0,_.jsx)("div",{className:"flex h-23 shrink-0 items-center justify-center px-8 pb-6 pt-3",children:(0,_.jsxs)("div",{className:"flex w-full max-w-104 items-start gap-2",children:[(0,_.jsxs)(i9,{className:"min-w-0 flex-1",size:"lg",type:"button",variant:"contrast",onClick:e,children:[(0,_.jsx)(h8,{"data-icon":"inline-start"}),(0,_.jsx)("span",{className:"truncate",children:f})]}),(0,_.jsx)(i9,{"aria-label":d("share"),size:"icon-lg",type:"button",variant:"outline",onClick:a,children:(0,_.jsx)(fn,{"data-icon":"inline-start"})}),(0,_.jsx)(i9,{"aria-label":d("download"),size:"icon-lg",type:"button",variant:"outline",onClick:n,children:(0,_.jsx)(fe,{"data-icon":"inline-start"})}),(0,_.jsx)(i9,{"aria-label":d("reset"),size:"icon-lg",type:"button",variant:"outline",onClick:function(){r()},children:(0,_.jsx)(ft,{"data-icon":"inline-start"})})]})})]})})}ff.displayName=fh;let fI=i3("inline-flex w-fit items-center justify-center overflow-hidden rounded-full whitespace-nowrap",{variants:{variant:{default:"bg-contrast text-contrast-foreground",secondary:"bg-[var(--color-background-gray-transparent)] text-text-base",positive:"bg-[var(--color-background-green-transparent)] text-text-green",negative:"bg-[var(--color-background-red-transparent)] text-text-red",standard:"bg-[var(--color-background-blue-transparent)] text-text-blue"},size:{sm:"h-6 px-2 typo-button-small",md:"h-[30px] px-3 typo-button-normal"}},defaultVariants:{variant:"default",size:"sm"}});function fM({className:e,variant:t,size:r,asChild:n=!1,...a}){return(0,_.jsx)(n?oJ:"span",{"data-slot":"badge",className:i1(fI({variant:t,size:r,className:e})),...a})}function fF({className:e,...t}){return(0,_.jsx)("div",{className:i1("flex max-h-svh w-svw flex-col overflow-hidden rounded-t-3xl rounded-b-none bg-background-containers text-foreground shadow-2xl sm:max-h-[min(calc(100svh-var(--spacing)*8),--spacing(176))] sm:w-120 sm:rounded-3xl",e),...t})}function fD({badge:e,badgeTone:t="gray",className:r,closeLabel:n,leftSlot:a,middleSlot:o,onClose:i,preferMiddleSlotFirst:s=!1,showCloseButton:l=!1,...u}){let c=e?(0,_.jsx)(fB,{tone:t,children:e}):null;return(0,_.jsxs)("div",{className:i1("flex h-17 items-center justify-between p-4",r),...u,children:[(0,_.jsxs)("div",{className:"flex items-center gap-2",children:[a,s?o:c,s?c:o]}),l&&(0,_.jsx)(i9,{"aria-label":n,size:"icon",type:"button",variant:"outline",onClick:i,children:(0,_.jsx)(h7,{"data-icon":"inline-start"})})]})}function fB({className:e,tone:t="gray",...r}){return(0,_.jsx)(fM,{className:e,size:"md",variant:"blue"===t?"standard":"green"===t?"positive":"red"===t?"negative":"secondary",...r})}function f$({className:e,...t}){return(0,_.jsx)("div",{className:i1("flex min-h-0 flex-1 flex-col animate-in fade-in-0 duration-100 motion-reduce:animate-none",e),...t})}function fV(e){return(0,_.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,_.jsx)("path",{d:"M21.1667 8.4C21.1667 8.16131 21.07 7.93245 20.8981 7.76367C20.7262 7.59489 20.4931 7.5 20.25 7.5H16.5833C16.2768 7.5 15.9906 7.3496 15.8206 7.09922L14.2594 4.8H9.74056L8.17936 7.09922C8.00935 7.3496 7.72316 7.5 7.41667 7.5H3.75C3.50688 7.5 3.2738 7.59489 3.10189 7.76367C2.92998 7.93245 2.83333 8.16131 2.83333 8.4V18.3C2.83333 18.5387 2.92998 18.7675 3.10189 18.9363C3.2738 19.1051 3.50689 19.2 3.75 19.2H20.25C20.4931 19.2 20.7262 19.1051 20.8981 18.9363C21.07 18.7675 21.1667 18.5387 21.1667 18.3V8.4ZM14.75 12.9C14.75 12.184 14.46 11.4973 13.9443 10.991C13.4287 10.4847 12.7292 10.2001 12 10.2C11.2707 10.2 10.5705 10.4847 10.0548 10.991C9.53923 11.4973 9.25 12.1841 9.25 12.9C9.25 13.6159 9.53923 14.3027 10.0548 14.809C10.5705 15.3153 11.2707 15.6 12 15.6C12.7292 15.5999 13.4287 15.3153 13.9443 14.809C14.46 14.3027 14.75 13.616 14.75 12.9ZM16.5833 12.9C16.5833 14.0934 16.1 15.2377 15.2406 16.0816C14.3811 16.9255 13.2155 17.3999 12 17.4C10.7844 17.4 9.61809 16.9256 8.75854 16.0816C7.89919 15.2378 7.41667 14.0933 7.41667 12.9C7.41667 11.7067 7.89919 10.5622 8.75854 9.71836C9.61809 8.87445 10.7844 8.4 12 8.4C13.2155 8.40008 14.3811 8.87452 15.2406 9.71836C16.1 10.5623 16.5833 11.7066 16.5833 12.9ZM23 18.3C23 19.0161 22.7101 19.7026 22.1943 20.209C21.6786 20.7153 20.9793 21 20.25 21H3.75C3.02065 21 2.32139 20.7153 1.80566 20.209C1.28994 19.7026 1 19.0161 1 18.3V8.4C1 7.68392 1.28994 6.99736 1.80566 6.49102C2.32139 5.98467 3.02065 5.7 3.75 5.7H6.92611L8.4873 3.40078L8.55623 3.31201C8.72911 3.11535 8.98172 3 9.25 3H14.75L14.8637 3.00703C15.1262 3.03922 15.3639 3.18167 15.5127 3.40078L17.0739 5.7H20.25C20.9793 5.7 21.6786 5.98467 22.1943 6.49102C22.7101 6.99736 23 7.68392 23 8.4V18.3Z",fill:"currentColor"})})}function fU(e){return(0,_.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.00342 8.37303",fill:"none",...e,children:(0,_.jsx)("path",{d:"M1 1L4.00342 4.18652L1 7.37303",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function fH(e){return(0,_.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[(0,_.jsx)("path",{d:"M18 3H6C5.20435 3 4.44129 3.31607 3.87868 3.87868C3.31607 4.44129 3 5.20435 3 6V18C3 18.7956 3.31607 19.5587 3.87868 20.1213C4.44129 20.6839 5.20435 21 6 21H18C18.7956 21 19.5587 20.6839 20.1213 20.1213C20.6839 19.5587 21 18.7956 21 18V6C21 5.20435 20.6839 4.44129 20.1213 3.87868C19.5587 3.31607 18.7956 3 18 3ZM6 5H18C18.2652 5 18.5196 5.10536 18.7071 5.29289C18.8946 5.48043 19 5.73478 19 6V14.36L15.8 11.63C15.3042 11.222 14.6821 10.999 14.04 10.999C13.3979 10.999 12.7758 11.222 12.28 11.63L5 17.7V6C5 5.73478 5.10536 5.48043 5.29289 5.29289C5.48043 5.10536 5.73478 5 6 5ZM18 19H6.56L13.56 13.16C13.6945 13.0602 13.8575 13.0062 14.025 13.0062C14.1925 13.0062 14.3555 13.0602 14.49 13.16L19 17V18C19 18.2652 18.8946 18.5196 18.7071 18.7071C18.5196 18.8946 18.2652 19 18 19Z",fill:"currentColor"}),(0,_.jsx)("path",{d:"M7.99983 9.99992C8.39766 9.99992 8.77919 9.84188 9.06049 9.56058C9.34179 9.27927 9.49983 8.89774 9.49983 8.49992C9.49983 8.10209 9.34179 7.72056 9.06049 7.43925C8.77919 7.15795 8.39766 6.99992 7.99983 6.99992C7.60201 6.99992 7.22047 7.15795 6.93917 7.43925C6.65787 7.72056 6.49983 8.10209 6.49983 8.49992C6.49983 8.89774 6.65787 9.27927 6.93917 9.56058C7.22047 9.84188 7.60201 9.99992 7.99983 9.99992Z",fill:"currentColor"})]})}function fW(e){return(0,_.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3C18.7956 3 19.5585 3.3163 20.1211 3.87891C20.6837 4.44152 21 5.20435 21 6V18C21 18.7956 20.6837 19.5585 20.1211 20.1211C19.5585 20.6837 18.7956 21 18 21H6C5.20435 21 4.44152 20.6837 3.87891 20.1211C3.3163 19.5585 3 18.7956 3 18V6C3 5.20435 3.3163 4.44152 3.87891 3.87891C4.44152 3.3163 5.20435 3 6 3H18ZM14.0352 12C13.8633 12 13.6974 12.0639 13.5703 12.1797L6 19H18C18.2876 18.977 18.5547 18.8414 18.7422 18.6221C18.9296 18.4028 19.0221 18.1177 19 17.8301V16.6602L14.5 12.1797C14.3729 12.0639 14.2071 12 14.0352 12ZM8 7C7.60218 7 7.22076 7.15815 6.93945 7.43945C6.65815 7.72076 6.5 8.10218 6.5 8.5C6.5 8.89782 6.65815 9.27924 6.93945 9.56055C7.22076 9.84185 7.60218 10 8 10C8.39782 10 8.77924 9.84185 9.06055 9.56055C9.34185 9.27924 9.5 8.89782 9.5 8.5C9.5 8.10218 9.34185 7.72076 9.06055 7.43945C8.77924 7.15815 8.39782 7 8 7Z",fill:"currentColor"})})}function fq(e){return(0,_.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,_.jsx)("path",{d:"M6.05944 11.1406C6.47507 8.23438 8.97819 6 12.0001 6C13.6563 6 15.1563 6.67187 16.2438 7.75625L16.2626 7.775L16.5001 8H15.0032C14.4501 8 14.0032 8.44687 14.0032 9C14.0032 9.55313 14.4501 10 15.0032 10H19.0032C19.5563 10 20.0032 9.55313 20.0032 9V5C20.0032 4.44688 19.5563 4 19.0032 4C18.4501 4 18.0032 4.44688 18.0032 5V6.66875L17.6501 6.33437C16.2032 4.89375 14.2032 4 12.0001 4C7.96882 4 4.63444 6.98125 4.08132 10.8594C4.00319 11.4062 4.38132 11.9125 4.92819 11.9906C5.47507 12.0688 5.98132 11.6875 6.05944 11.1438V11.1406ZM19.9188 13.1406C19.9969 12.5938 19.6157 12.0875 19.0719 12.0094C18.5282 11.9312 18.0188 12.3125 17.9407 12.8562C17.5251 15.7625 15.0219 17.9969 12.0001 17.9969C10.3438 17.9969 8.84382 17.325 7.75632 16.2406L7.73757 16.2219L7.50007 15.9969H8.99694C9.55007 15.9969 9.99694 15.55 9.99694 14.9969C9.99694 14.4437 9.55007 13.9969 8.99694 13.9969L5.00007 14C4.73444 14 4.47819 14.1063 4.29069 14.2969C4.10319 14.4875 3.99694 14.7406 4.00007 15.0094L4.03132 18.9781C4.03444 19.5312 4.48757 19.975 5.04069 19.9688C5.59382 19.9625 6.03757 19.5125 6.03132 18.9594L6.01882 17.35L6.35319 17.6656C7.80007 19.1062 9.79694 20 12.0001 20C16.0313 20 19.3657 17.0187 19.9188 13.1406Z",fill:"currentColor"})})}function fK({className:e,...t}){return(0,_.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:i1("size-6",e),...t,children:[(0,_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0625 1.70412C12.1393 1.70359 12.2136 1.7151 12.2842 1.73439C12.6576 1.76978 13.0261 1.88527 13.3604 2.08303L19.7012 5.84084L19.7031 5.84181C20.1036 6.08032 20.4348 6.42322 20.665 6.83498C20.8952 7.24671 21.0168 7.71415 21.0166 8.19142V8.19338L20.998 15.7403C20.9979 16.1352 20.9124 16.526 20.751 16.8848C20.7319 16.9557 20.7049 17.026 20.667 17.0928C20.6355 17.1482 20.5983 17.1987 20.5576 17.2442C20.3296 17.6 20.023 17.8979 19.6631 18.1133L13.2998 21.9072C12.4738 22.3996 11.4611 22.4004 10.6436 21.917L10.6416 21.916L4.30078 18.1582L4.29883 18.1572C3.91023 17.9258 3.58764 17.5957 3.3584 17.2002C3.35105 17.1885 3.34181 17.1773 3.33496 17.1651C3.32803 17.1526 3.32268 17.1387 3.31641 17.126C3.09976 16.7236 2.98517 16.2703 2.98535 15.8076V15.8057L3.00391 8.25588C3.00603 7.28279 3.51293 6.37777 4.33984 5.88478L10.7021 2.09181C11.0682 1.87369 11.4708 1.75231 11.877 1.72658C11.9365 1.71245 11.999 1.70462 12.0625 1.70412ZM5.16895 7.36818C4.87108 7.54583 4.6844 7.87497 4.68359 8.23635L4.66602 15.3838L9.45801 12.5254C9.51085 12.7718 9.60256 13.0142 9.73535 13.2442C9.90127 13.5315 10.1161 13.7727 10.3633 13.9639L5.49512 16.8662L11.499 20.4248C11.8036 20.6044 12.1738 20.6008 12.4707 20.4238L18.5107 16.8233L13.4971 13.877C13.9543 13.482 14.2391 12.9423 14.3242 12.3672L19.3193 15.3037L19.3379 8.21291L19.3369 8.21388C19.3369 8.03517 19.2923 7.85955 19.2061 7.7051C19.1196 7.55056 18.9947 7.42151 18.8447 7.33205L12.8887 3.80275L12.8535 9.73439C12.3304 9.51037 11.7366 9.46806 11.1738 9.63576L11.21 3.76662L5.16895 7.36818Z",fill:"currentColor"}),(0,_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.91641 8.60885C11.7928 7.52595 14.1912 8.16845 15.2748 10.0444C16.3582 11.9209 15.7156 14.3211 13.8393 15.4047C11.9627 16.4879 9.56339 15.8446 8.47989 13.9682C7.39671 12.0916 8.03987 9.69227 9.91641 8.60885ZM13.8031 10.894C13.189 9.83118 11.8293 9.46704 10.766 10.0805C9.7026 10.6945 9.33693 12.0551 9.95059 13.1186C10.5646 14.1821 11.9261 14.5469 12.9897 13.9331C14.0529 13.3189 14.4171 11.9575 13.8031 10.894Z",fill:"currentColor"})]})}let fG={privacy:"https://vizbl.com/legal/privacy-policy",terms:"https://vizbl.com/legal/terms-of-use"},fX={privacy:"https://arizo.ru/privacy-policy/",terms:"https://arizo.ru/terms-of-use/"},fY={bag:{cards:[{good:!0,imageSrc:ol,labelKey:"bagIntroGoodFullBody"},{good:!0,imageSrc:os,labelKey:"bagIntroGoodAngle"},{good:!1,imageSrc:oi,labelKey:"bagIntroBadHandsFull"},{good:!1,imageSrc:oo,labelKey:"bagIntroBadCropped"}],subtitleKey:"bagIntroSubtitle",titleKey:"bagIntroTitle"},eyewear:{cards:[{good:!0,imageSrc:od,labelKey:"eyewearIntroGoodFacingCamera"},{good:!0,imageSrc:op,labelKey:"eyewearIntroGoodHairBack"},{good:!1,imageSrc:oc,labelKey:"eyewearIntroBadWearingGlasses"},{good:!1,imageSrc:ou,labelKey:"eyewearIntroBadFaceTurned"}],subtitleKey:"eyewearIntroSubtitle",titleKey:"eyewearIntroTitle"},footwear:{cards:[{good:!0,imageSrc:om,labelKey:"footwearIntroGoodStanding"},{good:!0,imageSrc:og,labelKey:"footwearIntroGoodKneesDown"},{good:!1,imageSrc:of,labelKey:"footwearIntroBadOneFootCropped"},{good:!1,imageSrc:oh,labelKey:"footwearIntroBadFeetHidden"}],subtitleKey:"footwearIntroSubtitle",titleKey:"footwearIntroTitle"},"full-body":{cards:[{good:!0,imageSrc:ow,labelKey:"fullBodyIntroGoodHeadToToe"},{good:!0,imageSrc:ob,labelKey:"fullBodyIntroGoodAngle"},{good:!1,imageSrc:ov,labelKey:"fullBodyIntroBadCropped"},{good:!1,imageSrc:oy,labelKey:"fullBodyIntroBadSitting"}],subtitleKey:"fullBodyIntroSubtitle",titleKey:"fullBodyIntroTitle"},headwear:{cards:[{good:!0,imageSrc:oC,labelKey:"headwearIntroGoodFront"},{good:!0,imageSrc:oS,labelKey:"headwearIntroGoodAngle"},{good:!1,imageSrc:ox,labelKey:"headwearIntroBadWearingHat"},{good:!1,imageSrc:ok,labelKey:"headwearIntroBadCroppedHead"}],subtitleKey:"headwearIntroSubtitle",titleKey:"headwearIntroTitle"},"lower-body":{cards:[{good:!0,imageSrc:oR,labelKey:"lowerBodyIntroGoodWaistToFeet"},{good:!0,imageSrc:oT,labelKey:"lowerBodyIntroGoodFullBody"},{good:!1,imageSrc:oE,labelKey:"lowerBodyIntroBadSitting"},{good:!1,imageSrc:oP,labelKey:"lowerBodyIntroBadCoveredWaist"}],subtitleKey:"lowerBodyIntroSubtitle",titleKey:"lowerBodyIntroTitle"},neck:{cards:[{good:!0,imageSrc:oz,labelKey:"neckIntroGoodHairUp"},{good:!0,imageSrc:oN,labelKey:"neckIntroGoodOpenNeckline"},{good:!1,imageSrc:oO,labelKey:"neckIntroBadHairCovering"},{good:!1,imageSrc:oj,labelKey:"neckIntroBadHighCollar"}],subtitleKey:"neckIntroSubtitle",titleKey:"neckIntroTitle"},"upper-body":{cards:[{good:!0,imageSrc:oI,labelKey:"upperBodyIntroGoodFacingCamera"},{good:!0,imageSrc:oL,labelKey:"upperBodyIntroGoodAngle"},{good:!1,imageSrc:o_,labelKey:"upperBodyIntroBadArmsCrossed"},{good:!1,imageSrc:oA,labelKey:"upperBodyIntroBadObjectBlockingTorso"}],subtitleKey:"upperBodyIntroSubtitle",titleKey:"upperBodyIntroTitle"},waist:{cards:[{good:!0,imageSrc:oD,labelKey:"waistIntroGoodFullBody"},{good:!0,imageSrc:oB,labelKey:"waistIntroGoodTopTucked"},{good:!1,imageSrc:oM,labelKey:"waistIntroBadOversizedTop"},{good:!1,imageSrc:oF,labelKey:"waistIntroBadSitting"}],subtitleKey:"waistIntroSubtitle",titleKey:"waistIntroTitle"},wrist:{cards:[{good:!0,imageSrc:oU,labelKey:"wristIntroGoodCloseUp"},{good:!0,imageSrc:oH,labelKey:"wristIntroGoodSleeveBack"},{good:!1,imageSrc:o$,labelKey:"wristIntroBadClenchedFist"},{good:!1,imageSrc:oV,labelKey:"wristIntroBadCovered"}],subtitleKey:"wristIntroSubtitle",titleKey:"wristIntroTitle"}};function fQ({view:e}){let{t}=rE(),r=fY[e.productType];return(0,_.jsxs)(f4,{title:t("startTitle"),subtitle:t(r.titleKey),children:[(0,_.jsxs)(fS,{className:"mt-3",children:[(0,_.jsx)(fC,{src:e.productImageSrc}),(0,_.jsx)(fz,{fallbackSrc:e.productImageSrc})]}),(0,_.jsxs)(f6,{className:"mt-4",children:[(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.choosePhoto,children:[(0,_.jsx)(fV,{"data-icon":"inline-start"}),t("startUpload")]}),(0,_.jsxs)(i9,{className:"w-full",disabled:!e.canOpenHistory,size:"lg",type:"button",variant:"outline",onClick:e.openHistory,children:[(0,_.jsx)(fW,{"data-icon":"inline-start"}),t("startHistory")]}),(0,_.jsx)(f8,{})]})]})}function fZ({view:e}){let{t}=rE(),r=fY[e.productType];return(0,_.jsxs)(f4,{title:t(r.titleKey),subtitle:t(r.subtitleKey),children:[(0,_.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-3 sm:gap-4",children:r.cards.map(e=>(0,_.jsx)(f_,{good:e.good,imageSrc:e.imageSrc,label:t(e.labelKey)},e.labelKey))}),(0,_.jsx)("div",{className:"mt-4",children:(0,_.jsx)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.continueIntro,children:t("introCta")})})]})}function fJ({view:e}){let{t}=rE();return(0,_.jsxs)(f4,{title:t("historyTitle"),subtitle:t("historySubtitle"),children:[(0,_.jsx)("div",{className:"mt-3 grid min-h-104 flex-1 grid-cols-3 content-start gap-x-3 gap-y-4 overflow-x-hidden overflow-y-auto overscroll-contain pb-2 sm:gap-4",children:e.history.map(r=>(0,_.jsx)(fO,{"aria-label":r.after.name??t("historyPhoto"),photo:r.after,onClick:()=>e.selectResult(r.id)},r.id))}),(0,_.jsxs)(f6,{className:"mt-4",children:[(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.chooseNew,children:[(0,_.jsx)(fH,{"data-icon":"inline-start"}),t("historyUploadNew")]}),(0,_.jsx)(f8,{})]})]})}function f0({view:e}){let{t}=rE();return(0,_.jsxs)(f4,{title:t("confirmTitle"),subtitle:t("confirmSubtitle"),children:[(0,_.jsxs)(fS,{className:"mt-3",children:[(0,_.jsx)(fP,{fallbackSrc:e.productImageSrc,photo:e.photo}),(0,_.jsx)(fN,{className:"bottom-2 left-2",imageSrc:e.productImageSrc,name:e.productName})]}),(0,_.jsxs)(f6,{className:"mt-4",children:[(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.generate,children:[(0,_.jsx)(fK,{"data-icon":"inline-start"}),t("confirmGenerate")]}),(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"outline",onClick:e.changePhoto,children:[(0,_.jsx)(fq,{"data-icon":"inline-start"}),t("confirmChangePhoto")]}),(0,_.jsx)(f8,{})]})]})}function f1({view:e}){let{t}=rE();return(0,_.jsxs)(f4,{title:t("processingTitle"),subtitle:t("processingSubtitle"),children:[(0,_.jsxs)(fS,{className:"mt-3",children:[(0,_.jsx)(fE,{fallbackSrc:e.productImageSrc,photo:e.photo}),(0,_.jsx)(fR,{animated:!0,className:"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,_.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center gap-2",children:[(0,_.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white shadow-md sm:size-37.5",children:(0,_.jsx)("img",{alt:e.productName,className:"size-full object-cover",src:e.productImageSrc})}),(0,_.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white sm:size-37.5",children:e.photo?.src?(0,_.jsx)("img",{alt:"",className:"size-full object-cover",src:e.photo.src}):null})]})]}),(0,_.jsx)(fj,{className:"mt-4",label:t("processingProgress"),progress:e.processingProgress})]})}function f2({view:e}){let{t}=rE();return(0,_.jsxs)(f4,{title:t("errorTitle"),subtitle:t("errorSubtitle"),children:[(0,_.jsxs)(fS,{className:"mt-3",children:[(0,_.jsx)(fE,{fallbackSrc:e.productImageSrc,photo:e.photo}),(0,_.jsx)(fR,{className:"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,_.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-6 px-6 sm:px-12",children:[(0,_.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,_.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white bg-background-containers shadow-md sm:size-37.5",children:(0,_.jsx)("img",{alt:e.productName,className:"size-full object-cover",src:e.productImageSrc})}),(0,_.jsx)("div",{className:"size-32 overflow-hidden rounded-xl border border-constant-white sm:size-37.5",children:e.photo?.src?(0,_.jsx)("img",{alt:e.photo.name??"",className:"size-full object-cover",src:e.photo.src,onError:t=>{t.currentTarget.src=e.productImageSrc}}):null})]}),(0,_.jsx)("p",{className:"w-56 text-center text-xs font-medium tracking-wider text-constant-white",children:t("errorGuidance")})]})]}),(0,_.jsxs)(f6,{className:"mt-4",children:[(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.retry,children:[(0,_.jsx)(fK,{"data-icon":"inline-start"}),t("errorRetry")]}),(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"outline",onClick:e.chooseDifferentPhoto,children:[(0,_.jsx)(fq,{"data-icon":"inline-start"}),t("errorDifferentPhoto")]}),(0,_.jsx)(f8,{className:"text-text-sub"})]})]})}function f3({view:e}){let{t}=rE(),r=f7(e.productPrice),n=r?t("resultTryAnotherWithPrice",{price:r}):t("resultTryAnother");return e.myFitsOpen?(0,_.jsx)("div",{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain pb-4",children:(0,_.jsx)("div",{className:"flex flex-col gap-4 px-6 pb-2 pt-4 sm:px-8",children:e.resultHistory.map((t,r)=>(0,_.jsx)(f5,{compact:r>0,onAddToCart:e.addToCart,productName:t.productName??e.productName,productPrice:t.productPrice,productUrl:t.productUrl??e.productUrl,result:t,onDeleteResult:e.deleteResult,onOpenComparison:e.openComparison,onSaveResult:e.saveResult,onShareResult:e.shareResult},t.id??t.after.id))})}):(0,_.jsxs)(f4,{className:"pb-6",subtitle:void 0,title:t("resultTitle"),children:[(0,_.jsx)(fA,{className:"mt-6",productLabel:e.productName??t("resultProductLink"),productUrl:e.productUrl,zoomLabel:t("resultOpenComparison"),result:e.result,onOpenComparison:()=>e.openComparison(e.result?.id)}),(0,_.jsxs)(f6,{className:"mt-4",children:[(0,_.jsxs)(i9,{className:"w-full",size:"lg",type:"button",variant:"contrast",onClick:e.addToCart,children:[(0,_.jsx)(h8,{"data-icon":"inline-start"}),n]}),(0,_.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,_.jsxs)(i9,{type:"button",variant:"outline",onClick:e.changePhoto,children:[(0,_.jsx)(fq,{"data-icon":"inline-start"}),t("resultCompare")]}),(0,_.jsxs)(i9,{type:"button",variant:"outline",onClick:()=>e.shareResult(e.result?.id),children:[(0,_.jsx)(fn,{"data-icon":"inline-start"}),t("resultShare")]}),(0,_.jsxs)(i9,{type:"button",variant:"outline",onClick:()=>e.saveResult(e.result?.id),children:[(0,_.jsx)(fe,{"data-icon":"inline-start"}),t("resultReset")]})]})]})]})}function f5({compact:e=!1,onAddToCart:t,onDeleteResult:r,onOpenComparison:n,onSaveResult:a,onShareResult:o,productName:i,productPrice:s,productUrl:l,result:u}){let{t:c}=rE(),d=i??c("resultProductLink"),p=f7(s),h=p?c("resultTryAnotherWithPrice",{price:p}):c("resultTryAnother");return(0,_.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,_.jsx)(fA,{productLabel:d,productUrl:l,zoomLabel:c("resultOpenComparison"),result:u,onOpenComparison:()=>n(u.id)}),(0,_.jsxs)("div",{className:"flex gap-2",children:[(0,_.jsxs)(i9,{className:"min-w-0 flex-1",size:"default",type:"button",variant:"contrast",onClick:t,children:[(0,_.jsx)(h8,{"data-icon":"inline-start"}),(0,_.jsx)("span",{className:"truncate",children:h})]}),(0,_.jsx)(i9,{"aria-label":c("share"),size:"icon",type:"button",variant:"outline",onClick:()=>o(u.id),children:(0,_.jsx)(fn,{"data-icon":"inline-start"})}),(0,_.jsx)(i9,{"aria-label":c("download"),size:"icon",type:"button",variant:"outline",onClick:()=>a(u.id),children:(0,_.jsx)(fe,{"data-icon":"inline-start"})}),!e&&(0,_.jsx)(i9,{"aria-label":c("reset"),size:"icon",type:"button",variant:"outline",onClick:()=>r(u.id),children:(0,_.jsx)(ft,{"data-icon":"inline-start"})})]})]})}function f9({label:e,onClick:t}){return(0,_.jsx)(i9,{"aria-label":e,size:"icon",type:"button",variant:"outline",onClick:t,children:(0,_.jsx)(fU,{className:"rotate-180 !size-3","data-icon":"inline-start"})})}function f4({children:e,className:t,subtitle:r,title:n}){return(0,_.jsxs)("div",{className:i1("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto overscroll-contain px-6 pb-5 sm:px-8",t),children:[(0,_.jsxs)("div",{className:"mb-1 flex flex-col gap-1",children:[(0,_.jsx)("h2",{className:"text-2xl font-medium tracking-tight text-text-dark",children:n}),r&&(0,_.jsx)("p",{className:"text-sm font-medium text-text-base",children:r})]}),e]})}function f6({children:e,className:t}){return(0,_.jsx)("div",{className:i1("flex flex-col gap-2",t),children:e})}function f8({className:e}){var t;let{i18n:r,t:n}=rE(),a=(t=r.resolvedLanguage??r.language,t?.startsWith("ru")?fX:fG);return(0,_.jsxs)("p",{className:i1("pt-1 text-center text-xs font-medium text-text-base",e),children:[n("termsPrefix")," ",(0,_.jsx)("a",{className:"underline underline-offset-2",href:a.terms,rel:"noopener noreferrer",target:"_blank",children:n("termsLink")})," ",n("termsJoiner")," ",(0,_.jsx)("a",{className:"underline underline-offset-2",href:a.privacy,rel:"noopener noreferrer",target:"_blank",children:n("privacyLink")})]})}function f7(e){return e?.trim()||void 0}function ge(e){return"string"==typeof e?e.trim():""}function gt(e){if(e)return e;if("function"==typeof fetch)return fetch;throw Error("Fetch API is not available for AI try-on image upload")}async function gr(e,t,r){let n=await gt(r)(e,{body:t,method:"PUT"});if(!n.ok){let e=await n.text().catch(()=>"");throw Error(`Nano Banana image upload failed with status ${n.status}${e?`: ${e}`:""}`)}}async function gn(e,t){let r=e?.trim();return r?go(r,t,"AI try-on product image fetch failed"):null}async function ga(e,t){return e.blob?e.blob:e.file?e.file:e.src?go(e.src,t,"AI try-on source photo fetch failed"):null}async function go(e,t,r){let n=await gt(t)(e);if(!n.ok){let e=await n.text().catch(()=>"");throw Error(`${r} with status ${n.status}${e?`: ${e}`:""}`)}return n.blob()}async function gi(e){if(e instanceof Blob)return e.type?e:new Blob([e],{type:"image/jpeg"});if(e instanceof ArrayBuffer||"string"==typeof e)return new Blob([e],{type:"image/jpeg"});throw Error("AI try-on generation did not return an image")}let gs="ai-try-on-result";async function gl(e,t={}){let r=await gc(e,t.fetch),n=t.document??globalThis.document;if(!r||!n?.body)return!1;let a=t.createObjectUrl??gp,o=t.revokeObjectUrl??gh,i=a(r);if(!i)return!1;let s=n.createElement("a");return s.href=i,s.download=gd(r,e,t.filename),s.style.display="none",n.body.appendChild(s),s.click(),s.remove(),o(i),!0}async function gu(e,t={}){let r=await gc(e,t.fetch),n=t.navigator??globalThis.navigator;if(!r)return!1;if("function"==typeof File&&"function"==typeof n?.share){let a={files:[new File([r],gd(r,e,t.filename),{type:r.type||e?.type||"image/png"})]};if("function"!=typeof n.canShare||n.canShare(a))try{return await n.share(a),!0}catch(e){if("u">typeof DOMException&&e instanceof DOMException&&"AbortError"===e.name)return!1}}return gl(e,t)}async function gc(e,t=globalThis.fetch){if(!e)return null;if(e.blob)return e.blob;if(e.file)return e.file;if(!e.src||"function"!=typeof t)return null;try{let r=await t(e.src);if(!r.ok)return null;return r.blob()}catch{return null}}function gd(e,t,r=gs){var n;let a=function(e){switch(e){case"image/jpeg":return"jpg";case"image/png":return"png";case"image/webp":return"webp";case"image/gif":return"gif";case"image/svg+xml":return"svg";default:return null}}(e.type||t?.type)??(n=t?.name,n?.match(/\.([a-z0-9]+)$/i)?.[1]?.toLowerCase()??null)??"png",o=r.replace(/\.[a-z0-9]+$/i,"").replace(/[^\w-]+/g,"-").replace(/^-+|-+$/g,"")||gs;return`${o}.${a}`}function gp(e){return"function"==typeof URL.createObjectURL?URL.createObjectURL(e):""}function gh(e){"function"==typeof URL.revokeObjectURL&&URL.revokeObjectURL(e)}let gf="results";function gg(){return void 0===globalThis.indexedDB?null:globalThis.indexedDB}function gm(e){return new Promise((t,r)=>{let n=e.open("neurodyn-ai-try-on",1);n.onupgradeneeded=()=>{let e=n.result;e.objectStoreNames.contains(gf)||e.createObjectStore(gf,{keyPath:"id"}).createIndex("createdAt","createdAt")},n.onerror=()=>r(n.error),n.onsuccess=()=>t(n.result)})}function gv(e){return new Promise((t,r)=>{e.onabort=()=>r(e.error),e.onerror=()=>r(e.error),e.oncomplete=()=>t()})}async function gy(e){return{after:await gb(e.after),before:await gb(e.before),createdAt:e.createdAt,id:e.id,productImageSrc:e.productImageSrc,productName:e.productName,productPrice:e.productPrice,productUrl:e.productUrl}}async function gb(e){let t=await gw(e);if(!t)throw Error("AI try-on photo cannot be persisted without image data");return{blob:t,id:e.id,lastModified:e.file?.lastModified??e.lastModified,name:e.name,size:t.size,type:t.type||e.type}}async function gw(e){if(e.blob)return e.blob;if(e.file)return e.file;if(!e.src||"function"!=typeof fetch)return null;try{let t=await fetch(e.src);return t.ok?t.blob():null}catch{return null}}function gk(e){return`neurodyn_ai_try_on_seen_tip:${e}`}function gx(e,t=gS()){if(t)try{t.setItem(gk(e),"true")}catch{}}function gS(){try{return void 0===globalThis.localStorage?null:globalThis.localStorage}catch{return null}}let gC={delete:async function e(e){let t=gg();if(!t)return!1;try{let r=await gm(t),n=r.transaction(gf,"readwrite"),a=gv(n);return n.objectStore(gf).delete(e),await a,r.close(),!0}catch(e){throw Error("AI try-on result could not be removed from history",{cause:e})}},list:async function e(){let e=gg();if(!e)return[];try{var t;let r=await gm(e),n=r.transaction(gf,"readonly"),a=gv(n),o=await (t=n.objectStore(gf).getAll(),new Promise((e,r)=>{t.onerror=()=>r(t.error),t.onsuccess=()=>e(t.result)}));return await a,r.close(),o.sort((e,t)=>t.createdAt-e.createdAt)}catch(e){throw Error("AI try-on history could not be loaded",{cause:e})}},save:async function e(e){let t=gg();if(!t)return!1;try{let r=await gy(e),n=await gm(t),a=n.transaction(gf,"readwrite"),o=gv(a);return a.objectStore(gf).put(r),await o,n.close(),!0}catch(e){throw Error("AI try-on result could not be saved to history",{cause:e})}}},gP={save:gl,share:gu},gE={consumeFirstView:function(e,t=gS()){return!function(e,t=gS()){if(!t)return!1;try{return"true"===t.getItem(gk(e))}catch{return!1}}(e,t)&&(gx(e,t),!0)},markSeen:gx},gT={createObjectUrl:e=>"function"==typeof URL.createObjectURL?URL.createObjectURL(e):"",revokeObjectUrl:e=>{"function"==typeof URL.revokeObjectURL&&URL.revokeObjectURL(e)}},gR=["image/jpeg","image/png"];class gO{createObjectUrl;tipStore;state;constructor({createObjectUrl:e,productImageSrc:t,productName:r,productPrice:n,productType:a,productUrl:o,tipStore:i}){this.createObjectUrl=e,this.tipStore=i,this.state={comparisonOpen:!1,comparisonResultId:null,error:null,generationProduct:null,history:[],myFitsOpen:!1,processingProgress:0,productImageSrc:t,productName:r,productPrice:gj(n),productType:a,productUrl:o,result:null,selectedPhoto:null,stage:"start"}}get view(){switch(this.state.stage){case"intro":return{productType:this.state.productType,stage:"intro"};case"history":return{history:this.state.history,stage:"history"};case"confirm":return{photo:this.state.selectedPhoto,productImageSrc:this.state.productImageSrc,productName:this.state.productName,stage:"confirm"};case"processing":return this.createProcessingView();case"error":return this.createErrorView();case"result":return{canOpenMyFits:this.state.history.length>0,myFitsOpen:this.state.myFitsOpen,productName:this.state.result?.productName??this.state.productName,productPrice:this.state.result?gj(this.state.result.productPrice):this.state.productPrice,productUrl:this.state.result?.productUrl??this.state.productUrl,result:this.state.result,resultHistory:function(e,t){if(!e)return[];let r=[e,...t.filter(t=>t.id!==e.id)];return r.filter((e,t)=>{let n=e.id??e.after.id;return r.findIndex(e=>(e.id??e.after.id)===n)===t})}(this.state.result,this.state.history),stage:"result"};default:return{canOpenHistory:this.state.history.length>0,productImageSrc:this.state.productImageSrc,productName:this.state.productName,productType:this.state.productType,productUrl:this.state.productUrl,stage:"start"}}}get comparison(){let e=this.getComparisonResult();return{open:this.state.comparisonOpen&&null!==e,productName:e?.productName??this.state.productName,productPrice:e?gj(e.productPrice):this.state.productPrice,productUrl:e?.productUrl??this.state.productUrl,result:e}}get selectedPhoto(){return this.state.selectedPhoto}get history(){return this.state.history}updateProduct({productImageSrc:e,productName:t,productPrice:r,productType:n,productUrl:a}){this.state={...this.state,productImageSrc:e,productName:t,productPrice:gj(r),productType:n,productUrl:a}}hydrateHistory(e){this.state={...this.state,error:null,history:[...e,...this.state.history].reduce((e,t)=>gz(e,t),[])}}failHistory(e,t){this.state={...this.state,error:{kind:"hydrate-history"===e?"history-load":"save-result"===e?"history-save":"history-delete",message:t}}}choosePhoto(){return this.tipStore.consumeFirstView(this.state.productType)?(this.state={...this.state,stage:"intro"},null):{type:"request-file-input"}}continueIntro(){return this.tipStore.markSeen(this.state.productType),{type:"request-file-input"}}requestClose(){return"intro"===this.state.stage?(this.tipStore.markSeen(this.state.productType),this.goBack(),null):{type:"close-dialog"}}openHistory(){0!==this.state.history.length&&(this.state={...this.state,stage:"history"})}goBack(){switch(this.state.stage){case"intro":case"history":this.state={...this.state,stage:"start"};return;case"confirm":this.state={...this.state,stage:this.state.history.length>0?"history":"start"};return;case"processing":case"error":case"result":this.state={...this.state,stage:"confirm"}}}reset(){this.state={...this.state,comparisonOpen:!1,comparisonResultId:null,error:null,generationProduct:null,myFitsOpen:!1,processingProgress:0,result:null,selectedPhoto:null,stage:"start"}}selectHistoryResult(e){let t=this.state.history.find(t=>t.id===e);t&&(this.state={...this.state,error:null,myFitsOpen:!1,result:t,selectedPhoto:t.before,stage:"result"})}selectFile(e){var t,r;let n=(t=e,gR.includes(t.type)||""===t.type&&/\.(?:jpe?g|png)$/i.test(t.name)?t.size>0xa00000?"file-too-large":null:"unsupported-file-format");if(n)return this.state={...this.state,error:{code:n,kind:"upload-validation"},myFitsOpen:!1,processingProgress:0,result:null,selectedPhoto:null,stage:"error"},null;let a=this.createObjectUrl(e),o={blob:e,file:e,id:(r=e,`${r.name}-${r.size}-${r.lastModified}`),lastModified:e.lastModified,name:e.name,size:e.size,src:a,type:e.type};return this.selectPhoto(o),o}selectPhoto(e){this.state={...this.state,error:null,myFitsOpen:!1,processingProgress:0,selectedPhoto:e,stage:"confirm"}}startGeneration(){return!!this.state.selectedPhoto&&(this.state={...this.state,error:null,generationProduct:this.getProductMetadata(),myFitsOpen:!1,processingProgress:0,result:null,stage:"processing"},!0)}reportGenerationProgress(e){var t;"processing"===this.state.stage&&(this.state={...this.state,processingProgress:Math.max(this.state.processingProgress,Number.isFinite(t=e)?Math.min(Math.max(t,0),100):0)})}completeGeneration(e,t=Date.now()){let r=function(e,t,r=Date.now()){return{...e,...t,productPrice:gj(t.productPrice),createdAt:r,id:`${e.before.id}-result-${r}`}}(e,this.state.generationProduct??this.getProductMetadata(),t);return this.state={...this.state,error:null,generationProduct:null,history:gz(this.state.history,r),myFitsOpen:!1,processingProgress:100,result:r,selectedPhoto:r.before,stage:"result"},r}failGeneration(e){this.state={...this.state,error:{kind:"generation",message:e},generationProduct:null,stage:"error"}}toggleMyFits(){"result"===this.state.stage&&0!==this.state.history.length&&(this.state={...this.state,myFitsOpen:!this.state.myFitsOpen})}closeMyFits(){this.state={...this.state,myFitsOpen:!1}}openComparison(e){let t=e?this.findResult(e):this.state.result;t&&(this.state={...this.state,comparisonOpen:!0,comparisonResultId:t.id})}closeComparison(){this.state={...this.state,comparisonOpen:!1,comparisonResultId:null}}deleteResult(e){let t=this.findResult(e),r=this.state.history.filter(t=>!gN(t,e)),n=this.state.result?.id??this.state.result?.after.id,a=this.getComparisonResult()?.id===e;if(n!==e)return this.state={...this.state,comparisonOpen:!a&&this.state.comparisonOpen,comparisonResultId:a?null:this.state.comparisonResultId,history:r},t;let o=r[0]??null;return this.state=o?{...this.state,comparisonOpen:!a&&this.state.comparisonOpen,comparisonResultId:a?null:this.state.comparisonResultId,error:null,generationProduct:null,history:r,myFitsOpen:r.length>0&&this.state.myFitsOpen,result:o,selectedPhoto:o.before,stage:"result"}:{...this.state,comparisonOpen:!1,comparisonResultId:null,error:null,generationProduct:null,history:r,myFitsOpen:!1,processingProgress:0,result:null,selectedPhoto:null,stage:"start"},t}resolveResultActionPhoto(e){let t=e?this.findResult(e):this.comparison.open?this.comparison.result:this.state.result;return t?.after??null}findResult(e){return this.state.history.find(t=>gN(t,e))??null}createProcessingView(){let e=this.state.generationProduct??this.getProductMetadata();return{photo:this.state.selectedPhoto,processingProgress:this.state.processingProgress,productImageSrc:e.productImageSrc,productName:e.productName,stage:"processing"}}createErrorView(){let e=this.state.generationProduct??this.getProductMetadata();return{error:this.state.error??{kind:"generation"},photo:this.state.selectedPhoto,productImageSrc:e.productImageSrc,productName:e.productName,stage:"error"}}getProductMetadata(){return{productImageSrc:this.state.productImageSrc,productName:this.state.productName,productPrice:this.state.productPrice,productUrl:this.state.productUrl}}getComparisonResult(){return this.state.comparisonOpen?this.state.comparisonResultId?this.findResult(this.state.comparisonResultId):this.state.result:null}}function gj(e){return e?.trim()||void 0}function gz(e,t){return[t,...e.filter(e=>e.id!==t.id)].sort((e,t)=>t.createdAt-e.createdAt)}function gN(e,t){return e.id===t||e.after.id===t}function g_(e,t){return{blob:e.blob,id:e.id,lastModified:e.lastModified,name:e.name,size:e.size,src:t(e.blob),type:e.type}}function gA(e,t){t&&(gL(e,t.before),gL(e,t.after))}function gL(e,t){gI(t)?.forEach(t=>e.add(t))}function gI(e){return e?.src?.startsWith("blob:")?[e.src]:null}function gM(e){return function(e=5e3){return new Promise(t=>setTimeout(t,e))}(function(e,t=Date.now()){return Math.max(0,5e3-(t-e))}(e))}function gF({dialogPortalContainer:e,language:t,onClose:r,processPhoto:n,productImageSrc:a,productName:o,productPrice:i,productType:s,productUrl:l,tryOnClient:u,apiKey:c,showDialogCloseButton:d=!1}){sG(s);let{i18n:p,t:h}=rE(),f=(0,A.useRef)(null),g=sN(c),m=(0,A.useMemo)(()=>u??s$({apiKey:g}),[u,g]);(0,A.useEffect)(()=>{"string"==typeof t&&p.changeLanguage(t)},[p,t]);let v=function({historyStore:e=gC,objectUrls:t=gT,onRequestClose:r,onRequestFileInput:n,processPhoto:a,productImageSrc:o,productName:i,productPrice:s,productType:l,productUrl:u,tryOnClient:c,resultActions:d=gP,tipStore:p=gE}){var h;let[,f]=(0,A.useReducer)(e=>e+1,0),g=(0,A.useRef)(new Set),m=(0,A.useCallback)(e=>{let r=t.createObjectUrl(e);return r&&g.current.add(r),r},[t]),v=(0,A.useRef)(null);v.current||(v.current=new gO({createObjectUrl:m,productImageSrc:o,productName:i,productPrice:s,productType:l,productUrl:u,tipStore:p}));let y=v.current;y.updateProduct({productImageSrc:o,productName:i,productPrice:s,productType:l,productUrl:u});let b=(0,A.useMemo)(()=>a??function({createObjectUrl:e=function(e){return"function"==typeof URL.createObjectURL?URL.createObjectURL(e):""},fetch:t,productImageSrc:r,productType:n,tryOnClient:a,apiKey:o}){sG(n);let i=a??s$({apiKey:o});return async function(a,o){let s;o?.reportProgress(4);let l=await ga(a,t);if(!l||l.size<=0)throw Error("AI try-on source photo is empty");o?.reportProgress(12);let u=await gn(r,t);if(!u||u.size<=0)throw Error("AI try-on product image is missing");o?.reportProgress(22),o?.reportProgress(32);let[c,d]=function(e,t){let r=e?.uploads;if(!Array.isArray(r)||r.length<2)throw Error("Nano Banana upload URL response is missing uploads");return r.slice(0,2).map(e=>{if(null===e||"object"!=typeof e)throw Error("Nano Banana upload URL response is missing uploads");let t=ge(e.key),r=ge(e.uploadUrl);if(!t||!r)throw Error("Nano Banana upload URL response is missing key or uploadUrl");return{key:t,uploadUrl:r}})}(await i.requestUploadUrls(2),2);o?.reportProgress(44),await Promise.all([gr(c.uploadUrl,l,t),gr(d.uploadUrl,u,t)]),o?.reportProgress(62);let p=function(e){if(!e)return()=>{};e(70);let t=Date.now(),r=globalThis.setInterval(()=>{e(70+24*(1-(1-Math.min((Date.now()-t)/45e3,1))**3))},750);return()=>globalThis.clearInterval(r)}(o?.reportProgress);try{s=await i.generateTryOn({category:n,personImage:c.key,productImages:[d.key]},{timeout:9e4})}finally{p()}o?.reportProgress(96);let h=await gi(s);if(h.size<=0)throw Error("AI try-on generation returned an empty image");o?.reportProgress(98);let f=e(h);if(!f)throw Error("AI try-on result image URL cannot be created");return{before:a,after:{blob:h,id:`${a.id}-nano-banana-result`,name:a.name?`${a.name} result`:"AI try-on result",size:h.size,src:f,type:h.type||"image/jpeg"}}}}({createObjectUrl:m,productImageSrc:o,productType:l,tryOnClient:c}),[m,a,o,l,c]),w=(0,A.useCallback)(e=>{if(e){if("request-file-input"===e.type)return void n();r?.()}},[r,n]),k=(0,A.useCallback)(()=>f(),[]),x=(0,A.useCallback)(e=>{let t=e()??null;k(),w(t)},[w,k]),S=(0,A.useCallback)(e=>{y.failHistory(e),k()},[y,k]),C=(0,A.useCallback)(t=>{e.save(t).catch(()=>{S("save-result")})},[e,S]),P=(0,A.useCallback)(t=>{e.delete(t).catch(()=>{S("delete-result")})},[e,S]),E=(0,A.useCallback)(()=>{x(()=>y.choosePhoto())},[x,y]),T=(0,A.useCallback)(async()=>{let e=y.selectedPhoto;if(!e||!y.startGeneration())return;k();let t=Date.now();try{var r;let n=await b(e,{reportProgress:e=>{y.reportGenerationProgress(e),k()}});await gM(t);let a=y.completeGeneration(n);r=g.current,gI(a.before)?.forEach(e=>r.add(e)),gI(a.after)?.forEach(e=>r.add(e)),C(a),k()}catch(e){await gM(t),y.failGeneration(e instanceof Error?e.message:void 0),k()}},[C,b,y,k]),R=(0,A.useCallback)(e=>{let t=y.deleteResult(e);t&&P(t.id),k()},[P,y,k]),O=(0,A.useCallback)(e=>{d.save(y.resolveResultActionPhoto(e))},[d,y]),j=(0,A.useCallback)(e=>{d.share(y.resolveResultActionPhoto(e))},[d,y]),z=(0,A.useCallback)(()=>{c.sendWidgetEvent("add_to_cart_from_widget")},[c]);(0,A.useEffect)(()=>{let t=!1;return async function(){try{let r=await e.list();if(t)return;y.hydrateHistory(r.map(e=>({after:g_(e.after,m),before:g_(e.before,m),createdAt:e.createdAt,id:e.id,productImageSrc:e.productImageSrc,productName:e.productName,productPrice:e.productPrice,productUrl:e.productUrl}))),k()}catch{t||S("hydrate-history")}}(),()=>{t=!0}},[m,e,S,y,k]),(0,A.useEffect)(()=>()=>{var e,r;e=g.current,r=t.revokeObjectUrl,e.forEach(e=>r(e)),e.clear()},[t]),(0,A.useEffect)(()=>{var e,r,n,a,o;let i;a=g.current,e=y.view,r=y.comparison.result,n=y.history,i=new Set,"photo"in e&&gL(i,e.photo),"result"===e.stage&&(gA(i,e.result),e.resultHistory.forEach(e=>gA(i,e))),n.forEach(e=>gA(i,e)),gA(i,r),o=t.revokeObjectUrl,a.forEach(e=>{i.has(e)||(o(e),a.delete(e))})},[t,y.view,y.comparison.result,y.history]);let N=(0,A.useMemo)(()=>(function(e,{addToCart:t,choosePhoto:r,deleteResult:n,generate:a,runSessionCommand:o,saveResult:i,shareResult:s,sync:l}){let u=e.view;switch(u.stage){case"start":return{...u,choosePhoto:r,openHistory:()=>o(()=>e.openHistory())};case"intro":return{...u,continueIntro:()=>o(()=>e.continueIntro())};case"history":return{...u,chooseNew:r,selectResult:t=>o(()=>e.selectHistoryResult(t))};case"confirm":return{...u,changePhoto:r,generate:a};case"error":return{...u,chooseDifferentPhoto:r,retry:u.photo?a:r};case"result":return{...u,addToCart:t,changePhoto:()=>{e.closeMyFits(),l(),r()},deleteResult:n,openComparison:t=>o(()=>e.openComparison(t)),reset:()=>o(()=>e.reset()),saveResult:i,shareResult:s,toggleMyFits:()=>o(()=>e.toggleMyFits())};default:return u}})(y,{addToCart:z,choosePhoto:E,deleteResult:R,generate:()=>void T(),runSessionCommand:x,saveResult:O,shareResult:j,sync:k}),[z,E,R,T,x,O,y,j,k]);return{canGoBack:"start"!==(h=y.view.stage)&&"intro"!==h&&"processing"!==h&&"error"!==h&&"result"!==h,comparison:function(e,{addToCart:t,deleteResult:r,runSessionCommand:n,saveResult:a,shareResult:o}){let i=e.comparison;return{...i,addToCart:t,close:()=>n(()=>e.closeComparison()),deleteResult:()=>{let e=i.result?.id??i.result?.after.id;e&&r(e)},saveResult:()=>a(i.result?.id??i.result?.after.id),shareResult:()=>o(i.result?.id??i.result?.after.id)}}(y,{addToCart:z,deleteResult:R,runSessionCommand:x,saveResult:O,shareResult:j}),goBack:()=>x(()=>y.goBack()),requestClose:()=>x(()=>y.requestClose()),selectFile:e=>x(()=>{y.selectFile(e)}),view:N}}({onRequestClose:r,onRequestFileInput:()=>f.current?.click(),processPhoto:n,productImageSrc:a,productName:o,productPrice:i,productType:s,productUrl:l,tryOnClient:m}),y=v.view.stage,b="result"===v.view.stage&&v.view.myFitsOpen,w=v.canGoBack?(0,_.jsx)(f9,{label:h("back"),onClick:v.goBack}):null,k="result"===v.view.stage&&v.view.canOpenMyFits?(0,_.jsxs)(i9,{"aria-expanded":b,className:"h-9 px-3.5",type:"button",variant:"outline",onClick:v.view.toggleMyFits,children:[h("myFits"),(0,_.jsx)(sX,{className:i1("!size-3 transition-transform",b&&"rotate-180"),"data-icon":"inline-end"})]}):null;return(0,_.jsxs)(fF,{className:b?"h-svh max-h-svh sm:h-230 sm:max-h-[calc(100svh-var(--spacing)*8)]":void 0,"data-ai-try-on-stage":y,children:[(0,_.jsx)(fD,{badge:"history"===y?null:h(function(e){switch(e){case"intro":return"introBadge";case"confirm":return"confirmBadge";case"processing":return"processingBadge";case"error":return"errorBadge";case"result":return"resultBadge";default:return"badge"}}(y)),badgeTone:function(e){switch(e){case"confirm":return"blue";case"result":return"green";case"error":return"red";default:return"gray"}}(y),closeLabel:h("close"),leftSlot:w,middleSlot:k,preferMiddleSlotFirst:"result"===y,showCloseButton:d,onClose:v.requestClose}),(0,_.jsx)("input",{ref:f,accept:"image/jpeg,image/png",className:"hidden",type:"file",onChange:function(e){let t=e.currentTarget.files?.[0];t&&v.selectFile(t),e.currentTarget.value=""}}),(0,_.jsxs)(f$,{children:["start"===v.view.stage?(0,_.jsx)(fQ,{view:v.view}):null,"intro"===v.view.stage?(0,_.jsx)(fZ,{view:v.view}):null,"history"===v.view.stage?(0,_.jsx)(fJ,{view:v.view}):null,"confirm"===v.view.stage?(0,_.jsx)(f0,{view:v.view}):null,"processing"===v.view.stage?(0,_.jsx)(f1,{view:v.view}):null,"error"===v.view.stage?(0,_.jsx)(f2,{view:v.view}):null,"result"===v.view.stage?(0,_.jsx)(f3,{view:v.view}):null]},y),v.comparison.open&&(0,_.jsx)(fL,{productName:v.comparison.productName,productPrice:v.comparison.productPrice,productUrl:v.comparison.productUrl,portalContainer:e??void 0,result:v.comparison.result,onAddToCart:v.comparison.addToCart,onClose:v.comparison.close,onDeleteResult:v.comparison.deleteResult,onSaveResult:v.comparison.saveResult,onShareResult:v.comparison.shareResult})]})}function gD({defaultOpen:e=!1,language:t,onOpenChange:r,open:n,productImageSrc:a,productName:o,productPrice:i,productType:s,productUrl:l,apiKey:u,...c}){sG(s);let d=(0,A.useMemo)(()=>{let e;return(e=rs.createInstance()).use(oa).use(rR).init({defaultNS:"ns1",fallbackLng:"en",interpolation:{escapeValue:!1},lng:t,resources:sV}),e},[t]),[p,h]=(0,A.useState)(null),[f,g]=(0,A.useState)(e),m=(0,A.useRef)(!1),v=void 0!==n,y=v?n:f,b=sN(u),w=(0,A.useMemo)(()=>s$({apiKey:b}),[b]);function k(e){v||g(e),r?.(e)}return(0,A.useEffect)(()=>{if(!y){m.current=!1;return}m.current||(m.current=!0,w.sendWidgetEvent("widget_opened"))},[y,w]),(0,_.jsxs)(_.Fragment,{children:[(0,W.createPortal)((0,_.jsx)("style",{children:sc.A}),document.head),(0,W.createPortal)((0,_.jsxs)(rK.div,{className:"fixed inset-x-0 bottom-0 w-svw tracking-normal sm:inset-x-auto sm:right-4 sm:bottom-4 sm:w-120",style:{zIndex:0x7fffffff},children:[(0,_.jsx)("style",{children:sH}),(0,_.jsx)("div",{ref:h}),p&&(0,_.jsx)(su,{defaultTheme:"light",root:p,storageKey:"neurodyn-ai-try-on-theme",children:(0,_.jsx)(rT,{i18n:d,children:(0,_.jsx)(gB,{language:t,open:y,portalContainer:p,productImageSrc:a,productName:o,productPrice:i,productType:s,productUrl:l,tryOnClient:w,onRequestClose:()=>k(!1),onOpenChange:k,...c})})})]}),document.body)]})}function gB({language:e,onRequestClose:t,portalContainer:r,productImageSrc:n,productName:a,productPrice:o,productType:i,productUrl:s,tryOnClient:l,...u}){let{t:c}=rE();return(0,_.jsx)(st,{...u,children:(0,_.jsxs)(sa,{className:"inset-x-0 bottom-0 top-auto block max-h-svh w-svw max-w-none translate-x-0 translate-y-0 gap-0 overflow-hidden rounded-t-3xl rounded-b-none p-0 sm:inset-x-auto sm:right-4 sm:bottom-4 sm:left-auto sm:max-h-230 sm:w-120 sm:max-w-120 sm:rounded-3xl sm:p-0",contentInsideOverlay:!0,portalContainer:r,showCloseButton:!1,onInteractOutside:e=>{e.preventDefault()},children:[(0,_.jsxs)(so,{className:"sr-only",children:[(0,_.jsx)(si,{children:c("dialogTitle")}),(0,_.jsx)(ss,{children:c("dialogDescription")})]}),(0,_.jsx)(gF,{dialogPortalContainer:r,language:e,productImageSrc:n,productName:a,productPrice:o,productType:i,productUrl:s,tryOnClient:l,showDialogCloseButton:!0,onClose:t})]})})}sk({baseURL:"https://api.neurodyn.ai/"});var g$=r("../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js");let gV=0;class gU{container=null;openState=!1;props=null;root=null;destroy(){this.root?.unmount(),this.root=null,this.container?.remove(),this.container=null,this.props=null,this.openState=!1}open(e){this.props=e,this.openState=!0,this.render()}handleOpenChange=e=>{this.openState=e,this.render()};ensureRoot(){return this.root||(this.container=document.createElement("div"),this.container.id=`neurodyn-ai-try-on-dialog-root-${gV++}`,document.body.appendChild(this.container),this.root=(0,g$.createRoot)(this.container)),this.root}render(){let e=this.ensureRoot();this.props&&this.openState?e.render((0,A.createElement)(gD,{...this.props,open:!0,onOpenChange:this.handleOpenChange})):e.render(null)}}let gH="data-neurodyn-ai-try-on-product-type";function gW(e,t){return gq(e.getAttribute(t))}function gq(e){return e?.trim()||void 0}function gK(e,t){let r=gW(e,t);if(!r)throw Error(`AI try-on dialog trigger is missing ${t}`);return r}class gG{destroyed=!1;props;renderer=new gU;triggers;constructor(e,t={}){for(const r of(this.triggers="string"==typeof e?Array.from(document.querySelectorAll(e)):[e],this.props=t,this.triggers))r.addEventListener("click",this.handleClick)}destroy(){if(!this.destroyed){for(let e of(this.destroyed=!0,this.triggers))e.removeEventListener("click",this.handleClick);this.renderer.destroy()}}handleClick=e=>{!this.destroyed&&e.currentTarget instanceof Element&&this.renderer.open(function(e,t={}){var r,n;let a;return{language:void 0!==t.language?t.language:(r="data-neurodyn-ai-try-on-language","en"===(a=e.getAttribute(r))||"ru"===a?a:void 0),productImageSrc:void 0!==t.productImageSrc?t.productImageSrc:gK(e,"data-neurodyn-ai-try-on-product-image-src"),productName:void 0!==t.productName?t.productName:gK(e,"data-neurodyn-ai-try-on-product-name"),productPrice:void 0!==t.productPrice?gq(t.productPrice):gW(e,"data-neurodyn-ai-try-on-product-price"),productUrl:void 0!==t.productUrl?t.productUrl:gW(e,"data-neurodyn-ai-try-on-product-url"),productType:function(e){if(!sK(e)){let t="string"==typeof e&&e.length>0?` "${e}"`:"";throw Error(`AI try-on product type from ${gH} must be one of: ${sW.join(", ")}; received${t||" no value"}`)}return e}(void 0!==t.productType?t.productType:e.getAttribute(gH)),apiKey:(n=void 0!==t.apiKey?t.apiKey:e.getAttribute("data-neurodyn-ai-try-on-api-key"),n?.trim()||void 0)}}(e.currentTarget,this.props))}}window.AiTryOnDialog=gG})()})();
|