PageSourceSearch

https://diyaquanauts.com/static/js/main.75727f9e.js

js diyaquanauts.com collected 2026-10-08 12:02:45 UTC 471,288 bytes, 3 lines download raw bytes

1/*! For license information please see main.75727f9e.js.LICENSE.txt */
2!function(){var e={694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},281:function(e,t){"use strict";var n=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,r=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,i=/\\([\u000b\u0020-\u00ff])/g,a=/([\\"])/g,u=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function l(e){var t=String(e);if(o.test(t))return t;if(t.length>0&&!r.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(a,"\\$1")+'"'}function s(e){this.parameters=Object.create(null),this.type=e}t.Q=function(e){if(!e)throw new TypeError("argument string is required");var t="object"===typeof e?function(e){var t;"function"===typeof e.getHeader?t=e.getHeader("content-type"):"object"===typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!==typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!==typeof t)throw new TypeError("argument string is required to be a string");var r=t.indexOf(";"),o=-1!==r?t.slice(0,r).trim():t.trim();if(!u.test(o))throw new TypeError("invalid media type");var a=new s(o.toLowerCase());if(-1!==r){var l,c,f;for(n.lastIndex=r;c=n.exec(t);){if(c.index!==r)throw new TypeError("invalid parameter format");r+=c[0].length,l=c[1].toLowerCase(),34===(f=c[2]).charCodeAt(0)&&-1!==(f=f.slice(1,-1)).indexOf("\\")&&(f=f.replace(i,"$1")),a.parameters[l]=f}if(r!==t.length)throw new TypeError("invalid parameter format")}return a}},948:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function u(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"===typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):u(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var s=l;e.exports=s},110:function(e,t,n){"use strict";var r=n(441),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var u=l(t),v=l(n),m=0;m<a.length;++m){var y=a[m];if(!i[y]&&(!r||!r[y])&&(!v||!v[y])&&(!u||!u[y])){var g=d(n,y);try{s(t,y,g)}catch(b){}}}}return t}},176:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],c=0;(l=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},102:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"===typeof r&&(o=r,r={}),r=r||{},o=o||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,o),a.onload||t(a,o),i.appendChild(a)}},781:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},573:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.default)((function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}))};var r,o=n(54),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},54:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,i,a){var u=o||"<<anonymous>>",l=a||r;if(null==n[r])return t?new Error("Required "+i+" `"+l+"` was not specified in `"+u+"`."):null;for(var s=arguments.length,c=Array(s>6?s-6:0),f=6;f<s;f++)c[f-6]=arguments[f];return e.apply(void 0,[n,r,u,i,l].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},888:function(e,t,n){"use strict";var r=n(47);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new 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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},7:function(e,t,n){e.exports=n(888)()},47:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},463:function(e,t,n){"use strict";var r=n(791),o=n(296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 a=new Set,u={};function l(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(u[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[: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]*$/,p={},h={};function v(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)}
vendor: 24,402 bytes, line 2
2)),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,g);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,g);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,g);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),O=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var _=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function D(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var M,I=Object.assign;function F(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var V=!1;function U(e,t){if(!e||V)return"";V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var o=s.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function z(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case P:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case R:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return B(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.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))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function G(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){Q(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ie(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ue(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ue(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;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 we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Pe(e){if(e=wo(e)){if("function"!==typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Oe(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function je(e,t){return e(t)}function Te(){}var Re=!1;function Ae(e,t,n){if(Re)return e(t,n);Re=!0;try{return je(e,t,n)}finally{Re=!1,(null!==Se||null!==Ee)&&(Te(),Oe())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var _e=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){_e=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ce){_e=!1}function De(e,t,n,r,o,i,a,u,l){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var Me=!1,Ie=null,Fe=!1,Ve=null,Ue={onError:function(e){Me=!0,Ie=e}};function ze(e,t,n,r,o,i,a,u,l){Me=!1,Ie=null,De.apply(Ue,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(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 We(e){if(Be(e)!==e)throw Error(i(188))}function $e(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return We(o),e;if(a===r)return We(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=a;break}if(l===r){u=!0,r=o,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,r=o;break}if(l===r){u=!0,r=a,n=o;break}l=l.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,Xe=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Ge=o.unstable_requestPaint,Qe=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ut(e)/lt|0)|0},ut=Math.log,lt=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~o;0!==u?r=ft(u):0!==(i&=a)&&(r=ft(i))}else 0!==(a=n&~o)?r=ft(a):0!==i&&(r=ft(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,kt,St,Et,Pt,Ct=!1,Ot=[],jt=null,Tt=null,Rt=null,At=new Map,Nt=new Map,_t=[],Lt="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 submit".split(" ");function Dt(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Pt(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Vt(e,t,n){Ft(e)&&n.delete(t)}function Ut(){Ct=!1,null!==jt&&Ft(jt)&&(jt=null),null!==Tt&&Ft(Tt)&&(Tt=null),null!==Rt&&Ft(Rt)&&(Rt=null),At.forEach(Vt),Nt.forEach(Vt)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function Bt(e){function t(t){return zt(t,e)}if(0<Ot.length){zt(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==jt&&zt(jt,e),null!==Tt&&zt(Tt,e),null!==Rt&&zt(Rt,e),At.forEach(t),Nt.forEach(t),n=0;n<_t.length;n++)(r=_t[n]).blockedOn===e&&(r.blockedOn=null);for(;0<_t.length&&null===(n=_t[0]).blockedOn;)It(n),null===n.blockedOn&&_t.shift()}var Ht=w.ReactCurrentBatchConfig,Wt=!0;function $t(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ht.transition=i}}function qt(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ht.transition=i}}function Kt(e,t,n,r){if(Wt){var o=Yt(e,t,n,r);if(null===o)Wr(e,t,r,Xt,n),Dt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return jt=Mt(jt,e,t,n,r,o),!0;case"dragenter":return Tt=Mt(Tt,e,t,n,r,o),!0;case"mouseover":return Rt=Mt(Rt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return At.set(i,Mt(At.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Mt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&xt(i),null===(i=Yt(e,t,n,r))&&Wr(e,t,r,Xt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Xt=null;function Yt(e,t,n,r){if(Xt=null,null!==(e=bo(e=xe(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Gt(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.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 nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,un,ln,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(sn),fn=I({},sn,{view:0,detail:0}),dn=on(fn),pn=I({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 1,722 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,un=e.screenY-ln.screenY):un=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:un}}),hn=on(pn),vn=on(I({},pn,{dataTransfer:0})),mn=on(I({},fn,{relatedTarget:0})),yn=on(I({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=I({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(gn),wn=on(I({},sn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Pn(){return En}var Cn=I({},fn,{key:function(e){if(e.key){var t=xn[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?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCo
vendor: 100,530 bytes, line 2
2de: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}}),On=on(Cn),jn=on(I({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(I({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),Rn=on(I({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=I({},pn,{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}),Nn=on(An),_n=[9,13,27,32],Ln=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var Mn=c&&"TextEvent"in window&&!Dn,In=c&&(!Ln||Dn&&8<Dn&&11>=Dn),Fn=String.fromCharCode(32),Vn=!1;function Un(e,t){switch(e){case"keyup":return-1!==_n.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var Hn={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 Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function $n(e,t,n,r){Ce(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Xn(e){Fr(e,0)}function Yn(e){if(K(xo(e)))return e}function Gn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Qn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Yn(Kn)){var t=[];$n(t,Kn,e,xe(e)),Ae(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Kn)}function ir(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(ur(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!ur(e[o],t[o]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function pr(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)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,gr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==X(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&lr(gr,r)||(gr=r,0<(r=qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Pr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Pr("animationend"),Or=Pr("animationiteration"),jr=Pr("animationstart"),Tr=Pr("transitionend"),Rr=new Map,Ar="abort auxClick 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 Nr(e,t){Rr.set(e,t),l(t,[e])}for(var _r=0;_r<Ar.length;_r++){var Lr=Ar[_r];Nr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Nr(Cr,"onAnimationEnd"),Nr(Or,"onAnimationIteration"),Nr(jr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Tr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="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(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,u,l,s){if(ze.apply(this,arguments),Me){if(!Me)throw Error(i(198));var c=Ie;Me=!1,Ie=null,Fe||(Fe=!0,Ve=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],l=u.instance,s=u.currentTarget;if(u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,s),i=l}else for(a=0;a<r.length;a++){if(l=(u=r[a]).instance,s=u.currentTarget,u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,s),i=l}}}if(Fe)throw e=Ve,Fe=!1,Ve=null,e}function Vr(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[zr]){e[zr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Ur("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Gt(t)){case 1:var o=$t;break;case 4:o=qt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!_e||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=bo(u)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}u=u.parentNode}}r=r.return}Ae((function(){var r=i,o=xe(n),a=[];e:{var u=Rr.get(e);if(void 0!==u){var l=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=On;break;case"focusin":s="focus",l=mn;break;case"focusout":s="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tn;break;case Cr:case Or:case jr:l=yn;break;case Tr:l=Rn;break;case"scroll":l=dn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jn}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=Ne(h,d))&&c.push($r(h,v,p)))),f)break;h=h.return}0<c.length&&(u=new l(u,s,null,n,o),a.push({event:u,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!bo(s)&&!s[vo])&&(l||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(s=(s=n.relatedTarget||n.toElement)?bo(s):null)&&(s!==(f=Be(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(l=null,s=r),l!==s)){if(c=hn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=jn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?u:xo(l),p=null==s?u:xo(s),(u=new c(v,h+"leave",l,n,o)).target=f,u.relatedTarget=p,v=null,bo(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,v=c),f=v,l&&s)e:{for(d=s,h=0,p=c=l;p;p=Kr(p))h++;for(p=0,v=d;v;v=Kr(v))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)d=Kr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Kr(c),d=Kr(d)}c=null}else c=null;null!==l&&Xr(a,u,l,c,!1),null!==s&&null!==f&&Xr(a,f,s,c,!0)}if("select"===(l=(u=r?xo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===l&&"file"===u.type)var m=Gn;else if(Wn(u))if(Qn)m=ar;else{m=or;var y=rr}else(l=u.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=ir);switch(m&&(m=m(e,r))?$n(a,m,n,o):(y&&y(e,u,r),"focusout"===e&&(y=u._wrapperState)&&y.controlled&&"number"===u.type&&ee(u,"number",u.value)),y=r?xo(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,gr=null);break;case"focusout":gr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(a,n,o)}var g;if(Ln)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(g=en()):(Zt="value"in(Qt=o)?Qt.value:Qt.textContent,Bn=!0)),0<(y=qr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:y}),g?b.data=g:null!==(g=zn(n))&&(b.data=g))),(g=Mn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Vn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!Ln&&Un(e,t)?(e=en(),Jt=Zt=Qt=null,Bn=!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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}Fr(a,t)}))}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift($r(e,i,o)),null!=(i=Ne(e,t))&&r.push($r(e,i,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,l=u.alternate,s=u.stateNode;if(null!==l&&l===r)break;5===u.tag&&null!==s&&(u=s,o?null!=(l=Ne(n,i))&&a.unshift($r(n,l,u)):o||null!=(l=Ne(n,i))&&a.push($r(n,l,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function Qr(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Gr,"")}function Zr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(uo)}:ro;function uo(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function so(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)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,vo="__reactContainer$"+fo,mo="__reactEvents$"+fo,yo="__reactListeners$"+fo,go="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[vo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ko(e){return e[ho]||null}var So=[],Eo=-1;function Po(e){return{current:e}}function Co(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Oo(e,t){Eo++,So[Eo]=e.current,e.current=t}var jo={},To=Po(jo),Ro=Po(!1),Ao=jo;function No(e,t){var n=e.type.contextTypes;if(!n)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _o(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Lo(){Co(Ro),Co(To)}function Do(e,t,n){if(To.current!==jo)throw Error(i(168));Oo(To,t),Oo(Ro,n)}function Mo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,H(e)||"Unknown",o));return I({},n,r)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Ao=To.current,Oo(To,e),Oo(Ro,Ro.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Mo(e,t,Ao),r.__reactInternalMemoizedMergedChildContext=e,Co(Ro),Co(To),Oo(To,e)):Co(Ro),Oo(Ro,n)}var Vo=null,Uo=!1,zo=!1;function Bo(e){null===Vo?Vo=[e]:Vo.push(e)}function Ho(){if(!zo&&null!==Vo){zo=!0;var e=0,t=bt;try{var n=Vo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Vo=null,Uo=!1}catch(o){throw null!==Vo&&(Vo=Vo.slice(e+1)),Ke(Je,Ho),o}finally{bt=t,zo=!1}}return null}var Wo=[],$o=0,qo=null,Ko=0,Xo=[],Yo=0,Go=null,Qo=1,Zo="";function Jo(e,t){Wo[$o++]=Ko,Wo[$o++]=qo,qo=e,Ko=t}function ei(e,t,n){Xo[Yo++]=Qo,Xo[Yo++]=Zo,Xo[Yo++]=Go,Go=e;var r=Qo;e=Zo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Zo=i+e}else Qo=1<<i|n<<o|r,Zo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===qo;)qo=Wo[--$o],Wo[$o]=null,Ko=Wo[--$o],Wo[$o]=null;for(;e===Go;)Go=Xo[--Yo],Xo[Yo]=null,Zo=Xo[--Yo],Xo[Yo]=null,Qo=Xo[--Yo],Xo[Yo]=null}var ri=null,oi=null,ii=!1,ai=null;function ui(e,t){var n=Ns(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Go?{id:Qo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ns(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function si(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(si(e))throw Error(i(418));t=so(n.nextSibling);var r=ri;t&&li(e,t)?ui(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(si(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!ii)return fi(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(si(e))throw pi(),Error(i(418));for(;t;)ui(e,t),t=so(t.nextSibling)}if(fi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=so(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?so(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=so(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function vi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function yi(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=Po(null),bi=null,wi=null,xi=null;function ki(){xi=wi=bi=null}function Si(e){var t=gi.current;Co(gi),e._currentValue=t}function Ei(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pi(e,t){bi=e,xi=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wu=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(xi!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Oi=null;function ji(e){null===Oi?Oi=[e]:Oi.push(e)}function Ti(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ji(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ri(e,r)}function Ri(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ai=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _i(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Tl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ri(e,n)}return null===(o=r.interleaved)?(t.next=t,ji(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ri(e,n)}function Mi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Ii(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;Ai=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var l=u,s=l.next;l.next=null,null===a?i=s:a.next=s,a=l;var c=e.alternate;null!==c&&((u=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===u?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=l))}if(null!==i){var f=o.baseState;for(a=0,c=s=l=null,u=i;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,v=u;switch(d=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=v.payload)?h.call(p,f,d):h)||void 0===d)break e;f=I({},f,d);break e;case 2:Ai=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(s=c=p,l=f):c=c.next=p,a|=d;if(null===(u=u.next)){if(null===(u=o.shared.pending))break;u=(d=u).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(l=f),o.baseState=l,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Il|=a,e.lanes=a,e.memoizedState=f}}function Vi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Ui=(new r.Component).refs;function zi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Bi={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),i=Li(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Di(e,i,o))&&(rs(t,e,o,r),Mi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ts(),o=ns(e),i=Li(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Di(e,i,o))&&(rs(t,e,o,r),Mi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ts(),r=ns(e),o=Li(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Di(e,o,r))&&(rs(t,e,r,n),Mi(t,e,r))}};function Hi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function Wi(e,t,n){var r=!1,o=jo,i=t.contextType;return"object"===typeof i&&null!==i?i=Ci(i):(o=_o(t)?Ao:To.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?No(e,o):jo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Bi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function $i(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bi.enqueueReplaceState(t,t.state,null)}function qi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ui,Ni(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Ci(i):(i=_o(t)?Ao:To.current,o.context=No(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(zi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Bi.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Ki(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Ui&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Xi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yi(e){return(0,e._init)(e._payload)}function Gi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ls(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function u(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fs(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===N&&Yi(i)===t.type)?((r=o(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Ds(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vs(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Ms(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Ds(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case k:return(t=Vs(t,e.mode,n)).return=e,t;case N:return d(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Ms(t,e.mode,n,null)).return=e,t;Xi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?s(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case N:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||D(n))return null!==o?null:f(e,t,n,r,null);Xi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||D(r))return f(t,e=e.get(n)||null,r,o,null);Xi(t,r)}return null}function v(o,i,u,l){for(var s=null,c=null,f=i,v=i=0,m=null;null!==f&&v<u.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=p(o,f,u[v],l);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(o,f),i=a(y,i,v),null===c?s=y:c.sibling=y,c=y,f=m}if(v===u.length)return n(o,f),ii&&Jo(o,v),s;if(null===f){for(;v<u.length;v++)null!==(f=d(o,u[v],l))&&(i=a(f,i,v),null===c?s=f:c.sibling=f,c=f);return ii&&Jo(o,v),s}for(f=r(o,f);v<u.length;v++)null!==(m=h(f,o,v,u[v],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),i=a(m,i,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),s}function m(o,u,l,s){var c=D(l);if("function"!==typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var f=c=null,v=u,m=u=0,y=null,g=l.next();null!==v&&!g.done;m++,g=l.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=p(o,v,g.value,s);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&t(o,v),u=a(b,u,m),null===f?c=b:f.sibling=b,f=b,v=y}if(g.done)return n(o,v),ii&&Jo(o,m),c;if(null===v){for(;!g.done;m++,g=l.next())null!==(g=d(o,g.value,s))&&(u=a(g,u,m),null===f?c=g:f.sibling=g,f=g);return ii&&Jo(o,m),c}for(v=r(o,v);!g.done;m++,g=l.next())null!==(g=h(v,o,m,g.value,s))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),u=a(g,u,m),null===f?c=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var s=a.key,c=i;null!==c;){if(c.key===s){if((s=a.type)===S){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===N&&Yi(s)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Ki(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===S?((i=Ms(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Ds(a.type,a.key,a.props,null,r.mode,l)).ref=Ki(r,i,a),l.return=r,r=l)}return u(r);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Vs(a,r.mode,l)).return=r,r=i}return u(r);case N:return e(r,i,(c=a._init)(a._payload),l)}if(te(a))return v(r,i,a,l);if(D(a))return m(r,i,a,l);Xi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Fs(a,r.mode,l)).return=r,r=i),u(r)):n(r,i)}}var Qi=Gi(!0),Zi=Gi(!1),Ji={},ea=Po(Ji),ta=Po(Ji),na=Po(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Oo(na,t),Oo(ta,e),Oo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(ea),Oo(ea,t)}function ia(){Co(ea),Co(ta),Co(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Oo(ta,e),Oo(ea,n))}function ua(e){ta.current===e&&(Co(ea),Co(ta))}var la=Po(0);function sa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==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 ca=[];function fa(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var da=w.ReactCurrentDispatcher,pa=w.ReactCurrentBatchConfig,ha=0,va=null,ma=null,ya=null,ga=!1,ba=!1,wa=0,xa=0;function ka(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function Ea(e,t,n,r,o,a){if(ha=a,va=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?uu:lu,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,ya=ma=null,t.updateQueue=null,da.current=su,e=n(r,o)}while(ba)}if(da.current=au,t=null!==ma&&null!==ma.next,ha=0,ya=ma=va=null,ga=!1,t)throw Error(i(300));return e}function Pa(){var e=0!==wa;return wa=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ya?va.memoizedState=ya=e:ya=ya.next=e,ya}function Oa(){if(null===ma){var e=va.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ya?va.memoizedState:ya.next;if(null!==t)ya=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ya?va.memoizedState=ya=e:ya=ya.next=e}return ya}function ja(e,t){return"function"===typeof t?t(e):t}function Ta(e){var t=Oa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var u=o.next;o.next=a.next,a.next=u}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=u=null,s=null,c=a;do{var f=c.lane;if((ha&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,u=r):s=s.next=d,va.lanes|=f,Il|=f}c=c.next}while(null!==c&&c!==a);null===s?u=r:s.next=l,ur(r,t.memoizedState)||(wu=!0),t.memoizedState=r,t.baseState=u,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,va.lanes|=a,Il|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ra(e){var t=Oa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{a=e(a,u.action),u=u.next}while(u!==o);ur(a,t.memoizedState)||(wu=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function Na(e,t){var n=va,r=Oa(),o=t(),a=!ur(r.memoizedState,o);if(a&&(r.memoizedState=o,wu=!0),r=r.queue,Wa(Da.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ya&&1&ya.memoizedState.tag){if(n.flags|=2048,Va(9,La.bind(null,n,r,o,t),void 0,null),null===Rl)throw Error(i(349));0!==(30&ha)||_a(n,t,o)}return o}function _a(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function La(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&Ia(e)}function Da(e,t,n){return n((function(){Ma(t)&&Ia(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ur(e,n)}catch(r){return!0}}function Ia(e){var t=Ri(e,1);null!==t&&rs(t,e,1,-1)}function Fa(e){var t=Ca();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ja,lastRenderedState:e},t.queue=e,e=e.dispatch=nu.bind(null,va,e),[t.memoizedState,e]}function Va(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ua(){return Oa().memoizedState}function za(e,t,n,r){var o=Ca();va.flags|=e,o.memoizedState=Va(1|t,n,void 0,void 0===r?null:r)}function Ba(e,t,n,r){var o=Oa();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Va(t,n,i,r))}va.flags|=e,o.memoizedState=Va(1|t,n,i,r)}function Ha(e,t){return za(8390656,8,e,t)}function Wa(e,t){return Ba(2048,8,e,t)}function $a(e,t){return Ba(4,2,e,t)}function qa(e,t){return Ba(4,4,e,t)}function Ka(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Xa(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ba(4,4,Ka.bind(null,t,e),n)}function Ya(){}function Ga(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qa(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Za(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,wu=!0),e.memoizedState=n):(ur(n,t)||(n=vt(),va.lanes|=n,Il|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function eu(){return Oa().memoizedState}function tu(e,t,n){var r=ns(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ru(e))ou(t,n);else if(null!==(n=Ti(e,t,n,r))){rs(n,e,r,ts()),iu(n,t,r)}}function nu(e,t,n){var r=ns(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ru(e))ou(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.hasEagerState=!0,o.eagerState=u,ur(u,a)){var l=t.interleaved;return null===l?(o.next=o,ji(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(s){}null!==(n=Ti(e,t,o,r))&&(rs(n,e,r,o=ts()),iu(n,t,r))}}function ru(e){var t=e.alternate;return e===va||null!==t&&t===va}function ou(e,t){ba=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iu(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var au={readContext:Ci,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:!1},uu={readContext:Ci,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Ha,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,za(4194308,4,Ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return za(4194308,4,e,t)},useInsertionEffect:function(e,t){return za(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tu.bind(null,va,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:Fa,useDebugValue:Ya,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=Fa(!1),t=e[0];return e=Ja.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=va,o=Ca();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Rl)throw Error(i(349));0!==(30&ha)||_a(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ha(Da.bind(null,r,a,e),[e]),r.flags|=2048,Va(9,La.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=Rl.identifierPrefix;if(ii){var n=Zo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},lu={readContext:Ci,useCallback:Ga,useContext:Ci,useEffect:Wa,useImperativeHandle:Xa,useInsertionEffect:$a,useLayoutEffect:qa,useMemo:Qa,useReducer:Ta,useRef:Ua,useState:function(){return Ta(ja)},useDebugValue:Ya,useDeferredValue:function(e){return Za(Oa(),ma.memoizedState,e)},useTransition:function(){return[Ta(ja)[0],Oa().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Na,useId:eu,unstable_isNewReconciler:!1},su={readContext:Ci,useCallback:Ga,useContext:Ci,useEffect:Wa,useImperativeHandle:Xa,useInsertionEffect:$a,useLayoutEffect:qa,useMemo:Qa,useReducer:Ra,useRef:Ua,useState:function(){return Ra(ja)},useDebugValue:Ya,useDeferredValue:function(e){var t=Oa();return null===ma?t.memoizedState=e:Za(t,ma.memoizedState,e)},useTransition:function(){return[Ra(ja)[0],Oa().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Na,useId:eu,unstable_isNewReconciler:!1};function cu(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function fu(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function du(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pu="function"===typeof WeakMap?WeakMap:Map;function hu(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$l||($l=!0,ql=r),du(0,t)},n}function vu(e,t,n){(n=Li(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){du(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){du(0,t),"function"!==typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function mu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function yu(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gu(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Li(-1,1)).tag=2,Di(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bu=w.ReactCurrentOwner,wu=!1;function xu(e,t,n,r){t.child=null===e?Zi(t,null,n,r):Qi(t,e.child,n,r)}function ku(e,t,n,r,o){n=n.render;var i=t.ref;return Pi(t,o),r=Ea(e,t,n,r,i,o),n=Pa(),null===e||wu?(ii&&n&&ti(t),t.flags|=1,xu(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$u(e,t,o))}function Su(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||_s(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ds(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Eu(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return $u(e,t,o)}return t.flags|=1,(e=Ls(i,r)).ref=t.ref,e.return=t,t.child=e}function Eu(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(wu=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,$u(e,t,o);0!==(131072&e.flags)&&(wu=!0)}}return Ou(e,t,n,r,o)}function Pu(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oo(Ll,_l),_l|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oo(Ll,_l),_l|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Oo(Ll,_l),_l|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Oo(Ll,_l),_l|=r;return xu(e,t,o,n),t.child}function Cu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ou(e,t,n,r,o){var i=_o(n)?Ao:To.current;return i=No(t,i),Pi(t,o),n=Ea(e,t,n,r,i,o),r=Pa(),null===e||wu?(ii&&r&&ti(t),t.flags|=1,xu(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$u(e,t,o))}function ju(e,t,n,r,o){if(_o(n)){var i=!0;Io(t)}else i=!1;if(Pi(t,o),null===t.stateNode)Wu(e,t),Wi(t,n,r),qi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,s=n.contextType;"object"===typeof s&&null!==s?s=Ci(s):s=No(t,s=_o(n)?Ao:To.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||l!==s)&&$i(t,a,r,s),Ai=!1;var d=t.memoizedState;a.state=d,Fi(t,r,a,o),l=t.memoizedState,u!==r||d!==l||Ro.current||Ai?("function"===typeof c&&(zi(t,n,c,r),l=t.memoizedState),(u=Ai||Hi(t,n,u,r,d,l,s))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=u):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,_i(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:yi(t.type,u),a.props=s,f=t.pendingProps,d=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ci(l):l=No(t,l=_o(n)?Ao:To.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==f||d!==l)&&$i(t,a,r,l),Ai=!1,d=t.memoizedState,a.state=d,Fi(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||Ro.current||Ai?("function"===typeof p&&(zi(t,n,p,r),h=t.memoizedState),(s=Ai||Hi(t,n,s,r,d,h,l)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=s):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Tu(e,t,n,r,i,o)}function Tu(e,t,n,r,o,i){Cu(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),$u(e,t,i);r=t.stateNode,bu.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,u,i)):xu(e,t,u,i),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Ru(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),oa(e,t.containerInfo)}function Au(e,t,n,r,o){return hi(),vi(o),t.flags|=256,xu(e,t,n,r),t.child}var Nu,_u,Lu,Du,Mu={dehydrated:null,treeContext:null,retryLane:0};function Iu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fu(e,t,n){var r,o=t.pendingProps,a=la.current,u=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(u=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Oo(la,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,u?(o=t.mode,u=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==u?(u.childLanes=0,u.pendingProps=l):u=Is(l,o,0,null),e=Ms(e,o,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=Iu(n),t.memoizedState=Mu,e):Vu(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,u){if(n)return 256&t.flags?(t.flags&=-257,Uu(e,t,u,r=fu(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Is({mode:"visible",children:r.children},o,0,null),(a=Ms(a,o,u,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Qi(t,e.child,null,u),t.child.memoizedState=Iu(u),t.memoizedState=Mu,a);if(0===(1&t.mode))return Uu(e,t,u,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Uu(e,t,u,r=fu(a=Error(i(419)),r,void 0))}if(l=0!==(u&e.childLanes),wu||l){if(null!==(r=Rl)){switch(u&-u){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|u))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ri(e,o),rs(r,e,o,-1))}return ms(),Uu(e,t,u,r=fu(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=js.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=so(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Xo[Yo++]=Qo,Xo[Yo++]=Zo,Xo[Yo++]=Go,Qo=e.id,Zo=e.overflow,Go=t),t=Vu(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(u){u=o.fallback,l=t.mode,r=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Ls(a,s)).subtreeFlags=14680064&a.subtreeFlags,null!==r?u=Ls(r,u):(u=Ms(u,l,n,null)).flags|=2,u.return=t,o.return=t,o.sibling=u,t.child=o,o=u,u=t.child,l=null===(l=e.child.memoizedState)?Iu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},u.memoizedState=l,u.childLanes=e.childLanes&~n,t.memoizedState=Mu,o}return e=(u=e.child).sibling,o=Ls(u,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Vu(e,t){return(t=Is({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Uu(e,t,n,r){return null!==r&&vi(r),Qi(t,e.child,null,n),(e=Vu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function Bu(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Hu(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xu(e,t,r.children,n),0!==(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zu(e,n,t);else if(19===e.tag)zu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oo(la,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===sa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===sa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bu(t,!0,n,null,i);break;case"together":Bu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wu(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $u(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Il|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ls(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ls(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function qu(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ku(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Xu(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ku(t),null;case 1:case 17:return _o(t.type)&&Lo(),Ku(t),null;case 3:return r=t.stateNode,ia(),Co(Ro),Co(To),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(us(ai),ai=null))),_u(e,t),Ku(t),null;case 5:ua(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Lu(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ku(t),null}if(e=ra(ea.current),di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Vr("cancel",r),Vr("close",r);break;case"iframe":case"object":case"embed":Vr("load",r);break;case"video":case"audio":for(o=0;o<Dr.length;o++)Vr(Dr[o],r);break;case"source":Vr("error",r);break;case"img":case"image":case"link":Vr("error",r),Vr("load",r);break;case"details":Vr("toggle",r);break;case"input":G(r,a),Vr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Vr("invalid",r);break;case"textarea":oe(r,a),Vr("invalid",r)}for(var l in ge(n,a),o=null,a)if(a.hasOwnProperty(l)){var s=a[l];"children"===l?"string"===typeof s?r.textContent!==s&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,s,e),o=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,s,e),o=["children",""+s]):u.hasOwnProperty(l)&&null!=s&&"onScroll"===l&&Vr("scroll",r)}switch(n){case"input":q(r),J(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ue(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Nu(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Vr("cancel",e),Vr("close",e),o=r;break;case"iframe":case"object":case"embed":Vr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Dr.length;o++)Vr(Dr[o],e);o=r;break;case"source":Vr("error",e),o=r;break;case"img":case"image":case"link":Vr("error",e),Vr("load",e),o=r;break;case"details":Vr("toggle",e),o=r;break;case"input":G(e,r),o=Y(e,r),Vr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Vr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Vr("invalid",e)}for(a in ge(n,o),s=o)if(s.hasOwnProperty(a)){var c=s[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(u.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Vr("scroll",e):null!=c&&b(e,a,c,l))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ku(t),null;case 6:if(e&&null!=t.stateNode)Du(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ku(t),null;case 13:if(Co(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ku(t),a=!1}else null!==ai&&(us(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&la.current)?0===Dl&&(Dl=3):ms())),null!==t.updateQueue&&(t.flags|=4),Ku(t),null);case 4:return ia(),_u(e,t),null===e&&Br(t.stateNode.containerInfo),Ku(t),null;case 10:return Si(t.type._context),Ku(t),null;case 19:if(Co(la),null===(a=t.memoizedState))return Ku(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)qu(a,!1);else{if(0!==Dl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=sa(e))){for(t.flags|=128,qu(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oo(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Hl&&(t.flags|=128,r=!0,qu(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=sa(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qu(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ku(t),null}else 2*Qe()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,qu(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=la.current,Oo(la,r?1&n|2:1&n),t):(Ku(t),null);case 22:case 23:return ds(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&_l)&&(Ku(t),6&t.subtreeFlags&&(t.flags|=8192)):Ku(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Yu(e,t){switch(ni(t),t.tag){case 1:return _o(t.type)&&Lo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Co(Ro),Co(To),fa(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ua(t),null;case 13:if(Co(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(la),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}Nu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},_u=function(){},Lu=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),a=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ge(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(u.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(u.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Vr("scroll",e),a||l===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Du=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gu=!1,Qu=!1,Zu="function"===typeof WeakSet?WeakSet:Set,Ju=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ps(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Ps(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[mo],delete t[yo],delete t[go])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ul(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ul(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(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function sl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(sl(e,t,n),e=e.sibling;null!==e;)sl(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var fl=null,dl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(u){}switch(n.tag){case 5:Qu||el(n,t);case 6:var r=fl,o=dl;fl=null,pl(e,t,n),dl=o,null!==(fl=r)&&(dl?(e=fl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fl.removeChild(n.stateNode));break;case 18:null!==fl&&(dl?(e=fl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Bt(e)):lo(fl,n.stateNode));break;case 4:r=fl,o=dl,fl=n.stateNode.containerInfo,dl=!0,pl(e,t,n),fl=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Qu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Qu&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Ps(n,t,u)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Qu=(r=Qu)||null!==n.memoizedState,pl(e,t,n),Qu=r):pl(e,t,n);break;default:pl(e,t,n)}}function vl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zu),t.forEach((function(t){var r=Ts.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,u=t,l=u;e:for(;null!==l;){switch(l.tag){case 5:fl=l.stateNode,dl=!1;break e;case 3:case 4:fl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===fl)throw Error(i(160));hl(a,u,o),fl=null,dl=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(c){Ps(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yl(t,e),t=t.sibling}function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),gl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(m){Ps(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Ps(e,e.return,m)}}break;case 1:ml(t,e),gl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),gl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(m){Ps(e,e.return,m)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,u=null!==n?n.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(o,a),be(l,u);var c=be(l,a);for(u=0;u<s.length;u+=2){var f=s[u],d=s[u+1];"style"===f?me(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):b(o,f,d,c)}switch(l){case"input":Z(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(m){Ps(e,e.return,m)}}break;case 6:if(ml(t,e),gl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(m){Ps(e,e.return,m)}}break;case 3:if(ml(t,e),gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(m){Ps(e,e.return,m)}break;case 4:default:ml(t,e),gl(e);break;case 13:ml(t,e),gl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Bl=Qe())),4&r&&vl(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Qu=(c=Qu)||f,ml(t,e),Qu=c):ml(t,e),gl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Ju=e,f=e.child;null!==f;){for(d=Ju=f;null!==Ju;){switch(h=(p=Ju).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var v=p.stateNode;if("function"===typeof v.componentWillUnmount){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Ps(r,n,m)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){kl(d);continue}}null!==h?(h.return=p,Ju=h):kl(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{o=d.stateNode,c?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,u=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,l.style.display=ve("display",u))}catch(m){Ps(e,e.return,m)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){Ps(e,e.return,m)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:ml(t,e),gl(e),4&r&&vl(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ul(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;sl(e,ll(e),a);break;default:throw Error(i(161))}}catch(u){Ps(e,e.return,u)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Ju=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!==(1&e.mode);null!==Ju;){var o=Ju,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Gu;if(!a){var u=o.alternate,l=null!==u&&null!==u.memoizedState||Qu;u=Gu;var s=Qu;if(Gu=a,(Qu=l)&&!s)for(Ju=o;null!==Ju;)l=(a=Ju).child,22===a.tag&&null!==a.memoizedState?Sl(o):null!==l?(l.return=a,Ju=l):Sl(o);for(;null!==i;)Ju=i,wl(i,t,n),i=i.sibling;Ju=o,Gu=u,Qu=s}xl(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Ju=i):xl(e)}}function xl(e){for(;null!==Ju;){var t=Ju;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qu||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qu)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:yi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Vi(t,a,r);break;case 3:var u=t.updateQueue;if(null!==u){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Vi(t,u,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Bt(d)}}}break;default:throw Error(i(163))}Qu||512&t.flags&&il(t)}catch(p){Ps(t,t.return,p)}}if(t===e){Ju=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ju=n;break}Ju=t.return}}function kl(e){for(;null!==Ju;){var t=Ju;if(t===e){Ju=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ju=n;break}Ju=t.return}}function Sl(e){for(;null!==Ju;){var t=Ju;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Ps(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Ps(t,o,l)}}var i=t.return;try{il(t)}catch(l){Ps(t,i,l)}break;case 5:var a=t.return;try{il(t)}catch(l){Ps(t,a,l)}}}catch(l){Ps(t,t.return,l)}if(t===e){Ju=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Ju=u;break}Ju=t.return}}var El,Pl=Math.ceil,Cl=w.ReactCurrentDispatcher,Ol=w.ReactCurrentOwner,jl=w.ReactCurrentBatchConfig,Tl=0,Rl=null,Al=null,Nl=0,_l=0,Ll=Po(0),Dl=0,Ml=null,Il=0,Fl=0,Vl=0,Ul=null,zl=null,Bl=0,Hl=1/0,Wl=null,$l=!1,ql=null,Kl=null,Xl=!1,Yl=null,Gl=0,Ql=0,Zl=null,Jl=-1,es=0;function ts(){return 0!==(6&Tl)?Qe():-1!==Jl?Jl:Jl=Qe()}function ns(e){return 0===(1&e.mode)?1:0!==(2&Tl)&&0!==Nl?Nl&-Nl:null!==mi.transition?(0===es&&(es=vt()),es):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Gt(e.type)}function rs(e,t,n,r){if(50<Ql)throw Ql=0,Zl=null,Error(i(185));yt(e,n,r),0!==(2&Tl)&&e===Rl||(e===Rl&&(0===(2&Tl)&&(Fl|=n),4===Dl&&ls(e,Nl)),os(e,r),1===n&&0===Tl&&0===(1&t.mode)&&(Hl=Qe()+500,Uo&&Ho()))}function os(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),u=1<<a,l=o[a];-1===l?0!==(u&n)&&0===(u&r)||(o[a]=pt(u,t)):l<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=dt(e,e===Rl?Nl:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){Uo=!0,Bo(e)}(ss.bind(null,e)):Bo(ss.bind(null,e)),ao((function(){0===(6&Tl)&&Ho()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Rs(n,is.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function is(e,t){if(Jl=-1,es=0,0!==(6&Tl))throw Error(i(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===Rl?Nl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=ys(e,r);else{t=r;var o=Tl;Tl|=2;var a=vs();for(Rl===e&&Nl===t||(Wl=null,Hl=Qe()+500,ps(e,t));;)try{bs();break}catch(l){hs(e,l)}ki(),Cl.current=a,Tl=o,null!==Al?t=0:(Rl=null,Nl=0,t=Dl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=as(e,o))),1===t)throw n=Ml,ps(e,0),ls(e,r),os(e,Qe()),n;if(6===t)ls(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!ur(i(),o))return!1}catch(u){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;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}(o)&&(2===(t=ys(e,r))&&(0!==(a=ht(e))&&(r=a,t=as(e,a))),1===t))throw n=Ml,ps(e,0),ls(e,r),os(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ks(e,zl,Wl);break;case 3:if(ls(e,r),(130023424&r)===r&&10<(t=Bl+500-Qe())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ts(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ks.bind(null,e,zl,Wl),t);break}ks(e,zl,Wl);break;case 4:if(ls(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var u=31-at(r);a=1<<u,(u=t[u])>o&&(o=u),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Pl(r/1960))-r)){e.timeoutHandle=ro(ks.bind(null,e,zl,Wl),r);break}ks(e,zl,Wl);break;default:throw Error(i(329))}}}return os(e,Qe()),e.callbackNode===n?is.bind(null,e):null}function as(e,t){var n=Ul;return e.current.memoizedState.isDehydrated&&(ps(e,t).flags|=256),2!==(e=ys(e,t))&&(t=zl,zl=n,null!==t&&us(t)),e}function us(e){null===zl?zl=e:zl.push.apply(zl,e)}function ls(e,t){for(t&=~Vl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function ss(e){if(0!==(6&Tl))throw Error(i(327));Ss();var t=dt(e,0);if(0===(1&t))return os(e,Qe()),null;var n=ys(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=as(e,r))}if(1===n)throw n=Ml,ps(e,0),ls(e,t),os(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,zl,Wl),os(e,Qe()),null}function cs(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(Hl=Qe()+500,Uo&&Ho())}}function fs(e){null!==Yl&&0===Yl.tag&&0===(6&Tl)&&Ss();var t=Tl;Tl|=1;var n=jl.transition,r=bt;try{if(jl.transition=null,bt=1,e)return e()}finally{bt=r,jl.transition=n,0===(6&(Tl=t))&&Ho()}}function ds(){_l=Ll.current,Co(Ll)}function ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Al)for(n=Al.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Lo();break;case 3:ia(),Co(Ro),Co(To),fa();break;case 5:ua(r);break;case 4:ia();break;case 13:case 19:Co(la);break;case 10:Si(r.type._context);break;case 22:case 23:ds()}n=n.return}if(Rl=e,Al=e=Ls(e.current,null),Nl=_l=t,Dl=0,Ml=null,Vl=Fl=Il=0,zl=Ul=null,null!==Oi){for(t=0;t<Oi.length;t++)if(null!==(r=(n=Oi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Oi=null}return e}function hs(e,t){for(;;){var n=Al;try{if(ki(),da.current=au,ga){for(var r=va.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ga=!1}if(ha=0,ya=ma=va=null,ba=!1,wa=0,Ol.current=null,null===n||null===n.return){Dl=1,Ml=t,Al=null;break}e:{var a=e,u=n.return,l=n,s=t;if(t=Nl,l.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=l,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=yu(u);if(null!==h){h.flags&=-257,gu(h,u,l,0,t),1&h.mode&&mu(a,c,t),s=c;var v=(t=h).updateQueue;if(null===v){var m=new Set;m.add(s),t.updateQueue=m}else v.add(s);break e}if(0===(1&t)){mu(a,c,t),ms();break e}s=Error(i(426))}else if(ii&&1&l.mode){var y=yu(u);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gu(y,u,l,0,t),vi(cu(s,l));break e}}a=s=cu(s,l),4!==Dl&&(Dl=2),null===Ul?Ul=[a]:Ul.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ii(a,hu(0,s,t));break e;case 1:l=s;var g=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Kl||!Kl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ii(a,vu(a,l,t));break e}}a=a.return}while(null!==a)}xs(n)}catch(w){t=w,Al===n&&null!==n&&(Al=n=n.return);continue}break}}function vs(){var e=Cl.current;return Cl.current=au,null===e?au:e}function ms(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Rl||0===(268435455&Il)&&0===(268435455&Fl)||ls(Rl,Nl)}function ys(e,t){var n=Tl;Tl|=2;var r=vs();for(Rl===e&&Nl===t||(Wl=null,ps(e,t));;)try{gs();break}catch(o){hs(e,o)}if(ki(),Tl=n,Cl.current=r,null!==Al)throw Error(i(261));return Rl=null,Nl=0,Dl}function gs(){for(;null!==Al;)ws(Al)}function bs(){for(;null!==Al&&!Ye();)ws(Al)}function ws(e){var t=El(e.alternate,e,_l);e.memoizedProps=e.pendingProps,null===t?xs(e):Al=t,Ol.current=null}function xs(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Xu(n,t,_l)))return void(Al=n)}else{if(null!==(n=Yu(n,t)))return n.flags&=32767,void(Al=n);if(null===e)return Dl=6,void(Al=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Dl&&(Dl=5)}function ks(e,t,n){var r=bt,o=jl.transition;try{jl.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Yl);if(0!==(6&Tl))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Rl&&(Al=Rl=null,Nl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Xl||(Xl=!0,Rs(tt,(function(){return Ss(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=jl.transition,jl.transition=null;var u=bt;bt=1;var l=Tl;Tl|=4,Ol.current=null,function(e,t){if(eo=Wt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(x){n=null;break e}var u=0,l=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(l=u+o),d!==a||0!==r&&3!==d.nodeType||(s=u+r),3===d.nodeType&&(u+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===o&&(l=u),p===a&&++f===r&&(s=u),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Wt=!1,Ju=t;null!==Ju;)if(e=(t=Ju).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ju=e;else for(;null!==Ju;){t=Ju;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,y=v.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:yi(t.type,m),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(x){Ps(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Ju=e;break}Ju=t.return}v=nl,nl=!1}(e,n),yl(n,e),hr(to),Wt=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ge(),Tl=l,bt=u,jl.transition=a}else e.current=n;if(Xl&&(Xl=!1,Yl=e,Gl=o),a=e.pendingLanes,0===a&&(Kl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),os(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if($l)throw $l=!1,e=ql,ql=null,e;0!==(1&Gl)&&0!==e.tag&&Ss(),a=e.pendingLanes,0!==(1&a)?e===Zl?Ql++:(Ql=0,Zl=e):Ql=0,Ho()}(e,t,n,r)}finally{jl.transition=o,bt=r}return null}function Ss(){if(null!==Yl){var e=wt(Gl),t=jl.transition,n=bt;try{if(jl.transition=null,bt=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,Gl=0,0!==(6&Tl))throw Error(i(331));var o=Tl;for(Tl|=4,Ju=e.current;null!==Ju;){var a=Ju,u=a.child;if(0!==(16&Ju.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(Ju=c;null!==Ju;){var f=Ju;switch(f.tag){case 0:case 11:case 15:rl(8,f,a)}var d=f.child;if(null!==d)d.return=f,Ju=d;else for(;null!==Ju;){var p=(f=Ju).sibling,h=f.return;if(al(f),f===c){Ju=null;break}if(null!==p){p.return=h,Ju=p;break}Ju=h}}}var v=a.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Ju=a}}if(0!==(2064&a.subtreeFlags)&&null!==u)u.return=a,Ju=u;else e:for(;null!==Ju;){if(0!==(2048&(a=Ju).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var g=a.sibling;if(null!==g){g.return=a.return,Ju=g;break e}Ju=a.return}}var b=e.current;for(Ju=b;null!==Ju;){var w=(u=Ju).child;if(0!==(2064&u.subtreeFlags)&&null!==w)w.return=u,Ju=w;else e:for(u=b;null!==Ju;){if(0!==(2048&(l=Ju).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(k){Ps(l,l.return,k)}if(l===u){Ju=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Ju=x;break e}Ju=l.return}}if(Tl=o,Ho(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(k){}r=!0}return r}finally{bt=n,jl.transition=t}}return!1}function Es(e,t,n){e=Di(e,t=hu(0,t=cu(n,t),1),1),t=ts(),null!==e&&(yt(e,1,t),os(e,t))}function Ps(e,t,n){if(3===e.tag)Es(e,e,n);else for(;null!==t;){if(3===t.tag){Es(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Di(t,e=vu(t,e=cu(n,e),1),1),e=ts(),null!==t&&(yt(t,1,e),os(t,e));break}}t=t.return}}function Cs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ts(),e.pingedLanes|=e.suspendedLanes&n,Rl===e&&(Nl&n)===n&&(4===Dl||3===Dl&&(130023424&Nl)===Nl&&500>Qe()-Bl?ps(e,0):Vl|=n),os(e,t)}function Os(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=ts();null!==(e=Ri(e,t))&&(yt(e,t,n),os(e,n))}function js(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Os(e,n)}function Ts(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Os(e,n)}function Rs(e,t){return Ke(e,t)}function As(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ns(e,t,n,r){return new As(e,t,n,r)}function _s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ls(e,t){var n=e.alternate;return null===n?((n=Ns(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ds(e,t,n,r,o,a){var u=2;if(r=e,"function"===typeof e)_s(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case S:return Ms(n.children,o,a,t);case E:u=8,o|=8;break;case P:return(e=Ns(12,n,t,2|o)).elementType=P,e.lanes=a,e;case T:return(e=Ns(13,n,t,o)).elementType=T,e.lanes=a,e;case R:return(e=Ns(19,n,t,o)).elementType=R,e.lanes=a,e;case _:return Is(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:u=10;break e;case O:u=9;break e;case j:u=11;break e;case A:u=14;break e;case N:u=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ns(u,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ms(e,t,n,r){return(e=Ns(7,e,r,t)).lanes=n,e}function Is(e,t,n,r){return(e=Ns(22,e,r,t)).elementType=_,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=Ns(6,e,null,t)).lanes=n,e}function Vs(e,t,n){return(t=Ns(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Us(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function zs(e,t,n,r,o,i,a,u,l){return e=new Us(e,t,n,u,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ns(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(i),e}function Bs(e){if(!e)return jo;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_o(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(_o(n))return Mo(e,n,t)}return t}function Hs(e,t,n,r,o,i,a,u,l){return(e=zs(n,r,!0,e,0,i,0,u,l)).context=Bs(null),n=e.current,(i=Li(r=ts(),o=ns(n))).callback=void 0!==t&&null!==t?t:null,Di(n,i,o),e.current.lanes=o,yt(e,o,r),os(e,r),e}function Ws(e,t,n,r){var o=t.current,i=ts(),a=ns(o);return n=Bs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Di(o,t,a))&&(rs(e,o,a,i),Mi(e,o,a)),a}function $s(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ks(e,t){qs(e,t),(e=e.alternate)&&qs(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)wu=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wu=!1,function(e,t,n){switch(t.tag){case 3:Ru(t),hi();break;case 5:aa(t);break;case 1:_o(t.type)&&Io(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Oo(gi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oo(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fu(e,t,n):(Oo(la,1&la.current),null!==(e=$u(e,t,n))?e.sibling:null);Oo(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Hu(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Oo(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Pu(e,t,n)}return $u(e,t,n)}(e,t,n);wu=0!==(131072&e.flags)}else wu=!1,ii&&0!==(1048576&t.flags)&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wu(e,t),e=t.pendingProps;var o=No(t,To.current);Pi(t,n),o=Ea(null,t,r,e,o,n);var a=Pa();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_o(r)?(a=!0,Io(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t),o.updater=Bi,t.stateNode=o,o._reactInternals=t,qi(t,r,e,n),t=Tu(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),xu(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wu(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return _s(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===j)return 11;if(e===A)return 14}return 2}(r),e=yi(r,e),o){case 0:t=Ou(null,t,r,e,n);break e;case 1:t=ju(null,t,r,e,n);break e;case 11:t=ku(null,t,r,e,n);break e;case 14:t=Su(null,t,r,yi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ou(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 1:return r=t.type,o=t.pendingProps,ju(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 3:e:{if(Ru(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,_i(e,t),Fi(t,r,null,n);var u=t.memoizedState;if(r=u.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Au(e,t,r,n,o=cu(Error(i(423)),t));break e}if(r!==o){t=Au(e,t,r,n,o=cu(Error(i(424)),t));break e}for(oi=so(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Zi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=$u(e,t,n);break e}xu(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,no(r,o)?u=null:null!==a&&no(r,a)&&(t.flags|=32),Cu(e,t),xu(e,t,u,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Fu(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):xu(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ku(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 7:return xu(e,t,t.pendingProps,n),t.child;case 8:case 12:return xu(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,u=o.value,Oo(gi,r._currentValue),r._currentValue=u,null!==a)if(ur(a.value,u)){if(a.children===o.children&&!Ro.current){t=$u(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){u=a.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Li(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),Ei(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===a.tag)u=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(i(341));u.lanes|=n,null!==(l=u.alternate)&&(l.lanes|=n),Ei(u,n,t),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===t){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}xu(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Pi(t,n),r=r(o=Ci(o)),t.flags|=1,xu(e,t,r,n),t.child;case 14:return o=yi(r=t.type,t.pendingProps),Su(e,t,r,o=yi(r.type,o),n);case 15:return Eu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yi(r,o),Wu(e,t),t.tag=1,_o(r)?(e=!0,Io(t)):e=!1,Pi(t,n),Wi(t,r,o),qi(t,r,o,n),Tu(null,t,r,!0,e,n);case 19:return Hu(e,t,n);case 22:return Pu(e,t,n)}throw Error(i(156,t.tag))};var Xs="function"===typeof reportError?reportError:function(e){console.error(e)};function Ys(e){this._internalRoot=e}function Gs(e){this._internalRoot=e}function Qs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Js(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var u=o;o=function(){var e=$s(a);u.call(e)}}Ws(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=$s(a);i.call(e)}}var a=Hs(t,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=a,e[vo]=a.current,Br(8===e.nodeType?e.parentNode:e),fs(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var u=r;r=function(){var e=$s(l);u.call(e)}}var l=zs(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=l,e[vo]=l.current,Br(8===e.nodeType?e.parentNode:e),fs((function(){Ws(t,l,n,r)})),l}(n,t,e,o,r);return $s(a)}Gs.prototype.render=Ys.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Ws(e,t,null,null)},Gs.prototype.unmount=Ys.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fs((function(){Ws(null,e,null,null)})),t[vo]=null}},Gs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_t.length&&0!==t&&t<_t[n].priority;n++);_t.splice(n,0,e),0===n&&It(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(gt(t,1|n),os(t,Qe()),0===(6&Tl)&&(Hl=Qe()+500,Ho()))}break;case 13:fs((function(){var t=Ri(e,1);if(null!==t){var n=ts();rs(t,e,1,n)}})),Ks(e,1)}},kt=function(e){if(13===e.tag){var t=Ri(e,134217728);if(null!==t)rs(t,e,134217728,ts());Ks(e,134217728)}},St=function(e){if(13===e.tag){var t=ns(e),n=Ri(e,t);if(null!==n)rs(n,e,t,ts());Ks(e,t)}},Et=function(){return bt},Pt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(i(90));K(r),Z(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},je=cs,Te=fs;var tc={usingClientEntryPoint:!1,Events:[wo,xo,ko,Ce,Oe,cs]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=$e(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qs(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qs(e))throw Error(i(299));var n=!1,r="",o=Xs;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=zs(e,1,!1,null,0,n,0,r,o),e[vo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Ys(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=$e(t))?null:e.stateNode},t.flushSync=function(e){return fs(e)},t.hydrate=function(e,t,n){if(!Zs(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qs(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",u=Xs;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(u=n.onRecoverableError)),t=Hs(t,null,e,1,null!=n?n:null,o,0,a,u),e[vo]=t.current,Br(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Gs(t)}
2,t.render=function(e,t,n){if(!Zs(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zs(e))throw Error(i(40));return!!e._reactRootContainer&&(fs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[vo]=null}))})),!0)},t.unstable_batchedUpdates=cs,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zs(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},250:function(e,t,n){"use strict";var r=n(164);t.s=r.createRoot,r.hydrateRoot},164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},77:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var u,l,s,c;if(Array.isArray(e)){if((u=e.length)!=a.length)return!1;for(l=u;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((u=e.length)!=a.length)return!1;for(l=u;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((u=(s=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=u;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,s[l]))return!1;if(t&&e instanceof Element)return!1;for(l=u;0!==l--;)if(("_owner"!==s[l]&&"__v"!==s[l]&&"__o"!==s[l]||!e.$$typeof)&&!i(e[s[l]],a[s[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},372:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case m:case v:case l:return e;default:return t}}case o:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===u||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===s||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},441:function(e,t,n){"use strict";e.exports=n(372)},434:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(791)),a=(o=n(77))&&o.__esModule?o:{default:o},u=n(174),l=n(135);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;return h(e)}(this,n)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(u,e);var t,n,r,o=p(u);function u(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=o.call.apply(o,[this].concat(n))),"mounted",!1),m(h(e),"isReady",!1),m(h(e),"isPlaying",!1),m(h(e),"isLoading",!0),m(h(e),"loadOnReady",null),m(h(e),"startOnPlay",!0),m(h(e),"seekOnPlay",null),m(h(e),"onDurationCalled",!1),m(h(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url)),e.progress()})),m(h(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),m(h(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),m(h(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,i=t.muted;n(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),m(h(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),m(h(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),m(h(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())})),m(h(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),m(h(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),m(h(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=u,n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
2)),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,o=n.playing,i=n.volume,u=n.muted,s=n.playbackRate,c=n.pip,f=n.loop,d=n.activePlayer,p=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!d.forceLoad&&!p&&!(0,l.isMediaStream)(r))return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==u&&(u?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==s&&this.player.setPlaybackRate&&this.player.setPlaybackRate(s),e.loop!==f&&this.player.setLoop&&this.player.setLoop(f)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction \u2013\xa0duration not yet available")}this.player.seekTo(e)}else 0!==e&&(this.seekOnPlay=e,setTimeout((function(){n.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],n&&f(t.prototype,n),r&&f(t,r),u}(i.Component);t.default=y,m(y,"displayName","Player"),m(y,"propTypes",u.propTypes),m(y,"defaultProps",u.defaultProps)},275:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(791));function i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
2function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;return f(e)}(this,n)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h="64px",v={},m=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(a,e);var t,n,r,i=c(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(f(e=i.call.apply(i,[this].concat(n))),"mounted",!1),p(f(e),"state",{image:null}),p(f(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;e.url===n&&e.light===r||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light,i=e.oEmbedUrl;if(!o.default.isValidElement(r))if("string"!==typeof r){if(!v[n])return this.setState({image:null}),window.fetch(i.replace("{url}",n)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");t.setState({image:r}),v[n]=r}}));this.setState({image:v[n]})}else this.setState({image:r})}},{key:"render",value:function(){var e=this.props,t=e.light,n=e.onClick,r=e.playIcon,i=e.previewTabIndex,a=this.state.image,l=o.default.isValidElement(t),s={display:"flex",alignItems:"center",justifyContent:"center"},c={preview:u({width:"100%",height:"100%",backgroundImage:a&&!l?"url(".concat(a,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},s),shadow:u({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:h,width:h,height:h,position:l?"absolute":void 0},s),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},f=o.default.createElement("div",{style:c.shadow,className:"react-player__shadow"},o.default.createElement("div",{style:c.playIcon,className:"react-player__play-icon"}));return o.default.createElement("div",{style:c.preview,className:"react-player__preview",onClick:n,tabIndex:i,onKeyPress:this.handleKeyPress},l?t:null,r||f)}}])&&l(t.prototype,n),r&&l(t,r),a}(o.Component);t.default=m},646:function(e,t,n){"use strict";t.e=void 0;var r=E(n(791)),o=c(n(948)),i=c(n(781)),a=c(n(77)),u=n(174),l=n(135),s=c(n(434));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function v(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"===typeof t))return t;return w(e)}(this,n)}}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!==typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var P=(0,r.lazy)((function(){return Promise.resolve().then((function(){return E(n(275))}))})),C="undefined"!==typeof window&&window.document,O="undefined"!==typeof n.g&&n.g.window&&n.g.window.document,j=Object.keys(u.propTypes),T=C||O?r.Suspense:function(){return null},R=[];t.e=function(e,t){var n,c;return c=n=function(n){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(x,n);var c,f,d,m=b(x);function x(){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x);for(var a=arguments.length,c=new Array(a),f=0;f<a;f++)c[f]=arguments[f];return k(w(n=m.call.apply(m,[this].concat(c))),"state",{showPreview:!!n.props.light}),k(w(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),k(w(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),k(w(n),"showPreview",(function(){n.setState({showPreview:!0})})),k(w(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),k(w(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),k(w(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),k(w(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),k(w(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),k(w(n),"handleReady",(function(){n.props.onReady(w(n))})),k(w(n),"getActivePlayer",(0,i.default)((function(n){for(var r=0,o=[].concat(R,v(e));r<o.length;r++){var i=o[r];if(i.canPlay(n))return i}return t||null}))),k(w(n),"getConfig",(0,i.default)((function(e,t){var r=n.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},r,r[t]||{}])}))),k(w(n),"getAttributes",(0,i.default)((function(e){return(0,l.omit)(n.props,j)}))),k(w(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;
2var o=n.getConfig(e,t.key);return r.default.createElement(s.default,h({},n.props,{key:t.key,ref:n.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return c=x,f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return r.default.createElement(P,{url:e,light:n,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,o=e.width,i=e.height,a=e.fallback,u=e.wrapper,l=this.state.showPreview,s=this.getAttributes(t),c="string"===typeof u?this.references.wrapper:void 0;return r.default.createElement(u,h({ref:c,style:p(p({},n),{},{width:o,height:i})},s),r.default.createElement(T,{fallback:a},l?this.renderPreview(t):this.renderActivePlayer(t)))}}],f&&y(c.prototype,f),d&&y(c,d),x}
2(r.Component),k(n,"displayName","ReactPlayer"),k(n,"propTypes",u.propTypes),k(n,"defaultProps",u.defaultProps),k(n,"addCustomPlayer",(function(e){R.push(e)})),k(n,"removeCustomPlayers",(function(){R.length=0})),k(n,"canPlay",(function(t){for(var n=0,r=[].concat(R,v(e));n<r.length;n++){if(r[n].canPlay(t))return!0}return!1})),k(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(R,v(e));n<r.length;n++){var o=r[n];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),c}},365:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(135);function o(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var u=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=u;var l=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=l;var s=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=s;var c=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=c;var f=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=f;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=d;var p=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=p;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var v=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/;t.MATCH_URL_DAILYMOTION=v;var m=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=m;var y=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=y;var g=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=g;var b=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=b;var w=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=w;var x=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=x;var k=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=k;var S=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=S;var E={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return u.test(e)&&!b.test(e)},vimeo:function(e){return l.test(e)&&!w.test(e)&&!x.test(e)},facebook:function(e){return s.test(e)||c.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return p.test(e)||h.test(e)},dailymotion:function(e){return v.test(e)},mixcloud:function(e){return m.test(e)},vidyard:function(e){return y.test(e)},kaltura:function(e){return g.test(e)},file:function e(t){if(t instanceof Array){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;
2if("string"===typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(u){i.e(u)}finally{i.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||(b.test(t)||w.test(t)||x.test(t)||k.test(t)||S.test(t))}};t.canPlay=E},322:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.Z=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(791)),i=n(135),a=n(365);function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;return v(e)}(this,n)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,b=/user\/([a-zA-Z0-9_-]+)\/?/,w=/youtube-nocookie\.com/,x=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(l,e);var t,n,r,u=h(l);function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(v(e=u.call.apply(u,[this].concat(n))),"callPlayer",i.callPlayer),y(v(e),"parsePlaylist",(function(t){return t instanceof Array?{listType:"playlist",playlist:t.map(e.getID).join(",")}:g.test(t)?{listType:"playlist",list:c(t.match(g),2)[1].replace(/^UC/,"UU")}:b.test(t)?{listType:"user_uploads",list:c(t.match(b),2)[1]}:{}})),y(v(e),"onStateChange",(function(t){var n=t.data,r=e.props,o=r.onPlay,i=r.onPause,a=r.onBuffer,u=r.onBufferEnd,l=r.onEnded,s=r.onReady,c=r.loop,f=r.config,d=f.playerVars,p=f.onUnstarted,h=window.YT.PlayerState,v=h.UNSTARTED,m=h.PLAYING,y=h.PAUSED,g=h.BUFFERING,b
vendor: 4,372 bytes, line 2
2=h.ENDED,w=h.CUED;if(n===v&&p(),n===m&&(o(),u()),n===y&&i(),n===g&&a(),n===b){var x=!!e.callPlayer("getPlaylist");c&&!x&&(d.start?e.seekTo(d.start):e.play()),l()}n===w&&s()})),y(v(e),"mute",(function(){e.callPlayer("mute")})),y(v(e),"unmute",(function(){e.callPlayer("unMute")})),y(v(e),"ref",(function(t){e.container=t})),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(e){return!e||e instanceof Array||g.test(e)?null:e.match(a.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(e,t){var n=this,r=this.props,o=r.playing,a=r.muted,u=r.playsinline,l=r.controls,c=r.loop,f=r.config,d=r.onError,p=f.playerVars,h=f.embedOptions,v=this.getID(e);if(t)return g.test(e)||b.test(e)||e instanceof Array?void this.player.loadPlaylist(this.parsePlaylist(e)):void this.player.cueVideoById({videoId:v,startSeconds:(0,i.parseStartTime)(e)||p.start,endSeconds:(0,i.parseEndTime)(e)||p.end});(0,i.getSDK)("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",(function(e){return e.loaded})).then((function(t){n.container&&(n.player=new t.Player(n.container,s({width:"100%",height:"100%",videoId:v,playerVars:s(s({autoplay:o?1:0,mute:a?1:0,controls:l?1:0,start:(0,i.parseStartTime)(e),end:(0,i.parseEndTime)(e),origin:window.location.origin,playsinline:u?1:0},n.parsePlaylist(e)),p),events:{onReady:function(){c&&n.player.setLoop(!0),n.props.onReady()},onPlaybackRateChange:function(e){return n.props.onPlaybackRateChange(e.data)},onStateChange:n.onStateChange,onError:function(e){return d(e.data)}},host:w.test(e)?"https://www.youtube-nocookie.com":void 0},h)))}),d),h.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer\u2019s callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",e),this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return o.default.createElement("div",{style:e},o.default.createElement("div",{ref:this.ref}))}}])&&d(t.prototype,n),r&&d(t,r),l}(o.Component);t.Z=x,y(x,"displayName","YouTube"),y(x,"canPlay",a.canPlay.youtube)},174:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,o=(r=n(7))&&r.__esModule?r:{default:r};var i=o.default.string,a=o.default.bool,u=o.default.number,l=o.default.array,s=o.default.oneOfType,c=o.default.shape,f=o.default.object,d=o.default.func,p=o.default.node,h={url:s([i,l,f]),playing:a,loop:a,controls:a,volume:u,muted:a,playbackRate:u,width:s([i,u]),height:s([i,u]),style:f,progressInterval:u,playsinline:a,pip:a,stopOnUnmount:a,light:s([a,i,f]),playIcon:p,previewTabIndex:u,fallback:p,oEmbedUrl:i,wrapper:s([i,d,c({render:d.isRequired})]),config:c({soundcloud:c({options:f}),youtube:c({playerVars:f,embedOptions:f,onUnstarted:d}),facebook:c({appId:i,version:i,playerId:i,attributes:f}),dailymotion:c({params:f}),vimeo:c({playerOptions:f,title:i}),file:c({attributes:f,tracks:l,forceVideo:a,forceAudio:a,forceHLS:a,forceSafariHLS:a,forceDASH:a,forceFLV:a,hlsOptions:f,hlsVersion:i,dashVersion:i,flvVersion:i}),wistia:c({options:f,playerId:i,customControls:l}),mixcloud:c({options:f}),twitch:c({options:f,playerId:i}),vidyard:c({options:f})}),onReady:d,onStart:d,onPlay:d,onPause:d,onBuffer:d,onBufferEnd:d,onEnded:d,onError:d,onDuration:d,onSeek:d,onPlaybackRateChange:d,onProgress:d,onClickPreview:d,onEnablePIP:d,onDisablePIP:d};t.propTypes=h;var v=function(){},m={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{}
2,progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:v},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:v,onStart:v,onPlay:v,onPause:v,onBuffer:v,onBufferEnd:v,onEnded:v,onError:v,onDuration:v,onSeek:v,onPlaybackRateChange:v,onProgress:v,onClickPreview:v,onEnablePIP:v,onDisablePIP:v};t.defaultProps=m},135:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return d(e,l)},t.parseEndTime=function(e){return d(e,s)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=p(t);if(a&&o(a))return Promise.resolve(a);return new Promise((function(r,o){if(h[e])h[e].push({resolve:r,reject:o});else{h[e]=[{resolve:r,reject:o}];var a=function(t){h[e].forEach((function(e){return e.resolve(t)}))};if(n){var u=window[n];window[n]=function(){u&&u(),a(p(t))}}i(e,(function(r){r?(h[e].forEach((function(e){return e.reject(r)})),h[e]=null):n||a(p(t))}))}}))},t.getConfig=function(e,t){return(0,o.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=(t=[]).concat.apply(t,r),a={},u=Object.keys(e),l=0,s=u;l<s.length;l++){var c=s[l];-1===i.indexOf(c)&&(a[c]=e[c])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c \u2013 ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(t=this.player)[e].apply(t,o)},t.isMediaStream=function(e){return"undefined"!==typeof window&&"undefined"!==typeof window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"===typeof e.webkitSetPresentationMode&&t};var r=i(n(102)),o=i(n(948));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=/[?&#](?:start|t)=([0-9hms]+)/,s=/[?&#]end=([0-9hms]+)/,c=/(\d+)(h|m|s)/g,f=/^\d+$/;function d(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(c))return function(e){var t=0,n=c.exec(e);for(;null!==n;){var r=a(n,3),o=r[1],i=r[2];"h"===i&&(t+=60*parseInt(o,10)*60),"m"===i&&(t+=60*parseInt(o,10)),"s"===i&&(t+=parseInt(o,10)),n=c.exec(e)}return t}(r);if(f.test(r))return parseInt(r)}}}function p(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var h={}},134:function(e,t,n){var r=n(646).e,o=n(322).Z;e.exports=r([{key:"youtube",canPlay:o.canPlay,lazyPlayer:o}])},459:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case u:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case v:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},900:function(e,t,n){"use strict";n(459)},374:function(e,t,n){"use strict";var r=n(791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:i,_owner:u.current}}t.Fragment=i,t.jsx=s,t.jsxs=s},117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var w=b.prototype=new g;w.constructor=b,v(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,r){var o,i={},a=null,u=null;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:u,props:i,_owner:S.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function j(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,o,i,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var l=!1;if(null===e)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+j(l,0):i,x(a)?(o="",null!=e&&(o=e.replace(O,"$&/")+"/"),T(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",x(e))for(var s=0;s<e.length;s++){var c=i+j(u=e[s],s);l+=T(u,t,o,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(u=e.next()).done;)l+=T(u=u.value,t,o,c=i+j(u,s++),a);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function R(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(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={current:null},_={transition:null},L={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:_,ReactCurrentOwner:S};
vendor: 4,753 bytes, line 2
2t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),i=e.key,a=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,u=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:u}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=_.transition;_.transition={};try{e()}finally{_.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},791:function(e,t,n){"use strict";e.exports=n(117)},184:function(e,t,n){"use strict";e.exports=n(374)},813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var u=2*(r+1)-1,l=e[u],s=u+1,c=e[s];if(0>i(l,n))s<o&&0>i(c,l)?(e[r]=c,e[s]=n,r=s):(e[r]=l,e[u]=n,r=u);else{if(!(s<o&&0>i(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}var s=[],c=[],f=1,d=null,p=3,h=!1,v=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(m=!1,w(e),!v)if(null!==r(s))v=!0,_(k);else{var t=r(c);null!==t&&L(x,t.startTime-e)}}function k(e,n){v=!1,m&&(m=!1,g(C),C=-1),h=!0;var i=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!T());){var a=d.callback;if("function"===typeof a){d.callback=null,p=d.priorityLevel;var u=a(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?d.callback=u:d===r(s)&&o(s),w(n)}else o(s);d=r(s)}if(null!==d)var l=!0;else{var f=r(c);null!==f&&L(x,f.startTime-n),l=!1}return l}finally{d=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,P=null,C=-1,O=5,j=-1;function T(){return!(t.unstable_now()-j<O)}
2function R(){if(null!==P){var e=t.unstable_now();j=e;var n=!0;try{n=P(!0,e)}finally{n?S():(E=!1,P=null)}}else E=!1}if("function"===typeof b)S=function(){b(R)};else if("undefined"!==typeof MessageChannel){var A=new MessageChannel,N=A.port2;A.port1.onmessage=R,S=function(){N.postMessage(null)}}else S=function(){y(R,0)};function _(e){P=e,E||(E=!0,S())}function L(e,n){C=y((function(){e(t.unstable_now())}),n)}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_continueExecution=function(){v||h||(v=!0,_(k))},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"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(s)&&e===r(c)&&(m?(g(C),C=-1):m=!0,L(x,i-a))):(e.sortIndex=u,n(s,e),v||h||(v=!0,_(k))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},561:function(e,t,n){"use strict";var r=n(791);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,u=r.useLayoutEffect,l=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return u((function(){o.value=n,o.getSnapshot=t,s(o)&&c({inst:o})}),[e,n,t]),a((function(){return s(o)&&c({inst:o}),e((function(){s(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},595:function(e,t,n){"use strict";var r=n(791),o=n(248);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,u=r.useRef,l=r.useEffect,s=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=u(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return u=t}return u=e}if(t=u,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,u=n)}var a,u,l=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var p=a(e,f[0],f[1]);return l((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},248:function(e,t,n){"use strict";e.exports=n(561)},327:function(e,t,n){"use strict";e.exports=n(595)},391:function(e){"use strict";var t=function(){};e.exports=t},513:function(e,t,n){"use strict";e.exports=n.p+"static/media/BuoyPower.0af1fa1a916718170d21.wrl"},472:function(e,t,n){"use strict";e.exports=n.p+"static/media/antennaModule.2602a8d10a50be6484b6.gltf"},755:function(e,t,n){"use strict";e.exports=n.p+"static/media/buoyEzo.71bc8c280a78ac1fcc1b.glb"},837:function(e,t,n){"use strict";e.exports=n.p+"static/media/electronicsModule.0268cf7ca4015eb63328.gltf"},241:function(e,t,n){"use strict";e.exports=n.p+"static/media/powerModule.88b128f23494007df2bd.gltf"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}
2n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",function(){"use strict";var e=n(791),t=n(250),r=n(248),o=n(327),i=n(164);var a=function(e){e()},u=function(){return a},l=(0,e.createContext)(null);function s(){return(0,e.useContext)(l)}var c=function(){throw new Error("uSES not initialized!")},f=c,d=function(e,t){return e===t};function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,n=t===l?s:function(){return(0,e.useContext)(t)};return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;var o=n(),i=o.store,a=o.subscription,u=o.getServerState,l=f(a.addNestedSub,i.getState,u||i.getState,t,r);return(0,e.useDebugValue)(l),l}}var h=p();n(110),n(900);var v={notify:function(){},get:function(){return[]}};function m(e,t){var n,r=v;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=u(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=v)},getListeners:function(){return r}};return a}var y=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?e.useLayoutEffect:e.useEffect;var g=function(t){var n=t.store,r=t.context,o=t.children,i=t.serverState,a=(0,e.useMemo)((function(){var e=m(n);return{store:n,subscription:e,getServerState:i?function(){return i}:void 0}}),[n,i]),u=(0,e.useMemo)((function(){return n.getState()}),[n]);y((function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,u]);var s=r||l;return e.createElement(s.Provider,{value:a},o)};function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,n=t===l?s:function(){return(0,e.useContext)(t)};return function(){return n().store}}var w=b();function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=e===l?w:b(e);return function(){return t().dispatch}}var k,S,E=x();function P(e){if(Array.isArray(e))return e}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(e,t){if(e){if("string"===typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}function j(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){return P(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(c){s=!0,o=c}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||O(e,t)||j()}function R(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function A(e){return function(e){if(Array.isArray(e))return C(e)}(e)||R(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function L(e){var t=function(e,t){if("object"!==_(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_(t)?t:String(t)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,L(r.key),r)}}function M(e,t,n){return t&&D(e.prototype,t),n&&D(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},I(e,t)}function F(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}function U(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function z(e,t){if(t&&("object"===_(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function B(e){var t=U();return function(){var n,r=V(e);if(t){var o=V(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function H(e,t,n){return H=U()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&I(o,n.prototype),o},H.apply(null,arguments)}function W(e){var t="function"===typeof Map?new Map:void 0;return W=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return H(e,arguments,V(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),I(n,e)},W(e)}function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(this,arguments)}!function(e){f=e}(o.useSyncExternalStoreWithSelector),function(e){e}(r.useSyncExternalStore),k=i.unstable_batchedUpdates,a=k,function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(S||(S={}));var q,K="popstate";function X(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function Y(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function G(e,t){return{usr:e.state,key:e.key,idx:t}}function Q(e,t,n,r){return void 0===n&&(n=null),$({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?J(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Z(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function J(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function ee(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,u=o.v5Compat,l=void 0!==u&&u,s=a.history,c=S.Pop,f=null,d=p();function p(){return(s.state||{idx:null}).idx}function h(){c=S.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:c,location:m.location,delta:t})}function v(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:Z(e);return X(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,s.replaceState($({},s.state,{idx:d}),""));var m={get action(){return c},get location(){return e(a,s)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(K,h),f=e,function(){a.removeEventListener(K,h),f=null}},createHref:function(e){return t(a,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=S.Push;var r=Q(m.location,e,t);n&&n(r,e);
2var o=G(r,d=p()+1),i=m.createHref(r);try{s.pushState(o,"",i)}catch(u){a.location.assign(i)}l&&f&&f({action:c,location:m.location,delta:1})},replace:function(e,t){c=S.Replace;var r=Q(m.location,e,t);n&&n(r,e);var o=G(r,d=p()),i=m.createHref(r);s.replaceState(o,"",i),l&&f&&f({action:c,location:m.location,delta:0})},go:function(e){return s.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(q||(q={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function te(e,t,n){void 0===n&&(n="/");var r=ve(("string"===typeof t?J(t):t).pathname||"/",n);if(null==r)return null;var o=ne(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=de(o[a],he(r));return i}function ne(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(X(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var u=me([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(X(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),ne(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:fe(u,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=O(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(re(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(u){i.e(u)}finally{i.f()}}else o(e,t)})),t}function re(e){var t=e.split("/");if(0===t.length)return[];var n,r=P(n=t)||R(n)||O(n)||j(),o=r[0],i=r.slice(1),a=o.endsWith("?"),u=o.replace(/\?$/,"");if(0===i.length)return a?[u,""]:[u];var l=re(i.join("/")),s=[];return s.push.apply(s,A(l.map((function(e){return""===e?u:[u,e].join("/")})))),a&&s.push.apply(s,A(l)),s.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var oe=/^:\w+$/,ie=3,ae=2,ue=1,le=10,se=-2,ce=function(e){return"*"===e};function fe(e,t){var n=e.split("/"),r=n.length;return n.some(ce)&&(r+=se),t&&(r+=ae),n.filter((function(e){return!ce(e)})).reduce((function(e,t){return e+(oe.test(t)?ie:""===t?ue:le)}),r)}function de(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var u=n[a],l=a===n.length-1,s="/"===o?t:t.slice(o.length)||"/",c=pe({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},s);if(!c)return null;
2Object.assign(r,c.params);var f=u.route;i.push({params:r,pathname:me([o,c.pathname]),pathnameBase:ye(me([o,c.pathnameBase])),route:f}),"/"!==c.pathnameBase&&(o=me([o,c.pathnameBase]))}return i}function pe(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);Y("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),r=T(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var u=a[0],l=u.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:i.reduce((function(e,t,n){if("*"===t){var r=s[n]||"";l=u.slice(0,u.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return Y(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(s[n]||"",t),e}),{}),pathname:u,pathnameBase:l,pattern:e}}function he(e){try{return decodeURI(e)}catch(t){return Y(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function ve(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var me=function(e){return e.join("/").replace(/\/\/+/g,"/")},ye=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},ge=function(e){F(n,e);var t=B(n);function n(){return N(this,n),t.apply(this,arguments)}return M(n)}(W(Error));function be(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var we=["post","put","patch","delete"],xe=(new Set(we),["get"].concat(we));new Set(xe),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ke.apply(this,arguments)}var Se=e.createContext(null);var Ee=e.createContext(null);var Pe=e.createContext(null);var Ce=e.createContext(null);var Oe=e.createContext(null);var je=e.createContext({outlet:null,matches:[],isDataRoute:!1});var Te=e.createContext(null);function Re(){return null!=e.useContext(Oe)}function Ae(){return Re()||X(!1),e.useContext(Oe).location}function Ne(t,n,r){Re()||X(!1);var o,i=e.useContext(Ce).navigator,a=e.useContext(je).matches,u=a[a.length-1],l=u?u.params:{},s=(u&&u.pathname,u?u.pathnameBase:"/"),c=(u&&u.route,Ae());if(n){var f,d="string"===typeof n?J(n):n;"/"===s||(null==(f=d.pathname)?void 0:f.startsWith(s))||X(!1),o=d}else o=c;var p=o.pathname||"/",h=te(t,{pathname:"/"===s?p:p.slice(s.length)||"/"});var v=Ve(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:me([s,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?s:me([s,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),a,r);return n&&v?e.createElement(Oe.Provider,{value:{location:ke({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:S.Pop}},v):v}function _e(){var t=function(){var t,n=e.useContext(Te),r=Ue(De.UseRouteError),o=ze(De.UseRouteError);if(n)return n;return null==(t=r.errors)?void 0:t[o]}(),n=be(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application 
2Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},n),r?e.createElement("pre",{style:i},r):null,null)}var Le,De,Me=e.createElement(_e,null),Ie=function(t){F(r,t);var n=B(r);function r(e){var t;return N(this,r),(t=n.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return M(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?e.createElement(je.Provider,{value:this.props.routeContext},e.createElement(Te.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),r}(e.Component);function Fe(t){var n=t.routeContext,r=t.match,o=t.children,i=e.useContext(Se);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),e.createElement(je.Provider,{value:n},o)}function Ve(t,n,r){var o;if(void 0===n&&(n=[]),void 0===r&&(r=null),null==t){var i;if(null==(i=r)||!i.errors)return null;t=r.matches}var a=t,u=null==(o=r)?void 0:o.errors;if(null!=u){var l=a.findIndex((function(e){return e.route.id&&(null==u?void 0:u[e.route.id])}));l>=0||X(!1),a=a.slice(0,Math.min(a.length,l+1))}return a.reduceRight((function(t,o,i){var l=o.route.id?null==u?void 0:u[o.route.id]:null,s=null;r&&(s=o.route.errorElement||Me);var c=n.concat(a.slice(0,i+1)),f=function(){var n;return n=l?s:o.route.Component?e.createElement(o.route.Component,null):o.route.element?o.route.element:t,e.createElement(Fe,{match:o,routeC
2ontext:{outlet:t,matches:c,isDataRoute:null!=r},children:n})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?e.createElement(Ie,{location:r.location,revalidation:r.revalidation,component:s,error:l,children:f(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):f()}),null)}function Ue(t){var n=e.useContext(Ee);return n||X(!1),n}function ze(t){var n=function(t){var n=e.useContext(je);return n||X(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||X(!1),r.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(Le||(Le={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(De||(De={}));var Be;function He(e){X(!1)}function We(t){var n=t.basename,r=void 0===n?"/":n,o=t.children,i=void 0===o?null:o,a=t.location,u=t.navigationType,l=void 0===u?S.Pop:u,s=t.navigator,c=t.static,f=void 0!==c&&c;Re()&&X(!1);var d=r.replace(/^\/*/,"/"),p=e.useMemo((function(){return{basename:d,navigator:s,static:f}}),[d,s,f]);"string"===typeof a&&(a=J(a));var h=a,v=h.pathname,m=void 0===v?"/":v,y=h.search,g=void 0===y?"":y,b=h.hash,w=void 0===b?"":b,x=h.state,k=void 0===x?null:x,E=h.key,P=void 0===E?"default":E,C=e.useMemo((function(){var e=ve(m,d);return null==e?null:{location:{pathname:e,search:g,hash:w,state:k,key:P},navigationType:l}}),[d,m,g,w,k,P,l]);return null==C?null:e.createElement(Ce.Provider,{value:p},e.createElement(Oe.Provider,{children:i,value:C}))}function $e(e){var t=e.children,n=e.location;return Ne(Ke(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Be||(Be={}));var qe=new Promise((function(){}));e.Component;function Ke(t,n){void 0===n&&(n=[]);var r=[];return e.Children.forEach(t,(function(t,o){if(e.isValidElement(t)){var i=[].concat(A(n),[o]);if(t.type!==e.Fragment){t.type!==He&&X(!1),t.props.index&&t.props.children&&X(!1);var a={id:t.props.id||i.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(a.children=Ke(t.props.children,i)),r.push(a)}else r.push.apply(r,Ke(t.props.children,i))}})),r}function Xe(t){var n=t.basename,r=t.children,o=t.window,i=e.useRef();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),ee((function(e,t){var n=e.location;return Q("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:Z(t)}),null,e)}({window:o,v5Compat:!0}));var a=i.current,u=T(e.useState({action:a.action,location:a.location}),2),l=u[0],s=u[1];return e.useLayoutEffect((function(){return a.listen(s)}),[a]),e.createElement(We,{basename:n,children:r,location:l.location,navigationType:l.action,navigator:a})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var Ye,Ge;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Ye||(Ye={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ge||(Ge={}));function Qe(e,t,n){return(t=L(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ze(Object(n),!0).forEach((function(t){Qe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function et(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var tt=n(694),nt=n.n(tt),rt=n(184),ot=["xxl","xl","lg","md","sm","xs"],it="xs",at=e.createContext({prefixes:{},breakpoints:ot,minBreakpoint:it});at.Consumer,at.Provider;function ut(t,n){var r=(0,e.useContext)(at).prefixes;return t||r[n]||n}function lt(){return(0,e.useContext)(at).breakpoints}function st(){return(0,e.useContext)(at).minBreakpoint}var ct=["bsPrefix","fluid","as","className"],ft=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.fluid,o=e.as,i=void 0===o?"div":o,a=e.className,u=et(e,ct),l=ut(n,"container"),s="string"===typeof r?"-".concat(r):"-fluid";return(0,rt.jsx)(i,Je(Je({ref:t},u),{},{className:nt()(a,r?"".concat(l).concat(s):l)}))}));ft.displayName="Container",ft.defaultProps={fluid:!1};var dt=ft,pt=["bsPrefix","className","as"],ht=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,i=void 0===o?"div":o,a=et(e,pt),u=ut(n,"row"),l=lt(),s=st(),c="".concat(u,"-cols"),f=[];return l.forEach((function(e){var t,n=a[e];delete a[e],t=null!=n&&"object"===typeof n?n.cols:n;var r=e!==s?"-".concat(e):"";null!=t&&f.push("".concat(c).concat(r,"-").concat(t))})),(0,rt.jsx)(i,Je(Je({ref:t},a),{},{className:nt().apply(void 0,[r,u].concat(f))}))}));ht.displayName="Row";var vt=ht,mt=["as","bsPrefix","className"],yt=["className"];var gt=e.forwardRef((function(e,t){var n=function(e){var t=e.as,n=e.bsPrefix,r=e.className,o=et(e,mt);n=ut(n,"col");var i=lt(),a=st(),u=[],l=[];return i.forEach((function(e){var t,r,i,s=o[e];delete o[e],"object"===typeof s&&null!=s?(t=s.span,r=s.offset,i=s.order):t=s;var c=e!==a?"-".concat(e):"";t&&u.push(!0===t?"".concat(n).concat(c):"".concat(n).concat(c,"-").concat(t)),null!=i&&l.push("order".concat(c,"-").concat(i)),null!=r&&l.push("offset".concat(c,"-").concat(r))})),[Je(Je({},o),{},{className:nt().apply(void 0,[r].concat(u,l))}),{as:t,bsPrefix:n,spans:u}]}(e),r=T(n,2),o=r[0],i=o.className,a=et(o,yt),u=r[1],l=u.as,s=void 0===l?"div":l,c=u.bsPrefix,f=u.spans;return(0,rt.jsx)(s,Je(Je({},a),{},{ref:t,className:nt()(i,!f.length&&c)}))}));gt.displayName="Col";var bt=gt,wt=(0,e.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),xt=(0,e.createContext)({});var kt=(0,e.createContext)(null),St="undefined"!==typeof document,Et=St?e.useLayoutEffect:e.useEffect,Pt=(0,e.createContext)({strict:!1});function Ct(t,n,r,o){var i=(0,e.useContext)(xt).visualElement,a=(0,e.useContext)(Pt),u=(0,e.useContext)(kt),l=(0,e.useContext)(wt).reducedMotion,s=(0,e.useRef)();o=o||a.renderer,!s.current&&o&&(s.current=o(t,{visualState:n,parent:i,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:l}));var c=s.current;return(0,e.useInsertionEffect)((function(){c&&c.update(r,u)})),Et((function(){c&&c.render()})),(0,e.useEffect)((function(){c&&c.updateFeatures()})),(window.HandoffAppearAnimations?Et:e.useEffect)((function(){c&&c.animationState&&c.animationState.animateChanges()})),c}function Ot(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function jt(e){return"string"===typeof e||Array.isArray(e)}function Tt(e){return"object"===typeof e&&"function"===typeof e.start}var Rt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],At=["initial"].concat(Rt);function Nt(e){return Tt(e.animate)||At.some((function(t){return jt(e[t])}))}function _t(e){return Boolean(Nt(e)||e.variants)}function Lt(t){var n=function(e,t){if(Nt(e)){var n=e.initial,r=e.animate;return{initial:!1===n||jt(n)?n:void 0,animate:jt(r)?r:void 0}}return!1!==e.inherit?t:{}}(t,(0,e.useContext)(xt)),r=n.initial,o=n.animate;return(0,e.useMemo)((function(){return{initial:r,animate:o}}),[Dt(r),Dt(o)])}function Dt(e){return Array.isArray(e)?e.join(" "):e}var Mt={animation:["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],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"]},It={},Ft=function(e){It[e]={isEnabled:function(t){return Mt[e].some((function(e){return!!t[e]}))}}};for(var Vt in Mt)Ft(Vt);function Ut(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}var zt={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Bt=1;var Ht=(0,e.createContext)({}),Wt=(0,e.createContext)({}),$t=Symbol.for("motionComponentSymbol");function qt(t){var n=t.preloadedFeatures,r=t.createVisualElement,o=t.useRender,i=t.useVisualState,a=t.Component;n&&function(e){for(var t in e)It[t]=Je(Je({},It[t]),e[t])}(n);
2var u=(0,e.forwardRef)((function(t,u){var l,s=Je(Je(Je({},(0,e.useContext)(wt)),t),{},{layoutId:Kt(t)}),c=s.isStatic,f=Lt(t),d=c?void 0:Ut((function(){if(zt.hasEverUpdated)return Bt++})),p=i(t,c);if(!c&&St){f.visualElement=Ct(a,p,s,r);var h=(0,e.useContext)(Wt),v=(0,e.useContext)(Pt).strict;f.visualElement&&(l=f.visualElement.loadFeatures(s,v,n,d,h))}return e.createElement(xt.Provider,{value:f},l&&f.visualElement?e.createElement(l,Je({visualElement:f.visualElement},s)):null,o(a,t,d,function(t,n,r){return(0,e.useCallback)((function(e){e&&t.mount&&t.mount(e),n&&(e?n.mount(e):n.unmount()),r&&("function"===typeof r?r(e):Ot(r)&&(r.current=e))}),[n])}(p,f.visualElement,u),p,c,f.visualElement))}));return u[$t]=a,u}function Kt(t){var n=t.layoutId,r=(0,e.useContext)(Ht).id;return r&&void 0!==n?r+"-"+n:n}function Xt(e){function t(t){return qt(e(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}if("undefined"===typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var Yt=["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 Gt(e){return"string"===typeof e&&!e.includes("-")&&!!(Yt.indexOf(e)>-1||/[A-Z]/.test(e))}var Qt={};var Zt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Jt=new Set(Zt);function en(e,t){var n=t.layout,r=t.layoutId;return Jt.has(e)||e.startsWith("origin")||(n||void 0!==r)&&(!!Qt[e]||"opacity"===e)}var tn=function(e){return Boolean(e&&e.getVelocity)},nn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rn=Zt.length;var on=function(e){return function(t){return"string"===typeof t&&t.startsWith(e)}},an=on("--"),un=on("var(--"),ln=function(e,t){return t&&"number"===typeof e?t.transform(e):e},sn=function(e,t,n){return Math.min(Math.max(n,e),t)},cn={test:function(e){return"number"===typeof e},parse:parseFloat,transform:function(e){return e}},fn=Je(Je({},cn),{},{transform:function(e){return sn(0,1,e)}}),dn=Je(Je({},cn),{},{default:1}),pn=function(e){return Math.round(1e5*e)/1e5},hn=/(-)?([\d]*\.?[\d])+/g,vn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,mn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function yn(e){return"string"===typeof e}var gn=function(e){return{test:function(t){return yn(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return"".concat(t).concat(e)}}},bn=gn("deg"),wn=gn("%"),xn=gn("px"),kn=gn("vh"),Sn=gn("vw"),En=Je(Je({},wn),{},{parse:function(e){return wn.parse(e)/100},transform:function(e){return wn.transform(100*e)}}),Pn=Je(Je({},cn),{},{transform:Math.round}),Cn={borderWidth:xn,borderTopWidth:xn,borderRightWidth:xn,borderBottomWidth:xn,borderLeftWidth:xn,borderRadius:xn,radius:xn,borderTopLeftRadius:xn,borderTopRightRadius:xn,borderBottomRightRadius:xn,borderBottomLeftRadius:xn,width:xn,maxWidth:xn,height:xn,maxHeight:xn,size:xn,top:xn,right:xn,bottom:xn,left:xn,padding:xn,paddingTop:xn,paddingRight:xn,paddingBottom:xn,paddingLeft:xn,margin:xn,marginTop:xn,marginRight:xn,marginBottom:xn,marginLeft:xn,rotate:bn,rotateX:bn,rotateY:bn,rotateZ:bn,scale:dn,scaleX:dn,scaleY:dn,scaleZ:dn,skew:bn,skewX:bn,skewY:bn,distance:xn,translateX:xn,translateY:xn,translateZ:xn,x:xn,y:xn,z:xn,perspective:xn,transformPerspective:xn,opacity:fn,originX:En,originY:En,originZ:xn,zIndex:Pn,fillOpacity:fn,strokeOpacity:fn,numOctaves:Pn};function On(e,t,n,r){var o=e.style,i=e.vars,a=e.transform,u=e.transformOrigin,l=!1,s=!1,c=!0;for(var f in t){var d=t[f];if(an(f))i[f]=d;else{var p=Cn[f],h=ln(d,p);if(Jt.has(f)){if(l=!0,a[f]=h,!c)continue;d!==(p.default||0)&&(c=!1)}else f.startsWith("origin")?(s=!0,u[f]=h):o[f]=h}}if(t.transform||(l||r?o.transform=function(e,t,n,r){for(var o=t.enableHardwareAcceleration,i=void 0===o||o,a=t.allowTransformNone,u=void 0===a||a,l="",s=0;s<rn;s++){var c=Zt[s];if(void 0!==e[c]){var f=nn[c]||c;l+="".concat(f,"(").concat(e[c],") ")}}return i&&!e.z&&(l+="translateZ(0)"),l=l.trim(),r?l=r(e,n?"":l):u&&n&&(l="none"),l}(e.transform,n,c,r):o.transform&&(o.transform="none")),s){var v=u.originX,m=void 0===v?"50%":v,y=u.originY,g=void 0===y?"50%":y,b=u.originZ,w=void 0===b?0:b;o.transformOrigin="".concat(m," ").concat(g," ").concat(w)}}var jn=function(){return{style:{},transform:{},transformOrigin:{},vars:{}}};
2function Tn(e,t,n){for(var r in t)tn(t[r])||en(r,n)||(e[r]=t[r])}function Rn(t,n,r){var o={};return Tn(o,t.style||{},t),Object.assign(o,function(t,n,r){var o=t.transformTemplate;return(0,e.useMemo)((function(){var e=jn();return On(e,n,{enableHardwareAcceleration:!r},o),Object.assign({},e.vars,e.style)}),[n])}(t,n,r)),t.transformValues?t.transformValues(o):o}function An(e,t,n){var r={},o=Rn(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}var Nn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function _n(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Nn.has(e)}var Ln,Dn=function(e){return!_n(e)};try{(Ln=require("@emotion/is-prop-valid").default)&&(Dn=function(e){return e.startsWith("on")?!_n(e):Ln(e)})}catch(Og){}function Mn(e,t,n){return"string"===typeof e?e:xn.transform(t+n*e)}var In={offset:"stroke-dashoffset",array:"stroke-dasharray"},Fn={offset:"strokeDashoffset",array:"strokeDasharray"};var Vn=["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"];function Un(e,t,n,r,o){var i=t.attrX,a=t.attrY,u=t.originX,l=t.originY,s=t.pathLength,c=t.pathSpacing,f=void 0===c?1:c,d=t.pathOffset,p=void 0===d?0:d;if(On(e,et(t,Vn),n,o),r)e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);else{e.attrs=e.style,e.style={};var h=e.attrs,v=e.style,m=e.dimensions;h.transform&&(m&&(v.transform=h.transform),delete h.transform),m&&(void 0!==u||void 0!==l||v.transform)&&(v.transformOrigin=function(e,t,n){var r=Mn(t,e.x,e.width),o=Mn(n,e.y,e.height);return"".concat(r," ").concat(o)}(m,void 0!==u?u:.5,void 0!==l?l:.5)),void 0!==i&&(h.x=i),void 0!==a&&(h.y=a),void 0!==s&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];e.pathLength=1;var i=o?In:Fn;e[i.offset]=xn.transform(-r);var a=xn.transform(t),u=xn.transform(n);e[i.array]="".concat(a," ").concat(u)}(h,s,f,p,!1)}}var zn=function(){return Je(Je({},jn()),{},{attrs:{}})},Bn=function(e){return"string"===typeof e&&"svg"===e.toLowerCase()};function Hn(t,n,r,o){var i=(0,e.useMemo)((function(){var e=zn();return Un(e,n,{enableHardwareAcceleration:!1},Bn(o),t.transformTemplate),Je(Je({},e.attrs),{},{style:Je({},e.style)})}),[n]);if(t.style){var a={};Tn(a,t.style,t),i.style=Je(Je({},a),i.style)}return i}function Wn(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,r,o,i,a,u){var l=a.latestValues,s=(Gt(n)?Hn:An)(r,l,u,n),c=function(e,t,n){var r={};for(var o in e)"values"===o&&"object"===typeof e.values||(Dn(o)||!0===n&&_n(o)||!t&&!_n(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"===typeof n,t),f=Je(Je(Je({},c),s),{},{ref:i}),d=r.children,p=(0,e.useMemo)((function(){return tn(d)?d.get():d}),[d]);return o&&(f["data-projection-id"]=o),(0,e.createElement)(n,Je(Je({},f),{},{children:p}))}}var $n=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};function qn(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var Kn=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"]);function Xn(e,t,n,r){for(var o in qn(e,t,void 0,r),t.attrs)e.setAttribute(Kn.has(o)?o:$n(o),t.attrs[o])}function Yn(e,t){var n=e.style,r={};for(var o in n)(tn(n[o])||t.style&&tn(t.style[o])||en(o,e))&&(r[o]=n[o]);return r}function Gn(e,t){var n=Yn(e,t);for(var r in e){if(tn(e[r])||tn(t[r]))n["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]}return n}function Qn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return"function"===typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"===typeof t&&(t=e.variants&&e.variants[t]),"function"===typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}var Zn=function(e){return Array.isArray(e)},Jn=function(e){return Boolean(e&&"object"===typeof e&&e.mix&&e.toValue)},er=function(e){return Zn(e)?e[e.length-1]||0:e};function tr(e){var t=tn(e)?e.get():e;return Jn(t)?t.toValue():t}var nr=["transitionEnd","transition"];var rr=function(t){return function(n,r){var o=(0,e.useContext)(xt),i=(0,e.useContext)(kt),a=function(){return function(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,u={latestValues:or(t,n,r,o),renderState:i()};return a&&(u.mount=function(e){return a(t,e,u)}),u}(t,n,o,i)};return r?a():Ut(a)}};function or(e,t,n,r){var o={},i=r(e,{});for(var a in i)o[a]=tr(i[a]);var u=e.initial,l=e.animate,s=Nt(e),c=_t(e);t&&c&&!s&&!1!==e.inherit&&(void 0===u&&(u=t.initial),void 0===l&&(l=t.animate));var f=!!n&&!1===n.initial,d=(f=f||!1===u)?l:u;d&&"boolean"!==typeof d&&!Tt(d)&&(Array.isArray(d)?d:[d]).forEac
2h((function(t){var n=Qn(e,t);if(n){var r=n.transitionEnd,i=(n.transition,et(n,nr));for(var a in i){var u=i[a];if(Array.isArray(u))u=u[f?u.length-1:0];null!==u&&(o[a]=u)}for(var l in r)o[l]=r[l]}}));return o}var ir={useVisualState:rr({scrapeMotionValuesFromProps:Gn,createRenderState:zn,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}Un(r,o,{enableHardwareAcceleration:!1},Bn(t.tagName),e.transformTemplate),Xn(t,r)}})},ar={useVisualState:rr({scrapeMotionValuesFromProps:Yn,createRenderState:jn})};function ur(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}var lr=function(e){return"mouse"===e.pointerType?"number"!==typeof e.button||e.button<=0:!1!==e.isPrimary};function sr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:{x:e[t+"X"],y:e[t+"Y"]}}}var cr=function(e){return function(t){return lr(t)&&e(t,sr(t))}};function fr(e,t,n,r){return ur(e,t,cr(n),r)}var dr=function(e,t){return function(n){return t(e(n))}},pr=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(dr)};function hr(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var vr=hr("dragHorizontal"),mr=hr("dragVertical");function yr(e){var t=!1;if("y"===e)t=mr();else if("x"===e)t=vr();else{var n=vr(),r=mr();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function gr(){var e=yr(!0);return!e||(e(),!1)}var br=function(){function e(t){N(this,e),this.isMounted=!1,this.node=t}return M(e,[{key:"update",value:function(){}}]),e}();function wr(e,t){var n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return fr(e.current,n,(function(n,o){if("touch"!==n.type&&!gr()){var i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&i[r](n,o)}}),{passive:!e.getProps()[r]})}var xr=function(e){F(n,e);var t=B(n);function n(){return N(this,n),t.apply(this,arguments)}return M(n,[{key:"mount",value:function(){this.unmount=pr(wr(this.node,!0),wr(this.node,!1))}},{key:"unmount",value:function(){}}]),n}(br),kr=function(e){F(n,e);var t=B(n);function n(){var e;return N(this,n),(e=t.apply(this,arguments)).isActive=!1,e}return M(n,[{key:"onFocus",value:function(){var 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)}},{key:"onBlur",value:function(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}},{key:"mount",value:function(){var e=this;this.unmount=pr(ur(this.node.current,"focus",(function(){return e.onFocus()})),ur(this.node.current,"blur",(function(){return e.onBlur()})))}},{key:"unmount",value:function(){}}]),n}(br),Sr=function e(t,n){return!!n&&(t===n||e(t,n.parentElement))},Er=function(e){return e};function Pr(e,t){if(t){var n=new PointerEvent("pointer"+e);t(n,sr(n))}}var Cr=function(e){F(n,e);var t=B(n);function n(){var e;return N(this,n),(e=t.apply(this,arguments)).removeStartListeners=Er,e.removeEndListeners=Er,e.removeAccessibleListeners=Er,e.startPointerPress=function(t,n){if(e.removeEndListeners(),!e.isPressing){var r=e.node.getProps(),o=fr(window,"pointerup",(function(t,n){if(e.checkPressEnd()){var r=e.node.getProps(),o=r.onTap,i=r.onTapCancel;Sr(e.node.current,t.target)?o&&o(t,n):i&&i(t,n)}}),{passive:!(r.onTap||r.onPointerUp)}),i=fr(window,"pointercancel",(function(t,n){return e.cancelPress(t,n)}),{passive:!(r.onTapCancel||r.onPointerCancel)});e.removeEndListeners=pr(o,i),e.startPress(t,n)}},e.startAccessiblePress=function(){var t=ur(e.node.current,"keydown",(function(t){if("Enter"===t.key&&!e.isPressing){e.removeEndListeners(),e.removeEndListeners=ur(e.node.current,"keyup",(function(t){"Enter"===t.key&&e.checkPressEnd()&&Pr("up",e.node.getProps().onTap)})),Pr("down",(function(t,n){e.startPress(t,n)}))}})),n=ur(e.node.current,"blur",(function(){e.isPressing&&Pr("cancel",(function(t,n){return e.cancelPress(t,n)}))}));e.removeAccessibleListeners=pr(t,n)},e}return M(n,[{key:"startPress",value:function(e,t){this.isPressing=!0;var n=this.node.getProps(),r=n.onTapStart;n.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(e,t)}},{key:"checkPressEnd",value:function(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!gr()}},{key:"cancelPress",value:function(e,t){if(this.checkPressEnd()){var n=this.node.getProps().onTapCancel;n&&n(e,t)}}},{key:"mount",value:function(){var e=this.node.getProps(),t=fr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ur(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=pr(t,n)}},{key:"unmount",value:function(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}]),n}(br),Or=["root"],jr=new WeakMap,Tr=new WeakMap,Rr=function(e){var t=jr.get(e.target);t&&t(e)},Ar=function(e){e.forEach(Rr)};function Nr(e,t,n){var r=function(e){var t=e.root,n=et(e,Or),r=t||document;Tr.has(r)||Tr.set(r,{});var o=Tr.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(Ar,Je({root:t},n))),o[i]}(t);return jr.set(e,n),r.observe(e),function(){jr.delete(e),r.unobserve(e)}}var _r={some:0,all:1},Lr=function(e){F(n,e);var t=B(n);function n(){var e;return N(this,n),(e=t.apply(this,arguments)).hasEnteredView=!1,e.isInView=!1,e}return M(n,[{key:"startObserver",value:function(){var e=this;this.unmount();var t=this.node.getProps().viewport,n=void 0===t?{}:t,r=n.root,o=n.margin,i=n.amount,a=void 0===i?"some":i,u=n.once,l={root:r?r.current:void 0,rootMargin:o,threshold:"number"===typeof a?a:_r[a]};return Nr(this.node.current,l,(function(t){var n=t.isIntersecting;
2if(e.isInView!==n&&(e.isInView=n,!u||n||!e.hasEnteredView)){n&&(e.hasEnteredView=!0),e.node.animationState&&e.node.animationState.setActive("whileInView",n);var r=e.node.getProps(),o=r.onViewportEnter,i=r.onViewportLeave,a=n?o:i;a&&a(t)}}))}},{key:"mount",value:function(){this.startObserver()}},{key:"update",value:function(){if("undefined"!==typeof IntersectionObserver){var e=this.node,t=e.props,n=e.prevProps,r=["amount","margin","root"].some(function(e){var t=e.viewport,n=void 0===t?{}:t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.viewport,i=void 0===o?{}:o;return function(e){return n[e]!==i[e]}}(t,n));r&&this.startObserver()}}},{key:"unmount",value:function(){}}]),n}(br);var Dr={inView:{Feature:Lr},tap:{Feature:Cr},focus:{Feature:kr},hover:{Feature:xr}};function Mr(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Ir=function(e){return/^\-?\d*\.?\d+$/.test(e)},Fr=function(e){return/^0[^.\s]+$/.test(e)},Vr={delta:0,timestamp:0},Ur=1/60*1e3,zr="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()},Br="undefined"!==typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(zr())}),Ur)};var Hr=!0,Wr=!1,$r=!1,qr=["read","update","preRender","render","postRender"],Kr=qr.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=!1,a=new WeakSet,u={schedule:function(e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,u=i?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(e),-1===u.indexOf(e)&&(u.push(e),i&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(l){if(o)i=!0;else{o=!0;var s=[n,t];if(t=s[0],(n=s[1]).length=0,r=t.length)for(var c=0;c<r;c++){var f=t[c];f(l),a.has(f)&&(u.schedule(f),e())}o=!1,i&&(i=!1,u.process(l))}}};return u}((function(){return Wr=!0})),e}),{}),Xr=qr.reduce((function(e,t){var n=Kr[t];return e[t]=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Wr||Jr(),n.schedule(e,t,r)},e}),{}),Yr=qr.reduce((function(e,t){return e[t]=Kr[t].cancel,e}),{}),Gr=qr.reduce((function(e,t){return e[t]=function(){return Kr[t].process(Vr)},e}),{}),Qr=function(e){return Kr[e].process(Vr)},Zr=function e(t){Wr=!1,Vr.delta=Hr?Ur:Math.max(Math.min(t-Vr.timestamp,40),1),Vr.timestamp=t,$r=!0,qr.forEach(Qr),$r=!1,Wr&&(Hr=!1,Br(e))},Jr=function(){Wr=!0,Hr=!0,$r||Br(Zr)};function eo(e,t){-1===e.indexOf(t)&&e.push(t)}function to(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var no=function(){function e(){N(this,e),this.subscriptions=[]}return M(e,[{key:"add",value:function(e){var t=this;return eo(this.subscriptions,e),function(){return to(t.subscriptions,e)}}},{key:"notify",value:function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),e}();function ro(e,t){return t?e*(1e3/t):0}var oo=function(){function e(t){var n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(this,e),this.version="10.0.1",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r.prev=r.current,r.current=e;var n=Vr.delta,o=Vr.timestamp;r.lastUpdated!==o&&(r.timeDelta=n,r.lastUpdated=o,Xr.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.events.change&&r.events.change.notify(r.current),r.events.velocityChange&&r.events.velocityChange.notify(r.getVelocity()),t&&r.events.renderRequest&&r.events.renderRequest.notify(r.current)},this.scheduleVelocityCheck=function(){return Xr.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.events.velocityChange&&r.events.velocityChange.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=o.owner}return M(e,[{key:"onChange",value:function(e){return this.on("change",e)}},{key:"on",value:function(e,t){var n=this;this.events[e]||(this.events[e]=new no);var r=this.events[e].add(t);return"change"===e?function(){r(),Xr.read((function(){n.events.change.getSize()||n.stop()}))}:r}},{key:"clearListeners",value:function(){for(var e in this.events)this.events[e].clear()}},{key:"attach",value:function(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}},{key:"set",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}},{key:"setWithVelocity",value:function(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}},{key:"jump",value:function(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},{key:"get",value:function(){return this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){return this.canTrackVelocity?ro(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}},{key:"start",value:function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.animation=e(n)||null,t.events.animationStart&&t.events.animationStart.notify()})).then((function(){t.events.animationComplete&&t.events.animationComplete.notify(),t.clearAnimation()}))}},{key:"stop",value:function(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.animation}},{key:"clearAnimation",value:function(){this.animation=null}},{key:"destroy",value:function(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}]),e}();function io(e,t){return new oo(e,t)}var ao=function(e,t){return function(n){return Boolean(yn(n)&&mn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},uo=function(e,t,n){return function(r){var o;if(!yn(r))return r;var i=T(r.match(hn),4),a=i[0],u=i[1],l=i[2],s=i[3];return Qe(o={},e,parseFloat(a)),Qe(o,t,parseFloat(u)),Qe(o,n,parseFloat(l)),Qe(o,"alpha",void 0!==s?parseFloat(s):1),o}},lo=Je(Je({},cn),{},{transform:function(e){return Math.round(function(e){return sn(0,255,e)}(e))}}),so={test:ao("rgb","red"),parse:uo("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+lo.transform(t)+", "+lo.transform(n)+", "+lo.transform(r)+", "+pn(fn.transform(i))+")"}};var co={test:ao("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
2a:o?parseInt(o,16)/255:1}},transform:so.transform},fo={test:ao("hsl","hue"),parse:uo("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+wn.transform(pn(n))+", "+wn.transform(pn(r))+", "+pn(fn.transform(i))+")"}},po={test:function(e){return so.test(e)||co.test(e)||fo.test(e)},parse:function(e){return so.test(e)?so.parse(e):fo.test(e)?fo.parse(e):co.parse(e)},transform:function(e){return yn(e)?e:e.hasOwnProperty("red")?so.transform(e):fo.transform(e)}},ho="${c}",vo="${n}";function mo(e){"number"===typeof e&&(e="".concat(e));var t=[],n=0,r=0,o=e.match(vn);o&&(n=o.length,e=e.replace(vn,ho),t.push.apply(t,A(o.map(po.parse))));var i=e.match(hn);return i&&(r=i.length,e=e.replace(hn,vo),t.push.apply(t,A(i.map(cn.parse)))),{values:t,numColors:n,numNumbers:r,tokenised:e}}function yo(e){return mo(e).values}function go(e){var t=mo(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?ho:vo,n<r?po.transform(e[n]):pn(e[n]));return t}}var bo=function(e){return"number"===typeof e?0:e};var wo={test:function(e){var t,n;return isNaN(e)&&yn(e)&&((null===(t=e.match(hn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(vn))||void 0===n?void 0:n.length)||0)>0},parse:yo,createTransformer:go,getAnimatableNone:function(e){var t=yo(e);return go(e)(t.map(bo))}},xo=new Set(["brightness","contrast","saturate","opacity"]);function ko(e){var t=T(e.slice(0,-1).split("("),2),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=T(r.match(hn)||[],1)[0];if(!o)return e;var i=r.replace(o,""),a=xo.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var So=/([a-z-]*)\(.*?\)/g,Eo=Je(Je({},wo),{},{getAnimatableNone:function(e){var t=e.match(So);return t?t.map(ko).join(" "):e}}),Po=Je(Je({},Cn),{},{color:po,backgroundColor:po,outlineColor:po,fill:po,stroke:po,borderColor:po,borderTopColor:po,borderRightColor:po,borderBottomColor:po,borderLeftColor:po,filter:Eo,WebkitFilter:Eo}),Co=function(e){return Po[e]};function Oo(e,t){var n=Co(e);return n!==Eo&&(n=wo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var jo=function(e){return function(t){return t.test(e)}},To=[cn,xn,wn,bn,Sn,kn,{test:function(e){return"auto"===e},parse:function(e){return e}}],Ro=function(e){return To.find(jo(e))},Ao=[].concat(A(To),[po,wo]),No=function(e){return Ao.find(jo(e))};function _o(e,t,n){var r=e.getProps();return Qn(r,t,void 0!==n?n:r.custom,function(e){var t={};return e.values.forEach((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.values.forEach((function(e,n){return t[n]=e.getVelocity()})),t}(e))}var Lo=["transitionEnd","transition"];function Do(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,io(n))}function Mo(e,t){var n=_o(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o,a=(r.transition,et(r,Lo));for(var u in a=Je(Je({},a),i)){Do(e,u,er(a[u]))}}function Io(e,t){if(t)return(t[e]||t.default||t).from}function Fo(e){return Boolean(tn(e)&&e.add)}var Vo="data-"+$n("framerAppearId"),Uo=Er,zo=Er;var Bo=function(e){return 1e3*e},Ho=!1,Wo=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},$o=function(e){return function(t){return 1-e(1-t)}},qo=function(e){return e*e},Ko=$o(qo),Xo=Wo(qo),Yo=function(e,t,n){return-n*e+n*t+e};function Go(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var Qo=function(e,t,n){var r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Zo=[co,so,fo],Jo=function(e){return Zo.find((function(t){return t.test(e)}))};function ei(e){var t=Jo(e);zo(Boolean(t),"'".concat(e,"' is not an animatable color. Use the equivalent color code instead."));var n=t.parse(e);return t===fo&&(n=function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha;t/=360,r/=100;var i=0,a=0,u=0;if(n/=100){var l=r<.5?r*(1+n):r+n-r*n,s=2*r-l;i=Go(s,l,t+1/3),a=Go(s,l,t),u=Go(s,l,t-1/3)}else i=a=u=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*u),alpha:o}}(n)),n}
2var ti=function(e,t){var n=ei(e),r=ei(t),o=Je({},n);return function(e){return o.red=Qo(n.red,r.red,e),o.green=Qo(n.green,r.green,e),o.blue=Qo(n.blue,r.blue,e),o.alpha=Yo(n.alpha,r.alpha,e),so.transform(o)}};function ni(e,t){return"number"===typeof e?function(n){return Yo(e,t,n)}:po.test(e)?ti(e,t):ii(e,t)}var ri=function(e,t){var n=A(e),r=n.length,o=e.map((function(e,n){return ni(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},oi=function(e,t){var n=Je(Je({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=ni(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}},ii=function(e,t){var n=wo.createTransformer(t),r=mo(e),o=mo(t);return r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?pr(ri(r.values,o.values),n):(Uo(!0,"Complex values '".concat(e,"' and '").concat(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.")),function(n){return"".concat(n>0?t:e)})},ai=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},ui=function(e,t){return function(n){return Yo(e,t,n)}};function li(e,t,n){for(var r=[],o=n||function(e){return"number"===typeof e?ui:"string"===typeof e?po.test(e)?ti:ii:Array.isArray(e)?ri:"object"===typeof e?oi:ui}(e[0]),i=e.length-1,a=0;a<i;a++){var u=o(e[a],e[a+1]);if(t){var l=Array.isArray(t)?t[a]:t;u=pr(l,u)}r.push(u)}return r}function si(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.clamp,o=void 0===r||r,i=n.ease,a=n.mixer,u=e.length;zo(u===t.length,"Both input and output ranges must be the same length"),zo(!i||!Array.isArray(i)||i.length===u-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[u-1]&&(e=A(e).reverse(),t=A(t).reverse());var l=li(t,i,a),s=l.length,c=function(t){var n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);var r=ai(e[n],e[n+1],t);return l[n](r)};return o?function(t){return c(sn(e[0],e[u-1],t))}:c}function ci(e){var t=[0];return function(e,t){for(var n=e[e.length-1],r=1;r<=t;r++){var o=ai(0,t,r);e.push(Yo(n,1,o))}}(t,e.length-1),t}var fi=function(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e},di=1e-7,pi=12;function hi(e,t,n,r){if(e===t&&n===r)return Er;var o=function(t){return function(e,t,n,r,o){var i,a,u=0;do{(i=fi(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>di&&++u<pi);return a}(t,0,1,e,n)};return function(e){return 0===e||1===e?e:fi(o(e),t,r)}}var vi=function(e){return 1-Math.sin(Math.acos(e))},mi=$o(vi),yi=Wo(mi),gi=hi(.33,1.53,.69,.99),bi=$o(gi),wi=Wo(bi),xi={linear:Er,easeIn:qo,easeInOut:Xo,easeOut:Ko,circIn:vi,circInOut:yi,circOut:mi,backIn:bi,backInOut:wi,backOut:gi,anticipate:function(e){return(e*=2)<1?.5*bi(e):.5*(2-Math.pow(2,-10*(e-1)))}},ki=function(e){if(Array.isArray(e)){zo(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=T(e,4);return hi(t[0],t[1],t[2],t[3])}return"string"===typeof e?(zo(void 0!==xi[e],"Invalid easing type '".concat(e,"'")),xi[e]):e},Si=function(e){return Array.isArray(e)&&"number"!==typeof e[0]};function Ei(e){var t=e.keyframes,n=e.ease,r=void 0===n?Xo:n,o=e.times,i=e.duration,a=void 0===i?300:i;t=A(t);var u=Si(r)?r.map(ki):ki(r),l={done:!1,value:t[0]},s=function(e,t){return e.map((function(e){return e*t}))}(o&&o.length===t.length?o:ci(t),a);function c(){return si(s,t,{ease:Array.isArray(u)?u:(e=t,n=u,e.map((function(){return n||Xo})).splice(0,e.length-1))});var e,n}var f=c();return{next:function(e){return l.value=f(e),l.done=e>=a,l},flipTarget:function(){t.reverse(),f=c()}}}var Pi=.001,Ci=.01,Oi=10,ji=.05,Ti=1;function Ri(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,u=e.velocity,l=void 0===u?0:u,s=e.mass,c=void 0===s?1:s;Uo(o<=1e3*Oi,"Spring duration must be 10 seconds or less");var f=1-a;f=sn(ji,Ti,f),o=sn(Ci,Oi,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o,r=t-l,i=Ni(e,f),a=Math.exp(-n);return Pi-r/i*a},n=function(e){var n=e*f*o,r=n*l+l,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),u=Ni(Math.pow(e,2),f);return(-t(e)+Pi>0?-1:1)*((r-i)*a)/u}):(t=function(e){return Math.exp(-e*o)*((e-l)*o+1)-Pi},n=function(e){return Math.exp(-e*o)*(o*o*(l-e))});var d=function(e,t,n){for(var r=n,o=1;o<Ai;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*c;return{stiffness:p,damping:2*f*Math.sqrt(c*p),duration:o}}var Ai=12;function Ni(e,t){return e*Math.sqrt(1-t*t)}var _i=["keyframes","restDelta","restSpeed"],Li=["duration","bounce"],Di=["stiffness","damping","mass"];function Mi(e,t){return t.some((function(t){return void 0!==e[t]}))}var Ii=5;function Fi(e){var t=e.keyframes,n=e.restDelta,r=e.restSpeed,o=et(e,_i),i=t[0],a=t[t.length-1],u={done:!1,value:i},l=function(e){var t=Je({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Mi(e,Di)&&Mi(e,Li)){var n=Ri(e);(t=Je(Je(Je({},t),n),{},{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),s=l.stiffness,c=l.damping,f=l.mass,d=l.velocity,p=l.duration,h=l.isResolvedFromDuration,v=Vi,m=d?-d/1e3:0,y=c/(2*Math.sqrt(s*f));function g(){var e=a-i,t=Math.sqrt(s/f)/1e3,o=Math.abs(e)<5;
2if(r||(r=o?.01:2),n||(n=o?.005:.5),y<1){var u=Ni(t,y);v=function(n){var r=Math.exp(-y*t*n);return a-r*((m+y*t*e)/u*Math.sin(u*n)+e*Math.cos(u*n))}}else if(1===y)v=function(n){return a-Math.exp(-t*n)*(e+(m+t*e)*n)};else{var l=t*Math.sqrt(y*y-1);v=function(n){var r=Math.exp(-y*t*n),o=Math.min(l*n,300);return a-r*((m+y*t*e)*Math.sinh(o)+l*e*Math.cosh(o))/l}}}return g(),{next:function(e){var t=v(e);if(h)u.done=e>=p;else{var o=m;if(0!==e)if(y<1){var i=Math.max(0,e-Ii);o=ro(t-v(i),e-i)}else o=0;var l=Math.abs(o)<=r,s=Math.abs(a-t)<=n;u.done=l&&s}return u.value=u.done?a:t,u},flipTarget:function(){m=-m;var e=[a,i];i=e[0],a=e[1],g()}}}Fi.needsInterpolation=function(e,t){return"string"===typeof e||"string"===typeof t};var Vi=function(e){return 0};var Ui=["duration","driver","elapsed","repeat","repeatType","repeatDelay","keyframes","autoplay","onPlay","onStop","onComplete","onRepeat","onUpdate","type"],zi={decay:function(e){var t=e.keyframes,n=void 0===t?[0]:t,r=e.velocity,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,u=e.timeConstant,l=void 0===u?350:u,s=e.restDelta,c=void 0===s?.5:s,f=e.modifyTarget,d=n[0],p={done:!1,value:d},h=a*o,v=d+h,m=void 0===f?v:f(v);return m!==v&&(h=m-d),{next:function(e){var t=-h*Math.exp(-e/l);return p.done=!(t>c||t<-c),p.value=p.done?m:m+t,p},flipTarget:function(){}}},keyframes:Ei,tween:Ei,spring:Fi};function Bi(e,t){return e-t-(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}var Hi=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return Xr.update(t,!0)},stop:function(){return Yr.update(t)}}};function Wi(e){var t,n,r=e.duration,o=e.driver,i=void 0===o?Hi:o,a=e.elapsed,u=void 0===a?0:a,l=e.repeat,s=void 0===l?0:l,c=e.repeatType,f=void 0===c?"loop":c,d=e.repeatDelay,p=void 0===d?0:d,h=e.keyframes,v=e.autoplay,m=void 0===v||v,y=e.onPlay,g=e.onStop,b=e.onComplete,w=e.onRepeat,x=e.onUpdate,k=e.type,S=void 0===k?"keyframes":k,E=et(e,Ui),P=u,C=0,O=r,j=!1,T=!0,R=zi[h.length>2?"keyframes":S]||Ei,A=h[0],N=h[h.length-1],_={done:!1,value:A},L=R.needsInterpolation;L&&L(A,N)&&(n=si([0,100],[A,N],{clamp:!1}),h=[0,100]);var D=R(Je(Je({},E),{},{duration:r,keyframes:h}));function M(){C++,"reverse"===f?u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+n:Bi(t+-e,t,n)}(u,O,p,T=C%2===0):(u=Bi(u,O,p),"mirror"===f&&D.flipTarget()),j=!1,w&&w()}function I(e){T||(e=-e),u+=e,j||(_=D.next(Math.max(0,u)),n&&(_.value=n(_.value)),j=T?_.done:u<=0),x&&x(_.value),j&&(0===C&&(O=void 0!==O?O:u),C<s?function(e,t,n,r){return r?e>=t+n:e<=-n}(u,O,p,T)&&M():(t&&t.stop(),b&&b()))}return m&&(y&&y(),(t=i(I)).start()),{stop:function(){g&&g(),t&&t.stop()},set currentTime(e){u=P,I(e)},sample:function(e){if(u=P,arguments.length>1&&void 0!==arguments[1]&&arguments[1])return I(e),_;var t=r&&"number"===typeof r?Math.max(.5*r,50):50,n=0;for(I(0);n<=e;){var o=e-n;I(Math.min(o,t)),n+=t}return _}}}var $i=function(e){var t=T(e,4),n=t[0],r=t[1],o=t[2],i=t[3];return"cubic-bezier(".concat(n,", ").concat(r,", ").concat(o,", ").concat(i,")")},qi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$i([0,.65,.55,1]),circOut:$i([.55,0,1,.45]),backIn:$i([.31,.01,.66,-.59]),backOut:$i([.33,1.53,.69,.99])};function Ki(e){if(e)return Array.isArray(e)?$i(e):qi[e]}var Xi={waapi:function(){return Object.hasOwnProperty.call(Element.prototype,"animate")}},Yi={},Gi={},Qi=function(e){Gi[e]=function(){return void 0===Yi[e]&&(Yi[e]=Xi[e]()),Yi[e]}};for(var Zi in Xi)Qi(Zi);var Ji=["onUpdate","onComplete"],ea=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ta=10,na=function(e,t){return"spring"===t.type||"backgroundColor"===e||!(!(n=t.ease)||Array.isArray(n)||"string"===typeof n&&qi[n]);var n};function ra(e,t,n){n.onUpdate;var r=n.onComplete,o=et(n,Ji);if(!(Gi.waapi()&&ea.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping))return!1;var i=o.keyframes,a=o.duration,u=void 0===a?300:a,l=o.elapsed,s=void 0===l?0:l,c=o.ease;if(na(t,o)){for(var f=Wi(Je(Je({},o),{},{repeat:0,elapsed:0})),d={done:!1,value:i[0]},p=[],h=0;!d.done&&h<2e4;)d=f.sample(h,!0),p.push(d.value),h+=ta;i=p,u=h-ta,c="linear"}var v=function(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.delay,a=void 0===i?0:i,u=o.duration,l=o.repeat,s=void 0===l?0:l,c=o.repeatType,f=void 0===c?"loop":c,d=o.ease,p=o.times;return e.animate((Qe(r={},t,n),Qe(r,"offset",p),r),{delay:a,duration:u,easing:Ki(d),fill:"both",iterations:s+1,direction:"reverse"===f?"alternate":"normal"})}(e.owner.current,t,i,Je(Je({},o),{},{delay:-s,duration:u,ease:c}));return v.onfinish=function(){e.set(function(e,t){var n=t.repeat,r=t.repeatType;return e[n&&"loop"!==(void 0===r?"loop":r)&&n%2===1?0:e.length-1]}(i,o)),Xr.update((function(){return v.cancel()})),r&&r()},{get currentTime(){return v.currentTime||0},set currentTime(e){v.currentTime=e},stop:function(){var t=v.currentTime;if(t){var n=Wi(Je(Je({},o),{},{autoplay:!1}));e.setWithVelocity(n.sample(t-ta).value,n.sample(t).value,ta)}Xr.update((function(){return v.cancel()}))}}}function oa(e,t){var n=performance.now(),r=function r(o){var i=o.timestamp-n;i>=t&&(Yr.read(r),e(i-t))};return Xr.read(r,!0),function(){return Yr.read(r)}}function ia(e){var t=e.keyframes,n=e.elapsed,r=e.onUpdate,o=e.onComplete,i=function(){r&&r(t[t.length-1]),o&&o()};return n?{stop:oa(i,-n)}:i()}var aa={type:"spring",stiffness:500,damping:25,restSpeed:10},ua={type:"keyframes",duration:.8},la={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sa=function(e,t){var n=t.keyframes;return n.length>2?ua:Jt.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:aa:la},ca=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!wo.test(t)||t.startsWith("url(")))},fa=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"];function da(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function pa(e){return"number"===typeof e?0:Oo("",e)}function ha(e,t){return e[t]||e.default||e}var va=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return function(o){var i=ha(r,e)||{},a=i.delay||r.delay||0,u=r.elapsed,l=void 0===u?0:u;l-=Bo(a);var s=function(e,t,n,r){var o=ca(t,n),i=void 0!==r.from?r.from:e.get();return"none"===i&&o&&"string"===typeof n?i=Oo(t,n):da(i)&&"string"===typeof n?i=pa(n):!Array.isArray(n)&&da(n)&&"string"===typeof i&&(n=pa(i)),Array.isArray(n)?(null===n[0]&&(n[0]=i),n):[i,n]}(t,e,n,i),c=s[0],f=s[s.length-1],d=ca(e,c),p=ca(e,f);Uo(d===p,"You are trying to animate ".concat(e,' from "').concat(c,'" to "').concat(f,'". ').concat(c," is not an animatable value - to enable this animation set ").concat(c," to a value animatable to ").concat(f," via the `style` property."));var h=Je(Je({keyframes:s,velocity:t.getVelocity()},i),{}
2,{elapsed:l,onUpdate:function(e){t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:function(){o(),i.onComplete&&i.onComplete()}});if(!d||!p||Ho||!1===i.type)return ia(h);if("inertia"===i.type)return function(e){var t,n=e.keyframes,r=e.velocity,o=void 0===r?0:r,i=e.min,a=e.max,u=e.power,l=void 0===u?.8:u,s=e.timeConstant,c=void 0===s?750:s,f=e.bounceStiffness,d=void 0===f?500:f,p=e.bounceDamping,h=void 0===p?10:p,v=e.restDelta,m=void 0===v?1:v,y=e.modifyTarget,g=e.driver,b=e.onUpdate,w=e.onComplete,x=e.onStop,k=n[0];function S(e){return void 0!==i&&e<i||void 0!==a&&e>a}function E(e){return void 0===i?a:void 0===a||Math.abs(i-e)<Math.abs(a-e)?i:a}function P(e){t&&t.stop(),t=Wi(Je(Je({keyframes:[0,1],velocity:0},e),{},{driver:g,onUpdate:function(t){b&&b(t),e.onUpdate&&e.onUpdate(t)},onComplete:w,onStop:x}))}function C(e){P(Je({type:"spring",stiffness:d,damping:h,restDelta:m},e))}if(S(k))C({velocity:o,keyframes:[k,E(k)]});else{var O=l*o+k;"undefined"!==typeof y&&(O=y(O));var j,T,R=E(O),A=R===i?-1:1;P({type:"decay",keyframes:[k,0],velocity:o,timeConstant:c,power:l,restDelta:m,modifyTarget:y,onUpdate:S(O)?function(e){j=T,T=e,o=ro(e-j,Vr.delta),(1===A&&e>R||-1===A&&e<R)&&C({keyframes:[e,R],velocity:o})}:void 0})}return{stop:function(){return t&&t.stop()}}}(h);if(function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from,e.elapsed;var t=et(e,fa);return!!Object.keys(t).length}(i)||(h=Je(Je({},h),sa(e,h))),h.duration&&(h.duration=Bo(h.duration)),h.repeatDelay&&(h.repeatDelay=Bo(h.repeatDelay)),t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){var v=ra(t,e,h);if(v)return v}return Wi(h)}},ma=["transition","transitionEnd"];function ya(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_o(e,t,n.custom),o=(r||{}).transition,i=void 0===o?e.getDefaultTransition()||{}:o;n.transitionOverride&&(i=n.transitionOverride);var a=r?function(){return ga(e,r,n)}:function(){return Promise.resolve()},u=e.variantChildren&&e.variantChildren.size?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=i,a=o.delayChildren,u=void 0===a?0:a,l=o.staggerChildren,s=o.staggerDirection;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=arguments.length>5?arguments[5]:void 0,a=[],u=(e.variantChildren.size-1)*r,l=1===o?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r}:function(){return u-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r};return Array.from(e.variantChildren).sort(ba).forEach((function(e,r){e.notify("AnimationStart",t),a.push(ya(e,t,Je(Je({},i),{},{delay:n+l(r)})).then((function(){return e.notify("AnimationComplete",t)})))})),Promise.all(a)}(e,t,u+r,l,s,n)}:function(){return Promise.resolve()},l=i.when;if(l){var s=T("beforeChildren"===l?[a,u]:[u,a],2),c=s[0],f=s[1];return c().then(f)}return Promise.all([a(),u(n.delay)])}function ga(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.delay,o=void 0===r?0:r,i=n.transitionOverride,a=n.type,u=e.makeTargetAnimatable(t),l=u.transition,s=void 0===l?e.getDefaultTransition():l,c=u.transitionEnd,f=et(u,ma),d=e.getValue("willChange");i&&(s=i);var p=[],h=a&&e.animationState&&e.animationState.getState()[a],v=function(t){var n=e.getValue(t),r=f[t];if(!n||void 0===r||h&&function(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}(h,t))return"continue";var i=Je({delay:o,elapsed:0},s);if(window.HandoffAppearAnimations&&!n.hasAnimated){var a=e.getProps()[Vo];a&&(i.elapsed=window.HandoffAppearAnimations(a,t,n,Xr))}var u=n.start(va(t,n,r,e.shouldReduceMotion&&Jt.has(t)?{type:!1}:i));Fo(d)&&(d.add(t),u=u.then((function(){return d.remove(t)}))),p.push(u)};for(var m in f)v(m);return Promise.all(p).then((function(){c&&Mo(e,c)}))}function ba(e,t){return e.sortNodePosition(t)}var wa=["transition","transitionEnd"],xa=A(Rt).reverse(),ka=Rt.length;function Sa(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t)){var o=t.map((function(t){return ya(e,t,r)}));n=Promise.all(o)}else if("string"===typeof t)n=ya(e,t,r);else{var i="function"===typeof t?_o(e,t,r.custom):t;n=ga(e,i,r)}return n.then((function(){return e.notify("AnimationComplete",t)}))}(e,n,r)})))}}function Ea(e){var t=Sa(e),n={animate:Pa(!0),whileInView:Pa(),whileHover:Pa(),whileTap:Pa(),whileDrag:Pa(),whileFocus:Pa(),exit:Pa()},r=!0,o=function(t,n){var r=_o(e,n);if(r){r.transition;var o=r.transitionEnd,i=et(r,wa);t=Je(Je(Je({},t),i),o)}return t};function i(i,a){for(var u=e.getProps(),l=e.getVariantContext(!0)||{},s=[],c=new Set,f={},d=1/0,p=function(){var t=xa[h],p=n[t],v=void 0!==u[t]?u[t]:l[t],m=jt(v),y=t===a?p.isActive:null;!1===y&&(d=h);var g=v===l[t]&&v!==u[t]&&m;if(g&&r&&e.manuallyAnimateOnMount&&(g=!1),p.protectedKeys=Je({},f),!p.isActive&&null===y||!v&&!p.prevProp||Tt(v)||"boolean"===typeof v)return"continue";var b=function(e,t){if("string"===typeof t)return t!==e;if(Array.isArray(t))return!Mr(t,e);return!1}(p.prevProp,v),w=b||t===a&&p.isActive&&!g&&m||h>d&&m,x=Array.isArray(v)?v:[v],k=x.reduce(o,{});!1===y&&(k={});var S=p.prevResolvedValues,E=void 0===S?{}:S,P=Je(Je({},E),k),C=function(e){w=!0,c.delete(e),p.needsAnimating[e]=!0};for(var O in P){var j=k[O],T=E[O];f.hasOwnProperty(O)||(j!==T?Zn(j)&&Zn(T)?!Mr(j,T)||b?C(O):p.protectedKeys[O]=!0:void 0!==j?C(O):c.add(O):void 0!==j&&c.has(O)?C(O):p.protectedKeys[O]=!0)}p.prevProp=v,p.prevResolvedValues=k,p.isActive&&(f=Je(Je({},f),k)),r&&e.blockInitialAnimation&&(w=!1),w&&!g&&s.push.apply(s,A(x.map((function(e){return{animation:e,options:Je({type:t},i)}}))))},h=0;h<ka;h++)p();if(c.size){var v={};
2c.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(v[t]=n)})),s.push({animation:v})}var m=Boolean(s.length);return r&&!1===u.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(s):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var u=i(o,t);for(var l in n)n[l].protectedKeys={};return u},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function Pa(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Ca=function(e){F(n,e);var t=B(n);function n(e){var r;return N(this,n),r=t.call(this,e),e.animationState||(e.animationState=Ea(e)),r}return M(n,[{key:"updateAnimationControlsSubscription",value:function(){var e=this.node.getProps().animate;this.unmount(),Tt(e)&&(this.unmount=e.subscribe(this.node))}},{key:"mount",value:function(){this.updateAnimationControlsSubscription()}},{key:"update",value:function(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}},{key:"unmount",value:function(){}}]),n}(br),Oa=0,ja=function(e){F(n,e);var t=B(n);function n(){var e;return N(this,n),(e=t.apply(this,arguments)).id=Oa++,e}return M(n,[{key:"update",value:function(){var e=this;if(this.node.presenceContext){var t=this.node.presenceContext,n=t.isPresent,r=t.onExitComplete,o=t.custom,i=(this.node.prevPresenceContext||{}).isPresent;if(this.node.animationState&&n!==i){var a=this.node.animationState.setActive("exit",!n,{custom:null!==o&&void 0!==o?o:this.node.getProps().custom});r&&!n&&a.then((function(){return r(e.id)}))}}}},{key:"mount",value:function(){var e=(this.node.presenceContext||{}).register;e&&(this.unmount=e(this.id))}},{key:"unmount",value:function(){}}]),n}(br),Ta={animation:{Feature:Ca},exit:{Feature:ja}},Ra=function(e,t){return Math.abs(e-t)};var Aa=function(){function e(t,n){var r=this,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).transformPagePoint;if(N(this,e),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=La(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=function(e,t){var n=Ra(e.x,t.x),r=Ra(e.y,t.y);return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))}(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=Vr.timestamp;r.history.push(Je(Je({},o),{},{timestamp:i}));var a=r.handlers,u=a.onStart,l=a.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=Na(t,r.transformPagePoint),Xr.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){if(r.end(),r.lastMoveEvent&&r.lastMoveEventInfo){var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=La("pointercancel"===e.type?r.lastMoveEventInfo:Na(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)}},lr(t)){this.handlers=n,this.transformPagePoint=o;var i=Na(sr(t),this.transformPagePoint),a=i.point,u=Vr.timestamp;this.history=[Je(Je({},a),{},{timestamp:u})];var l=n.onSessionStart;l&&l(t,La(i,this.history)),this.removeListeners=pr(fr(window,"pointermove",this.handlePointerMove),fr(window,"pointerup",this.handlePointerUp),fr(window,"pointercancel",this.handlePointerUp))}}return M(e,[{key:"updateHandlers",value:function(e){this.handlers=e}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),Yr.update(this.updatePoint)}}]),e}();function Na(e,t){return t?{point:t(e.point)}:e}function _a(e,t){return{x:e.x-t.x,y:e.y-t.y}}function La(e,t){var n=e.point;return{point:n,delta:_a(n,Ma(t)),offset:_a(n,Da(t)),velocity:Ia(t,.1)}}function Da(e){return e[0]}function Ma(e){return e[e.length-1]}function Ia(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Ma(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Bo(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Fa(e){return e.max-e.min}function Va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return Math.abs(e-t)<=n}function Ua(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=r,e.originPoint=Yo(t.min,t.max,e.origin),e.scale=Fa(n)/Fa(t),(Va(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Yo(n.min,n.max,e.origin)-e.originPoint,(Va(e.translate)||isNaN(e.translate))&&(e.translate=0)}function za(e,t,n,r){Ua(e.x,t.x,n.x,r?r.originX:void 0),Ua(e.y,t.y,n.y,r?r.originY:void 0)}
2function Ba(e,t,n){e.min=n.min+t.min,e.max=e.min+Fa(t)}function Ha(e,t,n){e.min=t.min-n.min,e.max=e.min+Fa(t)}function Wa(e,t,n){Ha(e.x,t.x,n.x),Ha(e.y,t.y,n.y)}function $a(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function qa(e,t){var n=t.min-e.min,r=t.max-e.max;if(t.max-t.min<e.max-e.min){var o=[r,n];n=o[0],r=o[1]}return{min:n,max:r}}var Ka=.35;function Xa(e,t,n){return{min:Ya(e,t),max:Ya(e,n)}}function Ya(e,t){return"number"===typeof e?e:e[t]||0}var Ga=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},Qa=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function Za(e){return[e("x"),e("y")]}function Ja(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function eu(e){return void 0===e||1===e}function tu(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!eu(t)||!eu(n)||!eu(r)}function nu(e){return tu(e)||ru(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ru(e){return ou(e.x)||ou(e.y)}function ou(e){return e&&"0%"!==e}function iu(e,t,n){return n+t*(e-n)}function au(e,t,n,r,o){return void 0!==o&&(e=iu(e,o,r)),iu(e,n,r)+t}function uu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;e.min=au(e.min,t,n,r,o),e.max=au(e.max,t,n,r,o)}function lu(e,t){var n=t.x,r=t.y;uu(e.x,n.translate,n.scale,n.originPoint),uu(e.y,r.translate,r.scale,r.originPoint)}function su(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function cu(e,t){e.min=e.min+t,e.max=e.max+t}function fu(e,t,n){var r=T(n,3),o=r[0],i=r[1],a=r[2],u=void 0!==t[a]?t[a]:.5,l=Yo(e.min,e.max,u);uu(e,t[o],t[i],l,t.scale)}var du=["x","scaleX","originX"],pu=["y","scaleY","originY"];function hu(e,t){fu(e.x,t,du),fu(e.y,t,pu)}function vu(e,t){return Ja(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var mu=new WeakMap,yu=function(){function e(t){N(this,e),this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qa(),this.visualElement=t}return M(e,[{key:"start",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).snapToCursor,r=void 0!==n&&n,o=this.visualElement.presenceContext;if(!o||!1!==o.isPresent){this.panSession=new Aa(e,{onSessionStart:function(e){t.stopAnimation(),r&&t.snapToCursor(sr(e,"page").point)},onStart:function(e,n){var r=t.getProps(),o=r.drag,i=r.dragPropagation,a=r.onDragStart;if(!o||i||(t.openGlobalLock&&t.openGlobalLock(),t.openGlobalLock=yr(o),t.openGlobalLock)){t.isDragging=!0,t.currentDirection=null,t.resolveConstraints(),t.visualElement.projection&&(t.visualElement.projection.isAnimationBlocked=!0,t.visualElement.projection.target=void 0),Za((function(e){var n=t.getAxisMotionValue(e).get()||0;if(wn.test(n)){var r=t.visualElement.projection;if(r&&r.layout){var o=r.layout.layoutBox[e];if(o)n=Fa(o)*(parseFloat(n)/100)}}t.originPoint[e]=n})),a&&a(e,n);var u=t.visualElement.animationState;u&&u.setActive("whileDrag",!0)}},onMove:function(e,n){var r=t.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,u=r.onDrag;if(o||t.openGlobalLock){var l=n.offset;if(i&&null===t.currentDirection)return t.currentDirection=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==t.currentDirection&&a&&a(t.currentDirection));t.updateAxis("x",n.point,l),t.updateAxis("y",n.point,l),t.visualElement.render(),u&&u(e,n)}},onSessionEnd:function(e,n){return t.stop(e,n)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}}},{key:"stop",value:function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;o&&o(e,t)}}},{key:"cancel",value:function(){this.isDragging=!1;var e=this.visualElement,t=e.projection,n=e.animationState;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}},{key:"updateAxis",value:function(e,t,n){var r=this.getProps().drag;if(n&&gu(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Yo(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Yo(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}}},{key:"resolveConstraints",value:function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&Ot(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:$a(e.x,r,i),y:$a(e.y,n,o)}}(o.layoutBox,n),this.elastic=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ka;return!1===e?e=0:!0===e&&(e=Ka),{x:Xa(e,"left","right"),y:Xa(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Za((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.layoutBox[t],e.constraints[t]))}))}},{key:"resolveRefConstraints",value:function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!Ot(t))return!1;var r=t.current;zo(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=vu(e,n),o=t.scroll;return o&&(cu(r.x,o.offset.x),cu(r.y,o.offset.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:qa(e.x,t.x),y:qa(e.y,t.y)}}(o.layout.layoutBox,i);if(n){var u=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!u,u&&(a=Ja(u))}return a}},{key:"startAnimation",value:function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,u=n.dragSnapToOrigin,l=n.onDragTransitionEnd,s=this.constraints||{},c=Za((function(n){if(gu(n,r,t.currentDirection)){var l=s&&s[n]||{};u&&(l={min:0,max:0});var c=i?200:1e6,f=i?40:1e7,d=Je(Je({type:"inertia",velocity:o?e[n]:0,bounceStiffness:c,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),l);return t.startAxisValueAnimation(n,d)}}));return Promise.all(c).then(l)}},{key:"startAxisValueAnimation",value:function(e,t){var n=this.getAxisMotionValue(e);return n.start(va(e,n,0,t))}},{key:"stopAnimation",value:function(){var e=this;Za((function(t){return e.getAxisMotionValue(t).stop()}))}},{key:"getAxisMotionValue",value:function(e){var t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}},{key:"snapToCursor",value:function(e){var t=this;Za((function(n){if(gu(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.layoutBox[n],a=i.min,u=i.max;o.set(e[n]-Yo(a,u,.5))}}}))}},{key:"scalePositionWithinConstraints",value:function(){var e=this;if(this.visualElement.current){var t=this.getProps(),n=t.drag,r=t.dragConstraints,o=this.visualElement.projection;if(Ot(r)&&o&&this.constraints){this.stopAnimation();var i={x:0,y:0};Za((function(t){var n=e.getAxisMotionValue(t);if(n){var r=n.get();i[t]=function(e,t){var n=.5,r=Fa(e),o=Fa(t);return o>r?n=ai(t.min,t.max-r,e.min):r>o&&(n=ai(e.min,e.max-o,t.min)),sn(0,1,n)}({min:r,max:r},e.constraints[t])}}));var a=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=a?a({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Za((function(t){if(gu(t,n,null)){var r=e.getAxisMotionValue(t),o=e.constraints[t],a=o.min,u=o.max;r.set(Yo(a,u,i[t]))}}))}}}},{key:"addListeners",value:function(){var e=this;if(this.visualElement.current){mu.set(this.visualElement,this);var t=fr(this.visualElement.current,"pointerdown",(function(t){var n=e.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&e.start(t)})),n=function(){Ot(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},r=this.visualElement.projection,o=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();var i=ur(window,"resize",(function(){return e.scalePositionWithinConstraints()})),a=r.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(Za((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.render())}));return function(){i(),t(),o(),a&&a()}}}},{key:"getProps",value:function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,u=e.dragConstraints,l=void 0!==u&&u,s=e.dragElastic,c=void 0===s?Ka:s,f=e.dragMomentum,d=void 0===f||f;return Je(Je({},e),{},{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:d})}}]),e}();function gu(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var bu=function(e){F(n,e);var t=B(n);function n(e){var r;return N(this,n),(r=t.call(this,e)).removeGroupControls=Er,r.removeListeners=Er,r.controls=new yu(e),r}return M(n,[{key:"mount",value:function(){var e=this.node.getProps().dragControls;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Er}},{key:"unmount",value:function(){this.removeGroupControls(),this.removeListeners()}}]),n}(br),wu=function(e){F(n,e);var t=B(n);function n(){var e;return N(this,n),(e=t.apply(this,arguments)).removePointerDownListener=Er,e}return M(n,[{key:"onPointerDown",value:function(e){this.session=new Aa(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}},{key:"createPanHandlers",value:function(){var e=this,t=this.node.getProps(),n=t.onPanSessionStart,r=t.onPanStart,o=t.onPan,i=t.onPanEnd;return{onSessionStart:n,onStart:r,onMove:o,onEnd:function(t,n){delete e.session,i&&i(t,n)}}}},{key:"mount",value:function(){var e=this;this.removePointerDownListener=fr(this.node.current,"pointerdown",(function(t){return e.onPointerDown(t)}))}},{key:"update",value:function(){this.session&&this.session.updateHandlers(this.createPanHandlers())}},{key:"unmount",value:function(){this.removePointerDownListener(),this.session&&this.session.end()}}]),n}(br);function xu(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ku={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!xn.test(e))return e;e=parseFloat(e)}var n=xu(e,t.target.x),r=xu(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}};var Su=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;var Eu=4;function Pu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;zo(n<=Eu,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var r=function(e){var t=Su.exec(e);if(!t)return[,];var n=T(t,3);return[n[1],n[2]]}(e),o=T(r,2),i=o[0],a=o[1];if(i){var u=window.getComputedStyle(t).getPropertyValue(i);return u?u.trim():un(a)?Pu(a,t,n+1):a}}function Cu(e,t,n){var r=Object.assign({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),t)),o=e.current;if(!(o instanceof Element))return{target:r,transitionEnd:n};for(var i in n&&(n=Je({}
2,n)),e.values.forEach((function(e){var t=e.get();if(un(t)){var n=Pu(t,o);n&&e.set(n)}})),r){var a=r[i];if(un(a)){var u=Pu(a,o);u&&(r[i]=u,n&&void 0===n[i]&&(n[i]=a))}}return{target:r,transitionEnd:n}}var Ou="_$css",ju={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Su,(function(e){return a.push(e),Ou})));var u=wo.parse(e);if(u.length>5)return o;var l=wo.createTransformer(e),s="number"!==typeof u[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;u[0+s]/=c,u[1+s]/=f;var d=Yo(c,f,.5);"number"===typeof u[2+s]&&(u[2+s]/=d),"number"===typeof u[3+s]&&(u[3+s]/=d);var p=l(u);if(i){var h=0;p=p.replace(Ou,(function(){var e=a[h];return h++,e}))}return p}},Tu=function(e){F(n,e);var t=B(n);function n(){return N(this,n),t.apply(this,arguments)}return M(n,[{key:"componentDidMount",value:function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,u=r.projection;e=Au,Object.assign(Qt,e),u&&(o.group&&o.group.add(u),i&&i.register&&a&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){t.safeToRemove()})),u.setOptions(Je(Je({}
2,u.options),{},{onExitComplete:function(){return t.safeToRemove()}}))),zt.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,u=o.projection;return u?(u.isPresent=a,i||e.layoutDependency!==r||void 0===r?u.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?u.promote():u.relegate()||Xr.postRender((function(){var e=u.getStack();e&&e.members.length||t.safeToRemove()}))),null):null}},{key:"componentDidUpdate",value:function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}},{key:"safeToRemove",value:function(){var e=this.props.safeToRemove;e&&e()}},{key:"render",value:function(){return null}}]),n}(e.Component);function Ru(t){var n=function(){var t=(0,e.useContext)(kt);if(null===t)return[!0,null];var n=t.isPresent,r=t.onExitComplete,o=t.register,i=(0,e.useId)();return(0,e.useEffect)((function(){return o(i)}),[]),!n&&r?[!1,function(){return r&&r(i)}]:[!0]}(),r=T(n,2),o=r[0],i=r[1],a=(0,e.useContext)(Ht);return e.createElement(Tu,Je(Je({},t),{},{layoutGroup:a,switchLayoutGroup:(0,e.useContext)(Wt),isPresent:o,safeToRemove:i}))}
2var Au={borderRadius:Je(Je({},ku),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ku,borderTopRightRadius:ku,borderBottomLeftRadius:ku,borderBottomRightRadius:ku,boxShadow:ju};var Nu=["TopLeft","TopRight","BottomLeft","BottomRight"],_u=Nu.length,Lu=function(e){return"string"===typeof e?parseFloat(e):e},Du=function(e){return"number"===typeof e||xn.test(e)};function Mu(e,t){return void 0!==e[t]?e[t]:e.borderRadius}var Iu=Vu(0,.5,mi),Fu=Vu(.5,.95,Er);function Vu(e,t,n){return function(r){return r<e?0:r>t?1:n(ai(e,t,r))}}function Uu(e,t){e.min=t.min,e.max=t.max}function zu(e,t){Uu(e.x,t.x),Uu(e.y,t.y)}function Bu(e,t,n,r,o){return e=iu(e-=t,1/n,r),void 0!==o&&(e=iu(e,1/o,r)),e}function Hu(e,t,n,r,o){var i=T(n,3),a=i[0],u=i[1],l=i[2];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;if(wn.test(t)&&(t=parseFloat(t),t=Yo(a.min,a.max,t/100)-a.min),"number"===typeof t){var u=Yo(i.min,i.max,r);e===i&&(u-=t),e.min=Bu(e.min,t,n,u,o),e.max=Bu(e.max,t,n,u,o)}}(e,t[a],t[u],t[l],t.scale,r,o)}var Wu=["x","scaleX","originX"],$u=["y","scaleY","originY"];function qu(e,t,n,r){Hu(e.x,t,Wu,n?n.x:void 0,r?r.x:void 0),Hu(e.y,t,$u,n?n.y:void 0,r?r.y:void 0)}function Ku(e){return 0===e.translate&&1===e.scale}function Xu(e){return Ku(e.x)&&Ku(e.y)}function Yu(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Gu(e){return Fa(e.x)/Fa(e.y)}var Qu=function(){function e(){N(this,e),this.members=[]}return M(e,[{key:"add",value:function(e){eo(this.members,e),e.scheduleRender()}},{key:"remove",value:function(e){if(to(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}}},{key:"relegate",value:function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)}},{key:"promote",value:function(e,t){var n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))}},{key:"exitAnimationComplete",value:function(){this.members.forEach((function(e){var t=e.options,n=e.resumingFrom;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}},{key:"scheduleRender",value:function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))}},{key:"removeLeadSnapshot",value:function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}]),e}();function Zu(e,t,n){var r="",o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r="translate3d(".concat(o,"px, ").concat(i,"px, 0) ")),1===t.x&&1===t.y||(r+="scale(".concat(1/t.x,", ").concat(1/t.y,") ")),n){var a=n.rotate,u=n.rotateX,l=n.rotateY;a&&(r+="rotate(".concat(a,"deg) ")),u&&(r+="rotateX(".concat(u,"deg) ")),l&&(r+="rotateY(".concat(l,"deg) "))}var s=e.x.scale*t.x,c=e.y.scale*t.y;return 1===s&&1===c||(r+="scale(".concat(s,", ").concat(c,")")),r||"none"}var Ju=function(e,t){return e.depth-t.depth},el=function(){function e(){N(this,e),this.children=[],this.isDirty=!1}return M(e,[{key:"add",value:function(e){eo(this.children,e),this.isDirty=!0}},{key:"remove",value:function(e){to(this.children,e),this.isDirty=!0}},{key:"forEach",value:function(e){this.isDirty&&this.children.sort(Ju),this.isDirty=!1,this.children.forEach(e)}}]),e}();var tl=["","X","Y","Z"],nl=1e3,rl=0,ol={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function il(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function e(t){var r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null===n||void 0===n?void 0:n();N(this,e),this.id=rl++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){r.isUpdating&&(r.isU
2pdating=!1,r.clearAllSnapshots())},this.updateProjection=function(){var e;ol.totalNodes=ol.resolvedTargetDeltas=ol.recalculatedProjection=0,r.nodes.forEach(ll),r.nodes.forEach(hl),r.nodes.forEach(vl),r.nodes.forEach(sl),e=ol,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=o,this.root=i?i.root||i:this,this.path=i?[].concat(A(i.path),[i]):[],this.parent=i,this.depth=i?i.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new el)}return M(e,[{key:"addEventListener",value:function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new no),this.eventHandlers.get(e).add(t)}},{key:"notifyListeners",value:function(e){for(var t=this.eventHandlers.get(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t&&t.notify.apply(t,r)}},{key:"hasListeners",value:function(e){return this.eventHandlers.has(e)}},{key:"registerPotentialNode",value:function(e,t){this.potentialNodes.set(e,t)}},{key:"mount",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var o=this.options,i=o.layoutId,a=o.layout,u=o.visualElement;if(u&&!u.current&&u.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(a||i)&&(this.isLayoutDirty=!0),t){var l,s=function(){return n.root.updateBlockedByResize=!1};t(e,(function(){n.root.updateBlockedByResize=!0,l&&l(),l=oa(s,250),zt.hasAnimatedSinceResize&&(zt.hasAnimatedSinceResize=!1,n.nodes.forEach(pl))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&u&&(i||a)&&this.addEventListener("didUpdate",(function(e){var t=e.delta,r=e.hasLayoutChanged,o=e.hasRelativeTargetChanged,i=e.layout;if(n.isTreeAnimationBlocked())return n.target=void 0,void(n.relativeTarget=void 0);var a=n.options.transition||u.getDefaultTransition()||xl,l=u.getProps(),s=l.onLayoutAnimationStart,c=l.onLayoutAnimationComplete,f=!n.targetLayout||!Yu(n.targetLayout,i)||o,d=!r&&o;if(n.options.layoutRoot||n.resumeFrom&&n.resumeFrom.instance||d||r&&(f||!n.currentAnimation)){n.resumeFrom&&(n.resumingFrom=n.resumeFrom,n.resumingFrom.resumingFrom=void 0),n.setAnimationOrigin(t,d);var p=Je(Je({},ha(a,"layout")),{},{onPlay:s,onComplete:c});(u.shouldReduceMotion||n.options.layoutRoot)&&(p.delay=0,p.type=!1),n.startAnimation(p)}else r||0!==n.animationProgress||pl(n),n.isLead()&&n.options.onExitComplete&&n.options.onExitComplete();n.targetLayout=i}))}}},{key:"unmount",value:function(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);var e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Yr.preRender(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}},{key:"startUpdate",value:function(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ml),this.animationId++)}},{key:"getTransformTemplate",value:function(){var e=this.options.visualElement;return e&&e.getProps().transformTemplate}},{key:"willUpdate",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.isUpdateBlocked())this.options.onExitComplete&&this.options.onExitComplete();else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var t=0;t<this.path.length;t++){var n=this.path[t];n.shouldResetTransform=!0,n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}var r=this.options,o=r.layoutId,i=r.layout;if(void 0!==o||i){var a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}}},{key:"didUpdate",value:function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEac
2h(fl);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(kl),this.potentialNodes.clear()),this.nodes.forEach(dl),this.nodes.forEach(al),this.nodes.forEach(ul),this.clearAllSnapshots(),Gr.update(),Gr.preRender(),Gr.render())}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(cl),this.sharedNodes.forEach(yl)}},{key:"scheduleUpdateProjection",value:function(){Xr.preRender(this.updateProjection,!1,!0)}},{key:"scheduleCheckAfterUnmount",value:function(){var e=this;Xr.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))}},{key:"updateSnapshot",value:function(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}},{key:"updateLayout",value:function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e=0;e<this.path.length;e++){this.path[e].updateScroll()}var t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Qa(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);var n=this.options.visualElement;n&&n.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}}},{key:"updateScroll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:r(this.instance)})}},{key:"resetTransform",value:function(){if(i){var e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Xu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||nu(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),Sl((e=r).x),Sl(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}},{key:"measurePageBox",value:function(){var e=this.options.visualElement;if(!e)return Qa();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(cu(t.x,n.offset.x),cu(t.y,n.offset.y)),t}},{key:"removeElementScroll",value:function(e){var t=Qa();zu(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){zu(t,e);var a=this.root.scroll;a&&(cu(t.x,-a.offset.x),cu(t.y,-a.offset.y))}cu(t.x,o.offset.x),cu(t.y,o.offset.y)}}return t}},{key:"applyTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Qa();zu(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&hu(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),nu(o.latestValues)&&hu(n,o.latestValues)}return nu(this.latestValues)&&hu(n,this.latestValues),n}},{key:"removeTransform",value:function(e){var t=Qa();zu(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n];if(r.instance&&nu(r.latestValues)){tu(r.latestValues)&&r.updateSnapshot();var o=Qa();zu(o,r.measurePageBox()),qu(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,o)}}return nu(this.latestValues)&&qu(t,this.latestValues),t}},{key:"setTargetDelta",value:function(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}},{key:"setOptions",value:function(e){this.options=Je(Je(Je({},this.options),e),{},{crossfade:void 0===e.crossfade||e.crossfade})}},{key:"clearMeasurements",value:function(){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}},{key:"resolveTargetDelta",value:function(){var e,t=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
2isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty),!!((Boolean(this.resumingFrom)||this!==t)&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget)){var n=this.options,r=n.layout,o=n.layoutId;if(this.layout&&(r||o)){if(!this.targetDelta&&!this.relativeTarget){var i=this.getClosestProjectingParent();i&&i.layout?(this.relativeParent=i,this.relativeTarget=Qa(),this.relativeTargetOrigin=Qa(),Wa(this.relativeTargetOrigin,this.layout.layoutBox,i.layout.layoutBox),zu(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,u,l;if(this.target||(this.target=Qa(),this.targetWithTransforms=Qa()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(a=this.target,u=this.relativeTarget,l=this.relativeParent.target,Ba(a.x,u.x,l.x),Ba(a.y,u.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):zu(this.target,this.layout.layoutBox),lu(this.target,this.targetDelta)):zu(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;var s=this.getClosestProjectingParent();s&&Boolean(s.resumingFrom)===Boolean(this.resumingFrom)&&!s.options.layoutScroll&&s.target?(this.relativeParent=s,this.relativeTarget=Qa(),this.relativeTargetOrigin=Qa(),Wa(this.relativeTargetOrigin,this.target,s.target),zu(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ol.resolvedTargetDeltas++}}}}},{key:"getClosestProjectingParent",value:function(){if(this.parent&&!tu(this.parent.latestValues)&&!ru(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}},{key:"isProjecting",value:function(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}},{key:"calcProjection",value:function(){var e,t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),!r){var o=this.options,i=o.layout,a=o.layoutId;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(i||a)){zu(this.layoutCorrected,this.layout.layoutBox),function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.length;if(o){var i,a;t.x=t.y=1;for(var u=0;u<o;u++){a=(i=n[u]).projectionDelta;var l=i.instance;l&&l.style&&"contents"===l.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&hu(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,lu(e,a)),r&&nu(i.latestValues)&&hu(e,i.latestValues))}t.x=su(t.x),t.y=su(t.y)}}(this.layoutCorrected,this.treeScale,this.path,n);var u=t.target;if(u){this.projectionDelta||(this.projectionDelta=Ga(),this.projectionDeltaWithTransform=Ga());var l=this.treeScale.x,s=this.treeScale.y,c=this.projectionTransform;za(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=Zu(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===l&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),ol.recalculatedProjection++}}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.options.scheduleRender&&this.options.scheduleRender(),e){var t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"setAnimationOrigin",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.snapshot,o=r?r.latestValues:{},i=Je({},this.latestValues),a=Ga();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;var u,l=Qa(),s=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),f=!c||c.members.length<=1,d=Boolean(s&&!f&&!0===this.options.crossfade&&!this.path.some(wl));this.animationProgress=0,this.mixTargetDelta=function(n){var r=n/1e3;gl(a.x,e.x,r),gl(a.y,e.y,r),t.setTargetDelta(a),t.relativeTarget&&t.relativeTargetOrigin&&t.layout&&t.relativeParent&&t.relativeParent.layout&&(Wa(l,t.layout.layoutBox,t.relativeParent.layout.layoutBox),function(e,t,n,r){bl(e.x,t.x,n.x,r),bl(e.y,t.y,n.y,r)}(t.relativeTarget,t.relativeTargetOrigin,l,r),u&&Yu(t.relativeTarget,u)&&(t.isProjectionDirty=!1),u||(u=Qa()),zu(u,t.relativeTarget)),s&&(t.animationValues=i,function(e,t,n,r,o,i){o?(e.opacity=Yo(0,void 0!==n.opacity?n.opacity:1,Iu(r)),e.o
2pacityExit=Yo(void 0!==t.opacity?t.opacity:1,0,Fu(r))):i&&(e.opacity=Yo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(var a=0;a<_u;a++){var u="border".concat(Nu[a],"Radius"),l=Mu(t,u),s=Mu(n,u);void 0===l&&void 0===s||(l||(l=0),s||(s=0),0===l||0===s||Du(l)===Du(s)?(e[u]=Math.max(Yo(Lu(l),Lu(s),r),0),(wn.test(s)||wn.test(l))&&(e[u]+="%")):e[u]=s)}(t.rotate||n.rotate)&&(e.rotate=Yo(t.rotate||0,n.rotate||0,r))}(i,o,t.latestValues,r,d,f)),t.root.scheduleUpdateProjection(),t.scheduleRender(),t.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}},{key:"startAnimation",value:function(e){var t=this;this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Yr.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Xr.update((function(){zt.hasAnimatedSinceResize=!0,t.currentAnimation=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=tn(e)?e:io(e);return r.start(va("",r,t,n)),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,nl,Je(Je({},e),{},{onUpdate:function(n){t.mixTargetDelta(n),e.onUpdate&&e.onUpdate(n)},onComplete:function(){e.onComplete&&e.onComplete(),t.completeAnimation()}})),t.resumingFrom&&(t.resumingFrom.currentAnimation=t.currentAnimation),t.pendingAnimation=void 0}))}},{key:"completeAnimation",value:function(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);var e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(nl),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;if(t&&n&&r){if(this!==e&&this.layout&&r&&El(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Qa();var i=Fa(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+i;var a=Fa(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+a}zu(t,n),hu(t,o),za(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}},{key:"registerSharedNode",value:function(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Qu),this.sharedNodes.get(e).add(t);var n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}},{key:"isLead",value:function(){var e=this.getStack();return!e||e.lead===this}},{key:"getLead",value:function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}},{key:"getPrevLead",value:function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}},{key:"getStack",value:function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)}},{key:"promote",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.needsReset,n=e.transition,r=e.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}},{key:"relegate",value:function(){var e=this.getStack();return!!e&&e.relegate(this)}},{key:"resetRotation",value:function(){var e=this.options.visualElement;if(e){var t=!1,n=e.latestValues;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),t){for(var r={},o=0;o<tl.length;o++){var i="rotate"+tl[o];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}for(var a in e.render(),r)e.setStaticValue(a,r[a]);e.scheduleRender()}}}},{key:"getProjectionStyles",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";var o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tr(n.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;var i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){var a={};return this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=tr(n.pointerEvents)||""),this.hasProjected&&!nu(this.latestValues)&&(a.transform=o?o({},""):"none",this.hasProjected=!1),a}var u=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=Zu(this.projectionDeltaWithTransform,this.treeScale,u),o&&(r.transform=o(u,r.transform));var l=this.projectionDelta,s=l.x,c=l.y;for(var f in r.transformOrigin="".concat(100*s.origin,"% ").concat(100*c.origin,"% 0"),i.animationValues?r.opacity=i===this?null!==(t=null!==(e=u.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==t?t:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:r.opacity=i===this?void 0!==u.opacity?u.opacity:"":void 0!==u.opacityExit?u.opacityExit:0,Qt)if(void 0!==u[f]){var d=Qt[f],p=d.correct,h=d.applyTo,v="none"===r.transform?u[f]:p(u[f],i);if(h)for(var m=h.length,y=0;y<m;y++)r[h[y]]=v;else r[f]=v}return this.options.layoutId&&(r.pointerEvents=i===this?tr(n.pointerEvents)||"":"none"),r}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}}
2,{key:"resetTree",value:function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(fl),this.root.sharedNodes.clear()}}]),e}()}function al(e){e.updateLayout()}function ul(e){var t,n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){var r=e.layout,o=r.layoutBox,i=r.measuredBox,a=e.options.animationType,u=n.source!==e.layout.source;"size"===a?Za((function(e){var t=u?n.measuredBox[e]:n.layoutBox[e],r=Fa(t);t.min=o[e].min,t.max=t.min+r})):El(a,n.layoutBox,o)&&Za((function(e){var t=u?n.measuredBox[e]:n.layoutBox[e],r=Fa(o[e]);t.max=t.min+r}));var l=Ga();za(l,o,n.layoutBox);var s=Ga();u?za(s,e.applyTransform(i,!0),n.measuredBox):za(s,o,n.layoutBox);var c=!Xu(l),f=!1;if(!e.resumeFrom){var d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){var p=d.snapshot,h=d.layout;if(p&&h){var v=Qa();Wa(v,n.layoutBox,p.layoutBox);var m=Qa();Wa(m,o,h.layoutBox),Yu(v,m)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:n,delta:s,layoutDelta:l,hasLayoutChanged:c,hasRelativeTargetChanged:f})}else if(e.isLead()){var y=e.options.onExitComplete;y&&y()}e.options.transition=void 0}function ll(e){ol.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function sl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function cl(e){e.clearSnapshot()}function fl(e){e.clearMeasurements()}function dl(e){var t=e.options.visualElement;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function hl(e){e.resolveTargetDelta()}function vl(e){e.calcProjection()}function ml(e){e.resetRotation()}function yl(e){e.removeLeadSnapshot()}function gl(e,t,n){e.translate=Yo(t.translate,0,n),e.scale=Yo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function bl(e,t,n,r){e.min=Yo(t.min,n.min,r),e.max=Yo(t.max,n.max,r)}function wl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var xl={duration:.45,ease:[.4,0,.1,1]};function kl(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function Sl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function El(e,t,n){return"position"===e||"preserve-aspect"===e&&!Va(Gu(t),Gu(n),.2)}var Pl=il({attachResizeListener:function(e,t){return ur(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Cl={current:void 0},Ol=il({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Cl.current){var e=new Pl(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Cl.current=e}return Cl.current},resetTransform:function(e,t){e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),jl={pan:{Feature:wu},drag:{Feature:bu,ProjectionNode:Ol,MeasureLayout:Ru}},Tl=new Set(["width","height","top","left","right","bottom","x","y"]),Rl=function(e){return Tl.has(e)},Al=function(e){return Object.keys(e).some(Rl)},Nl=function(e){return e===cn||e===xn},_l=function(e,t){return parseFloat(e.split(", ")[t])},Ll=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return _l(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_l(a[1],e):0}},Dl=new Set(["x","y","z"]),Ml=Zt.filter((function(e){return!Dl.has(e)}));var Il={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Ll(4,13),y:Ll(5,14)},Fl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=Je({},t),r=Je({},r);var o=Object.keys(t).filter(Rl),i=[],a=!1,u=[];
2if(o.forEach((function(o){var l=e.getValue(o);if(e.hasValue(o)){var s,c=n[o],f=Ro(c),d=t[o];if(Zn(d)){var p=d.length,h=null===d[0]?1:0;c=d[h],f=Ro(c);for(var v=h;v<p;v++)s?zo(Ro(d[v])===s,"All keyframes must be of the same type"):(s=Ro(d[v]),zo(s===f||Nl(f)&&Nl(s),"Keyframes must be of the same dimension as the current value"))}else s=Ro(d);if(f!==s)if(Nl(f)&&Nl(s)){var m=l.get();"string"===typeof m&&l.set(parseFloat(m)),"string"===typeof d?t[o]=parseFloat(d):Array.isArray(d)&&s===xn&&(t[o]=d.map(parseFloat))}else(null===f||void 0===f?void 0:f.transform)&&(null===s||void 0===s?void 0:s.transform)&&(0===c||0===d)?0===c?l.set(s.transform(c)):t[o]=f.transform(d):(a||(i=function(e){var t=[];return Ml.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}})),u.length){var l=u.indexOf("height")>=0?window.pageYOffset:null,s=function(e,t,n){var r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),a=i.display,u={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){u[e]=Il[e](r,i)})),t.render();var l=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);r&&r.jump(u[n]),e[n]=Il[n](l,i)})),e}(t,e,u);return i.length&&i.forEach((function(t){var n=T(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.render(),St&&null!==l&&window.scrollTo({top:l}),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}};var Vl=function(e,t,n,r){var o=Cu(e,t,r);return function(e,t,n,r){return Al(t)?Fl(e,t,n,r):{target:t,transitionEnd:r}}(e,t=o.target,n,r=o.transitionEnd)},Ul={current:null},zl={current:!1};var Bl=["willChange"],Hl=["children"],Wl=Object.keys(It),$l=Wl.length,ql=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Kl=At.length,Xl=function(){function e(t){var n=this,r=t.parent,o=t.props,i=t.presenceContext,a=t.reducedMotionConfig,u=t.visualState,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(this,e),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return n.notify("Update",n.latestValues)},this.render=function(){n.current&&(n.triggerBuild(),n.renderInstance(n.current,n.renderState,n.props.style,n.projection))},this.scheduleRender=function(){return Xr.render(n.render,!1,!0)};var s=u.latestValues,c=u.renderState;this.latestValues=s,this.baseTarget=Je({},s),this.initialValues=o.initial?Je({},s):{},this.renderState=c,this.parent=r,this.props=o,this.presenceContext=i,this.depth=r?r.depth+1:0,this.reducedMotionConfig=a,this.options=l,this.isControllingVariants=Nt(o),this.isVariantNode=_t(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(r&&r.current);var f=this.scrapeMotionValuesFromProps(o,{}),d=f.willChange,p=et(f,Bl);for(var h in p){var v=p[h];void 0!==s[h]&&tn(v)&&(v.set(s[h],!1),Fo(d)&&d.add(h))}}return M(e,[{key:"scrapeMotionValuesFromProps",value:function(e,t){return{}}},{key:"mount",value:function(e){var t=this;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((function(e,n){return t.bindToMotionValue(n,e)})),zl.current||function(){if(zl.current=!0,St)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Ul.current=e.matches};e.addListener(t),t()}else Ul.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ul.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}},{key:"unmount",value:function(){for(var e in this.projection&&this.projection.unmount(),Yr.update(this.notifyUpdate),Yr.render(this.render),this.valueSubscriptions.forEach((function(e){return e()})),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(var t in this.features)this.features[t].unmount();this.current=null}},{key:"bindToMotionValue",value:function(e,t){var n=this,r=Jt.has(e),o=t.on("change",(function(t){n.latestValues[e]=t,n.props.onUpdate&&Xr.update(n.notifyUpdate,!1,!0),r&&n.projection&&(n.projection.isTransformDirty=!0)})),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(function(){o(),i()}))}}
2,{key:"sortNodePosition",value:function(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}},{key:"loadFeatures",value:function(e,t,n,r,o){for(var i,a,u=this,l=(e.children,et(e,Hl)),s=0;s<$l;s++){var c=Wl[s],f=It[c],d=f.isEnabled,p=f.Feature,h=f.ProjectionNode,v=f.MeasureLayout;h&&(i=h),d(l)&&(!this.features[c]&&p&&(this.features[c]=new p(this)),v&&(a=v))}if(!this.projection&&i){this.projection=new i(r,this.latestValues,this.parent&&this.parent.projection);var m=l.layoutId,y=l.layout,g=l.drag,b=l.dragConstraints,w=l.layoutScroll,x=l.layoutRoot;this.projection.setOptions({layoutId:m,layout:y,alwaysMeasureLayout:Boolean(g)||b&&Ot(b),visualElement:this,scheduleRender:function(){return u.scheduleRender()},animationType:"string"===typeof y?y:"both",initialPromotionConfig:o,layoutScroll:w,layoutRoot:x})}return a}},{key:"updateFeatures",value:function(){for(var e in this.features){var t=this.features[e];t.isMounted?t.update(this.props,this.prevProps):(t.mount(),t.isMounted=!0)}}},{key:"triggerBuild",value:function(){this.build(this.renderState,this.latestValues,this.options,this.props)}},{key:"measureViewportBox",value:function(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Qa()}},{key:"getStaticValue",value:function(e){return this.latestValues[e]}},{key:"setStaticValue",value:function(e,t){this.latestValues[e]=t}},{key:"makeTargetAnimatable",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.makeTargetAnimatableFromInstance(e,this.props,t)}},{key:"update",value:function(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(var n=0;n<ql.length;n++){var r=ql[n];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);var o=e["on"+r];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=function(e,t,n){var r=t.willChange;for(var o in t){var i=t[o],a=n[o];if(tn(i))e.addValue(o,i),Fo(r)&&r.add(o);else if(tn(a))e.addValue(o,io(i,{owner:e})),Fo(r)&&r.remove(o);else if(a!==i)if(e.hasValue(o)){var u=e.getValue(o);!u.hasAnimated&&u.set(i)}else{var l=e.getStaticValue(o);e.addValue(o,io(void 0!==l?l:i,{owner:e}))}}for(var s in n)void 0===t[s]&&e.removeValue(s);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}},{key:"getProps",value:function(){return this.props}},{key:"getVariant",value:function(e){return this.props.variants?this.props.variants[e]:void 0}},{key:"getDefaultTransition",value:function(){return this.props.transition}},{key:"getTransformPagePoint",value:function(){return this.props.transformPagePoint}},{key:"getClosestVariantNode",value:function(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}},{key:"getVariantContext",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){var e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}for(var t={},n=0;n<Kl;n++){var r=At[n],o=this.props[r];(jt(o)||!1===o)&&(t[r]=o)}return t}},{key:"addVariantChild",value:function(e){var t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),function(){return t.variantChildren.delete(e)}}},{key:"addValue",value:function(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}},{key:"removeValue",value:function(e){this.values.delete(e);var t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}},{key:"hasValue",value:function(e){return this.values.has(e)}},{key:"getValue",value:function(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];var n=this.values.get(e);return void 0===n&&void 0!==t&&(n=io(t,{owner:this}),this.addValue(e,n)),n}},{key:"readValue",value:function(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}},{key:"setBaseTarget",value:function(e,t){this.baseTarget[e]=t}},{key:"getBaseTarget",value:function(e){var t,n=this.props.initial,r="string"===typeof n||"object"===typeof n?null===(t=Qn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;var o=this.getBaseTargetFromProps(this.props,e);return void 0===o||tn(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}},{key:"on",value:function(e,t){return this.events[e]||(this.events[e]=new no),this.events[e].add(t)}},{key:"notify",value:function(e){if(this.events[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=this.events[e]).notify.apply(t,r)}}}]),e}(),Yl=["transition","transitionEnd"],Gl=function(e){F(n,e);var t=B(n);function n(){return N(this,n),t.apply(this,arguments)}return M(n,[{key:"sortInstanceNodePosition",value:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1}},{key:"getBaseTargetFromProps",value:function(e,t){return e.style?e.style[t]:void 0}},{key:"removeValueFromRenderState",value:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]}},{key:"makeTargetAnimatableFromInstance",value:function(e,t,n){var r=e.transition,o=e.transitionEnd,i=et(e,Yl),a=t.transformValues,u=function(e,t,n){var r={};for(var o in e){var i=Io(o,t);
2if(void 0!==i)r[o]=i;else{var a=n.getValue(o);a&&(r[o]=a.get())}}return r}(i,r||{},this);if(a&&(o&&(o=a(o)),i&&(i=a(i)),u&&(u=a(u))),n){!function(e,t,n){var r,o,i=Object.keys(t).filter((function(t){return!e.hasValue(t)})),a=i.length;if(a)for(var u=0;u<a;u++){var l=i[u],s=t[l],c=null;Array.isArray(s)&&(c=s[0]),null===c&&(c=null!==(o=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==o?o:t[l]),void 0!==c&&null!==c&&("string"===typeof c&&(Ir(c)||Fr(c))?c=parseFloat(c):!No(c)&&wo.test(s)&&(c=Oo(l,s)),e.addValue(l,io(c,{owner:e})),void 0===n[l]&&(n[l]=c),null!==c&&e.setBaseTarget(l,c))}}(this,i,u);var l=Vl(this,i,u,o);o=l.transitionEnd,i=l.target}return Je({transition:r,transitionEnd:o},i)}}]),n}(Xl);var Ql=function(e){F(n,e);var t=B(n);function n(){return N(this,n),t.apply(this,arguments)}return M(n,[{key:"readValueFromInstance",value:function(e,t){if(Jt.has(t)){var n=Co(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r)),i=(an(t)?o.getPropertyValue(t):o[t])||0;return"string"===typeof i?i.trim():i}},{key:"measureInstanceViewportBox",value:function(e,t){return vu(e,t.transformPagePoint)}},{key:"build",value:function(e,t,n,r){On(e,t,n,r.transformTemplate)}},{key:"scrapeMotionValuesFromProps",value:function(e,t){return Yn(e,t)}},{key:"handleChildMotionValue",value:function(){var e=this;this.childSubscription&&(this.childSubscription(),delete this.childSubscription);var t=this.props.children;tn(t)&&(this.childSubscription=t.on("change",(function(t){e.current&&(e.current.textContent="".concat(t))})))}},{key:"renderInstance",value:function(e,t,n,r){qn(e,t,n,r)}}]),n}(Gl);function Zl(){return Zl="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=V(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Zl.apply(this,arguments)}var Jl=function(e){F(n,e);var t=B(n);function n(){var e;return N(this,n),(e=t.apply(this,arguments)).isSVGTag=!1,e}return M(n,[{key:"getBaseTargetFromProps",value:function(e,t){return e[t]}},{key:"readValueFromInstance",value:function(e,t){if(Jt.has(t)){var n=Co(t);return n&&n.default||0}return t=Kn.has(t)?t:$n(t),e.getAttribute(t)}},{key:"measureInstanceViewportBox",value:function(){return Qa()}},{key:"scrapeMotionValuesFromProps",value:function(e,t){return Gn(e,t)}},{key:"build",value:function(e,t,n,r){Un(e,t,n,this.isSVGTag,r.transformTemplate)}},{key:"renderInstance",value:function(e,t,n,r){Xn(e,t,0,r)}},{key:"mount",value:function(e){this.isSVGTag=Bn(e.tagName),Zl(V(n.prototype),"mount",this).call(this,e)}}]),n}(Gl),es=function(e,t){return Gt(e)?new Jl(t,{enableHardwareAcceleration:!1}):new Ql(t,{enableHardwareAcceleration:!0})},ts={layout:{ProjectionNode:Ol,MeasureLayout:Ru}},ns=Je(Je(Je(Je({},Ta),Dr),jl),ts),rs=Xt((function(e,t){return function(e,t,n,r){var o=t.forwardMotionProps,i=void 0!==o&&o;return Je(Je({},Gt(e)?ir:ar),{},{preloadedFeatures:n,useRender:Wn(i),createVisualElement:r,Component:e})}(e,t,ns,es)}));function os(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function is(e){return!!e&&!!e[Xs]}function as(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Ys}(e)||Array.isArray(e)||!!e[Ks]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Ks])||ps(e)||hs(e))}function us(e,t,n){void 0===n&&(n=!1),0===ls(e)?(n?Object.keys:Gs)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function ls(e){var t=e[Xs];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ps(e)?2:hs(e)?3:0}function ss(e,t){return 2===ls(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function cs(e,t){return 2===ls(e)?e.get(t):e[t]}function fs(e,t,n){var r=ls(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function ds(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function ps(e){return Hs&&e instanceof Map}function hs(e){return Ws&&e instanceof Set}function vs(e){return e.o||e.t}function ms(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Qs(e);delete t[Xs];for(var n=Gs(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function ys(e,t){return void 0===t&&(t=!1),bs(e)||is(e)||!as(e)||(ls(e)>1&&(e.set=e.add=e.clear=e.delete=gs),Object.freeze(e),t&&us(e,(function(e,t){return ys(t,!0)}),!0)),e}function gs(){os(2)}function bs(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function ws(e){var t=Zs[e];return t||os(18,e),t}function xs(e,t){Zs[e]||(Zs[e]=t)}function ks(){return zs}function Ss(e,t){t&&(ws("Patches"),e.u=[],e.s=[],e.v=t)}function Es(e){Ps(e),e.p.forEach(Os),e.p=null}function Ps(e){e===zs&&(zs=e.l)}function Cs(e){return zs={p:[],l:zs,h:e,m:!0,_:0}}function Os(e){var t=e[Xs];0===t.i||1===t.i?t.j():t.O=!0}function js(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||ws("ES5").S(t,e,r),r?(n[Xs].P&&(Es(t),os(4)),as(e)&&(e=Ts(t,e),t.l||As(t,e)),t.u&&ws("Patches").M(n[Xs].t,e,t.u,t.s)):e=Ts(t,n,[]),Es(t),t.u&&t.v(t.u,t.s),e!==qs?e:void 0}
vendor: 6,909 bytes, line 2
2function Ts(e,t,n){if(bs(t))return t;var r=t[Xs];if(!r)return us(t,(function(o,i){return Rs(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return As(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=ms(r.k):r.o,i=o,a=!1;3===r.i&&(i=new Set(o),o.clear(),a=!0),us(i,(function(t,i){return Rs(e,r,o,t,i,n,a)})),As(e,o,!1),n&&e.u&&ws("Patches").N(r,n,e.u,e.s)}return r.o}function Rs(e,t,n,r,o,i,a){if(is(o)){var u=Ts(e,o,i&&t&&3!==t.i&&!ss(t.R,r)?i.concat(r):void 0);if(fs(n,r,u),!is(u))return;e.m=!1}else a&&n.add(o);if(as(o)&&!bs(o)){if(!e.h.D&&e._<1)return;Ts(e,o),t&&t.A.l||As(e,o)}}function As(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&ys(t,n)}function Ns(e,t){var n=e[Xs];return(n?vs(n):e)[t]}function _s(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Ls(e){e.P||(e.P=!0,e.l&&Ls(e.l))}function Ds(e){e.o||(e.o=ms(e.t))}function Ms(e,t,n){var r=ps(t)?ws("MapSet").F(t,n):hs(t)?ws("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:ks(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Js;n&&(o=[r],i=ec);var a=Proxy.revocable(o,i),u=a.revoke,l=a.proxy;return r.k=l,r.j=u,l}(t,n):ws("ES5").J(t,n);return(n?n.A:ks()).p.push(r),r}function Is(e){return is(e)||os(22,e),function e(t){if(!as(t))return t;var n,r=t[Xs],o=ls(t);if(r){if(!r.P&&(r.i<4||!ws("ES5").K(r)))return r.t;r.I=!0,n=Fs(t,o),r.I=!1}else n=Fs(t,o);return us(n,(function(t,o){r&&cs(r.t,t)===o||fs(n,t,e(o))})),3===o?new Set(n):n}(e)}function Fs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ms(e)}function Vs(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Xs];return Js.get(t,e)},set:function(t){var n=this[Xs];Js.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Xs];if(!o.P)switch(o.i){case 5:r(o)&&Ls(o);break;case 4:n(o)&&Ls(o)}}}function n(e){for(var t=e.t,n=e.k,r=Gs(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Xs){var a=t[i];if(void 0===a&&!ss(t,i))return!0;var u=n[i],l=u&&u[Xs];if(l?l.t!==a:!ds(u,a))return!0}}var s=!!t[Xs];return r.length!==Gs(t).length+(s?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};xs("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Qs(n);delete i[Xs];for(var a=Gs(i),u=0;u<a.length;u++){var l=a[u];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:ks(),P:!1,I:!1,R:{},l:n,t:t,k:o,o:null,O:!1,C:!1};return Object.defineProperty(o,Xs,{value:i,writable:!0}),o},S:function(e,n,o){o?is(n)&&n[Xs].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Xs];if(n){var o=n.t,i=n.k,a=n.R,u=n.i;if(4===u)us(i,(function(t){t!==Xs&&(void 0!==o[t]||ss(o,t)?a[t]||e(i[t]):(a[t]=!0,Ls(n)))})),us(o,(function(e){void 0!==i[e]||ss(i,e)||(a[e]=!1,Ls(n))}));else if(5===u){if(r(n)&&(Ls(n),a.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)a[l]=!1;else for(var s=o.length;s<i.length;s++)a[s]=!0;for(var c=Math.min(i.length,o.length),f=0;f<c;f++)i.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}var Us,zs,Bs="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hs="undefined"!=typeof Map,Ws="undefined"!=typeof Set,$s="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,qs=Bs?Symbol.for("immer-nothing"):((Us={})["immer-nothing"]=!0,Us),Ks=Bs?Symbol.for("immer-draftable"):"__$immer_draftable",Xs=Bs?Symbol.for("immer-state"):"__$immer_state",Ys=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Gs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Qs=Object.getOwnPropertyDescriptors||function(e){var t={};return Gs(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Zs={},Js={get:function(e,t){if(t===Xs)return e;var n=vs(e);if(!ss(n,t))return function(e,t,n){var r,o=_s(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!as(r)?r:r===Ns(e.t,t)?(Ds(e),e.o[t]=Ms(e.A.h,r,e)):r},has:function(e,t){return t in vs(e)},ownKeys:function(e){return Reflect.ownKeys(vs(e))},set:function(e,t,n){var r=_s(vs(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Ns(vs(e),t),i=null==o?void 0:o[Xs];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(ds(n,o)&&(void 0!==n||ss(e.t,t)))return!0;Ds(e),Ls(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Ns(e.t,t)||t in e.t?(e.R[t]=!1,Ds(e),Ls(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=vs(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){os(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){os(12)}},ec={};us(Js,(function(e,t){ec[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ec.deleteProperty=function(e,t){return ec.set.call(this,e,t,void 0)},ec.set=function(e,t,n){return Js.set.call(this,e[0],t,n,e[0])};var tc=function(){function e(e){var t=this;this.g=$s,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),u=1;u<r;u++)a[u-1]=arguments[u];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&os(6),void 0!==r&&"function"!=typeof r&&os(7),as(e)){var u=Cs(t),l=Ms(t,e,void 0),s=!0;try{a=n(l),s=!1}finally{s?Es(u):Ps(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Ss(u,r),js(e,u)}),(function(e){throw Es(u),e})):(Ss(u,r),js(a,u))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===qs&&(a=void 0),t.D&&ys(a,!0),r){var c=[],f=[];ws("Patches").M(e,a,c,f),r(c,f)}return a}os(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]}
vendor: 5,265 bytes, line 2
2)):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){as(e)||os(8),is(e)&&(e=Is(e));var t=Cs(this),n=Ms(this,e,void 0);return n[Xs].C=!0,Ps(t),n},t.finishDraft=function(e,t){var n=(e&&e[Xs]).A;return Ss(n,t),js(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!$s&&os(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=ws("Patches").$;return is(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),nc=new tc,rc=nc.produce,oc=(nc.produceWithPatches.bind(nc),nc.setAutoFreeze.bind(nc),nc.setUseProxies.bind(nc),nc.applyPatches.bind(nc),nc.createDraft.bind(nc),nc.finishDraft.bind(nc),rc);function ic(e){return ic="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ic(e)}function ac(e){var t=function(e,t){if("object"!==ic(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ic(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ic(t)?t:String(t)}function uc(e,t,n){return(t=ac(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lc(Object(n),!0).forEach((function(t){uc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cc(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var fc="function"===typeof Symbol&&Symbol.observable||"@@observable",dc=function(){return Math.random().toString(36).substring(7).split("").join(".")},pc={INIT:"@@redux/INIT"+dc(),REPLACE:"@@redux/REPLACE"+dc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+dc()}};function hc(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vc(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(cc(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(cc(1));return n(vc)(e,t)}if("function"!==typeof e)throw new Error(cc(2));var o=e,i=t,a=[],u=a,l=!1;function s(){u===a&&(u=a.slice())}function c(){if(l)throw new Error(cc(3));return i}function f(e){if("function"!==typeof e)throw new Error(cc(4));if(l)throw new Error(cc(5));var t=!0;return s(),u.push(e),function(){if(t){if(l)throw new Error(cc(6));t=!1,s();var n=u.indexOf(e);u.splice(n,1),a=null}}}function d(e){if(!hc(e))throw new Error(cc(7));if("undefined"===typeof e.type)throw new Error(cc(8));if(l)throw new Error(cc(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}return d({type:pc.INIT}),(r={dispatch:d,subscribe:f,getState:c,replaceReducer:function(e){if("function"!==typeof e)throw new Error(cc(10));o=e,d({type:pc.REPLACE})}})[fc]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(cc(11));function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[fc]=function(){return this},e},r}function mc(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:pc.INIT}))throw new Error(cc(12));if("undefined"===typeof n(void 0,{type:pc.PROBE_UNKNOWN_ACTION()}))throw new Error(cc(13))}))}(n)}catch(u){i=u}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},u=0;u<a.length;u++){var l=a[u],s=n[l],c=e[l],f=s(c,t);if("undefined"===typeof f){t&&t.type;throw new Error(cc(14))}o[l]=f,r=r||f!==c}return(r=r||a.length!==Object.keys(e).length)?o:e}}function yc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function gc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(cc(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}
2));return r=yc.apply(void 0,i)(n.dispatch),sc(sc({},n),{},{dispatch:r})}}}function bc(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var wc=bc();wc.withExtraArgument=bc;var xc=wc,kc=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Sc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},Ec=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},Pc=Object.defineProperty,Cc=Object.defineProperties,Oc=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,Tc=Object.prototype.hasOwnProperty,Rc=Object.prototype.propertyIsEnumerable,Ac=function(e,t,n){return t in e?Pc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Nc=function(e,t){for(var n in t||(t={}))Tc.call(t,n)&&Ac(e,n,t[n]);if(jc)for(var r=0,o=jc(t);r<o.length;r++){n=o[r];Rc.call(t,n)&&Ac(e,n,t[n])}return e},_c=function(e,t){return Cc(e,Oc(t))},Lc=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{u(n.next(e))}catch(t){o(t)}},a=function(e){try{u(n.throw(e))}catch(t){o(t)}},u=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};u((n=n.apply(e,t)).next())}))},Dc="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?yc:yc.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Mc(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var Ic=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return kc(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Ec([void 0],e[0].concat(this)))):new(t.bind.apply(t,Ec([void 0],e.concat(this))))},t}(Array);function Fc(e){return as(e)?oc(e,(function(){})):e}function Vc(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new Ic);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(xc.withExtraArgument(n.extraArgument)):r.push(xc));0;return r}(e)}}var Uc=!0;function zc(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];
2if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return Nc(Nc({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function Bc(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function Hc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:Fc(e.initialState),o=e.reducers||{},i=Object.keys(o),a={},u={},l={};function s(){var t="function"===typeof e.extraReducers?Bc(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,l=t[2],s=void 0===l?void 0:l,c=Nc(Nc({},o),u);return function(e,t,n,r){void 0===n&&(n=[]);var o,i="function"===typeof t?Bc(t):[t,n,r],a=i[0],u=i[1],l=i[2];if(function(e){return"function"===typeof e}(e))o=function(){return Fc(e())};else{var s=Fc(e);o=function(){return s}}function c(e,t){void 0===e&&(e=o());var n=Ec([a[t.type]],u.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var r;if(is(e))return void 0===(r=n(e,t))?e:r;if(as(e))return oc(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return c.getInitialState=o,c}(r,(function(e){for(var t in c)e.addCase(t,c[t]);for(var n=0,r=a;n<r.length;n++){var o=r[n];e.addMatcher(o.matcher,o.reducer)}s&&e.addDefaultCase(s)}))}return i.forEach((function(e){var n,r,i=o[e],s=t+"/"+e;"reducer"in i?(n=i.reducer,r=i.prepare):n=i,a[e]=n,u[s]=n,l[e]=r?zc(s,r):zc(s)})),{name:t,reducer:function(e,t){return n||(n=s()),n(e,t)},actions:l,caseReducers:a,getInitialState:function(){return n||(n=s()),n.getInitialState()}}}var Wc=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},$c=["name","message","stack","code"],qc=function(e,t){this.payload=e,this.meta=t},Kc=function(e,t){this.payload=e,this.meta=t},Xc=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=$c;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}};!function(){function e(e,t,n){var r=zc(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:_c(Nc({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=zc(e+"/pending",(function(e,t,n){return{payload:void 0,meta:_c(Nc({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),i=zc(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||Xc)(e||"Rejected"),meta:_c(Nc({},i||{}),{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(u,l,s){var c,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):Wc(),d=new a;function p(e){c=e,d.abort()}var h=function(){return Lc(this,null,(function(){var a,h,v,m,y,g;return Sc(this,(function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),m=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:l,extra:s}),null===(w=m)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,m];case 1:m=b.sent(),b.label=2;case 2:if(!1===m||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,y=new Promise((function(e,t){return d.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:c||"Aborted"})}))})),u(o(f,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:f,arg:e},{getState:l,extra:s}))),[4,Promise.race([y,Promise.resolve(t(e,{dispatch:u,getState:l,extra:s,requestId:f,signal:d.signal,abort:p,rejectWithValue:function(e,t){return new qc(e,t)},fulfillWithValue:function(e,t){return new Kc(e,t)}})).then((function(t){if(t instanceof qc)throw t;return t instanceof Kc?r(t.payload,f,e,t.meta):r(t,f,e)}))])];case 3:return v=b.sent(),[3,5];case 4:return g=b.sent(),v=g instanceof qc?i(null,f,e,g.payload,g.meta):i(g,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&i.match(v)&&v.meta.condition||u(v),[2,v]}var w}))}))}();return Object.assign(h,{abort:p,requestId:f,arg:e,unwrap:function(){return h.then(Yc)}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:e})}e.withTypes=function(){return e}}();function Yc(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var Gc="listenerMiddleware";zc(Gc+"/add"),zc(Gc+"/removeAll"),zc(Gc+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var Qc,Zc=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Zc(10);Vs();var Jc=Hc({name:"model",initialState:{model:null,scale:1,isPressed:!1,mobileFramerHeight:"20vh",desktopFramerHeight:"20vh",mobileModelHeight:"70vh",desktopModelHeight:"60vh"},reducers:{setModel:function(e,t){e.model=t.payload},setIsPressed:function(e,t){e.isPressed=t.payload},setMobileFramerHeight:function(e,t){e.mobileFramerHeight=t.payload},setDesktopFramerHeight:function(e,t){e.desktopFramerHeight=t.payload},setMobileModelHeight:function(e,t){e.mobileModelHeight=t.payload},setDesktopModelHeight:function(e,t){e.desktopModelHeight=t.payload},setScale:function(e,t){e.scale=t.payload}}}),ef=function(e){return e.model.model},tf=Jc.actions,nf=function(e){return e.model.isPressed},rf=Jc.actions,of=rf.setModel,af=rf.setIsPressed,uf=Jc.reducer,lf=Hc({name:"framer",initialState:{initial:{scale:1.8,rotate:10,borderRadius:"10%"},final:{scaleX:1.8,scaleY:.8,translateY:"20vh",rotate:120,borderRadius:"50%"},background:"pink"},reducers:{setInitial:function(e,t){e.initial=t.payload},setFinal:function(e,t){e.final=t.payload}
2,setBackground:function(e,t){e.background=t.payload}}}),sf=function(e){return e.framer},cf=lf.actions,ff=lf.reducer;function df(e){var t,n=E();return(0,rt.jsx)("div",{onMouseDown:function(){n(af(!0))},onTouchStart:function(){n(af(!0))},children:(0,rt.jsx)("model-viewer",(t={style:{height:e.height,width:"100%",zIndex:1e3,position:"absolute",top:"3rem",left:0},"camera-orbit":"180deg 75deg 10m","touch-action":"pan-y","disable-zoom":!0,"camera-controls":!0,"auto-rotate":!0,"disable-tap":!0},Qe(t,"camera-controls",!0),Qe(t,"id","mv-demo"),Qe(t,"shadow-intensity","1"),Qe(t,"src",e.model),Qe(t,"alt","A 3D model of an astronaut"),Qe(t,"auto-rotate",!0),Qe(t,"poster","./spacesuit.jpg"),Qe(t,"children",e.children),t))})}function pf(e){var t=h(nf),n=h(sf);return(0,rt.jsxs)("div",{style:{position:"relative"},children:[(0,rt.jsx)(df,{background:e.background,height:e.modelHeight,model:e.model}),(0,rt.jsx)(rs.div,{style:{position:"absolute",top:0,left:0},className:"media-container",children:(0,rt.jsx)(rs.div,{variants:n,animate:t?"final":"initial",style:{background:void 0===(null===n||void 0===n?void 0:n.background)?"cyan":n.background,height:"35%",width:"35%",alignItems:"center",justifyContent:"center"}})})]})}function hf(e){var t=null!==e&&void 0!==e&&e.duration?e.duration:1;return(0,rt.jsx)(rs.div,{className:"box",initial:{opacity:0}
2,animate:{opacity:1},transition:{ease:"easeIn",duration:t},children:e.children})}var vf=n(134),mf=n.n(vf),yf=Hc({name:"logs",initialState:{index:0},reducers:{setIndex:function(e,t){e.index=t.payload}}}),gf=yf.actions,bf=function(e){return e.logs},wf=yf.reducer,xf=function(t){var n=E(),r=T((0,e.useState)(!1),2),o=r[0],i=r[1],a=T((0,e.useState)(0),2),u=a[0],l=a[1],s=T((0,e.useState)(!1),2),c=s[0],f=s[1],d=T((0,e.useState)(!1),2),p=d[0],v=d[1],m=h(bf);(0,e.useEffect)((function(){var e=function(){i(window.matchMedia("(min-width: 900px)").matches),l(window.innerWidth)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),(0,e.useEffect)((function(){c&&m.index!==t.index&&f(!1)}),[m.index]);var y=function(){c||(console.log(t),n(gf.setIndex(t.index)),n(of(t.model)),n(af(!1)),n(cf.setInitial(t.backdropVariants.initial)),n(cf.setFinal(t.backdropVariants.final)),n(tf.setScale(t.backdropVariants.scale)),f(!c),v(!1))};return(0,rt.jsxs)("div",{style:{display:"flex",flexDirection:"row",position:"relative"},children:[(0,rt.jsxs)("div",{style:{display:"flex",alignItems:"center",position:"relative"},children:[(0,rt.jsx)("div",{style:{position:"absolute",top:0,left:"50%",transform:"translateX(-50%)",height:"100%",borderLeft:c?"0px solid #01161E":"2px solid #01161E"}}),(0,rt.jsx)(rs.div,{style:{margin:".5rem",position:"relative",left:"auto",right:"auto"},className:"box",onClick:y,animate:{backgroundColor:c?t.expandedColor:t.collapsedColor,border:c?"0.25px solid black":"2px solid black",height:c?o?"28vw":"90vw":"2rem",width:c?o?"35vw":"90vw":"2rem",borderRadius:c?"10px":"50%",borderWidth:c?"1px":"0px"},transition:{duration:.5},onAnimationComplete:function(){return v(!0)},children:p&&c&&(0,rt.jsxs)("div",{style:{padding:"1rem",backgroundColor:"rgba(0,0,0,0)",height:"100%",borderRadius:"10px",display:"flex",flexDirection:"column",alignItems:"center",overflow:"hidden"},children:[(0,rt.jsx)("div",{style:{position:"absolute",top:"1rem",right:"1rem"},children:(0,rt.jsx)("button",{style:{border:"none",background:"none",cursor:"pointer"},onClick:function(){return f(!1)},children:"Close"})}),(0,rt.jsx)("h5",{style:{paddingBottom:"10px",alignSelf:"flex-start"},children:t.title}),(0,rt.jsx)("div",{children:(0,rt.jsx)(mf(),{style:{padding:"1px"},height:o?.35*u*9/16:9*(u-32)/16,width:o?.35*u:u-32,url:t.videoUrl,controls:!0})}),(0,rt.jsx)("p",{style:{paddingTop:"1rem",fontSize:"1rem",letterSpacing:"0.5px",alignSelf:"flex-start"},children:t.description})]})},t.index)]}),!c&&(0,rt.jsx)("div",{style:{display:"flex",alignItems:"center"},onClick:y,children:(0,rt.jsx)("h5",{children:t.title})})]})};function kf(t){var n=T((0,e.useState)(!1),2),r=n[0],o=n[1],i=h(ef);return(0,e.useEffect)((function(){var e=function(){o(window.matchMedia("(min-width: 1200px)").matches)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),(0,rt.jsx)(dt,{style:{width:"100wh"},children:r?(0,rt.jsxs)(vt,{className:"project",style:{width:"100%"},children:[(0,rt.jsx)(bt,{sm:8,children:(0,rt.jsx)(hf,{children:(0,rt.jsxs)("div",{style:{alignItems:"center",justifyContent:"center",paddingTop:"3rem",paddingBottom:"3rem",paddingLeft:"0rem",height:"90vh",width:"100%",overflow:"hidden",overflowY:"scroll",WebkitScrollbar:{display:"none"},scrollbarWidth:"0",scrollbarColor:"transparent transparent"},children:[null===t||void 0===t?void 0:t.children,t.projectLogs.map((function(e){return(0,rt.jsx)(xf,Je({expandedColor:"rgb(242,255,255)",collapsedColor:t.collapsedColor},e),e.title)}))]})})}),(0,rt.jsx)(bt,{sm:4,children:(0,rt.jsx)(hf,{duration:2,children:(0,rt.jsx)(pf,{background:t.modelBackground,model:i,title:"Dive Buddy",subtitle:"A partner-paired dive computer",modelHeight:"60vh",framerHeight:"20vh"})})})]}):(0,rt.jsxs)(vt,{children:[(0,rt.jsx)(bt,{sm:12,xl:6,children:(0,rt.jsxs)(hf,{duration:2,children:[null===t||void 0===t?void 0:t.children,(0,rt.jsx)(pf,{background:t.modelBackground,model:i,title:"Dive Buddy",subtitle:"A partner-paired dive computer",modelHeight:"60vh",framerHeight:"20vh"})]})}),(0,rt.jsx)(bt,{sm:12,xl:6,children:(0,rt.jsx)(hf,{children:(0,rt.jsx)("div",{style:{marginTop:"68vh",marginBottom:"5rem",alignItems:"center",justifyContent:"center",paddingTop:"3rem",paddingLeft:"0rem"},children:t.projectLogs.map((function(e){return(0,rt.jsx)(xf,Je({expandedColor:"rgb(242,255,255)",collapsedColor:t.collapsedColor},e),e.title)}))})})})]})})}var Sf=[{index:0,title:"Introduction",description:"Introduction description",videoUrl:"https://youtu.be/H5-q7LB6a0U",model:n(755),scale:1,backdropVariants:{initial:{scale:1.8,rotate:10,borderRadius:"10%"},final:{scaleX:1.8,scaleY:.8,translateY:"25vh",rotate:120,borderRadius:"50%"}}},{index:1,title:"Power Module",description:"Power module description",videoUrl:"https://youtu.be/8BMjckJIcNY",model:n(241),scale:.75,backdropVariants:{initial:{scale:1.8,rotate:10,borderRadius:"10%"},final:{scaleX:1.8,scaleY:.8,translateY:"20vh",rotate:120,borderRadius:"50%"}}},{index:2,title:"Electronics Module",description:"Electronics module description",videoUrl:"https://youtu.be/iC_qjDVsC6s",model:n(837),scale:.75,backdropVariants:{initial:{scale:1.8,rotate:10,borderRadius:"10%"},final:{scaleX:1.8,scaleY:.8,translateY:"20vh",rotate:120,borderRadius:"50%"}}},{index:3,title:"Antenna Module",description:"Antenna module description",videoUrl:"https://youtu.be/6TMmcjmH8XI",model:n(472),scale:.75,backdropVariants:{initial:{scale:1.8,rotate:10,borderRadius:"10%"},final:{scaleX:1.8,scaleY:.8,translateY:"20vh",rotate:120,borderRadius:"50%"}}}];function Ef(){var t="rgb(133,208,183)",n="rgb(34,67,101)",r=E();return(0,e.useEffect)((function(){r(of(Sf[0].model)),r(cf.setBackgroun
2d("linear-gradient(0deg,".concat(n," 0%, ").concat(t," 100%)")))}),[]),(0,rt.jsxs)(kf,{projectLogs:Sf,modelBackground:"linear-gradient(0deg,".concat(n," 0%, ").concat(t," 100%)"),expandedColor:n,collapsedColor:t,children:[(0,rt.jsx)("br",{}),(0,rt.jsx)("h4",{children:"Modular Buoy Framework"}),(0,rt.jsx)("p",{children:"Assembly Videos"}),(0,rt.jsx)("br",{})]})}var Pf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!=e?String(e):t||null},Cf=e.createContext(null);function Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Of.apply(this,arguments)}n(176);function jf(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Tf(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function Rf(t,n){return Object.keys(n).reduce((function(r,o){var i,a=r,u=a[jf(o)],l=a[o],s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(a,[jf(o),o].map(Tf)),c=n[o],f=function(t,n,r){var o=(0,e.useRef)(void 0!==t),i=(0,e.useState)(n),a=i[0],u=i[1],l=void 0!==t,s=o.current;return o.current=l,!l&&s&&a!==n&&u(n),[l?t:a,(0,e.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];r&&r.apply(void 0,[e].concat(n)),u(e)}),[r])]}(l,u,t[c]),d=f[0],p=f[1];return Of({},s,((i={})[o]=d,i[c]=p,i))}),t)}function Af(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function Nf(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function _f(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}Af.__suppressDeprecationWarning=!0,Nf.__suppressDeprecationWarning=!0,_f.__suppressDeprecationWarning=!0;var Lf=/-(.)/g;var Df=["className","bsPrefix","as"],Mf=function(e){return e[0].toUpperCase()+(t=e,t.replace(Lf,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function If(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.displayName,o=void 0===r?Mf(t):r,i=n.Component,a=n.defaultProps,u=e.forwardRef((function(e,n){var r=e.className,o=e.bsPrefix,a=e.as,u=void 0===a?i||"div":a,l=et(e,Df),s=ut(o,t);return(0,rt.jsx)(u,Je({ref:n,className:nt()(r,s)},l))}));return u.defaultProps=a,u.displayName=o,u}var Ff=["bsPrefix","className","as"],Vf=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,i=et(e,Ff);n=ut(n,"navbar-brand");var a=o||(i.href?"a":"span");return(0,rt.jsx)(a,Je(Je({},i),{},{ref:t,className:nt()(r,n)}))}));Vf.displayName="NavbarBrand";var Uf=Vf;function zf(e){return e&&e.ownerDocument||document}function Bf(e,t){return function(e){var t=zf(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var Hf=/([A-Z])/g;var Wf=/^ms-/;function $f(e){return function(e){return e.replace(Hf,"-$1").toLowerCase()}(e).replace(Wf,"-ms-")}var qf=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var Kf=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue($f(t))||Bf(e).getPropertyValue($f(t));Object.keys(t).forEach((function(o){var i=t[o];i||0===i?!function(e){return!(!e||!qf.test(e))}(o)?n+=$f(o)+": "+i+";":r+=o+"("+i+") ":e.style.removeProperty($f(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function Xf(e,t){return Xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xf(e,t)}var Yf=!1,Gf=e.createContext(null),Qf="unmounted",Zf="exited",Jf="entering",ed="entered",td="exiting",nd=function(t){var n,r;function o(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o=Zf,r.appearStatus=Jf):o=ed:o=e.unmountOnExit||e.mountOnEnter?Qf:Zf,r.state={status:o},r.nextCallback=null,r}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,Xf(n,r),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qf?{status:Zf}:null};var a=o.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Jf&&n!==ed&&(t=Jf):n!==Jf&&n!==ed||(t=td)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,a
2ppear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Jf){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zf&&this.setState({status:Qf})},a.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[i.findDOMNode(this),r],a=o[0],u=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Yf?this.safeSetState({status:ed},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,u),this.safeSetState({status:Jf},(function(){t.props.onEntering(a,u),t.onTransitionEnd(s,(function(){t.safeSetState({status:ed},(function(){t.props.onEntered(a,u)}))}))})))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:i.findDOMNode(this);t&&!Yf?(this.props.onExit(r),this.safeSetState({status:td},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Zf},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Zf},(function(){e.props.onExited(r)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],u=o[1];this.props.addEndListener(a,u)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===Qf)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e.createElement(Gf.Provider,{value:null},"function"===typeof r?r(t,o):e.cloneElement(e.Children.only(r),o))},o}(e.Component);function rd(){}nd.contextType=Gf,nd.propTypes={},nd.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:rd,onEntering:rd,onEntered:rd,onExit:rd,onExiting:rd,onExited:rd},nd.UNMOUNTED=Qf,nd.EXITED=Zf,nd.ENTERING=Jf,nd.ENTERED=ed,nd.EXITING=td;var od=nd,id=!("undefined"===typeof window||!window.document||!window.document.createElement),ad=!1,ud=!1;try{var ld={get passive(){return ad=!0},get once(){return ud=ad=!0}};id&&(window.addEventListener("test",ld,ld),window.removeEventListener("test",ld,!0))}catch(jg){}var sd=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!ud){var o=r.once,i=r.capture,a=n;!ud&&o&&(a=n.__once||function e(r){this.removeEventListener(t,e,i),n.call(this,r)},n.__once=a),e.addEventListener(t,a,ad?r:i)}e.addEventListener(t,n,r)};var cd=function(e,t,n,r){var o=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)};var fd=function(e,t,n,r){return sd(e,t,n,r),function(){cd(e,t,n,r)}};function dd(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)}),t+n),i=fd(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),i()}}function pd(e,t,n,r){null==n&&(n=function(e){var t=Kf(e,"transitionDuration")||"",n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}(e)||0);var o=dd(e,n,r),i=fd(e,"transitionend",t);return function(){o(),i()}}function hd(e,t){var n=Kf(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function vd(e,t){var n=hd(e,"transitionDuration"),r=hd(e,"transitionDelay"),o=pd(e,(function(n){n.target===e&&(o(),t(n))}),n+r)}var md=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!==typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)};function yd(e){e.offsetHeight}var gd=function(e){return e&&"function"!==typeof e?function(t){e.current=t}:e};var bd=function(t,n){return(0,e.useMemo)((function(){return function(e,t){var n=gd(e),r=gd(t);return function(e){n&&n(e),r&&r(e)}}(t,n)}),[t,n])};var wd,xd=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children","childRef"],kd=e.forwardRef((function(t,n){var r=t.onEnter,o=t.onEntering,a=t.onEntered,u=t.onExit,l=t.onExiting,s=t.onExited,c=t.addEndListener,f=t.children,d=t.childRef,p=et(t,xd),h=(0,e.useRef)(null),v=bd(h,d),m=function(e){var t;v((t=e)&&"setState"in t?i.findDOMNode(t):null!=t?t:null)},y=function(e){return function(t){e&&h.current&&e(h.current,t)}},g=(0,e.useCallback)(y(r),[r]),b=(0,e.useCallback)(y(o),[o]),w=(0,e.useCallback)(y(a),[a]),x=(0,e.useCallback)(y(u),[u]),k=(0,e.useCallback)(y(l),[l]),S=(0,e.useCallback)(y(s),[s]),E=(0,e.useCallback)(y(c),[c]);return(0,rt.jsx)(od,Je(Je({ref:n},p),{},{onEnter:g,onEntered:w,onEntering:b,onExit:x,onExited:S,onExiting:k,addEndListener:E,nodeRef:h,children:"function"===typeof f?function(e,t){return f(e,Je(Je({},t),{},{ref:m}))}:e.cloneElement(f,{ref:m})}))})),Sd=kd,Ed=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"],Pd={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function Cd(e,t){var n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],r=Pd[e];return n+parseInt(Kf(t,r[0]),10)+parseInt(Kf(t,r[1]),10)}var Od=(Qe(wd={},Zf,"collapse"),Qe(wd,td,"collapsing"),Qe(wd,Jf,"collapsing"),Qe(wd,ed,"collapse show"),wd),jd={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:Cd},Td=e.forwardRef((function(t,n){var r=t.onEnter,o=t.onEntering,i=t.onEntered,a=t.onExit,u=t.onExiting,l=t.className,s=t.children,c=t.dimension,f=void 0===c?"height":c,d=t.getDimensionValue,p=void 0===d?Cd:d,h=et(t,Ed),v="function"===typeof f?f():f,m=(0,e.useMemo)((function(){return md((function(e){e.style[v]="0"}),r)}),[v,r]),y=(0,e.useMemo)((function(){return md((function(e){var t="scroll".concat(v[0].toUpperCase()).concat(v.slice(1));e.style[v]="".concat(e[t],"px")}),o)}),[v,o]),g=(0,e.useMemo)((function(){return md((function(e){e.style[v]=null}),i)}),[v,i]),b=(0,e.useMemo)((function(){return md((function(e){e.style[v]="".concat(p(v,e),"px"),yd(e)}),a)}),[a,p,v]),w=(0,e.useMemo)((function(){return md((function(e){e.style[v]=null}),u)}),[v,u]);return(0,rt.jsx)(Sd,Je(Je({ref:n,addEndListener:vd},h),{},{"aria-expanded":h.role?h.in:null,onEnter:m,onEntering:y,onEntered:g,onExit:b,onExiting:w,childRef:s.ref,children:function(t,n){return e.cloneElement(s,Je(Je({},n),{},{className:nt()(l,s.props.className,Od[t],"width"===v&&"collapse-horizontal")}))}}))}));Td.defaultProps=jd;var Rd=Td,Ad=e.createContext(null);
2Ad.displayName="NavbarContext";var Nd=Ad,_d=["children","bsPrefix"],Ld=e.forwardRef((function(t,n){var r=t.children,o=t.bsPrefix,i=et(t,_d);o=ut(o,"navbar-collapse");var a=(0,e.useContext)(Nd);return(0,rt.jsx)(Rd,Je(Je({in:!(!a||!a.expanded)},i),{},{children:(0,rt.jsx)("div",{ref:n,className:o,children:r})}))}));Ld.displayName="NavbarCollapse";var Dd=Ld;var Md=function(t){var n=(0,e.useRef)(t);return(0,e.useEffect)((function(){n.current=t}),[t]),n};function Id(t){var n=Md(t);return(0,e.useCallback)((function(){return n.current&&n.current.apply(n,arguments)}),[n])}var Fd=["bsPrefix","className","children","label","as","onClick"],Vd=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.className,i=t.children,a=t.label,u=t.as,l=void 0===u?"button":u,s=t.onClick,c=et(t,Fd);r=ut(r,"navbar-toggler");var f=(0,e.useContext)(Nd)||{},d=f.onToggle,p=f.expanded,h=Id((function(e){s&&s(e),d&&d()}));return"button"===l&&(c.type="button"),(0,rt.jsx)(l,Je(Je({},c),{},{ref:n,onClick:h,"aria-label":a,className:nt()(o,r,!p&&"collapsed"),children:i||(0,rt.jsx)("span",{className:"".concat(r,"-icon")})}))}));Vd.displayName="NavbarToggle",Vd.defaultProps={label:"Toggle navigation"};var Ud=Vd,zd="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,Bd="undefined"!==typeof document||zd?e.useLayoutEffect:e.useEffect,Hd=new WeakMap,Wd=function(e,t){if(e&&t){var n=Hd.get(t)||new Map;Hd.set(t,n);var r=n.get(e);return r||((r=t.matchMedia(e)).refCount=0,n.set(r.media,r)),r}};function $d(t,n){void 0===n&&(n="undefined"===typeof window?void 0:window);var r=Wd(t,n),o=(0,e.useState)((function(){return!!r&&r.matches})),i=o[0],a=o[1];return Bd((function(){var e=Wd(t,n);if(!e)return a(!1);var r=Hd.get(n),o=function(){a(e.matches)};return e.refCount++,e.addListener(o),o(),function(){e.removeListener(o),e.refCount--,e.refCount<=0&&(null==r||r.delete(e.media)),e=void 0}}),[t]),i}var qd=function(t){var n=Object.keys(t);function r(e,t){return e===t?t:e?e+" and "+t:t}function o(e){var r=function(e){return n[Math.min(n.indexOf(e)+1,n.length-1)]}(e),o=t[r];return"(max-width: "+(o="number"===typeof o?o-.2+"px":"calc("+o+" - 0.2px)")+")"}return function(n,i,a){var u,l;"object"===typeof n?(u=n,a=i,i=!0):((l={})[n]=i=i||!0,u=l);var s=(0,e.useMemo)((function(){return Object.entries(u).reduce((function(e,n){var i=n[0],a=n[1];return"up"!==a&&!0!==a||(e=r(e,function(e){var n=t[e];return"number"===typeof n&&(n+="px"),"(min-width: "+n+")"}(i))),"down"!==a&&!0!==a||(e=r(e,o(i))),e}),"")}),[JSON.stringify(u)]);return $d(s,a)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Kd=qd;function Xd(e){void 0===e&&(e=zf());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(jg){return e.body}}function Yd(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}function Gd(t){var n=function(t){var n=(0,e.useRef)(t);return n.current=t,n}(t);(0,e.useEffect)((function(){return function(){return n.current()}}),[])}var Qd="data-rr-ui-",Zd="rrUi";function Jd(e){return"".concat(Qd).concat(e)}var ep=Jd("modal-open"),tp=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.ownerDocument,r=t.handleContainerOverflow,o=void 0===r||r,i=t.isRTL,a=void 0!==i&&i;N(this,e),this.handleContainerOverflow=o,this.isRTL=a,this.modals=[],this.ownerDocument=n}return M(e,[{key:"getScrollbarWidth",value:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}},{key:"getElement",value:function(){return(this.ownerDocument||document).body}},{key:"setModalAttributes",value:function(e){}},{key:"removeModalAttributes",value:function(e){}},{key:"setContainerStyle",value:function(e){var t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style=Qe({overflow:r.style.overflow},n,r.style[n]),e.scrollBarWidth&&(t[n]="".concat(parseInt(Kf(r,n)||"0",10)+e.scrollBarWidth,"px")),r.setAttribute(ep,""),Kf(r,t)}},{key:"reset",value:function(){var e=this;
2A(this.modals).forEach((function(t){return e.remove(t)}))}},{key:"removeContainerStyle",value:function(e){var t=this.getElement();t.removeAttribute(ep),Object.assign(t.style,e.style)}},{key:"add",value:function(e){var t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}(),np=tp,rp=(0,e.createContext)(id?window:void 0);rp.Provider;function op(){return(0,e.useContext)(rp)}var ip=function(e,t){return id?null==e?(t||zf()).body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null};var ap=function(t){var n=t.children,r=t.in,o=t.onExited,i=t.mountOnEnter,a=t.unmountOnExit,u=(0,e.useRef)(null),l=(0,e.useRef)(r),s=Id(o);(0,e.useEffect)((function(){r?l.current=!0:s(u.current)}),[r,s]);var c=bd(u,n.ref),f=(0,e.cloneElement)(n,{ref:c});return r?f:a||!l.current&&i?null:f};function up(t){var n=t.children,r=t.in,o=t.onExited,i=t.onEntered,a=t.transition,u=T((0,e.useState)(!r),2),l=u[0],s=u[1];r&&l&&s(!1);var c=function(t){var n=t.in,r=t.onTransition,o=(0,e.useRef)(null),i=(0,e.useRef)(!0),a=Id(r);return Bd((function(){if(o.current){var e=!1;return a({in:n,element:o.current,initial:i.current,isStale:function(){return e}}),function(){e=!0}}}),[n,a]),Bd((function(){return i.current=!1,function(){i.current=!0}}),[]),o}({in:!!r,onTransition:function(e){Promise.resolve(a(e)).then((function(){e.isStale()||(e.in?null==i||i(e.element,e.initial):(s(!0),null==o||o(e.element)))}),(function(t){throw e.in||s(!0),t}))}}),f=bd(c,n.ref);return l&&!r?null:(0,e.cloneElement)(n,{ref:f})}function lp(e,t,n){return e?(0,rt.jsx)(e,Object.assign({},n)):t?(0,rt.jsx)(up,Object.assign({},n,{transition:t})):(0,rt.jsx)(ap,Object.assign({},n))}var sp,cp=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function fp(t){var n=op(),r=t||function(e){return sp||(sp=new np({ownerDocument:null==e?void 0:e.document})),sp}(n),o=(0,e.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:function(){return r.add(o.current)},remove:function(){return r.remove(o.current)},isTopModal:function(){return r.isTopModal(o.current)},setDialogRef:(0,e.useCallback)((function(e){o.current.dialog=e}),[]),setBackdropRef:(0,e.useCallback)((function(e){o.current.backdrop=e}),[])})}var dp=(0,e.forwardRef)((function(t,n){var r=t.show,o=void 0!==r&&r,a=t.role,u=void 0===a?"dialog":a,l=t.className,s=t.style,c=t.children,f=t.backdrop,d=void 0===f||f,p=t.keyboard,h=void 0===p||p,v=t.onBackdropClick,m=t.onEscapeKeyDown,y=t.transition,g=t.runTransition,b=t.backdropTransition,w=t.runBackdropTransition,x=t.autoFocus,k=void 0===x||x,S=t.enforceFocus,E=void 0===S||S,P=t.restoreFocus,C=void 0===P||P,O=t.restoreFocusOptions,j=t.renderDialog,R=t.renderBackdrop,A=void 0===R?function(e){return(0,rt.jsx)("div",Object.assign({},e))}:R,N=t.manager,_=t.container,L=t.onShow,D=t.onHide,M=void 0===D?function(){}:D,I=t.onExit,F=t.onExited,V=t.onExiting,U=t.onEnter,z=t.onEntering,B=t.onEntered,H=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,cp),W=function(t,n){var r=op(),o=T((0,e.useState)((function(){return ip(t,null==r?void 0:r.document)})),2),i=o[0],a=o[1];if(!i){var u=ip(t);u&&a(u)}return(0,e.useEffect)((function(){n&&i&&n(i)}),[n,i]),(0,e.useEffect)((function(){var e=ip(t);e!==i&&a(e)}),[t,i]),i}(_),$=fp(N),q=function(){var t=(0,e.useRef)(!0),n=(0,e.useRef)((function(){return t.current}));return(0,e.useEffect)((function(){return t.current=!0,function(){t.current=!1}}),[]),n.current}(),K=function(t){var n=(0,e.useRef)(null);return(0,e.useEffect)((function(){n.current=t})),n.current}(o),X=T((0,e.useState)(!o),2),Y=X[0],G=X[1],Q=(0,e.useRef)(null);(0,e.useImperativeHandle)(n,(function(){return $}),[$]),id&&!K&&o&&(Q.current=Xd()),o&&Y&&G(!1);var Z=Id((function(){if($.add(),oe.current=fd(document,"keydown",ne),re.current=fd(document,"focus",(function(){return setTimeout(ee)}
2),!0),L&&L(),k){var e=Xd(document);$.dialog&&e&&!Yd($.dialog,e)&&(Q.current=e,$.dialog.focus())}})),J=Id((function(){var e;($.remove(),null==oe.current||oe.current(),null==re.current||re.current(),C)&&(null==(e=Q.current)||null==e.focus||e.focus(O),Q.current=null)}));(0,e.useEffect)((function(){o&&W&&Z()}),[o,W,Z]),(0,e.useEffect)((function(){Y&&J()}),[Y,J]),Gd((function(){J()}));var ee=Id((function(){if(E&&q()&&$.isTopModal()){var e=Xd();$.dialog&&e&&!Yd($.dialog,e)&&$.dialog.focus()}})),te=Id((function(e){e.target===e.currentTarget&&(null==v||v(e),!0===d&&M())})),ne=Id((function(e){h&&27===e.keyCode&&$.isTopModal()&&(null==m||m(e),e.defaultPrevented||M())})),re=(0,e.useRef)(),oe=(0,e.useRef)();if(!W)return null;var ie=Object.assign({role:u,ref:$.setDialogRef,"aria-modal":"dialog"===u||void 0},H,{style:s,className:l,tabIndex:-1}),ae=j?j(ie):(0,rt.jsx)("div",Object.assign({},ie,{children:e.cloneElement(c,{role:"document"})}));ae=lp(y,g,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!o,onExit:I,onExiting:V,onExited:function(){G(!0),null==F||F.apply(void 0,arguments)},onEnter:U,onEntering:z,onEntered:B,children:ae});var ue=null;return d&&(ue=A({ref:$.setBackdropRef,onClick:te}),ue=lp(b,w,{in:!!o,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ue})),(0,rt.jsx)(rt.Fragment,{children:i.createPortal((0,rt.jsxs)(rt.Fragment,{children:[ue,ae]}),W)})}));dp.displayName="Modal";var pp,hp=Object.assign(dp,{Manager:np}),vp=["className","children","transitionClasses"],mp=(Qe(pp={},Jf,"show"),Qe(pp,ed,"show"),pp),yp=e.forwardRef((function(t,n){var r=t.className,o=t.children,i=t.transitionClasses,a=void 0===i?{}:i,u=et(t,vp),l=(0,e.useCallback)((function(e,t){yd(e),null==u.onEnter||u.onEnter(e,t)}),[u]);return(0,rt.jsx)(Sd,Je(Je({ref:n,addEndListener:vd},u),{},{onEnter:l,childRef:o.ref,children:function(t,n){return e.cloneElement(o,Je(Je({},n),{},{className:nt()("fade",r,o.props.className,mp[t],a[t])}))}}))}));yp.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},yp.displayName="Fade";var gp,bp=yp,wp=If("offcanvas-body"),xp=["bsPrefix","className","children"],kp=(Qe(gp={},Jf,"show"),Qe(gp,ed,"show"),gp),Sp=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.className,i=t.children,a=et(t,xp);return r=ut(r,"offcanvas"),(0,rt.jsx)(Sd,Je(Je({ref:n,addEndListener:vd},a),{},{childRef:i.ref,children:function(t,n){return e.cloneElement(i,Je(Je({},n),{},{className:nt()(o,i.props.className,(t===Jf||t===td)&&"".concat(r,"-toggling"),kp[t])}))}}))}));Sp.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1},Sp.displayName="OffcanvasToggling";var Ep=Sp,Pp=e.createContext({onHide:function(){}}),Cp=n(7),Op=n.n(Cp),jp=["className","variant"],Tp={"aria-label":Op().string,onClick:Op().func,variant:Op().oneOf(["white"])},Rp=e.forwardRef((function(e,t){var n=e.className,r=e.variant,o=et(e,jp);return(0,rt.jsx)("button",Je({ref:t,type:"button",className:nt()("btn-close",r&&"btn-close-".concat(r),n)},o))}));
2Rp.displayName="CloseButton",Rp.propTypes=Tp,Rp.defaultProps={"aria-label":"Close"};var Ap=Rp,Np=["closeLabel","closeVariant","closeButton","onHide","children"],_p=e.forwardRef((function(t,n){var r=t.closeLabel,o=t.closeVariant,i=t.closeButton,a=t.onHide,u=t.children,l=et(t,Np),s=(0,e.useContext)(Pp),c=Id((function(){null==s||s.onHide(),null==a||a()}));return(0,rt.jsxs)("div",Je(Je({ref:n},l),{},{children:[u,i&&(0,rt.jsx)(Ap,{"aria-label":r,variant:o,onClick:c})]}))}));_p.defaultProps={closeLabel:"Close",closeButton:!1};var Lp=_p,Dp=["bsPrefix","className"],Mp=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=et(e,Dp);return n=ut(n,"offcanvas-header"),(0,rt.jsx)(Lp,Je(Je({ref:t},o),{},{className:nt()(r,n)}))}));Mp.displayName="OffcanvasHeader",Mp.defaultProps={closeLabel:"Close",closeButton:!1};var Ip=Mp,Fp=function(t){return e.forwardRef((function(e,n){return(0,rt.jsx)("div",Je(Je({},e),{},{ref:n,className:nt()(e.className,t)}))}))},Vp=If("offcanvas-title",{Component:Fp("h5")});var Up=Function.prototype.bind.call(Function.prototype.call,[].slice);function zp(e,t){return Up(e.querySelectorAll(t))}
2function Bp(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Hp,Wp=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$p=".sticky-top",qp=".navbar-toggler",Kp=function(e){F(n,e);var t=B(n);function n(){return N(this,n),t.apply(this,arguments)}return M(n,[{key:"adjustAndStore",value:function(e,t,n){var r=t.style[e];t.dataset[e]=r,Kf(t,Qe({},e,"".concat(parseFloat(Kf(t,e))+n,"px")))}},{key:"restore",value:function(e,t){var n=t.dataset[e];void 0!==n&&(delete t.dataset[e],Kf(t,Qe({},e,n)))}},{key:"setContainerStyle",value:function(e){var t=this;Zl(V(n.prototype),"setContainerStyle",this).call(this,e);var r,o,i=this.getElement();if(o="modal-open",(r=i).classList?r.classList.add(o):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(r,o)||("string"===typeof r.className?r.className=r.className+" "+o:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+o)),e.scrollBarWidth){var a=this.isRTL?"paddingLeft":"paddingRight",u=this.isRTL?"marginLeft":"marginRight";zp(i,Wp).forEach((function(n){return t.adjustAndStore(a,n,e.scrollBarWidth)})),zp(i,$p).forEach((function(n){return t.adjustAndStore(u,n,-e.scrollBarWidth)})),zp(i,qp).forEach((function(n){return t.adjustAndStore(u,n,e.scrollBarWidth)}))}}},{key:"removeContainerStyle",value:function(e){var t=this;Zl(V(n.prototype),"removeContainerStyle",this).call(this,e);var r,o,i=this.getElement();o="modal-open",(r=i).classList?r.classList.remove(o):"string"===typeof r.className?r.className=Bp(r.className,o):r.setAttribute("class",Bp(r.className&&r.className.baseVal||"",o));var a=this.isRTL?"paddingLeft":"paddingRight",u=this.isRTL?"marginLeft":"marginRight";zp(i,Wp).forEach((function(e){return t.restore(a,e)})),zp(i,$p).forEach((function(e){return t.restore(u,e)})),zp(i,qp).forEach((function(e){return t.restore(u,e)}))}}]),n}(np);function Xp(e){return Hp||(Hp=new Kp(e)),Hp}var Yp=Kp,Gp=["bsPrefix","className","children","aria-labelledby","placement","responsive","show","backdrop","keyboard","scroll","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager","renderStaticNode"];function Qp(e){return(0,rt.jsx)(Ep,Je({},e))}function Zp(e){return(0,rt.jsx)(bp,Je({},e))}var Jp=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.className,i=t.children,a=t["aria-labelledby"],u=t.placement,l=t.responsive,s=t.show,c=t.backdrop,f=t.keyboard,d=t.scroll,p=t.onEscapeKeyDown,h=t.onShow,v=t.onHide,m=t.container,y=t.autoFocus,g=t.enforceFocus,b=t.restoreFocus,w=t.restoreFocusOptions,x=t.onEntered,k=t.onExit,S=t.onExiting,E=t.onEnter,P=t.onEntering,C=t.onExited,O=t.backdropClassName,j=t.manager,R=t.renderStaticNode,A=et(t,Gp),N=(0,e.useRef)();r=ut(r,"offcanvas");var _=((0,e.useContext)(Nd)||{}).onToggle,L=T((0,e.useState)(!1),2),D=L[0],M=L[1],I=Kd(l||"xs","up");(0,e.useEffect)((function(){M(l?s&&!I:s)}),[s,l,I]);var F=Id((function(){null==_||_(),null==v||v()})),V=(0,e.useMemo)((function(){return{onHide:F}}),[F]);var U=(0,e.useCallback)((function(e){return(0,rt.jsx)("div",Je(Je({},e),{},{className:nt()("".concat(r,"-backdrop"),O)}))}),[O,r]),z=function(e){return(0,rt.jsx)("div",Je(Je(Je({},e),A),{},{className:nt()(o,l?"".concat(r,"-").concat(l):r,"".concat(r,"-").concat(u)),"aria-labelledby":a,children:i}))};return(0,rt.jsxs)(rt.Fragment,{children:[!D&&(l||R)&&z({}),(0,rt.jsx)(Pp.Provider,{value:V,children:(0,rt.jsx)(hp,{show:D,ref:n,backdrop:c,container:m,keyboard:f,autoFocus:y,enforceFocus:g&&!d,restoreFocus:b,restoreFocusOptions:w,onEscapeKeyDown:p,onShow:h,onHide:F,onEnter:function(e){e&&(e.style.visibility="visible");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==E||E.apply(void 0,[e].concat(n))},onEntering:P,onEntered:x,onExit:k,onExiting:S,onExited:function(e){e&&(e.style.visibility="");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==C||C.apply(void 0,n)}
2,manager:j||(d?(N.current||(N.current=new Yp({handleContainerOverflow:!1})),N.current):Xp()),transition:Qp,backdropTransition:Zp,renderBackdrop:U,renderDialog:z})})]})}));Jp.displayName="Offcanvas",Jp.defaultProps={show:!1,backdrop:!0,keyboard:!0,scroll:!1,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,placement:"start",renderStaticNode:!1};var eh=Object.assign(Jp,{Body:wp,Header:Ip,Title:Vp}),th=e.forwardRef((function(t,n){var r=(0,e.useContext)(Nd);return(0,rt.jsx)(eh,Je(Je({ref:n,show:!(null==r||!r.expanded)},t),{},{renderStaticNode:!0}))}));th.displayName="NavbarOffcanvas";var nh=th,rh=["bsPrefix","expand","variant","bg","fixed","sticky","className","as","expanded","onToggle","onSelect","collapseOnSelect"],oh=If("navbar-text",{Component:"span"}),ih=e.forwardRef((function(t,n){var r=Rf(t,{expanded:"onToggle"}),o=r.bsPrefix,i=r.expand,a=r.variant,u=r.bg,l=r.fixed,s=r.sticky,c=r.className,f=r.as,d=void 0===f?"nav":f,p=r.expanded,h=r.onToggle,v=r.onSelect,m=r.collapseOnSelect,y=et(r,rh),g=ut(o,"navbar"),b=(0,e.useCallback)((function(){null==v||v.apply(void 0,arguments),m&&p&&(null==h||h(!1))}),[v,m,p,h]);void 0===y.role&&"nav"!==d&&(y.role="navigation");var w="".concat(g,"-expand");"string"===typeof i&&(w="".concat(w,"-").concat(i));var x=(0,e.useMemo)((function(){return{onToggle:function(){return null==h?void 0:h(!p)},bsPrefix:g,expanded:!!p,expand:i}}),[g,p,i,h]);return(0,rt.jsx)(Nd.Provider,{value:x,children:(0,rt.jsx)(Cf.Provider,{value:b,children:(0,rt.jsx)(d,Je(Je({ref:n},y),{},{className:nt()(c,g,i&&w,a&&"".concat(g,"-").concat(a),u&&"bg-".concat(u),s&&"sticky-".concat(s),l&&"f
2ixed-".concat(l))}))})})}));ih.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},ih.displayName="Navbar";var ah=Object.assign(ih,{Brand:Uf,Collapse:Dd,Offcanvas:nh,Text:oh,Toggle:Ud});n(573);var uh=e.createContext(null);uh.displayName="NavContext";var lh=uh,sh=e.createContext(null),ch=["as","disabled"];function fh(e){var t=e.tagName,n=e.disabled,r=e.href,o=e.target,i=e.rel,a=e.role,u=e.onClick,l=e.tabIndex,s=void 0===l?0:l,c=e.type;t||(t=null!=r||null!=o||null!=i?"a":"button");var f={tagName:t};if("button"===t)return[{type:c||"button",disabled:n},f];var d=function(e){(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==u||u(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:null!=a?a:"button",disabled:void 0,tabIndex:n?void 0:s,href:r,target:"a"===t?o:void 0,"aria-disabled":n||void 0,rel:"a"===t?i:void 0,onClick:d,onKeyDown:function(e){" "===e.key&&(e.preventDefault(),d(e))}},f]}var dh=e.forwardRef((function(e,t){var n=e.as,r=e.disabled,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ch),i=T(fh(Object.assign({tagName:n,disabled:r},o)),2),a=i[0],u=i[1].tagName;return(0,rt.jsx)(u,Object.assign({},o,a,{ref:t}))}));dh.displayName="Button";var ph=dh,hh=["as","active","eventKey"];function vh(t){var n=t.key,r=t.onClick,o=t.active,i=t.id,a=t.role,u=t.disabled,l=(0,e.useContext)(Cf),s=(0,e.useContext)(lh),c=(0,e.useContext)(sh),f=o,d={role:a};if(s){a||"tablist"!==s.role||(d.role="tab");var p=s.getControllerId(null!=n?n:null),h=s.getControlledId(null!=n?n:null);d[Jd("event-key")]=n,d.id=p||i,!(f=null==o&&null!=n?s.activeKey===n:o)&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(d["aria-controls"]=h)}return"tab"===d.role&&(d["aria-selected"]=f,f||(d.tabIndex=-1),u&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=Id((function(e){u||(null==r||r(e),null!=n&&l&&!e.isPropagationStopped()&&l(n,e))})),[d,{isActive:f}]}var mh=e.forwardRef((function(e,t){var n=e.as,r=void 0===n?ph:n,o=e.active,i=e.eventKey,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,hh),u=T(vh(Object.assign({key:Pf(i,a.href),active:o},a)),2),l=u[0],s=u[1];return l[Jd("active")]=s.isActive,(0,rt.jsx)(r,Object.assign({},a,l,{ref:t}))}));mh.displayName="NavItem";var yh=mh,gh=["as","onSelect","activeKey","role","onKeyDown"];var bh=function(){},wh=Jd("event-key"),xh=e.forwardRef((function(t,n){var r,o,i=t.as,a=void 0===i?"div":i,u=t.onSelect,l=t.activeKey,s=t.role,c=t.onKeyDown,f=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,gh),d=(0,e.useReducer)((function(e){return!e}),!1)[1],p=(0,e.useRef)(!1),h=(0,e.useContext)(Cf),v=(0,e.useContext)(sh);v&&(s=s||"tablist",l=v.activeKey,r=v.getControlledId,o=v.getControllerId);var m=(0,e.useRef)(null),y=function(e){var t=m.current;if(!t)return null;var n=zp(t,"[".concat(wh,"]:not([aria-disabled=true])")),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;var o=n.indexOf(r);if(-1===o)return null;var i=o+e;return i>=n.length&&(i=0),i<0&&(i=n.length-1),n[i]},g=function(e,t){null!=e&&(null==u||u(e,t),null==h||h(e,t))};(0,e.useEffect)((function(){if(m.current&&p.current){var e=m.current.querySelector("[".concat(wh,"][aria-selected=true]"));null==e||e.focus()}p.current=!1}));var b=bd(n,m);return(0,rt.jsx)(Cf.Provider,{value:g,children:(0,rt.jsx)(lh.Provider,{value:{role:s,activeKey:Pf(l),getControlledId:r||bh,getControllerId:o||bh},children:(0,rt.jsx)(a,Object.assign({},f,{onKeyDown:function(e){if(null==c||c(e),v){var t,n;switch(e.key){case"ArrowLeft":case"ArrowUp":t=y(-1);break;case"ArrowRight":case"ArrowDown":t=y(1);break;default:return}if(t)e.preventDefault(),g(t.dataset[(n="EventKey","".concat(Zd).concat(n))]||null,e),p.current=!0,d()}},ref:b,role:s}))})})}));xh.displayName="Nav";var kh=Object.assign(xh,{Item:yh}),Sh=e.createContext(null);Sh.displayName="CardHeaderContext";
2var Eh=Sh,Ph=If("nav-item");new WeakMap;var Ch=["onKeyDown"];var Oh=e.forwardRef((function(e,t){var n,r=e.onKeyDown,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ch),i=T(fh(Object.assign({tagName:"a"},o)),1)[0],a=Id((function(e){i.onKeyDown(e),null==r||r(e)}));return(n=o.href)&&"#"!==n.trim()&&"button"!==o.role?(0,rt.jsx)("a",Object.assign({ref:t},o,{onKeyDown:r})):(0,rt.jsx)("a",Object.assign({ref:t},o,i,{onKeyDown:a}))}));Oh.displayName="Anchor";var jh=Oh,Th=["bsPrefix","className","as","active","eventKey"],Rh=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,i=void 0===o?jh:o,a=e.active,u=e.eventKey,l=et(e,Th);n=ut(n,"nav-link");var s=T(vh(Je({key:Pf(u,l.href),active:a},l)),2),c=s[0],f=s[1];return(0,rt.jsx)(i,Je(Je(Je({},l),c),{},{ref:t,className:nt()(r,n,l.disabled&&"disabled",f.isActive&&"active")}))}));Rh.displayName="NavLink",Rh.defaultProps={disabled:!1};var Ah=Rh,Nh=["as","bsPrefix","variant","fill","justify","navbar","navbarScroll","className","activeKey"],_h=e.forwardRef((function(t,n){var r,o,i,a=Rf(t,{activeKey:"onSelect"}),u=a.as,l=void 0===u?"div":u,s=a.bsPrefix,c=a.variant,f=a.fill,d=a.justify,p=a.navbar,h=a.navbarScroll,v=a.className,m=a.activeKey,y=et(a,Nh),g=ut(s,"nav"),b=!1,w=(0,e.useContext)(Nd),x=(0,e.useContext)(Eh);return w?(o=w.bsPrefix,b=null==p||p):x&&(i=x.cardHeaderBsPrefix),(0,rt.jsx)(kh,Je({as:l,ref:n,activeKey:m,className:nt()(v,(r={},Qe(r,g,!b),Qe(r,"".concat(o,"-nav"),b),Qe(r,"".concat(o,"-nav-scroll"),b&&h),Qe(r,"".concat(i,"-").concat(c),!!i),Qe(r,"".concat(g,"-").concat(c),!!c),Qe(r,"".concat(g,"-fill"),f),Qe(r,"".concat(g,"-justified"),d),r))},y))}));_h.displayName="Nav",_h.defaultProps={justify:!1,fill:!1};var Lh=Object.assign(_h,{Item:Ph,Link:Ah});function Dh(){return(0,rt.jsx)(ah,{bg:"light",expand:"lg",className:"navbar",style:{zIndex:1001},children:(0,rt.jsxs)(dt,{children:[(0,rt.jsxs)(ah.Brand,{style:{display:"flex",flexWrap:"nowrap"},children:[(0,rt.jsx)("h3",{children:"DIY"}),(0,rt.jsx)("h3",{style:{fontWeight:"bold",marginLeft:"0.0rem"},children:"Aquanauts"})]}),(0,rt.jsx)(ah.Toggle,{"aria-controls":"basic-navbar-nav"}),(0,rt.jsx)(ah.Collapse,{id:"basic-navbar-nav",children:(0,rt.jsxs)(Lh,{className:"me-auto",children:[(0,rt.jsx)(Lh.Link,{style:{textAlign:"center"},href:"/",children:"Home"}),(0,rt.jsx)(Lh.Link,{style:{textAlign:"center"},href:"/join",children:"Contribute"})]})})]})})}var Mh=n.p+"static/media/underwater2.da2055cb325444b55dc6.gif",Ih=n.p+"static/media/creature.759ce1925c43d5beae9d.png",Fh=["as","bsPrefix","variant","size","active","className"],Vh=e.forwardRef((function(e,t){var n=e.as,r=e.bsPrefix,o=e.variant,i=e.size,a=e.active,u=e.className,l=et(e,Fh),s=ut(r,"btn"),c=T(fh(Je({tagName:n},l)),2),f=c[0],d=c[1].tagName;return(0,rt.jsx)(d,Je(Je(Je({},f),l),{},{ref:t,className:nt()(u,s,a&&"active",o&&"".concat(s,"-").concat(o),i&&"".concat(s,"-").concat(i),l.href&&l.disabled&&"disabled")}))}));Vh.displayName="Button",Vh.defaultProps={variant:"primary",active:!1,disabled:!1};var Uh,zh=Vh;function Bh(e){if((!Uh&&0!==Uh||e)&&id){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Uh=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Uh}var Hh=If("modal-body"),Wh=["bsPrefix","className","contentClassName","centered","size","fullscreen","children","scrollable"],$h=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.contentClassName,i=e.centered,a=e.size,u=e.fullscreen,l=e.children,s=e.scrollable,c=et(e,Wh);n=ut(n,"modal");var f="".concat(n,"-dialog"),d="string"===typeof u?"".concat(n,"-fullscreen-").concat(u):"".concat(n,"-fullscreen");return(0,rt.jsx)("div",Je(Je({},c),{},{ref:t,className:nt()(f,r,a&&"".concat(n,"-").concat(a),i&&"".concat(f,"-centered"),s&&"".concat(f,"-scrollable"),u&&d),children:(0,rt.jsx)("div",{className:nt()("".concat(n,"-content"),o),children:l})}))}));$h.displayName="ModalDialog";var qh=$h,Kh=If("modal-footer"),Xh=["bsPrefix","className"],Yh=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=et(e,Xh);return n=ut(n,"modal-header"),(0,rt.jsx)(Lp,Je(Je({ref:t},o),{},{className:nt()(r,n)}
2))}));Yh.displayName="ModalHeader",Yh.defaultProps={closeLabel:"Close",closeButton:!1};var Gh=Yh,Qh=If("modal-title",{Component:Fp("h4")}),Zh=["bsPrefix","className","style","dialogClassName","contentClassName","children","dialogAs","aria-labelledby","aria-describedby","aria-label","show","animation","backdrop","keyboard","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"],Jh={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:qh};function ev(e){return(0,rt.jsx)(bp,Je(Je({},e),{},{timeout:null}))}function tv(e){return(0,rt.jsx)(bp,Je(Je({},e),{},{timeout:null}))}var nv=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.className,i=t.style,a=t.dialogClassName,u=t.contentClassName,l=t.children,s=t.dialogAs,c=t["aria-labelledby"],f=t["aria-describedby"],d=t["aria-label"],p=t.show,h=t.animation,v=t.backdrop,m=t.keyboard,y=t.onEscapeKeyDown,g=t.onShow,b=t.onHide,w=t.container,x=t.autoFocus,k=t.enforceFocus,S=t.restoreFocus,E=t.restoreFocusOptions,P=t.onEntered,C=t.onExit,O=t.onExiting,j=t.onEnter,R=t.onEntering,A=t.onExited,N=t.backdropClassName,_=t.manager,L=et(t,Zh),D=T((0,e.useState)({}),2),M=D[0],I=D[1],F=T((0,e.useState)(!1),2),V=F[0],U=F[1],z=(0,e.useRef)(!1),B=(0,e.useRef)(!1),H=(0,e.useRef)(null),W=T((0,e.useState)(null),2),$=W[0],q=W[1],K=bd(n,q),X=Id(b),Y="rtl"===(0,e.useContext)(at).dir;r=ut(r,"modal");var G=(0,e.useMemo)((function(){return{onHide:X}}),[X]);function Q(){return _||Xp({isRTL:Y})}function Z(e){if(id){var t=Q().getScrollbarWidth()>0,n=e.scrollHeight>zf(e).documentElement.clientHeight;I({paddingRight:t&&!n?Bh():void 0,paddingLeft:!t&&n?Bh():void 0})}}var J=Id((function(){$&&Z($.dialog)}));Gd((function(){cd(window,"resize",J),null==H.current||H.current()}));var ee=function(){z.current=!0},te=function(e){z.current&&$&&e.target===$.dialog&&(B.current=!0),z.current=!1},ne=function(){U(!0),H.current=pd($.dialog,(function(){U(!1)}))},re=function(e){"static"!==v?B.current||e.target!==e.currentTarget?B.current=!1:null==b||b():function(e){e.target===e.currentTarget&&ne()}(e)},oe=(0,e.useCallback)((function(e){return(0,rt.jsx)("div",Je(Je({},e),{},{className:nt()("".concat(r,"-backdrop"),N,!h&&"show")}))}),[h,N,r]),ie=Je(Je({},i),M);ie.display="block";return(0,rt.jsx)(Pp.Provider,{value:G,children:(0,rt.jsx)(hp,{show:p,ref:K,backdrop:v,container:w,keyboard:!0,autoFocus:x,enforceFocus:k,restoreFocus:S,restoreFocusOptions:E,onEscapeKeyDown:function(e){m?null==y||y(e):(e.preventDefault(),"static"===v&&ne())},onShow:g,onHide:b,onEnter:function(e,t){e&&Z(e),null==j||j(e,t)},onEntering:function(e,t){null==R||R(e,t),sd(window,"resize",J)},onEntered:P,onExit:function(e){null==H.current||H.current(),null==C||C(e)},onExiting:O,onExited:function(e){e&&(e.style.display=""),null==A||A(e),cd(window,"resize",J)},manager:Q(),transition:h?ev:void 0,backdropTransition:h?tv:void 0,renderBackdrop:oe,renderDialog:function(e){return(0,rt.jsx)("div",Je(Je({role:"dialog"},e),{},{style:ie,className:nt()(o,r,V&&"".concat(r,"-static"),!h&&"show"),onClick:v?re:void 0,onMouseUp:te,"aria-label":d,"aria-labelledby":c,"aria-describedby":f,children:(0,rt.jsx)(s,Je(Je({},L),{},{onMouseDown:ee,className:a,contentClassName:u,children:l}))}))}})})}));
2nv.displayName="Modal",nv.defaultProps=Jh;var rv=Object.assign(nv,{Body:Hh,Header:Gh,Title:Qh,Footer:Kh,Dialog:qh,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});function ov(e,t){return function(){return e.apply(t,arguments)}}var iv=Object.prototype.toString,av=Object.getPrototypeOf,uv=function(e){return function(t){var n=iv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null)),lv=function(e){return e=e.toLowerCase(),function(t){return uv(t)===e}},sv=function(e){return function(t){return typeof t===e}},cv=Array.isArray,fv=sv("undefined");var dv=lv("ArrayBuffer");var pv=sv("string"),hv=sv("function"),vv=sv("number"),mv=function(e){return null!==e&&"object"===typeof e},yv=function(e){if("object"!==uv(e))return!1;var t=av(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gv=lv("Date"),bv=lv("File"),wv=lv("Blob"),xv=lv("FileList"),kv=lv("URLSearchParams");function Sv(e,t){var n,r,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),cv(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var a,u=i?Object.getOwnPropertyNames(e):Object.keys(e),l=u.length;for(n=0;n<l;n++)a=u[n],t.call(null,e[a],a,e)}}function Ev(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var Pv="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Cv=function(e){return!fv(e)&&e!==Pv};var Ov,jv=(Ov="undefined"!==typeof Uint8Array&&av(Uint8Array),function(e){return Ov&&e instanceof Ov}),Tv=lv("HTMLFormElement"),Rv=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),Av=lv("RegExp"),Nv=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Sv(n,(function(n,o){!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)}
2,_v="abcdefghijklmnopqrstuvwxyz",Lv="0123456789",Dv={DIGIT:Lv,ALPHA:_v,ALPHA_DIGIT:_v+_v.toUpperCase()+Lv};var Mv=lv("AsyncFunction"),Iv={isArray:cv,isArrayBuffer:dv,isBuffer:function(e){return null!==e&&!fv(e)&&null!==e.constructor&&!fv(e.constructor)&&hv(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||hv(e.append)&&("formdata"===(t=uv(e))||"object"===t&&hv(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&dv(e.buffer)},isString:pv,isNumber:vv,isBoolean:function(e){return!0===e||!1===e},isObject:mv,isPlainObject:yv,isUndefined:fv,isDate:gv,isFile:bv,isBlob:wv,isRegExp:Av,isFunction:hv,isStream:function(e){return mv(e)&&hv(e.pipe)},isURLSearchParams:kv,isTypedArray:jv,isFileList:xv,forEach:Sv,merge:function e(){for(var t=(Cv(this)&&this||{}).caseless,n={},r=function(r,o){var i=t&&Ev(n,o)||o;yv(n[i])&&yv(r)?n[i]=e(n[i],r):yv(r)?n[i]=e({},r):cv(r)?n[i]=r.slice():n[i]=r},o=0,i=arguments.length;o<i;o++)arguments[o]&&Sv(arguments[o],r);return n},extend:function(e,t,n){return Sv(t,(function(t,r){n&&hv(t)?e[r]=ov(t,n):e[r]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==n&&av(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:uv,kindOfTest:lv,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(cv(e))return e;var t=e.length;if(!vv(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Tv,hasOwnProperty:Rv,hasOwnProp:Rv,reduceDescriptors:Nv,freezeMethods:function(e){Nv(e,(function(t,n){if(hv(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];hv(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return cv(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Ev,global:Pv,isContextDefined:Cv,ALPHABET:Dv,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dv.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&hv(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(mv(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=cv(n)?[]:{};return Sv(n,(function(t,n){var i=e(t,r+1);!fv(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:Mv,isThenable:function(e){return e&&(mv(e)||hv(e))&&hv(e.then)&&hv(e.catch)}};function Fv(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Iv.inherits(Fv,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:Iv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Vv=Fv.prototype,Uv={};["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","E
2RR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Uv[e]={value:e}})),Object.defineProperties(Fv,Uv),Object.defineProperty(Vv,"isAxiosError",{value:!0}),Fv.from=function(e,t,n,r,o,i){var a=Object.create(Vv);return Iv.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),Fv.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var zv=Fv,Bv=null;function Hv(e){return Iv.isPlainObject(e)||Iv.isArray(e)}function Wv(e){return Iv.endsWith(e,"[]")?e.slice(0,-2):e}function $v(e,t,n){return e?e.concat(t).map((function(e,t){return e=Wv(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var qv=Iv.toFlatObject(Iv,{},null,(function(e){return/^is[A-Z]/.test(e)}));var Kv=function(e,t,n){if(!Iv.isObject(e))throw new TypeError("target must be an object");t=t||new(Bv||FormData);var r=(n=Iv.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Iv.isUndefined(t[e])}))).metaTokens,o=n.visitor||s,i=n.dots,a=n.indexes,u=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Iv.isSpecCompliantForm(t);if(!Iv.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Iv.isDate(e))return e.toISOString();if(!u&&Iv.isBlob(e))throw new zv("Blob is not supported. Use a Buffer instead.");return Iv.isArrayBuffer(e)||Iv.isTypedArray(e)?u&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function s(e,n,o){var u=e;if(e&&!o&&"object"===typeof e)if(Iv.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Iv.isArray(e)&&function(e){return Iv.isArray(e)&&!e.some(Hv)}(e)||(Iv.isFileList(e)||Iv.endsWith(n,"[]"))&&(u=Iv.toArray(e)))return n=Wv(n),u.forEach((function(e,r){!Iv.isUndefined(e)&&null!==e&&t.append(!0===a?$v([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Hv(e)||(t.append($v(o,n,i),l(e)),!1)}var c=[],f=Object.assign(qv,{defaultVisitor:s,convertValue:l,isVisitable:Hv});if(!Iv.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Iv.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),Iv.forEach(n,(function(n,i){!0===(!(Iv.isUndefined(n)||null===n)&&o.call(t,n,Iv.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function Xv(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Yv(e,t){this._pairs=[],e&&Kv(e,this,t)}var Gv=Yv.prototype;Gv.append=function(e,t){this._pairs.push([e,t])},Gv.toString=function(e){var t=e?function(t){return e.call(this,t,Xv)}:Xv;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Qv=Yv;function Zv(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jv(e,t,n){if(!t)return e;var r,o=n&&n.encode||Zv,i=n&&n.serialize;if(r=i?i(t,n):Iv.isURLSearchParams(t)?t.toString():new Qv(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var em=function(){function e(){N(this,e),this.handlers=[]}return M(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Iv.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),tm=em,nm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rm={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:Qv,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var om=function(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),u=o>=e.length;return i=!i&&Iv.isArray(r)?r.length:i,u?(Iv.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Iv.isObject(r[i])||(r[i]=[]),t(e,n,r[
vendor: 6,135 bytes, line 2
2i],o)&&Iv.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(Iv.isFormData(e)&&Iv.isFunction(e.entries)){var n={};return Iv.forEachEntry(e,(function(e,r){t(function(e){return Iv.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},im={"Content-Type":void 0};var am={transitional:nm,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=Iv.isObject(e);if(i&&Iv.isHTMLForm(e)&&(e=new FormData(e)),Iv.isFormData(e))return o&&o?JSON.stringify(om(e)):e;if(Iv.isArrayBuffer(e)||Iv.isBuffer(e)||Iv.isStream(e)||Iv.isFile(e)||Iv.isBlob(e))return e;if(Iv.isArrayBufferView(e))return e.buffer;if(Iv.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Kv(e,new rm.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return rm.isNode&&Iv.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=Iv.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return Kv(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(Iv.isString(e))try{return(t||JSON.parse)(e),Iv.trim(e)}catch(jg){if("SyntaxError"!==jg.name)throw jg}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||am.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Iv.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(jg){if(o){if("SyntaxError"===jg.name)throw zv.from(jg,zv.ERR_BAD_RESPONSE,this,null,this.response);throw jg}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rm.classes.FormData,Blob:rm.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Iv.forEach(["delete","get","head"],(function(e){am.headers[e]={}})),Iv.forEach(["post","put","patch"],(function(e){am.headers[e]=Iv.merge(im)}));var um=am,lm=Iv.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"]),sm=Symbol("internals");function cm(e){return e&&String(e).trim().toLowerCase()}function fm(e){return!1===e||null==e?e:Iv.isArray(e)?e.map(fm):String(e)}function dm(e,t,n,r,o){return Iv.isFunction(r)?r.call(this,t,n):(o&&(t=n),Iv.isString(t)?Iv.isString(r)?-1!==t.indexOf(r):Iv.isRegExp(r)?r.test(t):void 0:void 0)}var pm=function(e,t){function n(e){N(this,n),e&&this.set(e)}return M(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=cm(t);if(!o)throw new Error("header name must be a non-empty string");var i=Iv.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=fm(e))}var i=function(e,t){return Iv.forEach(e,(function(e,n){return o(e,n,t)}))};return Iv.isPlainObject(e)||e instanceof this.constructor?i(e,t):Iv.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,n,r,o={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||o[t]&&lm[t]||("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)})),o}(e),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=cm(e)){var n=Iv.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(Iv.isFunction(t))return t.call(this,r,n);if(Iv.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=cm(e)){var n=Iv.findKey(this,e);return!(!n||void 0===this[n]||t&&!dm(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=cm(e)){var o=Iv.findKey(n,e);!o||t&&!dm(0,n[o],o,t)||(delete n[o],r=!0)}}return Iv.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!dm(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return Iv.forEach(this,(function(r,o){var i=Iv.findKey(n,o);if(i)return t[i]=fm(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=fm(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Iv.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&Iv.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=T(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[sm]=this[sm]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=cm(e);t[r]||(!function(e,t){var n=Iv.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}
vendor: 5,380 bytes, line 2
2))}(n,e),t[r]=!0)}return Iv.isArray(e)?e.forEach(r):r(e),this}}]),n}();pm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Iv.freezeMethods(pm.prototype),Iv.freezeMethods(pm);var hm=pm;function vm(e,t){var n=this||um,r=t||n,o=hm.from(r.headers),i=r.data;return Iv.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function mm(e){return!(!e||!e.__CANCEL__)}function ym(e,t,n){zv.call(this,null==e?"canceled":e,zv.ERR_CANCELED,t,n),this.name="CanceledError"}Iv.inherits(ym,zv,{__CANCEL__:!0});var gm=ym;var bm=rm.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),Iv.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Iv.isString(r)&&a.push("path="+r),Iv.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function wm(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var xm=rm.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=Iv.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var km=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var l=Date.now(),s=o[a];n||(n=l),r[i]=u,o[i]=l;for(var c=a,f=0;c!==i;)f+=r[c++],c%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(l-n<t)){var d=s&&l-s;return d?Math.round(1e3*f/d):void 0}}};function Sm(e,t){var n=0,r=km(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,u=i-n,l=r(u);n=i;var s={loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};s[t?"download":"upload"]=!0,e(s)}}var Em="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,o=e.data,i=hm.from(e.headers).normalize(),a=e.responseType;function u(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}Iv.isFormData(o)&&(rm.isStandardBrowserEnv||rm.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));var l=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(s+":"+c))}var f=wm(e.baseURL,e.url);function d(){if(l){var r=hm.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new zv("Request failed with status code "+n.status,[zv.ERR_BAD_REQUEST,zv.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),u()}),(function(e){n(e),u()}),{data:a&&"text"!==a&&"json"!==a?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}}if(l.open(e.method.toUpperCase(),Jv(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(n(new zv("Request aborted",zv.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new zv("Network Error",zv.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||nm;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new zv(t,r.clarifyTimeoutError?zv.ETIMEDOUT:zv.ECONNABORTED,e,l)),l=null},rm.isStandardBrowserEnv){var p=(e.withCredentials||xm(f))&&e.xsrfCookieName&&bm.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}void 0===o&&i.setContentType(null),"setRequestHeader"in l&&Iv.forEach(i.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),Iv.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),a&&"json"!==a&&(l.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&l.addEventListener("progress",Sm(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Sm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){l&&(n(!t||t.type?new gm(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var h=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);h&&-1===rm.protocols.indexOf(h)?n(new zv("Unsupported protocol "+h+":",zv.ERR_BAD_REQUEST,e)):l.send(o||null)}))},Pm={http:Bv,xhr:Em};Iv.forEach(Pm,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(jg){}Object.defineProperty(e,"adapterName",{value:t})}}));
2var Cm={getAdapter:function(e){for(var t,n,r=(e=Iv.isArray(e)?e:[e]).length,o=0;o<r&&(t=e[o],!(n=Iv.isString(t)?Pm[t.toLowerCase()]:t));o++);if(!n){if(!1===n)throw new zv("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(Iv.hasOwnProp(Pm,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!Iv.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:Pm};function Om(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gm(null,e)}function jm(e){return Om(e),e.headers=hm.from(e.headers),e.data=vm.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Cm.getAdapter(e.adapter||um.adapter)(e).then((function(t){return Om(e),t.data=vm.call(e,e.transformResponse,t),t.headers=hm.from(t.headers),t}),(function(t){return mm(t)||(Om(e),t&&t.response&&(t.response.data=vm.call(e,e.transformResponse,t.response),t.response.headers=hm.from(t.response.headers))),Promise.reject(t)}))}var Tm=function(e){return e instanceof hm?e.toJSON():e};function Rm(e,t){t=t||{};var n={};function r(e,t,n){return Iv.isPlainObject(e)&&Iv.isPlainObject(t)?Iv.merge.call({caseless:n},e,t):Iv.isPlainObject(t)?Iv.merge({},t):Iv.isArray(t)?t.slice():t}function o(e,t,n){return Iv.isUndefined(t)?Iv.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Iv.isUndefined(t))return r(void 0,t)}function a(e,t){return Iv.isUndefined(t)?Iv.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function u(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(e,t){return o(Tm(e),Tm(t),!0)}};return Iv.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=l[r]||o,a=i(e[r],t[r],r);Iv.isUndefined(a)&&i!==u||(n[r]=a)})),n}var Am="1.4.0",Nm={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Nm[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var _m={};Nm.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new zv(r(o," has been removed"+(t?" in "+t:"")),zv.ERR_DEPRECATED);return t&&!_m[o]&&(_m[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Lm={assertOptions:function(e,t,n){if("object"!==typeof e)throw new zv("options must be an object",zv.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],l=void 0===u||a(u,i,e);if(!0!==l)throw new zv("option "+i+" must be "+l,zv.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new zv("Unknown option "+i,zv.ERR_BAD_OPTION)}},validators:Nm},Dm=Lm.validators,Mm=function(){function e(t){N(this,e),this.defaults=t,this.interceptors={request:new tm,response:new tm}}return M(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=Rm(this.defaults,t),o=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==o&&Lm.assertOptions(o,{silentJSONParsing:Dm.transitional(Dm.boolean),forcedJSONParsing:Dm.transitional(Dm.boolean),clarifyTimeoutError:Dm.transitional(Dm.boolean)},!1),null!=i&&(Iv.isFunction(i)?t.paramsSerializer={serialize:i}:Lm.assertOptions(i,{encode:Dm.function,serialize:Dm.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=a&&Iv.merge(a.common,a[t.method]))&&Iv.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=hm.concat(n,a);var u=[],l=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,u.unshift(e.fulfilled,e.rejected))}));var s,c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));var f,d=0;if(!l){var p=[jm.bind(this),void 0];
vendor: 1,995 bytes, line 2
2for(p.unshift.apply(p,u),p.push.apply(p,c),f=p.length,s=Promise.resolve(t);d<f;)s=s.then(p[d++],p[d++]);return s}f=u.length;var h=t;for(d=0;d<f;){var v=u[d++],m=u[d++];try{h=v(h)}catch(y){m.call(this,y);break}}try{s=jm.call(this,h)}catch(y){return Promise.reject(y)}for(d=0,f=c.length;d<f;)s=s.then(c[d++],c[d++]);return s}},{key:"getUri",value:function(e){return Jv(wm((e=Rm(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();Iv.forEach(["delete","get","head","options"],(function(e){Mm.prototype[e]=function(t,n){return this.request(Rm(n||{},{method:e,url:t,data:(n||{}).data}))}})),Iv.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Rm(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Mm.prototype[e]=t(),Mm.prototype[e+"Form"]=t(!0)}));var Im=Mm,Fm=function(){function e(t){if(N(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,o){r.reason||(r.reason=new gm(e,t,o),n(r.reason))}))}return M(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t,n=new e((function(e){t=e}));return{token:n,cancel:t}}}]),e}(),Vm=Fm;var Um={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent: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};Object.entries(Um).forEach((function(e){var t=T(e,2),n=t[0],r=t[1];Um[r]=n}));var zm=Um;var Bm=function e(t){var n=new Im(t),r=ov(Im.prototype.request,n);return Iv.extend(r,Im.prototype,n,{allOwnKeys:!0}),Iv.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Rm(t,n))},r}(um);Bm.Axios=Im,Bm.CanceledError=gm,Bm.CancelToken=Vm,Bm.isCancel=mm,Bm.VERSION=Am,Bm.toFormData=Kv,Bm.AxiosError=zv,Bm.Cancel=Bm.CanceledError,Bm.all=function(e){return Promise.all(e)},Bm.spread=function(e){return function(t){return e.apply(null,t)}},Bm.isAxiosError=function(e){return Iv.isObject(e)&&!0===e.isAxiosError},Bm.mergeConfig=Rm,Bm.AxiosHeaders=hm,Bm.formToJSON=function(e){return om(Iv.isHTMLForm(e)?new FormData(e):e)},Bm.HttpStatusCode=zm,Bm.default=Bm;var Hm=function(){var t=T((0,e.useState)(""),2);t[0],t[1];return(0,rt.jsx)("div",{id:"mc_embed_signup",style:{maxWidth:"600px",margin:"auto"},children:(0,rt.jsx)("form",{action:"https://protonmail.us8.list-manage.com/subscribe/post?u=2581d56d95eb24eb325013ab4&id=86848be9c1&f_id=00bc0de0f0",method:"post",id:"mc-embedded-subscribe-form",name:"mc-embedded-subscribe-form",class:"validate",target:"_blank",novalidate:!0,children:(0,rt.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,rt.jsx)("input",{style:{flex:1,padding:"10px",fontSize:"16px",border:"1px solid #ccc",borderRadius:"5px 0 0 5px"},type:"email",name:"EMAIL",className:"required email",id:"mce-EMAIL",required:!0,placeholder:"Email Address"}),(0,rt.jsx)("input",{style:{padding:"10px 20px",fontSize:"16px",border:"1px solid #ccc",background:"#f8f9fa",color:"#343a40",cursor:"pointer",borderRadius:"0 5px 5px 0"},type:"submit",value:"Dive In"})]})})})},Wm=function(t){var n=T((0,e.useState)(""),2),r=(n[0],n[1],T((0,e.useState)(!1),2)),o=r[0],i=r[1],a={width:t.subscribed?"0%":"100%",opacity:t.subscribed?0:1,transition:{duration:1}};return(0,rt.jsxs)("div",{children:[t.subscribed?(0,rt.jsx)(hf,{duration:.3,children:(0,rt.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,rt.jsx)(Hm,{}),(0,rt.jsx)(zh,{onClick:function(){i(!0)},style:{fontSize:"1rem",marginTop:"1rem",alignSelf:"center",backgroundColor:"white",color:"black",borderWidth:"0px"},children:"Why Join?"}),(0,rt.jsx)(zh,{variant:"light",style:{fontSize:"1rem",alignSelf:"center",backgroundColor:"white",color:"gray",borderWidth:"0px",marginTop:"1rem"},onClick:function(){t.setSubscribed(!1)},children:"Cancel"})]})}):(0,rt.jsx)(rs.div,{style:a,children:(0,rt.jsx)(zh,{variant:"light",onClick:function(){t.setSubscribed(!0)},style:{color:"black",fontSize:"1.25rem",padding:"0.1rem 5rem",border:"1px solid gray",borderWidth:"0px",borderRadius:"5px"},children:"Join Us"})}),(0,rt.jsxs)(rv,{show:o,onHide:function(){return i(!1)},centered:!0,children:[(0,rt.jsx)(rv.Header,{closeButton:!0,children:(0,rt.jsx)(rv.Title,{children:"Get involved!"})}),(0,rt.jsxs)(rv.Body,{children:["Join us in building a vibrant community of ocean explorers, engineers, and scientists! Sign up today to:",(0,rt.jsxs)("ul",{children:[(0,rt.jsx)("li",{children:"Join our exclusive Discord server."}),(0,rt.jsx)("li",{children:"Exchange feedback on innovative design ideas in incubation."}),(0,rt.jsx)("li",{children:"Gain access to exclusive data."})]})]})]})]})},$m=["as","className","type","tooltip"],qm={type:Op().string,tooltip:Op().bool,as:Op().elementType},Km=e.forwardRef((function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.className,i=e.type,a=void 0===i?"valid":i,u=e.tooltip,l=void 0!==u&&u,s=et(e,$m);return(0,rt.jsx)(r,Je(Je({},s),{},{ref:t,className:nt()(o,"".concat(a,"-").concat(l?"tooltip":"feedback"))}))}));
2Km.displayName="Feedback",Km.propTypes=qm;var Xm=Km,Ym=e.createContext({}),Gm=["id","bsPrefix","className","type","isValid","isInvalid","as"],Qm=e.forwardRef((function(t,n){var r=t.id,o=t.bsPrefix,i=t.className,a=t.type,u=void 0===a?"checkbox":a,l=t.isValid,s=void 0!==l&&l,c=t.isInvalid,f=void 0!==c&&c,d=t.as,p=void 0===d?"input":d,h=et(t,Gm),v=(0,e.useContext)(Ym).controlId;return o=ut(o,"form-check-input"),(0,rt.jsx)(p,Je(Je({},h),{},{ref:n,type:u,id:r||v,className:nt()(i,o,s&&"is-valid",f&&"is-invalid")}))}));Qm.displayName="FormCheckInput";var Zm=Qm,Jm=["bsPrefix","className","htmlFor"],ey=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.className,i=t.htmlFor,a=et(t,Jm),u=(0,e.useContext)(Ym).controlId;return r=ut(r,"form-check-label"),(0,rt.jsx)("label",Je(Je({},a),{},{ref:n,htmlFor:i||u,className:nt()(o,r)}))}));ey.displayName="FormCheckLabel";var ty=ey;var ny=["id","bsPrefix","bsSwitchPrefix","inline","reverse","disabled","isValid","isInvalid","feedbackTooltip","feedback","feedbackType","className","style","title","type","label","children","as"],ry=e.forwardRef((function(t,n){var r=t.id,o=t.bsPrefix,i=t.bsSwitchPrefix,a=t.inline,u=void 0!==a&&a,l=t.reverse,s=void 0!==l&&l,c=t.disabled,f=void 0!==c&&c,d=t.isValid,p=void 0!==d&&d,h=t.isInvalid,v=void 0!==h&&h,m=t.feedbackTooltip,y=void 0!==m&&m,g=t.feedback,b=t.feedbackType,w=t.className,x=t.style,k=t.title,S=void 0===k?"":k,E=t.type,P=void 0===E?"checkbox":E,C=t.label,O=t.children,j=t.as,T=void 0===j?"input":j,R=et(t,ny);o=ut(o,"form-check"),i=ut(i,"form-switch");var A=(0,e.useContext)(Ym).controlId,N=(0,e.useMemo)((function(){return{controlId:r||A}}),[A,r]),_=!O&&null!=C&&!1!==C||function(t,n){return e.Children.toArray(t).some((function(t){return e.isValidElement(t)&&t.type===n}))}(O,ty),L=(0,rt.jsx)(Zm,Je(Je({},R),{},{type:"switch"===P?"checkbox":P,ref:n,isValid:p,isInvalid:v,disabled:f,as:T}));return(0,rt.jsx)(Ym.Provider,{value:N,children:(0,rt.jsx)("div",{style:x,className:nt()(w,_&&o,u&&"".concat(o,"-inline"),s&&"".concat(o,"-reverse"),"switch"===P&&i),children:O||(0,rt.jsxs)(rt.Fragment,{children:[L,_&&(0,rt.jsx)(ty,{title:S,children:C}),g&&(0,rt.jsx)(Xm,{type:b,tooltip:y,children:g})]})})})}));ry.displayName="FormCheck";var oy=Object.assign(ry,{Input:Zm,Label:ty}),iy=(n(391),["bsPrefix","type","size","htmlSize","id","className","isValid","isInvalid","plaintext","readOnly","as"]),ay=e.forwardRef((function(t,n){var r,o,i=t.bsPrefix,a=t.type,u=t.size,l=t.htmlSize,s=t.id,c=t.className,f=t.isValid,d=void 0!==f&&f,p=t.isInvalid,h=void 0!==p&&p,v=t.plaintext,m=t.readOnly,y=t.as,g=void 0===y?"input":y,b=et(t,iy),w=(0,e.useContext)(Ym).controlId;(i=ut(i,"form-control"),v)?r=Qe({},"".concat(i,"-plaintext"),!0):(Qe(o={},i,!0),Qe(o,"".concat(i,"-").concat(u),u),r=o);return(0,rt.jsx)(g,Je(Je({},b),{},{type:a,size:l,ref:n,readOnly:m,id:s||w,className:nt()(c,r,d&&"is-valid",h&&"is-invalid","color"===a&&"".concat(i,"-color"))}))}));ay.displayName="FormControl";var uy=Object.assign(ay,{Feedback:Xm}),ly=If("form-floating"),sy=["controlId","as"],cy=e.forwardRef((function(t,n){var r=t.controlId,o=t.as,i=void 0===o?"div":o,a=et(t,sy),u=(0,e.useMemo)((function(){return{controlId:r}}),[r]);return(0,rt.jsx)(Ym.Provider,{value:u,children:(0,rt.jsx)(i,Je(Je({},a),{},{ref:n}))})}));cy.displayName="FormGroup";var fy=cy,dy=["as","bsPrefix","column","visuallyHidden","className","htmlFor"],py=e.forwardRef((function(t,n){var r=t.as,o=void 0===r?"label":r,i=t.bsPrefix,a=t.column,u=t.visuallyHidden,l=t.className,s=t.htmlFor,c=et(t,dy),f=(0,e.useContext)(Ym).controlId;i=ut(i,"form-label");var d="col-form-label";"string"===typeof a&&(d="".concat(d," ").concat(d,"-").concat(a));var p=nt()(l,i,u&&"visually-hidden",a&&d);return s=s||f,a?(0,rt.jsx)(bt,Je({ref:n,as:"label",className:p,htmlFor:s},c)):(0,rt.jsx)(o,Je({ref:n,className:p,htmlFor:s},c))}));py.displayName="FormLabel",py.defaultProps={column:!1,visuallyHidden:!1};var hy=py,vy=["bsPrefix","className","id"],my=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.className,i=t.id,a=et(t,vy),u=(0,e.useContext)(Ym).controlId;return r=ut(r,"form-range"),(0,rt.jsx)("input",Je(Je({},a),{},{type:"range",ref:n,className:nt()(o,r),id:i||u}))}));my.displayName="FormRange";var yy=my,gy=["bsPrefix","size","htmlSize","className","isValid","isInvalid","id"],by=e.forwardRef((function(t,n){var r=t.bsPrefix,o=t.size,i=t.htmlSize,a=t.className,u=t.isValid,l=void 0!==u&&u,s=t.isInvalid,c=void 0!==s&&s,f=t.id,d=et(t,gy
2),p=(0,e.useContext)(Ym).controlId;return r=ut(r,"form-select"),(0,rt.jsx)("select",Je(Je({},d),{},{size:i,ref:n,className:nt()(a,r,o&&"".concat(r,"-").concat(o),l&&"is-valid",c&&"is-invalid"),id:f||p}))}));by.displayName="FormSelect";var wy=by,xy=["bsPrefix","className","as","muted"],ky=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.as,i=void 0===o?"small":o,a=e.muted,u=et(e,xy);return n=ut(n,"form-text"),(0,rt.jsx)(i,Je(Je({},u),{},{ref:t,className:nt()(r,n,a&&"text-muted")}))}));ky.displayName="FormText";var Sy=ky,Ey=e.forwardRef((function(e,t){return(0,rt.jsx)(oy,Je(Je({},e),{},{ref:t,type:"switch"}))}));Ey.displayName="Switch";var Py=Object.assign(Ey,{Input:oy.Input,Label:oy.Label}),Cy=["bsPrefix","className","children","controlId","label"],Oy=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,i=e.controlId,a=e.label,u=et(e,Cy);return n=ut(n,"form-floating"),(0,rt.jsxs)(fy,Je(Je({ref:t,className:nt()(r,n),controlId:i},u),{},{children:[o,(0,rt.jsx)("label",{htmlFor:i,children:a})]}))}));Oy.displayName="FloatingLabel";var jy=Oy,Ty=["className","validated","as"],Ry={_ref:Op().any,validated:Op().bool,as:Op().elementType},Ay=e.forwardRef((function(e,t){var n=e.className,r=e.validated,o=e.as,i=void 0===o?"form":o,a=et(e,Ty);return(0,rt.jsx)(i,Je(Je({},a),{},{ref:t,className:nt()(n,r&&"was-validated")}))}));Ay.displayName="Form",Ay.propTypes=Ry;var Ny=Object.assign(Ay,{Group:fy,Control:uy,Floating:ly,Check:oy,Switch:Py,Label:hy,Text:Sy,Range:yy,Select:wy,FloatingLabel:jy}),_y=["bsPrefix","size","vertical","className","as"],Ly=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.size,o=e.vertical,i=e.className,a=e.as,u=void 0===a?"div":a,l=et(e,_y),s=ut(n,"btn-group"),c=s;return o&&(c="".concat(s,"-vertical")),(0,rt.jsx)(u,Je(Je({},l),{},{ref:t,className:nt()(i,c,r&&"".concat(s,"-").concat(r))}))}));Ly.displayName="ButtonGroup",Ly.defaultProps={vertical:!1,role:"group"};var Dy=Ly;function My(t){var n=T((0,e.useState)(null),2),r=n[0],o=n[1],i=T((0,e.useState)(!1),2),a=i[0],u=i[1],l=T((0,e.useState)(null),2),s=(l[0],l[1],function(e){o((function(t){return t===e?null:e}))});var c={width:t.subscribed?"0%":"100%",opacity:t.subscribed?0:1,transition:{duration:1}};return(0,rt.jsxs)(Ny,{children:[t.subscribed?(0,rt.jsx)(hf,{duration:.3,children:(0,rt.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,rt.jsxs)(Dy,{"aria-label":"Subscription Amount",variant:"dark",children:[(0,rt.jsx)(zh,{variant:"$5"===r?"dark":"light",onClick:function(){return s("$5")},children:"$5"}),(0,rt.jsx)(zh,{variant:"$10"===r?"dark":"light",onClick:function(){return s("$10")},children:"$10"}),(0,rt.jsx)(zh,{variant:"$20"===r?"dark":"light",onClick:function(){return s("$20")},children:"$20"}),(0,rt.jsx)(zh,{variant:"$50"===r?"dark":"light",onClick:function(){return s("$50")},children:"$50"}),(0,rt.jsx)(zh,{variant:"$100"===r?"dark":"light",onClick:function(){return s("$100")},children:"$100"})]}),null===r?(0,rt.jsx)(zh,{onClick:function(){u(!0)},style:{fontSize:"1rem",marginTop:"1rem",alignSelf:"center",backgroundColor:"white",color:"black",borderWidth:"0px"},children:"Why Donate?"}):(0,rt.jsx)(rt.Fragment,{children:(0,rt.jsxs)(zh,{onClick:function(){var e=window.location.href,n="";switch(r){case"$5":n="https://donate.stripe.com/6oEcOmfxR1X76m4bIK";break;case"$10":n="https://donate.stripe.com/14k8y671l9pzfWE4gh";break;case"$20":n="https://donate.stripe.com/14k8y6adxfNXbGo9AD";break;case"$50":n="https://donate.stripe.com/00gaGe71latD7q8eUY";break;case"$100":n="https://donate.stripe.com/28o5lU0CXeJTcKs5kp"}t.onComplete(),setTimeout((function(){window.location.href=n}),3e3),localStorage.setItem("returnURL",e)},variant:"outline-dark",style:{marginTop:"1rem"},children:["Donate ",r]})}),(0,rt.jsx)(zh,{variant:"light",style:{fontSize:"1rem",alignSelf:"center",backgroundColor:"white",color:"gray",borderWidth:"0px",marginTop:"1rem"},onClick:function(){o(null),t.setSubscribed(!1)},children:"Cancel"})]})}):(0,rt.jsx)(rs.div,{style:c,children:(0,rt.jsx)(zh,{variant:"light",onClick:function(){t.setSubscribed(!0)},style:{color:"black",fontSize:"1.25rem",padding:"0.1rem 5rem",border:"1px solid gray",borderWidth:"0px",borderRadius:"5px"},children:"Donate"})}),(0,rt.jsxs)(rv,{show:a,onHide:function(){return u(!1)},centered:!0,children:[(0,rt.jsx)(rv.Header,{closeButton:!0,children:(0,rt.jsx)(rv.Title,{children:"Thank y
2ou for your interest!"})}),(0,rt.jsx)(rv.Body,{children:(0,rt.jsxs)("ul",{children:[(0,rt.jsx)("li",{children:"We are collectively pioneering the world's best open-source marine equipment. Many of our projects are truly unique and the first of their kind."}),(0,rt.jsx)("li",{children:"Although we are a young community, we are incredibly active. Your support, no matter how small, helps lay the foundation for our continued growth."}),(0,rt.jsx)("li",{children:"Donations contribute directly to project costs and keep development moving forward."})]})})]})]})}function Iy(){var t=T((0,e.useState)(!1),2),n=t[0],r=t[1],o=T((0,e.useState)(!1),2),i=o[0],a=o[1],u=(0,e.useRef)(null);(0,e.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow=""}}),[]);var l=function(){window.scrollTo({top:document.documentElement.scrollHeight,behavior:"smooth"})};return(0,rt.jsxs)(hf,{duration:1.7,children:[(0,rt.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",overflow:"hidden",position:"relative",minHeight:"100vh"},children:[(0,rt.jsx)("div",{style:{top:n?"10vh":"13vh",position:"absolute"},children:!i&&(0,rt.jsx)(Wm,{onComplete:l,setSubscribed:r,subscribed:n})}),(0,rt.jsx)("div",{style:{top:i?"10vh":"25vh",position:"absolute"},children:!n&&(0,rt.jsx)(My,{onComplete:l,setSubscribed:a,subscribed:i})}),(0,rt.jsx)("div",{style:{bottom:0,left:0,overflow:"hidden",position:"absolute",width:"100%",height:function(){var e=window.innerHeight-document.documentElement.clientHeight;return"calc((93vh - ".concat(e,"px)/1.75)")}(),borderRadius:"calc(50%)"},children:(0,rt.jsx)("img",{src:Mh,alt:"example gif",style:{width:"100%",height:"100%"}})})]}),(0,rt.jsxs)("div",{ref:u,children:[(0,rt.jsx)("div",{style:{height:"10000vh",background:"rgb(15,20,24)",modelBackground:"linear-gradient(0deg,rgb(26,38,61) 0%, rgb(15,20,24) 100%)"}}),(0,rt.jsx)("div",{style:{height:"50vh",background:"pink"},children:(0,rt.jsx)("img",{src:Ih,alt:"example gif",style:{width:"100%",height:"100%"}})})]})]})}function Fy(){var t=window.matchMedia("(min-width: 1200px)").matches,n=t?50:40,r=T((0,e.useState)(!1),2),o=r[0],i=r[1],a=T((0,e.useState)(!1),2),u=a[0],l=a[1];return(0,rt.jsx)(hf,{duration:1.7,children:(0,rt.jsxs)("div",{style:{marginTop:t?"0rem":"1rem",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100vh",position:"relative"},children:[(0,rt.jsx)("div",{style:{position:"absolute",top:t?"3rem":"2rem",zIndex:10},children:!u&&(0,rt.jsx)(Wm,{subscribed:o,setSubscribed:i})}),(0,rt.jsx)("div",{style:{position:"absolute",top:u?"3rem":"8rem",zIndex:10},children:!o&&(0,rt.jsx)(My,{onComplete:function(){},setSubscribed:l,subscribed:u})}),(0,rt.jsx)(rs.div,{style:{position:"absolute",left:"calc(50% - ".concat(n/2,"vh)"),bottom:"calc(50% - ".concat(n/2,"vh)"),width:"".concat(n,"vh"),height:"".concat(n,"vh"),borderRadius:"50%",overflow:"hidden",zIndex:100},animate:{width:"".concat(n,"vh"),height:"".concat(n,"vh"),left:"calc(50% - ".concat(n/2,"vh)"),bottom:"calc(50% - ".concat(n/2,"vh)")},children:(0,rt.jsx)("img",{src:Mh,alt:"example gif",style:{width:"100%"}})}),(0,rt.jsx)(rs.div,{style:{zIndex:1,position:"absolute",borderRadius:"50%",backgroundImage:"linear-gradient(to bottom, ".concat("#26a6d7",", ","#e392d6",")"),width:"".concat(n,"vh"),height:"".concat(n,"vh"),left:"calc(50% - ".concat(n/2,"vh)"),bottom:"calc(50% - ".concat(n/2,"vh)"),backgroundPosition:"50% 90%"},animate:{backgroundImage:o||u?"linear-gradient(to bottom, ".concat("#f5eba1",", ","#ff9e5c",")"):"linear-gradient(to bottom, ".concat("#1bcee7",", ","#e392d6",")"),transform:o||u?"skew(-".concat(60,"deg)"):"skew(".concat(20,"deg)"),transition:{type:"tween",duration:o||u?.5:.25}}}),(0,rt.jsx)("div",{style:{zIndex:0,position:"absolute",bottom:"0",width:"100vw",height:"calc(50vh - 1px)",borderWidth:"1px",backgroundColor:"aliceblue"}}),(0,rt.jsx)("div",{style:{zIndex:3,position:"absolute",top:"0",width:"100vw",height:"50vh",backgroundColor:"white"}})]})})}var Vy={white:"#fdf4f4",robin:"#00c2d1",lightrobin:"#edf9fa",plum:"#9a4c95",violet:"#605564",dark:"#1d1a31",light:"#f2f2f2"},Uy=n(513),zy=[{index:0,title:"Project 1",description:"Description 1"},{index:1,title:"Project 2",description:"Description 2"},{index:2,title:"Project 3",description:"Description 3"}];function By(){return(0,rt.jsx)(kf,{model:Uy,projectLogs:zy,modelBackgroun
vendor: 8,964 bytes, line 2
2d:"linear-gradient(0deg,".concat(Vy.plum," 0%, ").concat(Vy.robin," 100%)"),expandedColor:Vy.plum,collapsedColor:Vy.lightrobin})}function Hy(){return Hy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hy.apply(this,arguments)}function Wy(e,t){return Wy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wy(e,t)}Object.create;function $y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var qy=n(281),Ky=new Map,Xy=function(e){return e.cloneNode(!0)},Yy=function(){return"file:"===window.location.protocol},Gy=function(e,t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&2===r.readyState){var t=r.getResponseHeader("Content-Type");if(!t)throw new Error("Content type not found");var o=(0,qy.Q)(t).type;if("image/svg+xml"!==o&&"text/plain"!==o)throw new Error("Invalid content type: ".concat(o))}if(4===r.readyState){if(404===r.status||null===r.responseXML)throw new Error(Yy()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(!(200===r.status||Yy()&&0===r.status))throw new Error("There was a problem injecting the SVG: "+r.status+" "+r.statusText);n(null,r)}}catch(i){if(r.abort(),!(i instanceof Error))throw i;n(i,r)}},r.open("GET",e),r.withCredentials=t,r.overrideMimeType&&r.overrideMimeType("text/xml"),r.send()},Qy={},Zy=function(e,t){Qy[e]=Qy[e]||[],Qy[e].push(t)},Jy=function(e,t,n){if(Ky.has(e)){var r=Ky.get(e);if(void 0===r)return void Zy(e,n);if(r instanceof SVGSVGElement)return void n(null,Xy(r))}Ky.set(e,void 0),Zy(e,n),Gy(e,t,(function(t,n){var r;t?Ky.set(e,t):(null===(r=n.responseXML)||void 0===r?void 0:r.documentElement)instanceof SVGSVGElement&&Ky.set(e,n.responseXML.documentElement),function(e){for(var t=function(t,n){setTimeout((function(){if(Array.isArray(Qy[e])){var n=Ky.get(e),r=Qy[e][t];n instanceof SVGSVGElement&&r(null,Xy(n)),n instanceof Error&&r(n),t===Qy[e].length-1&&delete Qy[e]}}),0)},n=0,r=Qy[e].length;n<r;n++)t(n)}(e)}))},eg=function(e,t,n){Gy(e,t,(function(e,t){var r;e?n(e):(null===(r=t.responseXML)||void 0===r?void 0:r.documentElement)instanceof SVGSVGElement&&n(null,t.responseXML.documentElement)}))},tg=0,ng=[],rg={},og="http://www.w3.org/1999/xlink",ig=function(e,t,n,r,o,i,a){var u=e.getAttribute("data-src")||e.getAttribute("src");if(u){if(-1!==ng.indexOf(e))return ng.splice(ng.indexOf(e),1),void(e=null);ng.push(e),e.setAttribute("src",""),(r?Jy:eg)(u,o,(function(r,o){if(!o)return ng.splice(ng.indexOf(e),1),e=null,void a(r);var l=e.getAttribute("id");l&&o.setAttribute("id",l);var s=e.getAttribute("title");s&&o.setAttribute("title",s);var c=e.getAttribute("width");c&&o.setAttribute("width",c);var f=e.getAttribute("height");f&&o.setAttribute("height",f);var d=Array.from(new Set($y($y($y([],(o.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();o.setAttribute("class",d);var p=e.getAttribute("style");p&&o.setAttribute("style",p),o.setAttribute("data-src",u);var h=[].filter.call(e.attributes,(function(e){return/^data-\w[\w-]*$/.test(e.name)}));if(Array.prototype.forEach.call(h,(function(e){e.name&&e.value&&o.setAttribute(e.name,e.value)})),n){var v,m,y,g,b,w={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(w).forEach((function(e){v=e,y=w[e];for(var t=function(e,t){var n;g=m[e].id,b=g+"-"+ ++tg,Array.prototype.forEach.call(y,(function(e){for(var t=0,r=(n=o.querySelectorAll("["+e+'*="'+g+'"]')).length;t<r;t++){var i=n[t].getAttribute(e);i&&!i.match(new RegExp('url\\("?#'+g+'"?\\)'))||n[t].setAttribute(e,"url(#"+b+")")}}));for(var r=o.querySelectorAll("[*|href]"),i=[],a=0,u=r.length;a<u;a++){var l=r[a].getAttributeNS(og,"href");l&&l.toString()==="#"+m[e].id&&i.push(r[a])}for(var s=0,c=i.length;s<c;s++)i[s].setAttributeNS(og,"href","#"+b);m[e].id=b},n=0,r=(m=o.querySelectorAll(v+"[id]")).length;n<r;n++)t(n)}))}o.removeAttribute("xmlns:a");for(var x,k,S=o.querySelectorAll("script"),E=[],P=0,C=S.length;P<C;P++)(k=S[P].getAttribute("type"))&&"application/ecmascript"!==k&&"application/javascript"!==k&&"text/javascript"!==k||((x=S[P].innerText||S[P].textContent)&&E.push(x),o.removeChild(S[P]));if(E.length>0&&("always"===t||"once"===t&&!rg[u])){for(var O=0,j=E.length;O<j;O++)new Function(E[O])(window);rg[u]=!0}var T=o.querySelectorAll("style");if(Array.prototype.forEach.call(T,(function(e){e.textContent+=""})),o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("xmlns:xlink",og),i(o),!e.parentNode)return ng.splice(ng.indexOf(e),1),e=null,void a(new Error("Parent node is null"));e.parentNode.replaceChild(o,e),ng.splice(ng.indexOf(e),1),e=null,a(null,o)}))}else a(new Error("Invalid data-src or src attribute"))},ag=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],ug="http://www.w3.org/2000/svg",lg="http://www.w3.org/1999/xlink",sg=function(t){var n,r;function o(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).initialState={hasError:!1,isLoading:!0},e.state=e.initialState,e._isMounted=!1,e.reactWrapper=void 0,e.nonReactWrapper=void 0,e.refCallback=function(t){e.reactWrapper=t},e}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,Wy(n,r);var i=o.prototype;return i.renderSVG=function(){var e,t=this;if(this.reactWrapper instanceof(e=this.reactWrapper,((null==e?void 0:e.ownerDocument)||document).defaultView||window).Node){var n,r,o=this.props,i=o.desc,a=o.evalScripts,u=o.httpRequestWithCredentials,l=o.renumerateIRIElements,s=o.src,c=o.title,f=o.useRequestCache,d=this.props.onError,p=this.props.beforeInjection,h=this.props.afterInjection,v=this.props.wrapper;"svg"===v?((n=document.createElementNS(ug,v)).setAttribute("xmlns",ug),n.setAttribute("xmlns:xlink",lg),r=document.createElementNS(ug,v)):(n=document.createElement(v),r=document.createElement(v)),n.appendChild(r),r.dataset.src=s,this.nonReactWrapper=this.reactWrapper.appendChild(n);var m=function(e){t.removeSVG(),t._isMounted?t.setState((function(){return{hasError:!0,isLoading:!1}}),(function(){d(e)})):d(e)};!function(e,t){var n=void 0===t?{}:t,r=n.afterAll,o=void 0===r?function(){}:r,i=n.afterEach,a=void 0===i?function(){}:i,u=n.beforeEach,l=void 0===u?function(){}:u,s=n.cacheRequests,c=void 0===s||s,f=n.evalScripts,d=void 0===f?"never":f,p=n.httpRequestWithCredentials,h=void 0!==p&&p,v=n.renumerateIRIElements,m=void 0===v||v;if(e&&"length"in e)for(var y=0,g=0,b=e.length;g<b;g++)ig(e[g],d,m,c,h,l,(function(t,n){a(t,n),e&&"length"in e&&e.length===++y&&o(y)}));else e?ig(e,d,m,c,h,l,(function(t,n){a(t,n),o(1),e=null})):o(0)}(r,{afterEach:function(e,n){e?m(e):t._isMounted&&t.setState((function(){return{isLoading:!1}}),(function(){try{h(n)}catch(e){m(e)}}))},beforeEach:function(e){if(e.setAttribute("role","img"),i){var t=e.querySelector(":scope > desc");t&&e.removeChild(t);var n=document.createElement("desc");n.innerHTML=i,e.prepend(n)}if(c){var r=e.querySelector(":scope > title");r&&e.removeChild(r);var o=document.createElement("title");o.innerHTML=c,e.prepend(o)}try{p(e)}catch(a){m(a)}},cacheRequests:f,evalScripts:a,httpRequestWithCredentials:u,renumerateIRIElements:l})}},i.removeSVG=function(){var e;null!=(e=this.nonReactWrapper)&&e.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},i.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},i.componentDidUpdate=function(e){var t=this;(function(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1})(Hy({},e),this.props)&&this.setState((function(){return t.initialState}),(function(){t.removeSVG(),t.renderSVG()}))},i.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},i.render=function(){var t=this.props;t.afterInjection,t.beforeInjection,t.desc,t.evalScripts;var n=t.fallback;t.httpRequestWithCredentials;var r=t.loading;t.renumerateIRIElements,t.src,t.title,t.useRequestCache;var o=t.wrapper,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,ag),a=o;return e.createElement(a,Hy({},i,{ref:this.refCallback},"svg"===o?{xmlns:ug,xmlnsXlink:lg}:{}
2),this.state.isLoading&&r&&e.createElement(r,null),this.state.hasError&&n&&e.createElement(n,null))},o}(e.Component);sg.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"},sg.propTypes={afterInjection:Cp.func,beforeInjection:Cp.func,desc:Cp.string,evalScripts:Cp.oneOf(["always","once","never"]),fallback:Cp.oneOfType([Cp.func,Cp.object,Cp.string]),httpRequestWithCredentials:Cp.bool,loading:Cp.oneOfType([Cp.func,Cp.object,Cp.string]),onError:Cp.func,renumerateIRIElements:Cp.bool,src:Cp.string.isRequired,title:Cp.string,useRequestCache:Cp.bool,wrapper:Cp.oneOf(["div","span","svg"])};var cg=function(t){var n=T((0,e.useState)(null),2),r=n[0],o=n[1],i=(0,e.useRef)(null),a={display:"flex",opacity:t.opacity||1,zIndex:t.index,position:"absolute",visibility:t.visible?"visible":"hidden",color:t.color||"black",top:"50%",left:"50%",transform:"translate(".concat(t.dx||0,"px, ").concat(t.dy||0,"px) translate(-50%, -50%) scale(").concat(t.scale||1,")")};return(0,e.useEffect)((function(){fetch(t.svgFilePath).then((function(e){return e.text()})).then((function(e){o(e)}))}),[t.svgFilePath,t.defaultColor]),(0,e.useEffect)((function(){r&&i.current&&(i.current.innerHTML=r)}),[r]),(0,rt.jsx)(sg,{beforeInjection:function(e){e.querySelectorAll("polygon").forEach((function(e){e.setAttribute("fill",t.color||"black")}))},src:t.svgFilePath,style:a})},fg=[{nameFragment:"B_Silkscreen",color:"#A58B00",index:10,visible:!0},{nameFragment:"B_Cu",color:"#9a9a9a",index:11,visible:!0},{nameFragment:"F_Cu",color:"#EEEEEE",index:12,visible:!0},{nameFragment:"F_Silkscreen",color:"#e1c73d",index:13,visible:!0},{nameFragment:"Edge_Cuts",color:"#FFFF00",index:14,visible:!0},{nameFragment:"F_Mask",color:"#FFDD00",index:15,visible:!0}],dg={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pg=e.createContext&&e.createContext(dg),hg=function(){return hg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hg.apply(this,arguments)},vg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function mg(t){return t&&t.map((function(t,n){return e.createElement(t.tag,hg({key:n},t.attr),mg(t.child))}))}function yg(t){return function(n){return e.createElement(gg,hg({attr:hg({},t.attr)},n),mg(t.child))}}function gg(t){var n=function(n){var r,o=t.attr,i=t.size,a=t.title,u=vg(t,["attr","size","title"]),l=i||n.size||"1em";return n.className&&(r=n.className),t.className&&(r=(r?r+" ":"")+t.className),e.createElement("svg",hg({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,u,{className:r,style:hg(hg({color:t.color||n.color},n.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&e.createElement("title",null,a),t.children)};return void 0!==pg?e.createElement(pg.Consumer,null,(function(e){return n(e)})):n(dg)}function bg(e){return yg({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46A11.804 11.804 0 001 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}}]})(e)}function wg(e){return yg({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}}]})(e)}var xg=function(t){var n=t.svgList,r=T((0,e.useState)(1.8),2),o=r[0],i=r[1],a=T((0,e.useState)(0),2),u=a[0],l=a[1],s=T((0,e.useState)(0),2),c=s[0],f=s[1],d=T((0,e.useState)(fg),2),p=d[0],h=d[1],v=T((0,e.useState)(!1),2),m=v[0],y=v[1],g=T((0,e.useState)({x:0,y:0}),2),b=g[0],w=g[1],x=T((0,e.useState)(null),2),k=x[0],S=x[1],E=function(){y(!1)},P=function(){return p.map((function(e,t){var r=n.find((function(t){return t.includes(e.nameFragment)}));return console.log("found path :",r),(0,rt.jsx)(cg,{index:e.index,color:e.color,scale:o,opacity:.5,visible:e.visible,svgFilePath:r,dx:u,dy:c},t)}
2))};return(0,rt.jsxs)("div",{style:{display:"flex",height:"100vh",width:"100wh"},xs:12,children:[(0,rt.jsx)(bt,{xs:3,style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:p.map((function(e,t){return(0,rt.jsx)(vt,{style:{padding:"0.25rem",width:"80%"},children:(0,rt.jsxs)(zh,{onMouseEnter:function(){return S(t)},onMouseLeave:function(){return S(null)},variant:e.visible?"secondary":"outline-secondary",onClick:function(){return function(e){var t=A(p);t[e].visible=!t[e].visible,h(t)}(t)},style:{display:"flex",alignItems:"center"},children:[e.visible?(0,rt.jsx)(wg,{size:25,color:e.visible||k===t?"white":"gray"}):(0,rt.jsx)(bg,{size:25,color:e.visible||k===t?"white":"gray"}),(0,rt.jsx)("p",{style:{paddingLeft:"1rem"},children:e.nameFragment})]})},e.nameFragment)}))}),(0,rt.jsx)(bt,{xs:9,onMouseDown:function(e){y(!0),w({x:e.clientX,y:e.clientY})},onMouseMove:function(e){if(m){var t=e.clientX-b.x,n=e.clientY-b.y;l((function(e){return e+t})),f((function(e){return e+n})),w({x:e.clientX,y:e.clientY})}},onMouseUp:E,onMouseLeave:E,onWheel:function(e){e.preventDefault();var t=Math.max(.1,o+-.01*e.deltaY);i(t)},onTouchStart:function(e){y(!0),w({x:e.touches[0].clientX,y:e.touches[0].clientY})},onTouchMove:function(e){if(m){var t=e.touches[0].clientX-b.x,n=e.touches[0].clientY-b.y;l((function(e){return e+t})),f((function(e){return e+n})),w({x:e.touches[0].clientX,y:e.touches[0].clientY})}},onTouchEnd:function(){y(!1)},style:{display:"flex",alignContent:"center",justifyContent:"center",alignItems:"center",position:"relative",height:"100%",width:"100%",overflow:"hidden"},children:(0,rt.jsx)(P,{})})]})};function kg(e){return(0,rt.jsx)("div",{style:{width:"100wh",height:"100vh",backgroundColor:"rgb(38,38,35)",overflowY:"hidden"},children:(0,rt.jsx)(hf,{duration:2,children:(0,rt.jsx)(xg,{svgList:["/svgoptimizer/BuoyPower-B_Cu.gbr-min.svg","/svgoptimizer/BuoyPower-B_Mask.gbr-min.svg","/svgoptimizer/BuoyPower-B_Silkscreen.gbr-min.svg","/svgoptimizer/BuoyPower-Edge_Cuts.gbr-min.svg","/svgoptimizer/BuoyPower-F_Cu.gbr-min.svg","/svgoptimizer/BuoyPower-F_Mask.gbr-min.svg","/svgoptimizer/BuoyPower-F_Silkscreen.gbr-min.svg"]})})})}var Sg=function(){var t=window.matchMedia("(min-width: 1200px)").matches;return(0,rt.jsxs)(e.StrictMode,{children:[(0,rt.jsx)(Dh,{}),(0,rt.jsx)(Xe,{children:(0,rt.jsxs)($e,{children:[(0,rt.jsx)(He,{index:!0,element:(0,rt.jsx)(Ef,{})}),(0,rt.jsx)(He,{path:"power-gerbers",element:(0,rt.jsx)(kg,{})}),(0,rt.jsx)(He,{path:"buddytracker",element:(0,rt.jsx)(By,{})}),(0,rt.jsx)(He,{path:"join",element:t?(0,rt.jsx)(Fy,{}):(0,rt.jsx)(Iy,{})})]})})]})},Eg=function(e){var t,n=Vc(),r=e||{},o=r.reducer,i=void 0===o?void 0:o,a=r.middleware,u=void 0===a?n():a,l=r.devTools,s=void 0===l||l,c=r.preloadedState,f=void 0===c?void 0:c,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof i)t=i;else{if(!Mc(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=mc(i)}var h=u;if("function"===typeof h&&(h=h(n),!Uc&&!Array.isArray(h)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Uc&&h.some((function(e){return"function"!==typeof e})))throw new Error("each middleware provided to configureStore must be a function");var v=gc.apply(void 0,h),m=yc;s&&(m=Dc(Nc({trace:!Uc},"object"===typeof s&&s)));var y=[v];return Array.isArray(p)?y=Ec([v],p):"function"===typeof p&&(y=p(y)),vc(t,f,m.apply(void 0,y))}({reducer:mc({model:uf,framer:ff,logs:wf})}),Pg=Eg,Cg=document.getElementById("root");(0,t.s)(Cg).render((0,rt.jsx)(g,{store:Pg,children:(0,rt.jsx)(e.StrictMode,{children:(0,rt.jsx)(Sg,{})})}))}()}();
3//# sourceMappingURL=main.75727f9e.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.