Files
udlbook/assets/index-5Xka6v25.js
Simon Prince 12d854b995 Updates
2024-06-17 16:39:08 -04:00

1114 lines
308 KiB
JavaScript

function sm(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const l=Object.getOwnPropertyDescriptor(r,i);l&&Object.defineProperty(e,i,l.get?l:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();var Si=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ud={exports:{}},qo={},Hd={exports:{}},A={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ui=Symbol.for("react.element"),am=Symbol.for("react.portal"),um=Symbol.for("react.fragment"),cm=Symbol.for("react.strict_mode"),dm=Symbol.for("react.profiler"),fm=Symbol.for("react.provider"),pm=Symbol.for("react.context"),hm=Symbol.for("react.forward_ref"),mm=Symbol.for("react.suspense"),gm=Symbol.for("react.memo"),vm=Symbol.for("react.lazy"),Ou=Symbol.iterator;function xm(e){return e===null||typeof e!="object"?null:(e=Ou&&e[Ou]||e["@@iterator"],typeof e=="function"?e:null)}var Wd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Vd=Object.assign,Gd={};function cr(e,t,n){this.props=e,this.context=t,this.refs=Gd,this.updater=n||Wd}cr.prototype.isReactComponent={};cr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};cr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Qd(){}Qd.prototype=cr.prototype;function wa(e,t,n){this.props=e,this.context=t,this.refs=Gd,this.updater=n||Wd}var ja=wa.prototype=new Qd;ja.constructor=wa;Vd(ja,cr.prototype);ja.isPureReactComponent=!0;var zu=Array.isArray,Xd=Object.prototype.hasOwnProperty,ka={current:null},Yd={key:!0,ref:!0,__self:!0,__source:!0};function Kd(e,t,n){var r,i={},l=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(l=""+t.key),t)Xd.call(t,r)&&!Yd.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var u=Array(a),c=0;c<a;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ui,type:e,key:l,ref:s,props:i,_owner:ka.current}}function ym(e,t){return{$$typeof:ui,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ba(e){return typeof e=="object"&&e!==null&&e.$$typeof===ui}function wm(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Du=/\/+/g;function Tl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wm(""+e.key):t.toString(36)}function to(e,t,n,r,i){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ui:case am:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Tl(s,0):r,zu(i)?(n="",e!=null&&(n=e.replace(Du,"$&/")+"/"),to(i,t,n,"",function(c){return c})):i!=null&&(ba(i)&&(i=ym(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Du,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",zu(e))for(var a=0;a<e.length;a++){l=e[a];var u=r+Tl(l,a);s+=to(l,t,n,u,i)}else if(u=xm(e),typeof u=="function")for(e=u.call(e),a=0;!(l=e.next()).done;)l=l.value,u=r+Tl(l,a++),s+=to(l,t,n,u,i);else if(l==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ei(e,t,n){if(e==null)return e;var r=[],i=0;return to(e,r,"","",function(l){return t.call(n,l,i++)}),r}function jm(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Se={current:null},no={transition:null},km={ReactCurrentDispatcher:Se,ReactCurrentBatchConfig:no,ReactCurrentOwner:ka};function Zd(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:Ei,forEach:function(e,t,n){Ei(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ei(e,function(){t++}),t},toArray:function(e){return Ei(e,function(t){return t})||[]},only:function(e){if(!ba(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=cr;A.Fragment=um;A.Profiler=dm;A.PureComponent=wa;A.StrictMode=cm;A.Suspense=mm;A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=km;A.act=Zd;A.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Vd({},e.props),i=e.key,l=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(l=t.ref,s=ka.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)Xd.call(t,u)&&!Yd.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var c=0;c<u;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:ui,type:e.type,key:i,ref:l,props:r,_owner:s}};A.createContext=function(e){return e={$$typeof:pm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:fm,_context:e},e.Consumer=e};A.createElement=Kd;A.createFactory=function(e){var t=Kd.bind(null,e);return t.type=e,t};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:hm,render:e}};A.isValidElement=ba;A.lazy=function(e){return{$$typeof:vm,_payload:{_status:-1,_result:e},_init:jm}};A.memo=function(e,t){return{$$typeof:gm,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=no.transition;no.transition={};try{e()}finally{no.transition=t}};A.unstable_act=Zd;A.useCallback=function(e,t){return Se.current.useCallback(e,t)};A.useContext=function(e){return Se.current.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e){return Se.current.useDeferredValue(e)};A.useEffect=function(e,t){return Se.current.useEffect(e,t)};A.useId=function(){return Se.current.useId()};A.useImperativeHandle=function(e,t,n){return Se.current.useImperativeHandle(e,t,n)};A.useInsertionEffect=function(e,t){return Se.current.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return Se.current.useLayoutEffect(e,t)};A.useMemo=function(e,t){return Se.current.useMemo(e,t)};A.useReducer=function(e,t,n){return Se.current.useReducer(e,t,n)};A.useRef=function(e){return Se.current.useRef(e)};A.useState=function(e){return Se.current.useState(e)};A.useSyncExternalStore=function(e,t,n){return Se.current.useSyncExternalStore(e,t,n)};A.useTransition=function(){return Se.current.useTransition()};A.version="18.3.1";Hd.exports=A;var P=Hd.exports;const Le=Bd(P),bm=sm({__proto__:null,default:Le},[P]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var _m=P,Sm=Symbol.for("react.element"),Em=Symbol.for("react.fragment"),Cm=Object.prototype.hasOwnProperty,Pm=_m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Nm={key:!0,ref:!0,__self:!0,__source:!0};function qd(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Cm.call(t,r)&&!Nm.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Sm,type:e,key:l,ref:s,props:i,_owner:Pm.current}}qo.Fragment=Em;qo.jsx=qd;qo.jsxs=qd;Ud.exports=qo;var o=Ud.exports,Jd={exports:{}},Ue={},ef={exports:{}},tf={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(L,O){var M=L.length;L.push(O);e:for(;0<M;){var V=M-1>>>1,G=L[V];if(0<i(G,O))L[V]=O,L[M]=G,M=V;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var O=L[0],M=L.pop();if(M!==O){L[0]=M;e:for(var V=0,G=L.length,un=G>>>1;V<un;){var Ze=2*(V+1)-1,Tt=L[Ze],De=Ze+1,xt=L[De];if(0>i(Tt,M))De<G&&0>i(xt,Tt)?(L[V]=xt,L[De]=M,V=De):(L[V]=Tt,L[Ze]=M,V=Ze);else if(De<G&&0>i(xt,M))L[V]=xt,L[De]=M,V=De;else break e}}return O}function i(L,O){var M=L.sortIndex-O.sortIndex;return M!==0?M:L.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],c=[],f=1,h=null,g=3,v=!1,y=!1,w=!1,E=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(L){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=L)r(c),O.sortIndex=O.expirationTime,t(u,O);else break;O=n(c)}}function x(L){if(w=!1,m(L),!y)if(n(u)!==null)y=!0,vr(_);else{var O=n(c);O!==null&&an(x,O.startTime-L)}}function _(L,O){y=!1,w&&(w=!1,p(T),T=-1),v=!0;var M=g;try{for(m(O),h=n(u);h!==null&&(!(h.expirationTime>O)||L&&!xe());){var V=h.callback;if(typeof V=="function"){h.callback=null,g=h.priorityLevel;var G=V(h.expirationTime<=O);O=e.unstable_now(),typeof G=="function"?h.callback=G:h===n(u)&&r(u),m(O)}else r(u);h=n(u)}if(h!==null)var un=!0;else{var Ze=n(c);Ze!==null&&an(x,Ze.startTime-O),un=!1}return un}finally{h=null,g=M,v=!1}}var k=!1,b=null,T=-1,U=5,$=-1;function xe(){return!(e.unstable_now()-$<U)}function lt(){if(b!==null){var L=e.unstable_now();$=L;var O=!0;try{O=b(!0,L)}finally{O?vt():(k=!1,b=null)}}else k=!1}var vt;if(typeof d=="function")vt=function(){d(lt)};else if(typeof MessageChannel<"u"){var sn=new MessageChannel,gr=sn.port2;sn.port1.onmessage=lt,vt=function(){gr.postMessage(null)}}else vt=function(){E(lt,0)};function vr(L){b=L,k||(k=!0,vt())}function an(L,O){T=E(function(){L(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,vr(_))},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(L){switch(g){case 1:case 2:case 3:var O=3;break;default:O=g}var M=g;g=O;try{return L()}finally{g=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,O){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var M=g;g=L;try{return O()}finally{g=M}},e.unstable_scheduleCallback=function(L,O,M){var V=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?V+M:V):M=V,L){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=M+G,L={id:f++,callback:O,priorityLevel:L,startTime:M,expirationTime:G,sortIndex:-1},M>V?(L.sortIndex=M,t(c,L),n(u)===null&&L===n(c)&&(w?(p(T),T=-1):w=!0,an(x,M-V))):(L.sortIndex=G,t(u,L),y||v||(y=!0,vr(_))),L},e.unstable_shouldYield=xe,e.unstable_wrapCallback=function(L){var O=g;return function(){var M=g;g=O;try{return L.apply(this,arguments)}finally{g=M}}}})(tf);ef.exports=tf;var Tm=ef.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Lm=P,Be=Tm;function S(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 nf=new Set,Hr={};function Cn(e,t){qn(e,t),qn(e+"Capture",t)}function qn(e,t){for(Hr[e]=t,e=0;e<t.length;e++)nf.add(t[e])}var St=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ms=Object.prototype.hasOwnProperty,Im=/^[: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]*$/,Ru={},Mu={};function Om(e){return ms.call(Mu,e)?!0:ms.call(Ru,e)?!1:Im.test(e)?Mu[e]=!0:(Ru[e]=!0,!1)}function zm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dm(e,t,n,r){if(t===null||typeof t>"u"||zm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ve[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ve[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ve[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ve[e]=new Ee(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){ve[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ve[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ve[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ve[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ve[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var _a=/[\-:]([a-z])/g;function Sa(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_a,Sa);ve[t]=new Ee(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(_a,Sa);ve[t]=new Ee(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(_a,Sa);ve[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ve[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ve.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ve[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ea(e,t,n,r){var i=ve.hasOwnProperty(t)?ve[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Dm(t,n,i,r)&&(n=null),r||i===null?Om(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Nt=Lm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ci=Symbol.for("react.element"),On=Symbol.for("react.portal"),zn=Symbol.for("react.fragment"),Ca=Symbol.for("react.strict_mode"),gs=Symbol.for("react.profiler"),rf=Symbol.for("react.provider"),of=Symbol.for("react.context"),Pa=Symbol.for("react.forward_ref"),vs=Symbol.for("react.suspense"),xs=Symbol.for("react.suspense_list"),Na=Symbol.for("react.memo"),Ft=Symbol.for("react.lazy"),lf=Symbol.for("react.offscreen"),$u=Symbol.iterator;function yr(e){return e===null||typeof e!="object"?null:(e=$u&&e[$u]||e["@@iterator"],typeof e=="function"?e:null)}var re=Object.assign,Ll;function Pr(e){if(Ll===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ll=t&&t[1]||""}return`
`+Ll+e}var Il=!1;function Ol(e,t){if(!e||Il)return"";Il=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
`),l=r.stack.split(`
`),s=i.length-1,a=l.length-1;1<=s&&0<=a&&i[s]!==l[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==l[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==l[a]){var u=`
`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{Il=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Pr(e):""}function Rm(e){switch(e.tag){case 5:return Pr(e.type);case 16:return Pr("Lazy");case 13:return Pr("Suspense");case 19:return Pr("SuspenseList");case 0:case 2:case 15:return e=Ol(e.type,!1),e;case 11:return e=Ol(e.type.render,!1),e;case 1:return e=Ol(e.type,!0),e;default:return""}}function ys(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case zn:return"Fragment";case On:return"Portal";case gs:return"Profiler";case Ca:return"StrictMode";case vs:return"Suspense";case xs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case of:return(e.displayName||"Context")+".Consumer";case rf:return(e._context.displayName||"Context")+".Provider";case Pa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Na:return t=e.displayName||null,t!==null?t:ys(e.type)||"Memo";case Ft:t=e._payload,e=e._init;try{return ys(e(t))}catch{}}return null}function Mm(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=t.render,e=e.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 ys(t);case 8:return t===Ca?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function sf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $m(e){var t=sf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pi(e){e._valueTracker||(e._valueTracker=$m(e))}function af(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=sf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function wo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ws(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Fu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function uf(e,t){t=t.checked,t!=null&&Ea(e,"checked",t,!1)}function js(e,t){uf(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ks(e,t.type,n):t.hasOwnProperty("defaultValue")&&ks(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Au(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ks(e,t,n){(t!=="number"||wo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nr=Array.isArray;function Gn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function bs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(S(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Bu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(S(92));if(Nr(n)){if(1<n.length)throw Error(S(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tn(n)}}function cf(e,t){var n=tn(t.value),r=tn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Uu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function df(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 _s(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?df(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ni,ff=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ni=Ni||document.createElement("div"),Ni.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ni.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Or={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},Fm=["Webkit","ms","Moz","O"];Object.keys(Or).forEach(function(e){Fm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Or[t]=Or[e]})});function pf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Or.hasOwnProperty(e)&&Or[e]?(""+t).trim():t+"px"}function hf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=pf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Am=re({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 Ss(e,t){if(t){if(Am[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Es(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Cs=null;function Ta(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ps=null,Qn=null,Xn=null;function Hu(e){if(e=fi(e)){if(typeof Ps!="function")throw Error(S(280));var t=e.stateNode;t&&(t=rl(t),Ps(e.stateNode,e.type,t))}}function mf(e){Qn?Xn?Xn.push(e):Xn=[e]:Qn=e}function gf(){if(Qn){var e=Qn,t=Xn;if(Xn=Qn=null,Hu(e),t)for(e=0;e<t.length;e++)Hu(t[e])}}function vf(e,t){return e(t)}function xf(){}var zl=!1;function yf(e,t,n){if(zl)return e(t,n);zl=!0;try{return vf(e,t,n)}finally{zl=!1,(Qn!==null||Xn!==null)&&(xf(),gf())}}function Vr(e,t){var n=e.stateNode;if(n===null)return null;var r=rl(n);if(r===null)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)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(S(231,t,typeof n));return n}var Ns=!1;if(St)try{var wr={};Object.defineProperty(wr,"passive",{get:function(){Ns=!0}}),window.addEventListener("test",wr,wr),window.removeEventListener("test",wr,wr)}catch{Ns=!1}function Bm(e,t,n,r,i,l,s,a,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(f){this.onError(f)}}var zr=!1,jo=null,ko=!1,Ts=null,Um={onError:function(e){zr=!0,jo=e}};function Hm(e,t,n,r,i,l,s,a,u){zr=!1,jo=null,Bm.apply(Um,arguments)}function Wm(e,t,n,r,i,l,s,a,u){if(Hm.apply(this,arguments),zr){if(zr){var c=jo;zr=!1,jo=null}else throw Error(S(198));ko||(ko=!0,Ts=c)}}function Pn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function wf(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Wu(e){if(Pn(e)!==e)throw Error(S(188))}function Vm(e){var t=e.alternate;if(!t){if(t=Pn(e),t===null)throw Error(S(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var l=i.alternate;if(l===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===n)return Wu(i),e;if(l===r)return Wu(i),t;l=l.sibling}throw Error(S(188))}if(n.return!==r.return)n=i,r=l;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=l;break}if(a===r){s=!0,r=i,n=l;break}a=a.sibling}if(!s){for(a=l.child;a;){if(a===n){s=!0,n=l,r=i;break}if(a===r){s=!0,r=l,n=i;break}a=a.sibling}if(!s)throw Error(S(189))}}if(n.alternate!==r)throw Error(S(190))}if(n.tag!==3)throw Error(S(188));return n.stateNode.current===n?e:t}function jf(e){return e=Vm(e),e!==null?kf(e):null}function kf(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=kf(e);if(t!==null)return t;e=e.sibling}return null}var bf=Be.unstable_scheduleCallback,Vu=Be.unstable_cancelCallback,Gm=Be.unstable_shouldYield,Qm=Be.unstable_requestPaint,le=Be.unstable_now,Xm=Be.unstable_getCurrentPriorityLevel,La=Be.unstable_ImmediatePriority,_f=Be.unstable_UserBlockingPriority,bo=Be.unstable_NormalPriority,Ym=Be.unstable_LowPriority,Sf=Be.unstable_IdlePriority,Jo=null,ht=null;function Km(e){if(ht&&typeof ht.onCommitFiberRoot=="function")try{ht.onCommitFiberRoot(Jo,e,void 0,(e.current.flags&128)===128)}catch{}}var nt=Math.clz32?Math.clz32:Jm,Zm=Math.log,qm=Math.LN2;function Jm(e){return e>>>=0,e===0?32:31-(Zm(e)/qm|0)|0}var Ti=64,Li=4194304;function Tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _o(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Tr(a):(l&=s,l!==0&&(r=Tr(l)))}else s=n&~i,s!==0?r=Tr(s):l!==0&&(r=Tr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-nt(t),i=1<<n,r|=e[n],t&=~i;return r}function eg(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;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tg(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-nt(l),a=1<<s,u=i[s];u===-1?(!(a&n)||a&r)&&(i[s]=eg(a,t)):u<=t&&(e.expiredLanes|=a),l&=~a}}function Ls(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ef(){var e=Ti;return Ti<<=1,!(Ti&4194240)&&(Ti=64),e}function Dl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ci(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-nt(t),e[t]=n}function ng(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 i=31-nt(n),l=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~l}}function Ia(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-nt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var W=0;function Cf(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Pf,Oa,Nf,Tf,Lf,Is=!1,Ii=[],Gt=null,Qt=null,Xt=null,Gr=new Map,Qr=new Map,Bt=[],rg="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 Gu(e,t){switch(e){case"focusin":case"focusout":Gt=null;break;case"dragenter":case"dragleave":Qt=null;break;case"mouseover":case"mouseout":Xt=null;break;case"pointerover":case"pointerout":Gr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qr.delete(t.pointerId)}}function jr(e,t,n,r,i,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[i]},t!==null&&(t=fi(t),t!==null&&Oa(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ig(e,t,n,r,i){switch(t){case"focusin":return Gt=jr(Gt,e,t,n,r,i),!0;case"dragenter":return Qt=jr(Qt,e,t,n,r,i),!0;case"mouseover":return Xt=jr(Xt,e,t,n,r,i),!0;case"pointerover":var l=i.pointerId;return Gr.set(l,jr(Gr.get(l)||null,e,t,n,r,i)),!0;case"gotpointercapture":return l=i.pointerId,Qr.set(l,jr(Qr.get(l)||null,e,t,n,r,i)),!0}return!1}function If(e){var t=hn(e.target);if(t!==null){var n=Pn(t);if(n!==null){if(t=n.tag,t===13){if(t=wf(n),t!==null){e.blockedOn=t,Lf(e.priority,function(){Nf(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ro(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Os(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Cs=r,n.target.dispatchEvent(r),Cs=null}else return t=fi(n),t!==null&&Oa(t),e.blockedOn=n,!1;t.shift()}return!0}function Qu(e,t,n){ro(e)&&n.delete(t)}function og(){Is=!1,Gt!==null&&ro(Gt)&&(Gt=null),Qt!==null&&ro(Qt)&&(Qt=null),Xt!==null&&ro(Xt)&&(Xt=null),Gr.forEach(Qu),Qr.forEach(Qu)}function kr(e,t){e.blockedOn===t&&(e.blockedOn=null,Is||(Is=!0,Be.unstable_scheduleCallback(Be.unstable_NormalPriority,og)))}function Xr(e){function t(i){return kr(i,e)}if(0<Ii.length){kr(Ii[0],e);for(var n=1;n<Ii.length;n++){var r=Ii[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gt!==null&&kr(Gt,e),Qt!==null&&kr(Qt,e),Xt!==null&&kr(Xt,e),Gr.forEach(t),Qr.forEach(t),n=0;n<Bt.length;n++)r=Bt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Bt.length&&(n=Bt[0],n.blockedOn===null);)If(n),n.blockedOn===null&&Bt.shift()}var Yn=Nt.ReactCurrentBatchConfig,So=!0;function lg(e,t,n,r){var i=W,l=Yn.transition;Yn.transition=null;try{W=1,za(e,t,n,r)}finally{W=i,Yn.transition=l}}function sg(e,t,n,r){var i=W,l=Yn.transition;Yn.transition=null;try{W=4,za(e,t,n,r)}finally{W=i,Yn.transition=l}}function za(e,t,n,r){if(So){var i=Os(e,t,n,r);if(i===null)Vl(e,t,r,Eo,n),Gu(e,r);else if(ig(i,e,t,n,r))r.stopPropagation();else if(Gu(e,r),t&4&&-1<rg.indexOf(e)){for(;i!==null;){var l=fi(i);if(l!==null&&Pf(l),l=Os(e,t,n,r),l===null&&Vl(e,t,r,Eo,n),l===i)break;i=l}i!==null&&r.stopPropagation()}else Vl(e,t,r,null,n)}}var Eo=null;function Os(e,t,n,r){if(Eo=null,e=Ta(r),e=hn(e),e!==null)if(t=Pn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=wf(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Eo=e,null}function Of(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(Xm()){case La:return 1;case _f:return 4;case bo:case Ym:return 16;case Sf:return 536870912;default:return 16}default:return 16}}var Ht=null,Da=null,io=null;function zf(){if(io)return io;var e,t=Da,n=t.length,r,i="value"in Ht?Ht.value:Ht.textContent,l=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[l-r];r++);return io=i.slice(e,1<r?1-r:void 0)}function oo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Oi(){return!0}function Xu(){return!1}function He(e){function t(n,r,i,l,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=l,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(l):l[a]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?Oi:Xu,this.isPropagationStopped=Xu,this}return re(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Oi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Oi)},persist:function(){},isPersistent:Oi}),t}var dr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ra=He(dr),di=re({},dr,{view:0,detail:0}),ag=He(di),Rl,Ml,br,el=re({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ma,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==br&&(br&&e.type==="mousemove"?(Rl=e.screenX-br.screenX,Ml=e.screenY-br.screenY):Ml=Rl=0,br=e),Rl)},movementY:function(e){return"movementY"in e?e.movementY:Ml}}),Yu=He(el),ug=re({},el,{dataTransfer:0}),cg=He(ug),dg=re({},di,{relatedTarget:0}),$l=He(dg),fg=re({},dr,{animationName:0,elapsedTime:0,pseudoElement:0}),pg=He(fg),hg=re({},dr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mg=He(hg),gg=re({},dr,{data:0}),Ku=He(gg),vg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xg={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"},yg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yg[e])?!!t[e]:!1}function Ma(){return wg}var jg=re({},di,{key:function(e){if(e.key){var t=vg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=oo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ma,charCode:function(e){return e.type==="keypress"?oo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?oo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kg=He(jg),bg=re({},el,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zu=He(bg),_g=re({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ma}),Sg=He(_g),Eg=re({},dr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cg=He(Eg),Pg=re({},el,{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}),Ng=He(Pg),Tg=[9,13,27,32],$a=St&&"CompositionEvent"in window,Dr=null;St&&"documentMode"in document&&(Dr=document.documentMode);var Lg=St&&"TextEvent"in window&&!Dr,Df=St&&(!$a||Dr&&8<Dr&&11>=Dr),qu=" ",Ju=!1;function Rf(e,t){switch(e){case"keyup":return Tg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Ig(e,t){switch(e){case"compositionend":return Mf(t);case"keypress":return t.which!==32?null:(Ju=!0,qu);case"textInput":return e=t.data,e===qu&&Ju?null:e;default:return null}}function Og(e,t){if(Dn)return e==="compositionend"||!$a&&Rf(e,t)?(e=zf(),io=Da=Ht=null,Dn=!1,e):null;switch(e){case"paste":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 Df&&t.locale!=="ko"?null:t.data;default:return null}}var zg={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 ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zg[e.type]:t==="textarea"}function $f(e,t,n,r){mf(r),t=Co(t,"onChange"),0<t.length&&(n=new Ra("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Rr=null,Yr=null;function Dg(e){Yf(e,0)}function tl(e){var t=$n(e);if(af(t))return e}function Rg(e,t){if(e==="change")return t}var Ff=!1;if(St){var Fl;if(St){var Al="oninput"in document;if(!Al){var tc=document.createElement("div");tc.setAttribute("oninput","return;"),Al=typeof tc.oninput=="function"}Fl=Al}else Fl=!1;Ff=Fl&&(!document.documentMode||9<document.documentMode)}function nc(){Rr&&(Rr.detachEvent("onpropertychange",Af),Yr=Rr=null)}function Af(e){if(e.propertyName==="value"&&tl(Yr)){var t=[];$f(t,Yr,e,Ta(e)),yf(Dg,t)}}function Mg(e,t,n){e==="focusin"?(nc(),Rr=t,Yr=n,Rr.attachEvent("onpropertychange",Af)):e==="focusout"&&nc()}function $g(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tl(Yr)}function Fg(e,t){if(e==="click")return tl(t)}function Ag(e,t){if(e==="input"||e==="change")return tl(t)}function Bg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ot=typeof Object.is=="function"?Object.is:Bg;function Kr(e,t){if(ot(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 i=n[r];if(!ms.call(t,i)||!ot(e[i],t[i]))return!1}return!0}function rc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ic(e,t){var n=rc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rc(n)}}function Bf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Uf(){for(var e=window,t=wo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=wo(e.document)}return t}function Fa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ug(e){var t=Uf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bf(n.ownerDocument.documentElement,n)){if(r!==null&&Fa(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=ic(n,l);var s=ic(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hg=St&&"documentMode"in document&&11>=document.documentMode,Rn=null,zs=null,Mr=null,Ds=!1;function oc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ds||Rn==null||Rn!==wo(r)||(r=Rn,"selectionStart"in r&&Fa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mr&&Kr(Mr,r)||(Mr=r,r=Co(zs,"onSelect"),0<r.length&&(t=new Ra("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Rn)))}function zi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Mn={animationend:zi("Animation","AnimationEnd"),animationiteration:zi("Animation","AnimationIteration"),animationstart:zi("Animation","AnimationStart"),transitionend:zi("Transition","TransitionEnd")},Bl={},Hf={};St&&(Hf=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);function nl(e){if(Bl[e])return Bl[e];if(!Mn[e])return e;var t=Mn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Hf)return Bl[e]=t[n];return e}var Wf=nl("animationend"),Vf=nl("animationiteration"),Gf=nl("animationstart"),Qf=nl("transitionend"),Xf=new Map,lc="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 rn(e,t){Xf.set(e,t),Cn(t,[e])}for(var Ul=0;Ul<lc.length;Ul++){var Hl=lc[Ul],Wg=Hl.toLowerCase(),Vg=Hl[0].toUpperCase()+Hl.slice(1);rn(Wg,"on"+Vg)}rn(Wf,"onAnimationEnd");rn(Vf,"onAnimationIteration");rn(Gf,"onAnimationStart");rn("dblclick","onDoubleClick");rn("focusin","onFocus");rn("focusout","onBlur");rn(Qf,"onTransitionEnd");qn("onMouseEnter",["mouseout","mouseover"]);qn("onMouseLeave",["mouseout","mouseover"]);qn("onPointerEnter",["pointerout","pointerover"]);qn("onPointerLeave",["pointerout","pointerover"]);Cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Cn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="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(" "),Gg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function sc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Wm(r,t,void 0,e),e.currentTarget=null}function Yf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],u=a.instance,c=a.currentTarget;if(a=a.listener,u!==l&&i.isPropagationStopped())break e;sc(i,a,c),l=u}else for(s=0;s<r.length;s++){if(a=r[s],u=a.instance,c=a.currentTarget,a=a.listener,u!==l&&i.isPropagationStopped())break e;sc(i,a,c),l=u}}}if(ko)throw e=Ts,ko=!1,Ts=null,e}function X(e,t){var n=t[As];n===void 0&&(n=t[As]=new Set);var r=e+"__bubble";n.has(r)||(Kf(t,e,2,!1),n.add(r))}function Wl(e,t,n){var r=0;t&&(r|=4),Kf(n,e,r,t)}var Di="_reactListening"+Math.random().toString(36).slice(2);function Zr(e){if(!e[Di]){e[Di]=!0,nf.forEach(function(n){n!=="selectionchange"&&(Gg.has(n)||Wl(n,!1,e),Wl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Di]||(t[Di]=!0,Wl("selectionchange",!1,t))}}function Kf(e,t,n,r){switch(Of(t)){case 1:var i=lg;break;case 4:i=sg;break;default:i=za}n=i.bind(null,t,n,e),i=void 0,!Ns||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vl(e,t,n,r,i){var l=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;s=s.return}for(;a!==null;){if(s=hn(a),s===null)return;if(u=s.tag,u===5||u===6){r=l=s;continue e}a=a.parentNode}}r=r.return}yf(function(){var c=l,f=Ta(n),h=[];e:{var g=Xf.get(e);if(g!==void 0){var v=Ra,y=e;switch(e){case"keypress":if(oo(n)===0)break e;case"keydown":case"keyup":v=kg;break;case"focusin":y="focus",v=$l;break;case"focusout":y="blur",v=$l;break;case"beforeblur":case"afterblur":v=$l;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Yu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=cg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=Sg;break;case Wf:case Vf:case Gf:v=pg;break;case Qf:v=Cg;break;case"scroll":v=ag;break;case"wheel":v=Ng;break;case"copy":case"cut":case"paste":v=mg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Zu}var w=(t&4)!==0,E=!w&&e==="scroll",p=w?g!==null?g+"Capture":null:g;w=[];for(var d=c,m;d!==null;){m=d;var x=m.stateNode;if(m.tag===5&&x!==null&&(m=x,p!==null&&(x=Vr(d,p),x!=null&&w.push(qr(d,x,m)))),E)break;d=d.return}0<w.length&&(g=new v(g,y,null,n,f),h.push({event:g,listeners:w}))}}if(!(t&7)){e:{if(g=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",g&&n!==Cs&&(y=n.relatedTarget||n.fromElement)&&(hn(y)||y[Et]))break e;if((v||g)&&(g=f.window===f?f:(g=f.ownerDocument)?g.defaultView||g.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=c,y=y?hn(y):null,y!==null&&(E=Pn(y),y!==E||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=c),v!==y)){if(w=Yu,x="onMouseLeave",p="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(w=Zu,x="onPointerLeave",p="onPointerEnter",d="pointer"),E=v==null?g:$n(v),m=y==null?g:$n(y),g=new w(x,d+"leave",v,n,f),g.target=E,g.relatedTarget=m,x=null,hn(f)===c&&(w=new w(p,d+"enter",y,n,f),w.target=m,w.relatedTarget=E,x=w),E=x,v&&y)t:{for(w=v,p=y,d=0,m=w;m;m=Ln(m))d++;for(m=0,x=p;x;x=Ln(x))m++;for(;0<d-m;)w=Ln(w),d--;for(;0<m-d;)p=Ln(p),m--;for(;d--;){if(w===p||p!==null&&w===p.alternate)break t;w=Ln(w),p=Ln(p)}w=null}else w=null;v!==null&&ac(h,g,v,w,!1),y!==null&&E!==null&&ac(h,E,y,w,!0)}}e:{if(g=c?$n(c):window,v=g.nodeName&&g.nodeName.toLowerCase(),v==="select"||v==="input"&&g.type==="file")var _=Rg;else if(ec(g))if(Ff)_=Ag;else{_=$g;var k=Mg}else(v=g.nodeName)&&v.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(_=Fg);if(_&&(_=_(e,c))){$f(h,_,n,f);break e}k&&k(e,g,c),e==="focusout"&&(k=g._wrapperState)&&k.controlled&&g.type==="number"&&ks(g,"number",g.value)}switch(k=c?$n(c):window,e){case"focusin":(ec(k)||k.contentEditable==="true")&&(Rn=k,zs=c,Mr=null);break;case"focusout":Mr=zs=Rn=null;break;case"mousedown":Ds=!0;break;case"contextmenu":case"mouseup":case"dragend":Ds=!1,oc(h,n,f);break;case"selectionchange":if(Hg)break;case"keydown":case"keyup":oc(h,n,f)}var b;if($a)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Dn?Rf(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Df&&n.locale!=="ko"&&(Dn||T!=="onCompositionStart"?T==="onCompositionEnd"&&Dn&&(b=zf()):(Ht=f,Da="value"in Ht?Ht.value:Ht.textContent,Dn=!0)),k=Co(c,T),0<k.length&&(T=new Ku(T,e,null,n,f),h.push({event:T,listeners:k}),b?T.data=b:(b=Mf(n),b!==null&&(T.data=b)))),(b=Lg?Ig(e,n):Og(e,n))&&(c=Co(c,"onBeforeInput"),0<c.length&&(f=new Ku("onBeforeInput","beforeinput",null,n,f),h.push({event:f,listeners:c}),f.data=b))}Yf(h,t)})}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Co(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,l=i.stateNode;i.tag===5&&l!==null&&(i=l,l=Vr(e,n),l!=null&&r.unshift(qr(e,l,i)),l=Vr(e,t),l!=null&&r.push(qr(e,l,i))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ac(e,t,n,r,i){for(var l=t._reactName,s=[];n!==null&&n!==r;){var a=n,u=a.alternate,c=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&c!==null&&(a=c,i?(u=Vr(n,l),u!=null&&s.unshift(qr(n,u,a))):i||(u=Vr(n,l),u!=null&&s.push(qr(n,u,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Qg=/\r\n?/g,Xg=/\u0000|\uFFFD/g;function uc(e){return(typeof e=="string"?e:""+e).replace(Qg,`
`).replace(Xg,"")}function Ri(e,t,n){if(t=uc(t),uc(e)!==t&&n)throw Error(S(425))}function Po(){}var Rs=null,Ms=null;function $s(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Fs=typeof setTimeout=="function"?setTimeout:void 0,Yg=typeof clearTimeout=="function"?clearTimeout:void 0,cc=typeof Promise=="function"?Promise:void 0,Kg=typeof queueMicrotask=="function"?queueMicrotask:typeof cc<"u"?function(e){return cc.resolve(null).then(e).catch(Zg)}:Fs;function Zg(e){setTimeout(function(){throw e})}function Gl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Xr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Xr(t)}function Yt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function dc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var fr=Math.random().toString(36).slice(2),pt="__reactFiber$"+fr,Jr="__reactProps$"+fr,Et="__reactContainer$"+fr,As="__reactEvents$"+fr,qg="__reactListeners$"+fr,Jg="__reactHandles$"+fr;function hn(e){var t=e[pt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Et]||n[pt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=dc(e);e!==null;){if(n=e[pt])return n;e=dc(e)}return t}e=n,n=e.parentNode}return null}function fi(e){return e=e[pt]||e[Et],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(S(33))}function rl(e){return e[Jr]||null}var Bs=[],Fn=-1;function on(e){return{current:e}}function K(e){0>Fn||(e.current=Bs[Fn],Bs[Fn]=null,Fn--)}function Q(e,t){Fn++,Bs[Fn]=e.current,e.current=t}var nn={},ke=on(nn),Ie=on(!1),kn=nn;function Jn(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Oe(e){return e=e.childContextTypes,e!=null}function No(){K(Ie),K(ke)}function fc(e,t,n){if(ke.current!==nn)throw Error(S(168));Q(ke,t),Q(Ie,n)}function Zf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(S(108,Mm(e)||"Unknown",i));return re({},n,r)}function To(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,kn=ke.current,Q(ke,e),Q(Ie,Ie.current),!0}function pc(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Zf(e,t,kn),r.__reactInternalMemoizedMergedChildContext=e,K(Ie),K(ke),Q(ke,e)):K(Ie),Q(Ie,n)}var jt=null,il=!1,Ql=!1;function qf(e){jt===null?jt=[e]:jt.push(e)}function e1(e){il=!0,qf(e)}function ln(){if(!Ql&&jt!==null){Ql=!0;var e=0,t=W;try{var n=jt;for(W=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}jt=null,il=!1}catch(i){throw jt!==null&&(jt=jt.slice(e+1)),bf(La,ln),i}finally{W=t,Ql=!1}}return null}var An=[],Bn=0,Lo=null,Io=0,We=[],Ve=0,bn=null,kt=1,bt="";function fn(e,t){An[Bn++]=Io,An[Bn++]=Lo,Lo=e,Io=t}function Jf(e,t,n){We[Ve++]=kt,We[Ve++]=bt,We[Ve++]=bn,bn=e;var r=kt;e=bt;var i=32-nt(r)-1;r&=~(1<<i),n+=1;var l=32-nt(t)+i;if(30<l){var s=i-i%5;l=(r&(1<<s)-1).toString(32),r>>=s,i-=s,kt=1<<32-nt(t)+i|n<<i|r,bt=l+e}else kt=1<<l|n<<i|r,bt=e}function Aa(e){e.return!==null&&(fn(e,1),Jf(e,1,0))}function Ba(e){for(;e===Lo;)Lo=An[--Bn],An[Bn]=null,Io=An[--Bn],An[Bn]=null;for(;e===bn;)bn=We[--Ve],We[Ve]=null,bt=We[--Ve],We[Ve]=null,kt=We[--Ve],We[Ve]=null}var Ae=null,Fe=null,q=!1,tt=null;function ep(e,t){var n=Ge(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function hc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ae=e,Fe=Yt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ae=e,Fe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=bn!==null?{id:kt,overflow:bt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ge(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ae=e,Fe=null,!0):!1;default:return!1}}function Us(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Hs(e){if(q){var t=Fe;if(t){var n=t;if(!hc(e,t)){if(Us(e))throw Error(S(418));t=Yt(n.nextSibling);var r=Ae;t&&hc(e,t)?ep(r,n):(e.flags=e.flags&-4097|2,q=!1,Ae=e)}}else{if(Us(e))throw Error(S(418));e.flags=e.flags&-4097|2,q=!1,Ae=e}}}function mc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ae=e}function Mi(e){if(e!==Ae)return!1;if(!q)return mc(e),q=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!$s(e.type,e.memoizedProps)),t&&(t=Fe)){if(Us(e))throw tp(),Error(S(418));for(;t;)ep(e,t),t=Yt(t.nextSibling)}if(mc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Fe=Yt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Fe=null}}else Fe=Ae?Yt(e.stateNode.nextSibling):null;return!0}function tp(){for(var e=Fe;e;)e=Yt(e.nextSibling)}function er(){Fe=Ae=null,q=!1}function Ua(e){tt===null?tt=[e]:tt.push(e)}var t1=Nt.ReactCurrentBatchConfig;function _r(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(S(309));var r=n.stateNode}if(!r)throw Error(S(147,e));var i=r,l=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===l?t.ref:(t=function(s){var a=i.refs;s===null?delete a[l]:a[l]=s},t._stringRef=l,t)}if(typeof e!="string")throw Error(S(284));if(!n._owner)throw Error(S(290,e))}return e}function $i(e,t){throw e=Object.prototype.toString.call(t),Error(S(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function gc(e){var t=e._init;return t(e._payload)}function np(e){function t(p,d){if(e){var m=p.deletions;m===null?(p.deletions=[d],p.flags|=16):m.push(d)}}function n(p,d){if(!e)return null;for(;d!==null;)t(p,d),d=d.sibling;return null}function r(p,d){for(p=new Map;d!==null;)d.key!==null?p.set(d.key,d):p.set(d.index,d),d=d.sibling;return p}function i(p,d){return p=Jt(p,d),p.index=0,p.sibling=null,p}function l(p,d,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<d?(p.flags|=2,d):m):(p.flags|=2,d)):(p.flags|=1048576,d)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,d,m,x){return d===null||d.tag!==6?(d=es(m,p.mode,x),d.return=p,d):(d=i(d,m),d.return=p,d)}function u(p,d,m,x){var _=m.type;return _===zn?f(p,d,m.props.children,x,m.key):d!==null&&(d.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ft&&gc(_)===d.type)?(x=i(d,m.props),x.ref=_r(p,d,m),x.return=p,x):(x=po(m.type,m.key,m.props,null,p.mode,x),x.ref=_r(p,d,m),x.return=p,x)}function c(p,d,m,x){return d===null||d.tag!==4||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?(d=ts(m,p.mode,x),d.return=p,d):(d=i(d,m.children||[]),d.return=p,d)}function f(p,d,m,x,_){return d===null||d.tag!==7?(d=yn(m,p.mode,x,_),d.return=p,d):(d=i(d,m),d.return=p,d)}function h(p,d,m){if(typeof d=="string"&&d!==""||typeof d=="number")return d=es(""+d,p.mode,m),d.return=p,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ci:return m=po(d.type,d.key,d.props,null,p.mode,m),m.ref=_r(p,null,d),m.return=p,m;case On:return d=ts(d,p.mode,m),d.return=p,d;case Ft:var x=d._init;return h(p,x(d._payload),m)}if(Nr(d)||yr(d))return d=yn(d,p.mode,m,null),d.return=p,d;$i(p,d)}return null}function g(p,d,m,x){var _=d!==null?d.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return _!==null?null:a(p,d,""+m,x);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ci:return m.key===_?u(p,d,m,x):null;case On:return m.key===_?c(p,d,m,x):null;case Ft:return _=m._init,g(p,d,_(m._payload),x)}if(Nr(m)||yr(m))return _!==null?null:f(p,d,m,x,null);$i(p,m)}return null}function v(p,d,m,x,_){if(typeof x=="string"&&x!==""||typeof x=="number")return p=p.get(m)||null,a(d,p,""+x,_);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ci:return p=p.get(x.key===null?m:x.key)||null,u(d,p,x,_);case On:return p=p.get(x.key===null?m:x.key)||null,c(d,p,x,_);case Ft:var k=x._init;return v(p,d,m,k(x._payload),_)}if(Nr(x)||yr(x))return p=p.get(m)||null,f(d,p,x,_,null);$i(d,x)}return null}function y(p,d,m,x){for(var _=null,k=null,b=d,T=d=0,U=null;b!==null&&T<m.length;T++){b.index>T?(U=b,b=null):U=b.sibling;var $=g(p,b,m[T],x);if($===null){b===null&&(b=U);break}e&&b&&$.alternate===null&&t(p,b),d=l($,d,T),k===null?_=$:k.sibling=$,k=$,b=U}if(T===m.length)return n(p,b),q&&fn(p,T),_;if(b===null){for(;T<m.length;T++)b=h(p,m[T],x),b!==null&&(d=l(b,d,T),k===null?_=b:k.sibling=b,k=b);return q&&fn(p,T),_}for(b=r(p,b);T<m.length;T++)U=v(b,p,T,m[T],x),U!==null&&(e&&U.alternate!==null&&b.delete(U.key===null?T:U.key),d=l(U,d,T),k===null?_=U:k.sibling=U,k=U);return e&&b.forEach(function(xe){return t(p,xe)}),q&&fn(p,T),_}function w(p,d,m,x){var _=yr(m);if(typeof _!="function")throw Error(S(150));if(m=_.call(m),m==null)throw Error(S(151));for(var k=_=null,b=d,T=d=0,U=null,$=m.next();b!==null&&!$.done;T++,$=m.next()){b.index>T?(U=b,b=null):U=b.sibling;var xe=g(p,b,$.value,x);if(xe===null){b===null&&(b=U);break}e&&b&&xe.alternate===null&&t(p,b),d=l(xe,d,T),k===null?_=xe:k.sibling=xe,k=xe,b=U}if($.done)return n(p,b),q&&fn(p,T),_;if(b===null){for(;!$.done;T++,$=m.next())$=h(p,$.value,x),$!==null&&(d=l($,d,T),k===null?_=$:k.sibling=$,k=$);return q&&fn(p,T),_}for(b=r(p,b);!$.done;T++,$=m.next())$=v(b,p,T,$.value,x),$!==null&&(e&&$.alternate!==null&&b.delete($.key===null?T:$.key),d=l($,d,T),k===null?_=$:k.sibling=$,k=$);return e&&b.forEach(function(lt){return t(p,lt)}),q&&fn(p,T),_}function E(p,d,m,x){if(typeof m=="object"&&m!==null&&m.type===zn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Ci:e:{for(var _=m.key,k=d;k!==null;){if(k.key===_){if(_=m.type,_===zn){if(k.tag===7){n(p,k.sibling),d=i(k,m.props.children),d.return=p,p=d;break e}}else if(k.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ft&&gc(_)===k.type){n(p,k.sibling),d=i(k,m.props),d.ref=_r(p,k,m),d.return=p,p=d;break e}n(p,k);break}else t(p,k);k=k.sibling}m.type===zn?(d=yn(m.props.children,p.mode,x,m.key),d.return=p,p=d):(x=po(m.type,m.key,m.props,null,p.mode,x),x.ref=_r(p,d,m),x.return=p,p=x)}return s(p);case On:e:{for(k=m.key;d!==null;){if(d.key===k)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(p,d.sibling),d=i(d,m.children||[]),d.return=p,p=d;break e}else{n(p,d);break}else t(p,d);d=d.sibling}d=ts(m,p.mode,x),d.return=p,p=d}return s(p);case Ft:return k=m._init,E(p,d,k(m._payload),x)}if(Nr(m))return y(p,d,m,x);if(yr(m))return w(p,d,m,x);$i(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(p,d.sibling),d=i(d,m),d.return=p,p=d):(n(p,d),d=es(m,p.mode,x),d.return=p,p=d),s(p)):n(p,d)}return E}var tr=np(!0),rp=np(!1),Oo=on(null),zo=null,Un=null,Ha=null;function Wa(){Ha=Un=zo=null}function Va(e){var t=Oo.current;K(Oo),e._currentValue=t}function Ws(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Kn(e,t){zo=e,Ha=Un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function Xe(e){var t=e._currentValue;if(Ha!==e)if(e={context:e,memoizedValue:t,next:null},Un===null){if(zo===null)throw Error(S(308));Un=e,zo.dependencies={lanes:0,firstContext:e}}else Un=Un.next=e;return t}var mn=null;function Ga(e){mn===null?mn=[e]:mn.push(e)}function ip(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ga(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ct(e,r)}function Ct(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var At=!1;function Qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function op(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 _t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Kt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,B&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ct(e,n)}return i=r.interleaved,i===null?(t.next=t,Ga(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ct(e,n)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ia(e,n)}}function vc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Do(e,t,n,r){var i=e.updateQueue;At=!1;var l=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,c=u.next;u.next=null,s===null?l=c:s.next=c,s=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==s&&(a===null?f.firstBaseUpdate=c:a.next=c,f.lastBaseUpdate=u))}if(l!==null){var h=i.baseState;s=0,f=c=u=null,a=l;do{var g=a.lane,v=a.eventTime;if((r&g)===g){f!==null&&(f=f.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,w=a;switch(g=t,v=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){h=y.call(v,h,g);break e}h=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,g=typeof y=="function"?y.call(v,h,g):y,g==null)break e;h=re({},h,g);break e;case 2:At=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,g=i.effects,g===null?i.effects=[a]:g.push(a))}else v={eventTime:v,lane:g,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(c=f=v,u=h):f=f.next=v,s|=g;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;g=a,a=g.next,g.next=null,i.lastBaseUpdate=g,i.shared.pending=null}}while(!0);if(f===null&&(u=h),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);Sn|=s,e.lanes=s,e.memoizedState=h}}function xc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(S(191,i));i.call(r)}}}var pi={},mt=on(pi),ei=on(pi),ti=on(pi);function gn(e){if(e===pi)throw Error(S(174));return e}function Xa(e,t){switch(Q(ti,t),Q(ei,e),Q(mt,pi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_s(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_s(t,e)}K(mt),Q(mt,t)}function nr(){K(mt),K(ei),K(ti)}function lp(e){gn(ti.current);var t=gn(mt.current),n=_s(t,e.type);t!==n&&(Q(ei,e),Q(mt,n))}function Ya(e){ei.current===e&&(K(mt),K(ei))}var te=on(0);function Ro(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Xl=[];function Ka(){for(var e=0;e<Xl.length;e++)Xl[e]._workInProgressVersionPrimary=null;Xl.length=0}var so=Nt.ReactCurrentDispatcher,Yl=Nt.ReactCurrentBatchConfig,_n=0,ne=null,ce=null,fe=null,Mo=!1,$r=!1,ni=0,n1=0;function ye(){throw Error(S(321))}function Za(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ot(e[n],t[n]))return!1;return!0}function qa(e,t,n,r,i,l){if(_n=l,ne=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,so.current=e===null||e.memoizedState===null?l1:s1,e=n(r,i),$r){l=0;do{if($r=!1,ni=0,25<=l)throw Error(S(301));l+=1,fe=ce=null,t.updateQueue=null,so.current=a1,e=n(r,i)}while($r)}if(so.current=$o,t=ce!==null&&ce.next!==null,_n=0,fe=ce=ne=null,Mo=!1,t)throw Error(S(300));return e}function Ja(){var e=ni!==0;return ni=0,e}function ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fe===null?ne.memoizedState=fe=e:fe=fe.next=e,fe}function Ye(){if(ce===null){var e=ne.alternate;e=e!==null?e.memoizedState:null}else e=ce.next;var t=fe===null?ne.memoizedState:fe.next;if(t!==null)fe=t,ce=e;else{if(e===null)throw Error(S(310));ce=e,e={memoizedState:ce.memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},fe===null?ne.memoizedState=fe=e:fe=fe.next=e}return fe}function ri(e,t){return typeof t=="function"?t(e):t}function Kl(e){var t=Ye(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=ce,i=r.baseQueue,l=n.pending;if(l!==null){if(i!==null){var s=i.next;i.next=l.next,l.next=s}r.baseQueue=i=l,n.pending=null}if(i!==null){l=i.next,r=r.baseState;var a=s=null,u=null,c=l;do{var f=c.lane;if((_n&f)===f)u!==null&&(u=u.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 h={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(a=u=h,s=r):u=u.next=h,ne.lanes|=f,Sn|=f}c=c.next}while(c!==null&&c!==l);u===null?s=r:u.next=a,ot(r,t.memoizedState)||(Ne=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do l=i.lane,ne.lanes|=l,Sn|=l,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Zl(e){var t=Ye(),n=t.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,l=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do l=e(l,s.action),s=s.next;while(s!==i);ot(l,t.memoizedState)||(Ne=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function sp(){}function ap(e,t){var n=ne,r=Ye(),i=t(),l=!ot(r.memoizedState,i);if(l&&(r.memoizedState=i,Ne=!0),r=r.queue,eu(dp.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||fe!==null&&fe.memoizedState.tag&1){if(n.flags|=2048,ii(9,cp.bind(null,n,r,i,t),void 0,null),he===null)throw Error(S(349));_n&30||up(n,t,i)}return i}function up(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ne.updateQueue,t===null?(t={lastEffect:null,stores:null},ne.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function cp(e,t,n,r){t.value=n,t.getSnapshot=r,fp(t)&&pp(e)}function dp(e,t,n){return n(function(){fp(t)&&pp(e)})}function fp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ot(e,n)}catch{return!0}}function pp(e){var t=Ct(e,1);t!==null&&rt(t,e,1,-1)}function yc(e){var t=ct();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ri,lastRenderedState:e},t.queue=e,e=e.dispatch=o1.bind(null,ne,e),[t.memoizedState,e]}function ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ne.updateQueue,t===null?(t={lastEffect:null,stores:null},ne.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function hp(){return Ye().memoizedState}function ao(e,t,n,r){var i=ct();ne.flags|=e,i.memoizedState=ii(1|t,n,void 0,r===void 0?null:r)}function ol(e,t,n,r){var i=Ye();r=r===void 0?null:r;var l=void 0;if(ce!==null){var s=ce.memoizedState;if(l=s.destroy,r!==null&&Za(r,s.deps)){i.memoizedState=ii(t,n,l,r);return}}ne.flags|=e,i.memoizedState=ii(1|t,n,l,r)}function wc(e,t){return ao(8390656,8,e,t)}function eu(e,t){return ol(2048,8,e,t)}function mp(e,t){return ol(4,2,e,t)}function gp(e,t){return ol(4,4,e,t)}function vp(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function xp(e,t,n){return n=n!=null?n.concat([e]):null,ol(4,4,vp.bind(null,t,e),n)}function tu(){}function yp(e,t){var n=Ye();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Za(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wp(e,t){var n=Ye();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Za(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jp(e,t,n){return _n&21?(ot(n,t)||(n=Ef(),ne.lanes|=n,Sn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ne=!0),e.memoizedState=n)}function r1(e,t){var n=W;W=n!==0&&4>n?n:4,e(!0);var r=Yl.transition;Yl.transition={};try{e(!1),t()}finally{W=n,Yl.transition=r}}function kp(){return Ye().memoizedState}function i1(e,t,n){var r=qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},bp(e))_p(t,n);else if(n=ip(e,t,n,r),n!==null){var i=_e();rt(n,e,r,i),Sp(n,t,r)}}function o1(e,t,n){var r=qt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(bp(e))_p(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var s=t.lastRenderedState,a=l(s,n);if(i.hasEagerState=!0,i.eagerState=a,ot(a,s)){var u=t.interleaved;u===null?(i.next=i,Ga(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=ip(e,t,i,r),n!==null&&(i=_e(),rt(n,e,r,i),Sp(n,t,r))}}function bp(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function _p(e,t){$r=Mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Sp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ia(e,n)}}var $o={readContext:Xe,useCallback:ye,useContext:ye,useEffect:ye,useImperativeHandle:ye,useInsertionEffect:ye,useLayoutEffect:ye,useMemo:ye,useReducer:ye,useRef:ye,useState:ye,useDebugValue:ye,useDeferredValue:ye,useTransition:ye,useMutableSource:ye,useSyncExternalStore:ye,useId:ye,unstable_isNewReconciler:!1},l1={readContext:Xe,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:Xe,useEffect:wc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ao(4194308,4,vp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ao(4194308,4,e,t)},useInsertionEffect:function(e,t){return ao(4,2,e,t)},useMemo:function(e,t){var n=ct();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ct();return t=n!==void 0?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=i1.bind(null,ne,e),[r.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:yc,useDebugValue:tu,useDeferredValue:function(e){return ct().memoizedState=e},useTransition:function(){var e=yc(!1),t=e[0];return e=r1.bind(null,e[1]),ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ne,i=ct();if(q){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),he===null)throw Error(S(349));_n&30||up(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,wc(dp.bind(null,r,l,e),[e]),r.flags|=2048,ii(9,cp.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=ct(),t=he.identifierPrefix;if(q){var n=bt,r=kt;n=(r&~(1<<32-nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ni++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=n1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},s1={readContext:Xe,useCallback:yp,useContext:Xe,useEffect:eu,useImperativeHandle:xp,useInsertionEffect:mp,useLayoutEffect:gp,useMemo:wp,useReducer:Kl,useRef:hp,useState:function(){return Kl(ri)},useDebugValue:tu,useDeferredValue:function(e){var t=Ye();return jp(t,ce.memoizedState,e)},useTransition:function(){var e=Kl(ri)[0],t=Ye().memoizedState;return[e,t]},useMutableSource:sp,useSyncExternalStore:ap,useId:kp,unstable_isNewReconciler:!1},a1={readContext:Xe,useCallback:yp,useContext:Xe,useEffect:eu,useImperativeHandle:xp,useInsertionEffect:mp,useLayoutEffect:gp,useMemo:wp,useReducer:Zl,useRef:hp,useState:function(){return Zl(ri)},useDebugValue:tu,useDeferredValue:function(e){var t=Ye();return ce===null?t.memoizedState=e:jp(t,ce.memoizedState,e)},useTransition:function(){var e=Zl(ri)[0],t=Ye().memoizedState;return[e,t]},useMutableSource:sp,useSyncExternalStore:ap,useId:kp,unstable_isNewReconciler:!1};function Je(e,t){if(e&&e.defaultProps){t=re({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Vs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:re({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ll={isMounted:function(e){return(e=e._reactInternals)?Pn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_e(),i=qt(e),l=_t(r,i);l.payload=t,n!=null&&(l.callback=n),t=Kt(e,l,i),t!==null&&(rt(t,e,i,r),lo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_e(),i=qt(e),l=_t(r,i);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=Kt(e,l,i),t!==null&&(rt(t,e,i,r),lo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_e(),r=qt(e),i=_t(n,r);i.tag=2,t!=null&&(i.callback=t),t=Kt(e,i,r),t!==null&&(rt(t,e,r,n),lo(t,e,r))}};function jc(e,t,n,r,i,l,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,l,s):t.prototype&&t.prototype.isPureReactComponent?!Kr(n,r)||!Kr(i,l):!0}function Ep(e,t,n){var r=!1,i=nn,l=t.contextType;return typeof l=="object"&&l!==null?l=Xe(l):(i=Oe(t)?kn:ke.current,r=t.contextTypes,l=(r=r!=null)?Jn(e,i):nn),t=new t(n,l),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ll,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=l),t}function kc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ll.enqueueReplaceState(t,t.state,null)}function Gs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Qa(e);var l=t.contextType;typeof l=="object"&&l!==null?i.context=Xe(l):(l=Oe(t)?kn:ke.current,i.context=Jn(e,l)),i.state=e.memoizedState,l=t.getDerivedStateFromProps,typeof l=="function"&&(Vs(e,t,l,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&ll.enqueueReplaceState(i,i.state,null),Do(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function rr(e,t){try{var n="",r=t;do n+=Rm(r),r=r.return;while(r);var i=n}catch(l){i=`
Error generating stack: `+l.message+`
`+l.stack}return{value:e,source:t,stack:i,digest:null}}function ql(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Qs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var u1=typeof WeakMap=="function"?WeakMap:Map;function Cp(e,t,n){n=_t(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ao||(Ao=!0,ra=r),Qs(e,t)},n}function Pp(e,t,n){n=_t(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Qs(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Qs(e,t),typeof r!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function bc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new u1;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=b1.bind(null,e,t,n),t.then(e,e))}function _c(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Sc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=_t(-1,1),t.tag=2,Kt(n,t,1))),n.lanes|=1),e)}var c1=Nt.ReactCurrentOwner,Ne=!1;function be(e,t,n,r){t.child=e===null?rp(t,null,n,r):tr(t,e.child,n,r)}function Ec(e,t,n,r,i){n=n.render;var l=t.ref;return Kn(t,i),r=qa(e,t,n,r,l,i),n=Ja(),e!==null&&!Ne?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Pt(e,t,i)):(q&&n&&Aa(t),t.flags|=1,be(e,t,r,i),t.child)}function Cc(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!uu(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Np(e,t,l,r,i)):(e=po(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var s=l.memoizedProps;if(n=n.compare,n=n!==null?n:Kr,n(s,r)&&e.ref===t.ref)return Pt(e,t,i)}return t.flags|=1,e=Jt(l,r),e.ref=t.ref,e.return=t,t.child=e}function Np(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(Kr(l,r)&&e.ref===t.ref)if(Ne=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(Ne=!0);else return t.lanes=e.lanes,Pt(e,t,i)}return Xs(e,t,n,r,i)}function Tp(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(Wn,$e),$e|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(Wn,$e),$e|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,Q(Wn,$e),$e|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,Q(Wn,$e),$e|=r;return be(e,t,i,n),t.child}function Lp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Xs(e,t,n,r,i){var l=Oe(n)?kn:ke.current;return l=Jn(t,l),Kn(t,i),n=qa(e,t,n,r,l,i),r=Ja(),e!==null&&!Ne?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Pt(e,t,i)):(q&&r&&Aa(t),t.flags|=1,be(e,t,n,i),t.child)}function Pc(e,t,n,r,i){if(Oe(n)){var l=!0;To(t)}else l=!1;if(Kn(t,i),t.stateNode===null)uo(e,t),Ep(t,n,r),Gs(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Xe(c):(c=Oe(n)?kn:ke.current,c=Jn(t,c));var f=n.getDerivedStateFromProps,h=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";h||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==c)&&kc(t,s,r,c),At=!1;var g=t.memoizedState;s.state=g,Do(t,r,s,i),u=t.memoizedState,a!==r||g!==u||Ie.current||At?(typeof f=="function"&&(Vs(t,n,f,r),u=t.memoizedState),(a=At||jc(t,n,a,r,g,u,c))?(h||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,op(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Je(t.type,a),s.props=c,h=t.pendingProps,g=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=Xe(u):(u=Oe(n)?kn:ke.current,u=Jn(t,u));var v=n.getDerivedStateFromProps;(f=typeof v=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==h||g!==u)&&kc(t,s,r,u),At=!1,g=t.memoizedState,s.state=g,Do(t,r,s,i);var y=t.memoizedState;a!==h||g!==y||Ie.current||At?(typeof v=="function"&&(Vs(t,n,v,r),y=t.memoizedState),(c=At||jc(t,n,c,r,g,y,u)||!1)?(f||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=u,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),r=!1)}return Ys(e,t,n,r,l,i)}function Ys(e,t,n,r,i,l){Lp(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&pc(t,n,!1),Pt(e,t,l);r=t.stateNode,c1.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=tr(t,e.child,null,l),t.child=tr(t,null,a,l)):be(e,t,a,l),t.memoizedState=r.state,i&&pc(t,n,!0),t.child}function Ip(e){var t=e.stateNode;t.pendingContext?fc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fc(e,t.context,!1),Xa(e,t.containerInfo)}function Nc(e,t,n,r,i){return er(),Ua(i),t.flags|=256,be(e,t,n,r),t.child}var Ks={dehydrated:null,treeContext:null,retryLane:0};function Zs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Op(e,t,n){var r=t.pendingProps,i=te.current,l=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Q(te,i&1),e===null)return Hs(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,l?(r=t.mode,l=t.child,s={mode:"hidden",children:s},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=s):l=ul(s,r,0,null),e=yn(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Zs(n),t.memoizedState=Ks,e):nu(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return d1(e,t,s,r,a,i,n);if(l){l=r.fallback,s=t.mode,i=e.child,a=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Jt(i,u),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?l=Jt(a,l):(l=yn(l,s,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,s=e.child.memoizedState,s=s===null?Zs(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Ks,r}return l=e.child,e=l.sibling,r=Jt(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nu(e,t){return t=ul({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Fi(e,t,n,r){return r!==null&&Ua(r),tr(t,e.child,null,n),e=nu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function d1(e,t,n,r,i,l,s){if(n)return t.flags&256?(t.flags&=-257,r=ql(Error(S(422))),Fi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,i=t.mode,r=ul({mode:"visible",children:r.children},i,0,null),l=yn(l,i,s,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&tr(t,e.child,null,s),t.child.memoizedState=Zs(s),t.memoizedState=Ks,l);if(!(t.mode&1))return Fi(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,l=Error(S(419)),r=ql(l,r,void 0),Fi(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ne||a){if(r=he,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==l.retryLane&&(l.retryLane=i,Ct(e,i),rt(r,e,i,-1))}return au(),r=ql(Error(S(421))),Fi(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=_1.bind(null,e),i._reactRetry=t,null):(e=l.treeContext,Fe=Yt(i.nextSibling),Ae=t,q=!0,tt=null,e!==null&&(We[Ve++]=kt,We[Ve++]=bt,We[Ve++]=bn,kt=e.id,bt=e.overflow,bn=t),t=nu(t,r.children),t.flags|=4096,t)}function Tc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ws(e.return,t,n)}function Jl(e,t,n,r,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=i)}function zp(e,t,n){var r=t.pendingProps,i=r.revealOrder,l=r.tail;if(be(e,t,r.children,n),r=te.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Tc(e,n,t);else if(e.tag===19)Tc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Q(te,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ro(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Jl(t,!1,i,n,l);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ro(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Jl(t,!0,n,null,l);break;case"together":Jl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function uo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Sn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=Jt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function f1(e,t,n){switch(t.tag){case 3:Ip(t),er();break;case 5:lp(t);break;case 1:Oe(t.type)&&To(t);break;case 4:Xa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Q(Oo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(te,te.current&1),t.flags|=128,null):n&t.child.childLanes?Op(e,t,n):(Q(te,te.current&1),e=Pt(e,t,n),e!==null?e.sibling:null);Q(te,te.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return zp(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Q(te,te.current),r)break;return null;case 22:case 23:return t.lanes=0,Tp(e,t,n)}return Pt(e,t,n)}var Dp,qs,Rp,Mp;Dp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};qs=function(){};Rp=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,gn(mt.current);var l=null;switch(n){case"input":i=ws(e,i),r=ws(e,r),l=[];break;case"select":i=re({},i,{value:void 0}),r=re({},r,{value:void 0}),l=[];break;case"textarea":i=bs(e,i),r=bs(e,r),l=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Po)}Ss(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Hr.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&u!==a&&(u!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&a[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(l||(l=[]),l.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(l=l||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(l=l||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Hr.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&X("scroll",e),l||a===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}};Mp=function(e,t,n,r){n!==r&&(t.flags|=4)};function Sr(e,t){if(!q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function we(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function p1(e,t,n){var r=t.pendingProps;switch(Ba(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return we(t),null;case 1:return Oe(t.type)&&No(),we(t),null;case 3:return r=t.stateNode,nr(),K(Ie),K(ke),Ka(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Mi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,tt!==null&&(la(tt),tt=null))),qs(e,t),we(t),null;case 5:Ya(t);var i=gn(ti.current);if(n=t.type,e!==null&&t.stateNode!=null)Rp(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(S(166));return we(t),null}if(e=gn(mt.current),Mi(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[pt]=t,r[Jr]=l,e=(t.mode&1)!==0,n){case"dialog":X("cancel",r),X("close",r);break;case"iframe":case"object":case"embed":X("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)X(Lr[i],r);break;case"source":X("error",r);break;case"img":case"image":case"link":X("error",r),X("load",r);break;case"details":X("toggle",r);break;case"input":Fu(r,l),X("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},X("invalid",r);break;case"textarea":Bu(r,l),X("invalid",r)}Ss(n,l),i=null;for(var s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="children"?typeof a=="string"?r.textContent!==a&&(l.suppressHydrationWarning!==!0&&Ri(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(l.suppressHydrationWarning!==!0&&Ri(r.textContent,a,e),i=["children",""+a]):Hr.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&X("scroll",r)}switch(n){case"input":Pi(r),Au(r,l,!0);break;case"textarea":Pi(r),Uu(r);break;case"select":case"option":break;default:typeof l.onClick=="function"&&(r.onclick=Po)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=df(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pt]=t,e[Jr]=r,Dp(e,t,!1,!1),t.stateNode=e;e:{switch(s=Es(n,r),n){case"dialog":X("cancel",e),X("close",e),i=r;break;case"iframe":case"object":case"embed":X("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)X(Lr[i],e);i=r;break;case"source":X("error",e),i=r;break;case"img":case"image":case"link":X("error",e),X("load",e),i=r;break;case"details":X("toggle",e),i=r;break;case"input":Fu(e,r),i=ws(e,r),X("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=re({},r,{value:void 0}),X("invalid",e);break;case"textarea":Bu(e,r),i=bs(e,r),X("invalid",e);break;default:i=r}Ss(n,i),a=i;for(l in a)if(a.hasOwnProperty(l)){var u=a[l];l==="style"?hf(e,u):l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&ff(e,u)):l==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Wr(e,u):typeof u=="number"&&Wr(e,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Hr.hasOwnProperty(l)?u!=null&&l==="onScroll"&&X("scroll",e):u!=null&&Ea(e,l,u,s))}switch(n){case"input":Pi(e),Au(e,r,!1);break;case"textarea":Pi(e),Uu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tn(r.value));break;case"select":e.multiple=!!r.multiple,l=r.value,l!=null?Gn(e,!!r.multiple,l,!1):r.defaultValue!=null&&Gn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Po)}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)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return we(t),null;case 6:if(e&&t.stateNode!=null)Mp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(S(166));if(n=gn(ti.current),gn(mt.current),Mi(t)){if(r=t.stateNode,n=t.memoizedProps,r[pt]=t,(l=r.nodeValue!==n)&&(e=Ae,e!==null))switch(e.tag){case 3:Ri(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ri(r.nodeValue,n,(e.mode&1)!==0)}l&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[pt]=t,t.stateNode=r}return we(t),null;case 13:if(K(te),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(q&&Fe!==null&&t.mode&1&&!(t.flags&128))tp(),er(),t.flags|=98560,l=!1;else if(l=Mi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!l)throw Error(S(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));l[pt]=t}else er(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;we(t),l=!1}else tt!==null&&(la(tt),tt=null),l=!0;if(!l)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||te.current&1?de===0&&(de=3):au())),t.updateQueue!==null&&(t.flags|=4),we(t),null);case 4:return nr(),qs(e,t),e===null&&Zr(t.stateNode.containerInfo),we(t),null;case 10:return Va(t.type._context),we(t),null;case 17:return Oe(t.type)&&No(),we(t),null;case 19:if(K(te),l=t.memoizedState,l===null)return we(t),null;if(r=(t.flags&128)!==0,s=l.rendering,s===null)if(r)Sr(l,!1);else{if(de!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ro(e),s!==null){for(t.flags|=128,Sr(l,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)l=n,e=r,l.flags&=14680066,s=l.alternate,s===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Q(te,te.current&1|2),t.child}e=e.sibling}l.tail!==null&&le()>ir&&(t.flags|=128,r=!0,Sr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Ro(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!q)return we(t),null}else 2*le()-l.renderingStartTime>ir&&n!==1073741824&&(t.flags|=128,r=!0,Sr(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(n=l.last,n!==null?n.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=le(),t.sibling=null,n=te.current,Q(te,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return su(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?$e&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function h1(e,t){switch(Ba(t),t.tag){case 1:return Oe(t.type)&&No(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),K(Ie),K(ke),Ka(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ya(t),null;case 13:if(K(te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(te),null;case 4:return nr(),null;case 10:return Va(t.type._context),null;case 22:case 23:return su(),null;case 24:return null;default:return null}}var Ai=!1,je=!1,m1=typeof WeakSet=="function"?WeakSet:Set,I=null;function Hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){oe(e,t,r)}else n.current=null}function Js(e,t,n){try{n()}catch(r){oe(e,t,r)}}var Lc=!1;function g1(e,t){if(Rs=So,e=Uf(),Fa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,c=0,f=0,h=e,g=null;t:for(;;){for(var v;h!==n||i!==0&&h.nodeType!==3||(a=s+i),h!==l||r!==0&&h.nodeType!==3||(u=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(v=h.firstChild)!==null;)g=h,h=v;for(;;){if(h===e)break t;if(g===n&&++c===i&&(a=s),g===l&&++f===r&&(u=s),(v=h.nextSibling)!==null)break;h=g,g=h.parentNode}h=v}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ms={focusedElem:e,selectionRange:n},So=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,E=y.memoizedState,p=t.stateNode,d=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:Je(t.type,w),E);p.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(x){oe(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return y=Lc,Lc=!1,y}function Fr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Js(t,n,l)}i=i.next}while(i!==r)}}function sl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 ea(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function $p(e){var t=e.alternate;t!==null&&(e.alternate=null,$p(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[Jr],delete t[As],delete t[qg],delete t[Jg])),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 Fp(e){return e.tag===5||e.tag===3||e.tag===4}function Ic(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ta(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Po));else if(r!==4&&(e=e.child,e!==null))for(ta(e,t,n),e=e.sibling;e!==null;)ta(e,t,n),e=e.sibling}function na(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(na(e,t,n),e=e.sibling;e!==null;)na(e,t,n),e=e.sibling}var me=null,et=!1;function It(e,t,n){for(n=n.child;n!==null;)Ap(e,t,n),n=n.sibling}function Ap(e,t,n){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(Jo,n)}catch{}switch(n.tag){case 5:je||Hn(n,t);case 6:var r=me,i=et;me=null,It(e,t,n),me=r,et=i,me!==null&&(et?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(et?(e=me,n=n.stateNode,e.nodeType===8?Gl(e.parentNode,n):e.nodeType===1&&Gl(e,n),Xr(e)):Gl(me,n.stateNode));break;case 4:r=me,i=et,me=n.stateNode.containerInfo,et=!0,It(e,t,n),me=r,et=i;break;case 0:case 11:case 14:case 15:if(!je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Js(n,t,s),i=i.next}while(i!==r)}It(e,t,n);break;case 1:if(!je&&(Hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){oe(n,t,a)}It(e,t,n);break;case 21:It(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,It(e,t,n),je=r):It(e,t,n);break;default:It(e,t,n)}}function Oc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new m1),t.forEach(function(r){var i=S1.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function qe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var l=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:me=a.stateNode,et=!1;break e;case 3:me=a.stateNode.containerInfo,et=!0;break e;case 4:me=a.stateNode.containerInfo,et=!0;break e}a=a.return}if(me===null)throw Error(S(160));Ap(l,s,i),me=null,et=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(c){oe(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Bp(t,e),t=t.sibling}function Bp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(qe(t,e),st(e),r&4){try{Fr(3,e,e.return),sl(3,e)}catch(w){oe(e,e.return,w)}try{Fr(5,e,e.return)}catch(w){oe(e,e.return,w)}}break;case 1:qe(t,e),st(e),r&512&&n!==null&&Hn(n,n.return);break;case 5:if(qe(t,e),st(e),r&512&&n!==null&&Hn(n,n.return),e.flags&32){var i=e.stateNode;try{Wr(i,"")}catch(w){oe(e,e.return,w)}}if(r&4&&(i=e.stateNode,i!=null)){var l=e.memoizedProps,s=n!==null?n.memoizedProps:l,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&l.type==="radio"&&l.name!=null&&uf(i,l),Es(a,s);var c=Es(a,l);for(s=0;s<u.length;s+=2){var f=u[s],h=u[s+1];f==="style"?hf(i,h):f==="dangerouslySetInnerHTML"?ff(i,h):f==="children"?Wr(i,h):Ea(i,f,h,c)}switch(a){case"input":js(i,l);break;case"textarea":cf(i,l);break;case"select":var g=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!l.multiple;var v=l.value;v!=null?Gn(i,!!l.multiple,v,!1):g!==!!l.multiple&&(l.defaultValue!=null?Gn(i,!!l.multiple,l.defaultValue,!0):Gn(i,!!l.multiple,l.multiple?[]:"",!1))}i[Jr]=l}catch(w){oe(e,e.return,w)}}break;case 6:if(qe(t,e),st(e),r&4){if(e.stateNode===null)throw Error(S(162));i=e.stateNode,l=e.memoizedProps;try{i.nodeValue=l}catch(w){oe(e,e.return,w)}}break;case 3:if(qe(t,e),st(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xr(t.containerInfo)}catch(w){oe(e,e.return,w)}break;case 4:qe(t,e),st(e);break;case 13:qe(t,e),st(e),i=e.child,i.flags&8192&&(l=i.memoizedState!==null,i.stateNode.isHidden=l,!l||i.alternate!==null&&i.alternate.memoizedState!==null||(ou=le())),r&4&&Oc(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(je=(c=je)||f,qe(t,e),je=c):qe(t,e),st(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!f&&e.mode&1)for(I=e,f=e.child;f!==null;){for(h=I=f;I!==null;){switch(g=I,v=g.child,g.tag){case 0:case 11:case 14:case 15:Fr(4,g,g.return);break;case 1:Hn(g,g.return);var y=g.stateNode;if(typeof y.componentWillUnmount=="function"){r=g,n=g.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(w){oe(r,n,w)}}break;case 5:Hn(g,g.return);break;case 22:if(g.memoizedState!==null){Dc(h);continue}}v!==null?(v.return=g,I=v):Dc(h)}f=f.sibling}e:for(f=null,h=e;;){if(h.tag===5){if(f===null){f=h;try{i=h.stateNode,c?(l=i.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"):(a=h.stateNode,u=h.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=pf("display",s))}catch(w){oe(e,e.return,w)}}}else if(h.tag===6){if(f===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(w){oe(e,e.return,w)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;f===h&&(f=null),h=h.return}f===h&&(f=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:qe(t,e),st(e),r&4&&Oc(e);break;case 21:break;default:qe(t,e),st(e)}}function st(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Fp(n)){var r=n;break e}n=n.return}throw Error(S(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Wr(i,""),r.flags&=-33);var l=Ic(e);na(e,l,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Ic(e);ta(e,a,s);break;default:throw Error(S(161))}}catch(u){oe(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function v1(e,t,n){I=e,Up(e)}function Up(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var i=I,l=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Ai;if(!s){var a=i.alternate,u=a!==null&&a.memoizedState!==null||je;a=Ai;var c=je;if(Ai=s,(je=u)&&!c)for(I=i;I!==null;)s=I,u=s.child,s.tag===22&&s.memoizedState!==null?Rc(i):u!==null?(u.return=s,I=u):Rc(i);for(;l!==null;)I=l,Up(l),l=l.sibling;I=i,Ai=a,je=c}zc(e)}else i.subtreeFlags&8772&&l!==null?(l.return=i,I=l):zc(e)}}function zc(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:je||sl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!je)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Je(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;l!==null&&xc(t,l,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}xc(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var f=c.memoizedState;if(f!==null){var h=f.dehydrated;h!==null&&Xr(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(S(163))}je||t.flags&512&&ea(t)}catch(g){oe(t,t.return,g)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Dc(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Rc(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{sl(4,t)}catch(u){oe(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){oe(t,i,u)}}var l=t.return;try{ea(t)}catch(u){oe(t,l,u)}break;case 5:var s=t.return;try{ea(t)}catch(u){oe(t,s,u)}}}catch(u){oe(t,t.return,u)}if(t===e){I=null;break}var a=t.sibling;if(a!==null){a.return=t.return,I=a;break}I=t.return}}var x1=Math.ceil,Fo=Nt.ReactCurrentDispatcher,ru=Nt.ReactCurrentOwner,Qe=Nt.ReactCurrentBatchConfig,B=0,he=null,ae=null,ge=0,$e=0,Wn=on(0),de=0,oi=null,Sn=0,al=0,iu=0,Ar=null,Pe=null,ou=0,ir=1/0,yt=null,Ao=!1,ra=null,Zt=null,Bi=!1,Wt=null,Bo=0,Br=0,ia=null,co=-1,fo=0;function _e(){return B&6?le():co!==-1?co:co=le()}function qt(e){return e.mode&1?B&2&&ge!==0?ge&-ge:t1.transition!==null?(fo===0&&(fo=Ef()),fo):(e=W,e!==0||(e=window.event,e=e===void 0?16:Of(e.type)),e):1}function rt(e,t,n,r){if(50<Br)throw Br=0,ia=null,Error(S(185));ci(e,n,r),(!(B&2)||e!==he)&&(e===he&&(!(B&2)&&(al|=n),de===4&&Ut(e,ge)),ze(e,r),n===1&&B===0&&!(t.mode&1)&&(ir=le()+500,il&&ln()))}function ze(e,t){var n=e.callbackNode;tg(e,t);var r=_o(e,e===he?ge:0);if(r===0)n!==null&&Vu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Vu(n),t===1)e.tag===0?e1(Mc.bind(null,e)):qf(Mc.bind(null,e)),Kg(function(){!(B&6)&&ln()}),n=null;else{switch(Cf(r)){case 1:n=La;break;case 4:n=_f;break;case 16:n=bo;break;case 536870912:n=Sf;break;default:n=bo}n=Kp(n,Hp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Hp(e,t){if(co=-1,fo=0,B&6)throw Error(S(327));var n=e.callbackNode;if(Zn()&&e.callbackNode!==n)return null;var r=_o(e,e===he?ge:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Uo(e,r);else{t=r;var i=B;B|=2;var l=Vp();(he!==e||ge!==t)&&(yt=null,ir=le()+500,xn(e,t));do try{j1();break}catch(a){Wp(e,a)}while(!0);Wa(),Fo.current=l,B=i,ae!==null?t=0:(he=null,ge=0,t=de)}if(t!==0){if(t===2&&(i=Ls(e),i!==0&&(r=i,t=oa(e,i))),t===1)throw n=oi,xn(e,0),Ut(e,r),ze(e,le()),n;if(t===6)Ut(e,r);else{if(i=e.current.alternate,!(r&30)&&!y1(i)&&(t=Uo(e,r),t===2&&(l=Ls(e),l!==0&&(r=l,t=oa(e,l))),t===1))throw n=oi,xn(e,0),Ut(e,r),ze(e,le()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(S(345));case 2:pn(e,Pe,yt);break;case 3:if(Ut(e,r),(r&130023424)===r&&(t=ou+500-le(),10<t)){if(_o(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){_e(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Fs(pn.bind(null,e,Pe,yt),t);break}pn(e,Pe,yt);break;case 4:if(Ut(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-nt(r);l=1<<s,s=t[s],s>i&&(i=s),r&=~l}if(r=i,r=le()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*x1(r/1960))-r,10<r){e.timeoutHandle=Fs(pn.bind(null,e,Pe,yt),r);break}pn(e,Pe,yt);break;case 5:pn(e,Pe,yt);break;default:throw Error(S(329))}}}return ze(e,le()),e.callbackNode===n?Hp.bind(null,e):null}function oa(e,t){var n=Ar;return e.current.memoizedState.isDehydrated&&(xn(e,t).flags|=256),e=Uo(e,t),e!==2&&(t=Pe,Pe=n,t!==null&&la(t)),e}function la(e){Pe===null?Pe=e:Pe.push.apply(Pe,e)}function y1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],l=i.getSnapshot;i=i.value;try{if(!ot(l(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ut(e,t){for(t&=~iu,t&=~al,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-nt(t),r=1<<n;e[n]=-1,t&=~r}}function Mc(e){if(B&6)throw Error(S(327));Zn();var t=_o(e,0);if(!(t&1))return ze(e,le()),null;var n=Uo(e,t);if(e.tag!==0&&n===2){var r=Ls(e);r!==0&&(t=r,n=oa(e,r))}if(n===1)throw n=oi,xn(e,0),Ut(e,t),ze(e,le()),n;if(n===6)throw Error(S(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pn(e,Pe,yt),ze(e,le()),null}function lu(e,t){var n=B;B|=1;try{return e(t)}finally{B=n,B===0&&(ir=le()+500,il&&ln())}}function En(e){Wt!==null&&Wt.tag===0&&!(B&6)&&Zn();var t=B;B|=1;var n=Qe.transition,r=W;try{if(Qe.transition=null,W=1,e)return e()}finally{W=r,Qe.transition=n,B=t,!(B&6)&&ln()}}function su(){$e=Wn.current,K(Wn)}function xn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Yg(n)),ae!==null)for(n=ae.return;n!==null;){var r=n;switch(Ba(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&No();break;case 3:nr(),K(Ie),K(ke),Ka();break;case 5:Ya(r);break;case 4:nr();break;case 13:K(te);break;case 19:K(te);break;case 10:Va(r.type._context);break;case 22:case 23:su()}n=n.return}if(he=e,ae=e=Jt(e.current,null),ge=$e=t,de=0,oi=null,iu=al=Sn=0,Pe=Ar=null,mn!==null){for(t=0;t<mn.length;t++)if(n=mn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,l=n.pending;if(l!==null){var s=l.next;l.next=i,r.next=s}n.pending=r}mn=null}return e}function Wp(e,t){do{var n=ae;try{if(Wa(),so.current=$o,Mo){for(var r=ne.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Mo=!1}if(_n=0,fe=ce=ne=null,$r=!1,ni=0,ru.current=null,n===null||n.return===null){de=1,oi=t,ae=null;break}e:{var l=e,s=n.return,a=n,u=t;if(t=ge,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,f=a,h=f.tag;if(!(f.mode&1)&&(h===0||h===11||h===15)){var g=f.alternate;g?(f.updateQueue=g.updateQueue,f.memoizedState=g.memoizedState,f.lanes=g.lanes):(f.updateQueue=null,f.memoizedState=null)}var v=_c(s);if(v!==null){v.flags&=-257,Sc(v,s,a,l,t),v.mode&1&&bc(l,c,t),t=v,u=c;var y=t.updateQueue;if(y===null){var w=new Set;w.add(u),t.updateQueue=w}else y.add(u);break e}else{if(!(t&1)){bc(l,c,t),au();break e}u=Error(S(426))}}else if(q&&a.mode&1){var E=_c(s);if(E!==null){!(E.flags&65536)&&(E.flags|=256),Sc(E,s,a,l,t),Ua(rr(u,a));break e}}l=u=rr(u,a),de!==4&&(de=2),Ar===null?Ar=[l]:Ar.push(l),l=s;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var p=Cp(l,u,t);vc(l,p);break e;case 1:a=u;var d=l.type,m=l.stateNode;if(!(l.flags&128)&&(typeof d.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Zt===null||!Zt.has(m)))){l.flags|=65536,t&=-t,l.lanes|=t;var x=Pp(l,a,t);vc(l,x);break e}}l=l.return}while(l!==null)}Qp(n)}catch(_){t=_,ae===n&&n!==null&&(ae=n=n.return);continue}break}while(!0)}function Vp(){var e=Fo.current;return Fo.current=$o,e===null?$o:e}function au(){(de===0||de===3||de===2)&&(de=4),he===null||!(Sn&268435455)&&!(al&268435455)||Ut(he,ge)}function Uo(e,t){var n=B;B|=2;var r=Vp();(he!==e||ge!==t)&&(yt=null,xn(e,t));do try{w1();break}catch(i){Wp(e,i)}while(!0);if(Wa(),B=n,Fo.current=r,ae!==null)throw Error(S(261));return he=null,ge=0,de}function w1(){for(;ae!==null;)Gp(ae)}function j1(){for(;ae!==null&&!Gm();)Gp(ae)}function Gp(e){var t=Yp(e.alternate,e,$e);e.memoizedProps=e.pendingProps,t===null?Qp(e):ae=t,ru.current=null}function Qp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=h1(n,t),n!==null){n.flags&=32767,ae=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{de=6,ae=null;return}}else if(n=p1(n,t,$e),n!==null){ae=n;return}if(t=t.sibling,t!==null){ae=t;return}ae=t=e}while(t!==null);de===0&&(de=5)}function pn(e,t,n){var r=W,i=Qe.transition;try{Qe.transition=null,W=1,k1(e,t,n,r)}finally{Qe.transition=i,W=r}return null}function k1(e,t,n,r){do Zn();while(Wt!==null);if(B&6)throw Error(S(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(S(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(ng(e,l),e===he&&(ae=he=null,ge=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Bi||(Bi=!0,Kp(bo,function(){return Zn(),null})),l=(n.flags&15990)!==0,n.subtreeFlags&15990||l){l=Qe.transition,Qe.transition=null;var s=W;W=1;var a=B;B|=4,ru.current=null,g1(e,n),Bp(n,e),Ug(Ms),So=!!Rs,Ms=Rs=null,e.current=n,v1(n),Qm(),B=a,W=s,Qe.transition=l}else e.current=n;if(Bi&&(Bi=!1,Wt=e,Bo=i),l=e.pendingLanes,l===0&&(Zt=null),Km(n.stateNode),ze(e,le()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ao)throw Ao=!1,e=ra,ra=null,e;return Bo&1&&e.tag!==0&&Zn(),l=e.pendingLanes,l&1?e===ia?Br++:(Br=0,ia=e):Br=0,ln(),null}function Zn(){if(Wt!==null){var e=Cf(Bo),t=Qe.transition,n=W;try{if(Qe.transition=null,W=16>e?16:e,Wt===null)var r=!1;else{if(e=Wt,Wt=null,Bo=0,B&6)throw Error(S(331));var i=B;for(B|=4,I=e.current;I!==null;){var l=I,s=l.child;if(I.flags&16){var a=l.deletions;if(a!==null){for(var u=0;u<a.length;u++){var c=a[u];for(I=c;I!==null;){var f=I;switch(f.tag){case 0:case 11:case 15:Fr(8,f,l)}var h=f.child;if(h!==null)h.return=f,I=h;else for(;I!==null;){f=I;var g=f.sibling,v=f.return;if($p(f),f===c){I=null;break}if(g!==null){g.return=v,I=g;break}I=v}}}var y=l.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var E=w.sibling;w.sibling=null,w=E}while(w!==null)}}I=l}}if(l.subtreeFlags&2064&&s!==null)s.return=l,I=s;else e:for(;I!==null;){if(l=I,l.flags&2048)switch(l.tag){case 0:case 11:case 15:Fr(9,l,l.return)}var p=l.sibling;if(p!==null){p.return=l.return,I=p;break e}I=l.return}}var d=e.current;for(I=d;I!==null;){s=I;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,I=m;else e:for(s=d;I!==null;){if(a=I,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:sl(9,a)}}catch(_){oe(a,a.return,_)}if(a===s){I=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,I=x;break e}I=a.return}}if(B=i,ln(),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(Jo,e)}catch{}r=!0}return r}finally{W=n,Qe.transition=t}}return!1}function $c(e,t,n){t=rr(n,t),t=Cp(e,t,1),e=Kt(e,t,1),t=_e(),e!==null&&(ci(e,1,t),ze(e,t))}function oe(e,t,n){if(e.tag===3)$c(e,e,n);else for(;t!==null;){if(t.tag===3){$c(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zt===null||!Zt.has(r))){e=rr(n,e),e=Pp(t,e,1),t=Kt(t,e,1),e=_e(),t!==null&&(ci(t,1,e),ze(t,e));break}}t=t.return}}function b1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&n,he===e&&(ge&n)===n&&(de===4||de===3&&(ge&130023424)===ge&&500>le()-ou?xn(e,0):iu|=n),ze(e,t)}function Xp(e,t){t===0&&(e.mode&1?(t=Li,Li<<=1,!(Li&130023424)&&(Li=4194304)):t=1);var n=_e();e=Ct(e,t),e!==null&&(ci(e,t,n),ze(e,n))}function _1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xp(e,n)}function S1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Xp(e,n)}var Yp;Yp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,f1(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,q&&t.flags&1048576&&Jf(t,Io,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;uo(e,t),e=t.pendingProps;var i=Jn(t,ke.current);Kn(t,n),i=qa(null,t,r,e,i,n);var l=Ja();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oe(r)?(l=!0,To(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Qa(t),i.updater=ll,t.stateNode=i,i._reactInternals=t,Gs(t,r,e,n),t=Ys(null,t,r,!0,l,n)):(t.tag=0,q&&l&&Aa(t),be(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(uo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=C1(r),e=Je(r,e),i){case 0:t=Xs(null,t,r,e,n);break e;case 1:t=Pc(null,t,r,e,n);break e;case 11:t=Ec(null,t,r,e,n);break e;case 14:t=Cc(null,t,r,Je(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Je(r,i),Xs(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Je(r,i),Pc(e,t,r,i,n);case 3:e:{if(Ip(t),e===null)throw Error(S(387));r=t.pendingProps,l=t.memoizedState,i=l.element,op(e,t),Do(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=rr(Error(S(423)),t),t=Nc(e,t,r,n,i);break e}else if(r!==i){i=rr(Error(S(424)),t),t=Nc(e,t,r,n,i);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),Ae=t,q=!0,tt=null,n=rp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===i){t=Pt(e,t,n);break e}be(e,t,r,n)}t=t.child}return t;case 5:return lp(t),e===null&&Hs(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,s=i.children,$s(r,i)?s=null:l!==null&&$s(r,l)&&(t.flags|=32),Lp(e,t),be(e,t,s,n),t.child;case 6:return e===null&&Hs(t),null;case 13:return Op(e,t,n);case 4:return Xa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):be(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Je(r,i),Ec(e,t,r,i,n);case 7:return be(e,t,t.pendingProps,n),t.child;case 8:return be(e,t,t.pendingProps.children,n),t.child;case 12:return be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,s=i.value,Q(Oo,r._currentValue),r._currentValue=s,l!==null)if(ot(l.value,s)){if(l.children===i.children&&!Ie.current){t=Pt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){s=l.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=_t(-1,n&-n),u.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Ws(l.return,n,t),a.lanes|=n;break}u=u.next}}else if(l.tag===10)s=l.type===t.type?null:l.child;else if(l.tag===18){if(s=l.return,s===null)throw Error(S(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ws(s,n,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}be(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Kn(t,n),i=Xe(i),r=r(i),t.flags|=1,be(e,t,r,n),t.child;case 14:return r=t.type,i=Je(r,t.pendingProps),i=Je(r.type,i),Cc(e,t,r,i,n);case 15:return Np(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Je(r,i),uo(e,t),t.tag=1,Oe(r)?(e=!0,To(t)):e=!1,Kn(t,n),Ep(t,r,i),Gs(t,r,i,n),Ys(null,t,r,!0,e,n);case 19:return zp(e,t,n);case 22:return Tp(e,t,n)}throw Error(S(156,t.tag))};function Kp(e,t){return bf(e,t)}function E1(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 Ge(e,t,n,r){return new E1(e,t,n,r)}function uu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function C1(e){if(typeof e=="function")return uu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pa)return 11;if(e===Na)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ge(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function po(e,t,n,r,i,l){var s=2;if(r=e,typeof e=="function")uu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case zn:return yn(n.children,i,l,t);case Ca:s=8,i|=8;break;case gs:return e=Ge(12,n,t,i|2),e.elementType=gs,e.lanes=l,e;case vs:return e=Ge(13,n,t,i),e.elementType=vs,e.lanes=l,e;case xs:return e=Ge(19,n,t,i),e.elementType=xs,e.lanes=l,e;case lf:return ul(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case rf:s=10;break e;case of:s=9;break e;case Pa:s=11;break e;case Na:s=14;break e;case Ft:s=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ge(s,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function yn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function ul(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=lf,e.lanes=n,e.stateNode={isHidden:!1},e}function es(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function ts(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function P1(e,t,n,r,i){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=Dl(0),this.expirationTimes=Dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cu(e,t,n,r,i,l,s,a,u){return e=new P1(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ge(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qa(l),e}function N1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:On,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Zp(e){if(!e)return nn;e=e._reactInternals;e:{if(Pn(e)!==e||e.tag!==1)throw Error(S(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(S(171))}if(e.tag===1){var n=e.type;if(Oe(n))return Zf(e,n,t)}return t}function qp(e,t,n,r,i,l,s,a,u){return e=cu(n,r,!0,e,i,l,s,a,u),e.context=Zp(null),n=e.current,r=_e(),i=qt(n),l=_t(r,i),l.callback=t??null,Kt(n,l,i),e.current.lanes=i,ci(e,i,r),ze(e,r),e}function cl(e,t,n,r){var i=t.current,l=_e(),s=qt(i);return n=Zp(n),t.context===null?t.context=n:t.pendingContext=n,t=_t(l,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Kt(i,t,s),e!==null&&(rt(e,i,s,l),lo(e,i,s)),s}function Ho(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Fc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function du(e,t){Fc(e,t),(e=e.alternate)&&Fc(e,t)}function T1(){return null}var Jp=typeof reportError=="function"?reportError:function(e){console.error(e)};function fu(e){this._internalRoot=e}dl.prototype.render=fu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(S(409));cl(e,t,null,null)};dl.prototype.unmount=fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;En(function(){cl(null,e,null,null)}),t[Et]=null}};function dl(e){this._internalRoot=e}dl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Bt.length&&t!==0&&t<Bt[n].priority;n++);Bt.splice(n,0,e),n===0&&If(e)}};function pu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function fl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ac(){}function L1(e,t,n,r,i){if(i){if(typeof r=="function"){var l=r;r=function(){var c=Ho(s);l.call(c)}}var s=qp(t,r,e,0,null,!1,!1,"",Ac);return e._reactRootContainer=s,e[Et]=s.current,Zr(e.nodeType===8?e.parentNode:e),En(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=Ho(u);a.call(c)}}var u=cu(e,0,!1,null,null,!1,!1,"",Ac);return e._reactRootContainer=u,e[Et]=u.current,Zr(e.nodeType===8?e.parentNode:e),En(function(){cl(t,u,n,r)}),u}function pl(e,t,n,r,i){var l=n._reactRootContainer;if(l){var s=l;if(typeof i=="function"){var a=i;i=function(){var u=Ho(s);a.call(u)}}cl(t,s,e,i)}else s=L1(n,t,e,i,r);return Ho(s)}Pf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Tr(t.pendingLanes);n!==0&&(Ia(t,n|1),ze(t,le()),!(B&6)&&(ir=le()+500,ln()))}break;case 13:En(function(){var r=Ct(e,1);if(r!==null){var i=_e();rt(r,e,1,i)}}),du(e,1)}};Oa=function(e){if(e.tag===13){var t=Ct(e,134217728);if(t!==null){var n=_e();rt(t,e,134217728,n)}du(e,134217728)}};Nf=function(e){if(e.tag===13){var t=qt(e),n=Ct(e,t);if(n!==null){var r=_e();rt(n,e,t,r)}du(e,t)}};Tf=function(){return W};Lf=function(e,t){var n=W;try{return W=e,t()}finally{W=n}};Ps=function(e,t,n){switch(t){case"input":if(js(e,n),t=n.name,n.type==="radio"&&t!=null){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 i=rl(r);if(!i)throw Error(S(90));af(r),js(r,i)}}}break;case"textarea":cf(e,n);break;case"select":t=n.value,t!=null&&Gn(e,!!n.multiple,t,!1)}};vf=lu;xf=En;var I1={usingClientEntryPoint:!1,Events:[fi,$n,rl,mf,gf,lu]},Er={findFiberByHostInstance:hn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},O1={bundleType:Er.bundleType,version:Er.version,rendererPackageName:Er.rendererPackageName,rendererConfig:Er.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=jf(e),e===null?null:e.stateNode},findFiberByHostInstance:Er.findFiberByHostInstance||T1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ui=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ui.isDisabled&&Ui.supportsFiber)try{Jo=Ui.inject(O1),ht=Ui}catch{}}Ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I1;Ue.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pu(t))throw Error(S(200));return N1(e,t,null,n)};Ue.createRoot=function(e,t){if(!pu(e))throw Error(S(299));var n=!1,r="",i=Jp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=cu(e,1,!1,null,null,n,!1,r,i),e[Et]=t.current,Zr(e.nodeType===8?e.parentNode:e),new fu(t)};Ue.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(S(188)):(e=Object.keys(e).join(","),Error(S(268,e)));return e=jf(t),e=e===null?null:e.stateNode,e};Ue.flushSync=function(e){return En(e)};Ue.hydrate=function(e,t,n){if(!fl(t))throw Error(S(200));return pl(null,e,t,!0,n)};Ue.hydrateRoot=function(e,t,n){if(!pu(e))throw Error(S(405));var r=n!=null&&n.hydratedSources||null,i=!1,l="",s=Jp;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=qp(t,null,e,1,n??null,i,!1,l,s),e[Et]=t.current,Zr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new dl(t)};Ue.render=function(e,t,n){if(!fl(t))throw Error(S(200));return pl(null,e,t,!1,n)};Ue.unmountComponentAtNode=function(e){if(!fl(e))throw Error(S(40));return e._reactRootContainer?(En(function(){pl(null,null,e,!1,function(){e._reactRootContainer=null,e[Et]=null})}),!0):!1};Ue.unstable_batchedUpdates=lu;Ue.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!fl(n))throw Error(S(200));if(e==null||e._reactInternals===void 0)throw Error(S(38));return pl(e,t,n,!1,r)};Ue.version="18.3.1-next-f1338f8080-20240426";function eh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(eh)}catch(e){console.error(e)}}eh(),Jd.exports=Ue;var th=Jd.exports;const z1=Bd(th);/**
* @remix-run/router v1.16.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function li(){return li=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},li.apply(this,arguments)}var Vt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Vt||(Vt={}));const Bc="popstate";function D1(e){e===void 0&&(e={});function t(r,i){let{pathname:l,search:s,hash:a}=r.location;return sa("",{pathname:l,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Wo(i)}return M1(t,n,null,e)}function ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function nh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function R1(){return Math.random().toString(36).substr(2,8)}function Uc(e,t){return{usr:e.state,key:e.key,idx:t}}function sa(e,t,n,r){return n===void 0&&(n=null),li({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pr(t):t,{state:n,key:t&&t.key||r||R1()})}function Wo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function pr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function M1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=Vt.Pop,u=null,c=f();c==null&&(c=0,s.replaceState(li({},s.state,{idx:c}),""));function f(){return(s.state||{idx:null}).idx}function h(){a=Vt.Pop;let E=f(),p=E==null?null:E-c;c=E,u&&u({action:a,location:w.location,delta:p})}function g(E,p){a=Vt.Push;let d=sa(w.location,E,p);c=f()+1;let m=Uc(d,c),x=w.createHref(d);try{s.pushState(m,"",x)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(x)}l&&u&&u({action:a,location:w.location,delta:1})}function v(E,p){a=Vt.Replace;let d=sa(w.location,E,p);c=f();let m=Uc(d,c),x=w.createHref(d);s.replaceState(m,"",x),l&&u&&u({action:a,location:w.location,delta:0})}function y(E){let p=i.location.origin!=="null"?i.location.origin:i.location.href,d=typeof E=="string"?E:Wo(E);return d=d.replace(/ $/,"%20"),ue(p,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,p)}let w={get action(){return a},get location(){return e(i,s)},listen(E){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Bc,h),u=E,()=>{i.removeEventListener(Bc,h),u=null}},createHref(E){return t(i,E)},createURL:y,encodeLocation(E){let p=y(E);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:g,replace:v,go(E){return s.go(E)}};return w}var Hc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hc||(Hc={}));function $1(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?pr(t):t,i=hu(r.pathname||"/",n);if(i==null)return null;let l=rh(e);F1(l);let s=null;for(let a=0;s==null&&a<l.length;++a){let u=Z1(i);s=X1(l[a],u)}return s}function rh(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(l,s,a)=>{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};u.relativePath.startsWith("/")&&(ue(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=en([r,u.relativePath]),f=n.concat(u);l.children&&l.children.length>0&&(ue(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),rh(l.children,t,f,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:G1(c,l.index),routesMeta:f})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,s);else for(let u of ih(l.path))i(l,s,u)}),t}function ih(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let s=ih(r.join("/")),a=[];return a.push(...s.map(u=>u===""?l:[l,u].join("/"))),i&&a.push(...s),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function F1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Q1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const A1=/^:[\w-]+$/,B1=3,U1=2,H1=1,W1=10,V1=-2,Wc=e=>e==="*";function G1(e,t){let n=e.split("/"),r=n.length;return n.some(Wc)&&(r+=V1),t&&(r+=U1),n.filter(i=>!Wc(i)).reduce((i,l)=>i+(A1.test(l)?B1:l===""?H1:W1),r)}function Q1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function X1(e,t){let{routesMeta:n}=e,r={},i="/",l=[];for(let s=0;s<n.length;++s){let a=n[s],u=s===n.length-1,c=i==="/"?t:t.slice(i.length)||"/",f=Y1({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},c);if(!f)return null;Object.assign(r,f.params);let h=a.route;l.push({params:r,pathname:en([i,f.pathname]),pathnameBase:tv(en([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=en([i,f.pathnameBase]))}return l}function Y1(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=K1(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let l=i[0],s=l.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((c,f,h)=>{let{paramName:g,isOptional:v}=f;if(g==="*"){let w=a[h]||"";s=l.slice(0,l.length-w.length).replace(/(.)\/+$/,"$1")}const y=a[h];return v&&!y?c[g]=void 0:c[g]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:s,pattern:e}}function K1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),nh(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(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Z1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return nh(!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 hu(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function q1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?pr(e):e;return{pathname:n?n.startsWith("/")?n:J1(n,t):t,search:nv(r),hash:rv(i)}}function J1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function ns(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ev(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function oh(e,t){let n=ev(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function lh(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=pr(e):(i=li({},e),ue(!i.pathname||!i.pathname.includes("?"),ns("?","pathname","search",i)),ue(!i.pathname||!i.pathname.includes("#"),ns("#","pathname","hash",i)),ue(!i.search||!i.search.includes("#"),ns("#","search","hash",i)));let l=e===""||i.pathname==="",s=l?"/":i.pathname,a;if(s==null)a=n;else{let h=t.length-1;if(!r&&s.startsWith("..")){let g=s.split("/");for(;g[0]==="..";)g.shift(),h-=1;i.pathname=g.join("/")}a=h>=0?t[h]:"/"}let u=q1(i,a),c=s&&s!=="/"&&s.endsWith("/"),f=(l||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const en=e=>e.join("/").replace(/\/\/+/g,"/"),tv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),nv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,rv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function iv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const sh=["post","put","patch","delete"];new Set(sh);const ov=["get",...sh];new Set(ov);/**
* React Router v6.23.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function si(){return si=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},si.apply(this,arguments)}const mu=P.createContext(null),lv=P.createContext(null),Nn=P.createContext(null),hl=P.createContext(null),Tn=P.createContext({outlet:null,matches:[],isDataRoute:!1}),ah=P.createContext(null);function sv(e,t){let{relative:n}=t===void 0?{}:t;hi()||ue(!1);let{basename:r,navigator:i}=P.useContext(Nn),{hash:l,pathname:s,search:a}=ch(e,{relative:n}),u=s;return r!=="/"&&(u=s==="/"?r:en([r,s])),i.createHref({pathname:u,search:a,hash:l})}function hi(){return P.useContext(hl)!=null}function ml(){return hi()||ue(!1),P.useContext(hl).location}function uh(e){P.useContext(Nn).static||P.useLayoutEffect(e)}function av(){let{isDataRoute:e}=P.useContext(Tn);return e?jv():uv()}function uv(){hi()||ue(!1);let e=P.useContext(mu),{basename:t,future:n,navigator:r}=P.useContext(Nn),{matches:i}=P.useContext(Tn),{pathname:l}=ml(),s=JSON.stringify(oh(i,n.v7_relativeSplatPath)),a=P.useRef(!1);return uh(()=>{a.current=!0}),P.useCallback(function(c,f){if(f===void 0&&(f={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let h=lh(c,JSON.parse(s),l,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:en([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,s,l,e])}function ch(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Nn),{matches:i}=P.useContext(Tn),{pathname:l}=ml(),s=JSON.stringify(oh(i,r.v7_relativeSplatPath));return P.useMemo(()=>lh(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function cv(e,t){return dv(e,t)}function dv(e,t,n,r){hi()||ue(!1);let{navigator:i}=P.useContext(Nn),{matches:l}=P.useContext(Tn),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=ml(),f;if(t){var h;let E=typeof t=="string"?pr(t):t;u==="/"||(h=E.pathname)!=null&&h.startsWith(u)||ue(!1),f=E}else f=c;let g=f.pathname||"/",v=g;if(u!=="/"){let E=u.replace(/^\//,"").split("/");v="/"+g.replace(/^\//,"").split("/").slice(E.length).join("/")}let y=$1(e,{pathname:v}),w=gv(y&&y.map(E=>Object.assign({},E,{params:Object.assign({},a,E.params),pathname:en([u,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?u:en([u,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),l,n,r);return t&&w?P.createElement(hl.Provider,{value:{location:si({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Vt.Pop}},w):w}function fv(){let e=wv(),t=iv(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const pv=P.createElement(fv,null);class hv extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(Tn.Provider,{value:this.props.routeContext},P.createElement(ah.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function mv(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(mu);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Tn.Provider,{value:t},r)}function gv(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let f=s.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);f>=0||ue(!1),s=s.slice(0,Math.min(s.length,f+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<s.length;f++){let h=s[f];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(c=f),h.route.id){let{loaderData:g,errors:v}=n,y=h.route.loader&&g[h.route.id]===void 0&&(!v||v[h.route.id]===void 0);if(h.route.lazy||y){u=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((f,h,g)=>{let v,y=!1,w=null,E=null;n&&(v=a&&h.route.id?a[h.route.id]:void 0,w=h.route.errorElement||pv,u&&(c<0&&g===0?(y=!0,E=null):c===g&&(y=!0,E=h.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,g+1)),d=()=>{let m;return v?m=w:y?m=E:h.route.Component?m=P.createElement(h.route.Component,null):h.route.element?m=h.route.element:m=f,P.createElement(mv,{match:h,routeContext:{outlet:f,matches:p,isDataRoute:n!=null},children:m})};return n&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?P.createElement(hv,{location:n.location,revalidation:n.revalidation,component:w,error:v,children:d(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):d()},null)}var dh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(dh||{}),Vo=function(e){return 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",e}(Vo||{});function vv(e){let t=P.useContext(mu);return t||ue(!1),t}function xv(e){let t=P.useContext(lv);return t||ue(!1),t}function yv(e){let t=P.useContext(Tn);return t||ue(!1),t}function fh(e){let t=yv(),n=t.matches[t.matches.length-1];return n.route.id||ue(!1),n.route.id}function wv(){var e;let t=P.useContext(ah),n=xv(Vo.UseRouteError),r=fh(Vo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function jv(){let{router:e}=vv(dh.UseNavigateStable),t=fh(Vo.UseNavigateStable),n=P.useRef(!1);return uh(()=>{n.current=!0}),P.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,si({fromRouteId:t},l)))},[e,t])}function ph(e){ue(!1)}function kv(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Vt.Pop,navigator:l,static:s=!1,future:a}=e;hi()&&ue(!1);let u=t.replace(/^\/*/,"/"),c=P.useMemo(()=>({basename:u,navigator:l,static:s,future:si({v7_relativeSplatPath:!1},a)}),[u,a,l,s]);typeof r=="string"&&(r=pr(r));let{pathname:f="/",search:h="",hash:g="",state:v=null,key:y="default"}=r,w=P.useMemo(()=>{let E=hu(f,u);return E==null?null:{location:{pathname:E,search:h,hash:g,state:v,key:y},navigationType:i}},[u,f,h,g,v,y,i]);return w==null?null:P.createElement(Nn.Provider,{value:c},P.createElement(hl.Provider,{children:n,value:w}))}function bv(e){let{children:t,location:n}=e;return cv(aa(t),n)}new Promise(()=>{});function aa(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let l=[...t,i];if(r.type===P.Fragment){n.push.apply(n,aa(r.props.children,l));return}r.type!==ph&&ue(!1),!r.props.index||!r.props.children||ue(!1);let s={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=aa(r.props.children,l)),n.push(s)}),n}/**
* React Router DOM v6.23.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ua(){return ua=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},ua.apply(this,arguments)}function _v(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l<r.length;l++)i=r[l],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Sv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ev(e,t){return e.button===0&&(!t||t==="_self")&&!Sv(e)}const Cv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Pv="6";try{window.__reactRouterVersion=Pv}catch{}const Nv="startTransition",Vc=bm[Nv];function Tv(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=D1({window:i,v5Compat:!0}));let s=l.current,[a,u]=P.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},f=P.useCallback(h=>{c&&Vc?Vc(()=>u(h)):u(h)},[u,c]);return P.useLayoutEffect(()=>s.listen(f),[s,f]),P.createElement(kv,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const Lv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Iv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mi=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:f,unstable_viewTransition:h}=t,g=_v(t,Cv),{basename:v}=P.useContext(Nn),y,w=!1;if(typeof c=="string"&&Iv.test(c)&&(y=c,Lv))try{let m=new URL(window.location.href),x=c.startsWith("//")?new URL(m.protocol+c):new URL(c),_=hu(x.pathname,v);x.origin===m.origin&&_!=null?c=_+x.search+x.hash:w=!0}catch{}let E=sv(c,{relative:i}),p=Ov(c,{replace:s,state:a,target:u,preventScrollReset:f,relative:i,unstable_viewTransition:h});function d(m){r&&r(m),m.defaultPrevented||p(m)}return P.createElement("a",ua({},g,{href:y||E,onClick:w||l?r:d,ref:n,target:u}))});var Gc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Gc||(Gc={}));var Qc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Qc||(Qc={}));function Ov(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=av(),c=ml(),f=ch(e,{relative:s});return P.useCallback(h=>{if(Ev(h,n)){h.preventDefault();let g=r!==void 0?r:Wo(c)===Wo(f);u(e,{replace:g,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,f,r,i,n,e,l,s,a])}var hh={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ca=Le.createContext&&Le.createContext(hh),zv=["attr","size","title"];function Dv(e,t){if(e==null)return{};var n=Rv(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rv(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Go(){return Go=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},Go.apply(this,arguments)}function Xc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xc(Object(n),!0).forEach(function(r){Mv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mv(e,t,n){return t=$v(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $v(e){var t=Fv(e,"string");return typeof t=="symbol"?t:t+""}function Fv(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mh(e){return e&&e.map((t,n)=>Le.createElement(t.tag,Qo({key:n},t.attr),mh(t.child)))}function gu(e){return t=>Le.createElement(Av,Go({attr:Qo({},e.attr)},t),mh(e.child))}function Av(e){var t=n=>{var{attr:r,size:i,title:l}=e,s=Dv(e,zv),a=i||n.size||"1em",u;return n.className&&(u=n.className),e.className&&(u=(u?u+" ":"")+e.className),Le.createElement("svg",Go({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:u,style:Qo(Qo({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),l&&Le.createElement("title",null,l),e.children)};return ca!==void 0?Le.createElement(ca.Consumer,null,n=>t(n)):t(hh)}function Bv(e){return gu({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},child:[]}]})(e)}function Uv(e){return gu({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"},child:[]}]})(e)}function Hv(e){return gu({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}var ie={},vu={},gi={},vi={},gh="Expected a function",Yc=NaN,Wv="[object Symbol]",Vv=/^\s+|\s+$/g,Gv=/^[-+]0x[0-9a-f]+$/i,Qv=/^0b[01]+$/i,Xv=/^0o[0-7]+$/i,Yv=parseInt,Kv=typeof Si=="object"&&Si&&Si.Object===Object&&Si,Zv=typeof self=="object"&&self&&self.Object===Object&&self,qv=Kv||Zv||Function("return this")(),Jv=Object.prototype,e0=Jv.toString,t0=Math.max,n0=Math.min,rs=function(){return qv.Date.now()};function r0(e,t,n){var r,i,l,s,a,u,c=0,f=!1,h=!1,g=!0;if(typeof e!="function")throw new TypeError(gh);t=Kc(t)||0,Xo(n)&&(f=!!n.leading,h="maxWait"in n,l=h?t0(Kc(n.maxWait)||0,t):l,g="trailing"in n?!!n.trailing:g);function v(k){var b=r,T=i;return r=i=void 0,c=k,s=e.apply(T,b),s}function y(k){return c=k,a=setTimeout(p,t),f?v(k):s}function w(k){var b=k-u,T=k-c,U=t-b;return h?n0(U,l-T):U}function E(k){var b=k-u,T=k-c;return u===void 0||b>=t||b<0||h&&T>=l}function p(){var k=rs();if(E(k))return d(k);a=setTimeout(p,w(k))}function d(k){return a=void 0,g&&r?v(k):(r=i=void 0,s)}function m(){a!==void 0&&clearTimeout(a),c=0,r=u=i=a=void 0}function x(){return a===void 0?s:d(rs())}function _(){var k=rs(),b=E(k);if(r=arguments,i=this,u=k,b){if(a===void 0)return y(u);if(h)return a=setTimeout(p,t),v(u)}return a===void 0&&(a=setTimeout(p,t)),s}return _.cancel=m,_.flush=x,_}function i0(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(gh);return Xo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),r0(e,t,{leading:r,maxWait:t,trailing:i})}function Xo(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function o0(e){return!!e&&typeof e=="object"}function l0(e){return typeof e=="symbol"||o0(e)&&e0.call(e)==Wv}function Kc(e){if(typeof e=="number")return e;if(l0(e))return Yc;if(Xo(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Xo(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Vv,"");var n=Qv.test(e);return n||Xv.test(e)?Yv(e.slice(2),n?2:8):Gv.test(e)?Yc:+e}var s0=i0,xi={};Object.defineProperty(xi,"__esModule",{value:!0});xi.addPassiveEventListener=function(t,n,r){var i=r.name;i||(i=n,console.warn("Listener must be a named function.")),ho.has(n)||ho.set(n,new Set);var l=ho.get(n);if(!l.has(i)){var s=function(){var a=!1;try{var u=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("test",null,u)}catch{}return a}();t.addEventListener(n,r,s?{passive:!0}:!1),l.add(i)}};xi.removePassiveEventListener=function(t,n,r){t.removeEventListener(n,r),ho.get(n).delete(r.name||n)};var ho=new Map;Object.defineProperty(vi,"__esModule",{value:!0});var a0=s0,u0=d0(a0),c0=xi;function d0(e){return e&&e.__esModule?e:{default:e}}var f0=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66;return(0,u0.default)(t,n)},J={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(t,n){if(t){var r=f0(function(i){J.scrollHandler(t)},n);J.scrollSpyContainers.push(t),(0,c0.addPassiveEventListener)(t,"scroll",r)}},isMounted:function(t){return J.scrollSpyContainers.indexOf(t)!==-1},currentPositionX:function(t){if(t===document){var n=window.pageYOffset!==void 0,r=(document.compatMode||"")==="CSS1Compat";return n?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft}else return t.scrollLeft},currentPositionY:function(t){if(t===document){var n=window.pageXOffset!==void 0,r=(document.compatMode||"")==="CSS1Compat";return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop}else return t.scrollTop},scrollHandler:function(t){var n=J.scrollSpyContainers[J.scrollSpyContainers.indexOf(t)].spyCallbacks||[];n.forEach(function(r){return r(J.currentPositionX(t),J.currentPositionY(t))})},addStateHandler:function(t){J.spySetState.push(t)},addSpyHandler:function(t,n){var r=J.scrollSpyContainers[J.scrollSpyContainers.indexOf(n)];r.spyCallbacks||(r.spyCallbacks=[]),r.spyCallbacks.push(t),t(J.currentPositionX(n),J.currentPositionY(n))},updateStates:function(){J.spySetState.forEach(function(t){return t()})},unmount:function(t,n){J.scrollSpyContainers.forEach(function(r){return r.spyCallbacks&&r.spyCallbacks.length&&r.spyCallbacks.indexOf(n)>-1&&r.spyCallbacks.splice(r.spyCallbacks.indexOf(n),1)}),J.spySetState&&J.spySetState.length&&J.spySetState.indexOf(t)>-1&&J.spySetState.splice(J.spySetState.indexOf(t),1),document.removeEventListener("scroll",J.scrollHandler)},update:function(){return J.scrollSpyContainers.forEach(function(t){return J.scrollHandler(t)})}};vi.default=J;var hr={},yi={};Object.defineProperty(yi,"__esModule",{value:!0});var p0=function(t,n){var r=t.indexOf("#")===0?t.substring(1):t,i=r?"#"+r:"",l=window&&window.location,s=i?l.pathname+l.search+i:l.pathname+l.search;n?history.pushState(history.state,"",s):history.replaceState(history.state,"",s)},h0=function(){return window.location.hash.replace(/^#/,"")},m0=function(t){return function(n){return t.contains?t!=n&&t.contains(n):!!(t.compareDocumentPosition(n)&16)}},g0=function(t){return getComputedStyle(t).position!=="static"},is=function(t,n){for(var r=t.offsetTop,i=t.offsetParent;i&&!n(i);)r+=i.offsetTop,i=i.offsetParent;return{offsetTop:r,offsetParent:i}},v0=function(t,n,r){if(r)return t===document?n.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):getComputedStyle(t).position!=="static"?n.offsetLeft:n.offsetLeft-t.offsetLeft;if(t===document)return n.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if(g0(t)){if(n.offsetParent!==t){var i=function(f){return f===t||f===document},l=is(n,i),s=l.offsetTop,a=l.offsetParent;if(a!==t)throw new Error("Seems containerElement is not an ancestor of the Element");return s}return n.offsetTop}if(n.offsetParent===t.offsetParent)return n.offsetTop-t.offsetTop;var u=function(f){return f===document};return is(n,u).offsetTop-is(t,u).offsetTop};yi.default={updateHash:p0,getHash:h0,filterElementInContainer:m0,scrollOffset:v0};var gl={},xu={};Object.defineProperty(xu,"__esModule",{value:!0});xu.default={defaultEasing:function(t){return t<.5?Math.pow(t*2,2)/2:1-Math.pow((1-t)*2,2)/2},linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}};var yu={};Object.defineProperty(yu,"__esModule",{value:!0});var x0=xi,y0=["mousedown","mousewheel","touchmove","keydown"];yu.default={subscribe:function(t){return typeof document<"u"&&y0.forEach(function(n){return(0,x0.addPassiveEventListener)(document,n,t)})}};var wi={};Object.defineProperty(wi,"__esModule",{value:!0});var da={registered:{},scrollEvent:{register:function(t,n){da.registered[t]=n},remove:function(t){da.registered[t]=null}}};wi.default=da;Object.defineProperty(gl,"__esModule",{value:!0});var w0=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},j0=yi;vl(j0);var k0=xu,Zc=vl(k0),b0=yu,_0=vl(b0),S0=wi,dt=vl(S0);function vl(e){return e&&e.__esModule?e:{default:e}}var vh=function(t){return Zc.default[t.smooth]||Zc.default.defaultEasing},E0=function(t){return typeof t=="function"?t:function(){return t}},C0=function(){if(typeof window<"u")return window.requestAnimationFrame||window.webkitRequestAnimationFrame},fa=function(){return C0()||function(e,t,n){window.setTimeout(e,n||1e3/60,new Date().getTime())}}(),xh=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},yh=function(t){var n=t.data.containerElement;if(n&&n!==document&&n!==document.body)return n.scrollLeft;var r=window.pageXOffset!==void 0,i=(document.compatMode||"")==="CSS1Compat";return r?window.pageXOffset:i?document.documentElement.scrollLeft:document.body.scrollLeft},wh=function(t){var n=t.data.containerElement;if(n&&n!==document&&n!==document.body)return n.scrollTop;var r=window.pageXOffset!==void 0,i=(document.compatMode||"")==="CSS1Compat";return r?window.pageYOffset:i?document.documentElement.scrollTop:document.body.scrollTop},P0=function(t){var n=t.data.containerElement;if(n&&n!==document&&n!==document.body)return n.scrollWidth-n.offsetWidth;var r=document.body,i=document.documentElement;return Math.max(r.scrollWidth,r.offsetWidth,i.clientWidth,i.scrollWidth,i.offsetWidth)},N0=function(t){var n=t.data.containerElement;if(n&&n!==document&&n!==document.body)return n.scrollHeight-n.offsetHeight;var r=document.body,i=document.documentElement;return Math.max(r.scrollHeight,r.offsetHeight,i.clientHeight,i.scrollHeight,i.offsetHeight)},T0=function e(t,n,r){var i=n.data;if(!n.ignoreCancelEvents&&i.cancel){dt.default.registered.end&&dt.default.registered.end(i.to,i.target,i.currentPositionY);return}if(i.delta=Math.round(i.targetPosition-i.startPosition),i.start===null&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?n.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:n.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var l=e.bind(null,t,n);fa.call(window,l);return}dt.default.registered.end&&dt.default.registered.end(i.to,i.target,i.currentPosition)},wu=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},ji=function(t,n,r,i){n.data=n.data||xh(),window.clearTimeout(n.data.delayTimeout);var l=function(){n.data.cancel=!0};if(_0.default.subscribe(l),wu(n),n.data.start=null,n.data.cancel=!1,n.data.startPosition=n.horizontal?yh(n):wh(n),n.data.targetPosition=n.absolute?t:t+n.data.startPosition,n.data.startPosition===n.data.targetPosition){dt.default.registered.end&&dt.default.registered.end(n.data.to,n.data.target,n.data.currentPosition);return}n.data.delta=Math.round(n.data.targetPosition-n.data.startPosition),n.data.duration=E0(n.duration)(n.data.delta),n.data.duration=isNaN(parseFloat(n.data.duration))?1e3:parseFloat(n.data.duration),n.data.to=r,n.data.target=i;var s=vh(n),a=T0.bind(null,s,n);if(n&&n.delay>0){n.data.delayTimeout=window.setTimeout(function(){dt.default.registered.begin&&dt.default.registered.begin(n.data.to,n.data.target),fa.call(window,a)},n.delay);return}dt.default.registered.begin&&dt.default.registered.begin(n.data.to,n.data.target),fa.call(window,a)},xl=function(t){return t=w0({},t),t.data=t.data||xh(),t.absolute=!0,t},L0=function(t){ji(0,xl(t))},I0=function(t,n){ji(t,xl(n))},O0=function(t){t=xl(t),wu(t),ji(t.horizontal?P0(t):N0(t),t)},z0=function(t,n){n=xl(n),wu(n);var r=n.horizontal?yh(n):wh(n);ji(t+r,n)};gl.default={animateTopScroll:ji,getAnimationType:vh,scrollToTop:L0,scrollToBottom:O0,scrollTo:I0,scrollMore:z0};Object.defineProperty(hr,"__esModule",{value:!0});var D0=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},R0=yi,M0=ju(R0),$0=gl,F0=ju($0),A0=wi,Hi=ju(A0);function ju(e){return e&&e.__esModule?e:{default:e}}var Wi={},qc=void 0;hr.default={unmount:function(){Wi={}},register:function(t,n){Wi[t]=n},unregister:function(t){delete Wi[t]},get:function(t){return Wi[t]||document.getElementById(t)||document.getElementsByName(t)[0]||document.getElementsByClassName(t)[0]},setActiveLink:function(t){return qc=t},getActiveLink:function(){return qc},scrollTo:function(t,n){var r=this.get(t);if(!r){console.warn("target Element not found");return}n=D0({},n,{absolute:!1});var i=n.containerId,l=n.container,s=void 0;i?s=document.getElementById(i):l&&l.nodeType?s=l:s=document,n.absolute=!0;var a=n.horizontal,u=M0.default.scrollOffset(s,r,a)+(n.offset||0);if(!n.smooth){Hi.default.registered.begin&&Hi.default.registered.begin(t,r),s===document?n.horizontal?window.scrollTo(u,0):window.scrollTo(0,u):s.scrollTop=u,Hi.default.registered.end&&Hi.default.registered.end(t,r);return}F0.default.animateTopScroll(u,n,t,r)}};var jh={exports:{}},B0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",U0=B0,H0=U0;function kh(){}function bh(){}bh.resetWarningCache=kh;var W0=function(){function e(r,i,l,s,a,u){if(u!==H0){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return 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:bh,resetWarningCache:kh};return n.PropTypes=n,n};jh.exports=W0();var yl=jh.exports,wl={};Object.defineProperty(wl,"__esModule",{value:!0});var V0=yi,os=G0(V0);function G0(e){return e&&e.__esModule?e:{default:e}}var Q0={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(t){this.scroller=t,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(t,n){this.containers[t]=n},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var t=this,n=this.getHash();n?window.setTimeout(function(){t.scrollTo(n,!0),t.initialized=!0},10):this.initialized=!0},scrollTo:function(t,n){var r=this.scroller,i=r.get(t);if(i&&(n||t!==r.getActiveLink())){var l=this.containers[t]||document;r.scrollTo(t,{container:l})}},getHash:function(){return os.default.getHash()},changeHash:function(t,n){this.isInitialized()&&os.default.getHash()!==t&&os.default.updateHash(t,n)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};wl.default=Q0;Object.defineProperty(gi,"__esModule",{value:!0});var Vi=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},X0=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Y0=P,Jc=ki(Y0),K0=vi,Gi=ki(K0),Z0=hr,q0=ki(Z0),J0=yl,Z=ki(J0),ex=wl,Ot=ki(ex);function ki(e){return e&&e.__esModule?e:{default:e}}function tx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nx(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function rx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ed={to:Z.default.string.isRequired,containerId:Z.default.string,container:Z.default.object,activeClass:Z.default.string,activeStyle:Z.default.object,spy:Z.default.bool,horizontal:Z.default.bool,smooth:Z.default.oneOfType([Z.default.bool,Z.default.string]),offset:Z.default.number,delay:Z.default.number,isDynamic:Z.default.bool,onClick:Z.default.func,duration:Z.default.oneOfType([Z.default.number,Z.default.func]),absolute:Z.default.bool,onSetActive:Z.default.func,onSetInactive:Z.default.func,ignoreCancelEvents:Z.default.bool,hashSpy:Z.default.bool,saveHashHistory:Z.default.bool,spyThrottle:Z.default.number};gi.default=function(e,t){var n=t||q0.default,r=function(l){rx(s,l);function s(a){tx(this,s);var u=nx(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a));return i.call(u),u.state={active:!1},u}return X0(s,[{key:"getScrollSpyContainer",value:function(){var u=this.props.containerId,c=this.props.container;return u&&!c?document.getElementById(u):c&&c.nodeType?c:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var u=this.getScrollSpyContainer();Gi.default.isMounted(u)||Gi.default.mount(u,this.props.spyThrottle),this.props.hashSpy&&(Ot.default.isMounted()||Ot.default.mount(n),Ot.default.mapContainer(this.props.to,u)),Gi.default.addSpyHandler(this.spyHandler,u),this.setState({container:u})}}},{key:"componentWillUnmount",value:function(){Gi.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var u="";this.state&&this.state.active?u=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():u=this.props.className;var c={};this.state&&this.state.active?c=Vi({},this.props.style,this.props.activeStyle):c=Vi({},this.props.style);var f=Vi({},this.props);for(var h in ed)f.hasOwnProperty(h)&&delete f[h];return f.className=u,f.style=c,f.onClick=this.handleClick,Jc.default.createElement(e,f)}}]),s}(Jc.default.PureComponent),i=function(){var s=this;this.scrollTo=function(a,u){n.scrollTo(a,Vi({},s.state,u))},this.handleClick=function(a){s.props.onClick&&s.props.onClick(a),a.stopPropagation&&a.stopPropagation(),a.preventDefault&&a.preventDefault(),s.scrollTo(s.props.to,s.props)},this.spyHandler=function(a,u){var c=s.getScrollSpyContainer();if(!(Ot.default.isMounted()&&!Ot.default.isInitialized())){var f=s.props.horizontal,h=s.props.to,g=null,v=void 0,y=void 0;if(f){var w=0,E=0,p=0;if(c.getBoundingClientRect){var d=c.getBoundingClientRect();p=d.left}if(!g||s.props.isDynamic){if(g=n.get(h),!g)return;var m=g.getBoundingClientRect();w=m.left-p+a,E=w+m.width}var x=a-s.props.offset;v=x>=Math.floor(w)&&x<Math.floor(E),y=x<Math.floor(w)||x>=Math.floor(E)}else{var _=0,k=0,b=0;if(c.getBoundingClientRect){var T=c.getBoundingClientRect();b=T.top}if(!g||s.props.isDynamic){if(g=n.get(h),!g)return;var U=g.getBoundingClientRect();_=U.top-b+u,k=_+U.height}var $=u-s.props.offset;v=$>=Math.floor(_)&&$<Math.floor(k),y=$<Math.floor(_)||$>=Math.floor(k)}var xe=n.getActiveLink();if(y){if(h===xe&&n.setActiveLink(void 0),s.props.hashSpy&&Ot.default.getHash()===h){var lt=s.props.saveHashHistory,vt=lt===void 0?!1:lt;Ot.default.changeHash("",vt)}s.props.spy&&s.state.active&&(s.setState({active:!1}),s.props.onSetInactive&&s.props.onSetInactive(h,g))}if(v&&(xe!==h||s.state.active===!1)){n.setActiveLink(h);var sn=s.props.saveHashHistory,gr=sn===void 0?!1:sn;s.props.hashSpy&&Ot.default.changeHash(h,gr),s.props.spy&&(s.setState({active:!0}),s.props.onSetActive&&s.props.onSetActive(h,g))}}}};return r.propTypes=ed,r.defaultProps={offset:0},r};Object.defineProperty(vu,"__esModule",{value:!0});var ix=P,td=_h(ix),ox=gi,lx=_h(ox);function _h(e){return e&&e.__esModule?e:{default:e}}function sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function ax(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ux=function(e){ax(t,e);function t(){var n,r,i,l;sx(this,t);for(var s=arguments.length,a=Array(s),u=0;u<s;u++)a[u]=arguments[u];return l=(r=(i=nd(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(a))),i),i.render=function(){return td.default.createElement("a",i.props,i.props.children)},r),nd(i,l)}return t}(td.default.Component);vu.default=(0,lx.default)(ux);var ku={};Object.defineProperty(ku,"__esModule",{value:!0});var cx=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),dx=P,rd=Sh(dx),fx=gi,px=Sh(fx);function Sh(e){return e&&e.__esModule?e:{default:e}}function hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mx(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var vx=function(e){gx(t,e);function t(){return hx(this,t),mx(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return cx(t,[{key:"render",value:function(){return rd.default.createElement("button",this.props,this.props.children)}}]),t}(rd.default.Component);ku.default=(0,px.default)(vx);var bu={},jl={};Object.defineProperty(jl,"__esModule",{value:!0});var xx=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},yx=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),wx=P,id=kl(wx),jx=th;kl(jx);var kx=hr,od=kl(kx),bx=yl,ld=kl(bx);function kl(e){return e&&e.__esModule?e:{default:e}}function _x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sx(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Ex(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}jl.default=function(e){var t=function(n){Ex(r,n);function r(i){_x(this,r);var l=Sx(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,i));return l.childBindings={domNode:null},l}return yx(r,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(l){this.props.name!==l.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;od.default.unregister(this.props.name)}},{key:"registerElems",value:function(l){od.default.register(l,this.childBindings.domNode)}},{key:"render",value:function(){return id.default.createElement(e,xx({},this.props,{parentBindings:this.childBindings}))}}]),r}(id.default.Component);return t.propTypes={name:ld.default.string,id:ld.default.string},t};Object.defineProperty(bu,"__esModule",{value:!0});var sd=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},Cx=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Px=P,ad=_u(Px),Nx=jl,Tx=_u(Nx),Lx=yl,ud=_u(Lx);function _u(e){return e&&e.__esModule?e:{default:e}}function Ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ox(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function zx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Eh=function(e){zx(t,e);function t(){return Ix(this,t),Ox(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Cx(t,[{key:"render",value:function(){var r=this,i=sd({},this.props);return delete i.name,i.parentBindings&&delete i.parentBindings,ad.default.createElement("div",sd({},i,{ref:function(s){r.props.parentBindings.domNode=s}}),this.props.children)}}]),t}(ad.default.Component);Eh.propTypes={name:ud.default.string,id:ud.default.string};bu.default=(0,Tx.default)(Eh);var ls=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},cd=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Qi=P,dn=vi,ss=hr,ee=yl,zt=wl,hd={to:ee.string.isRequired,containerId:ee.string,container:ee.object,activeClass:ee.string,spy:ee.bool,smooth:ee.oneOfType([ee.bool,ee.string]),offset:ee.number,delay:ee.number,isDynamic:ee.bool,onClick:ee.func,duration:ee.oneOfType([ee.number,ee.func]),absolute:ee.bool,onSetActive:ee.func,onSetInactive:ee.func,ignoreCancelEvents:ee.bool,hashSpy:ee.bool,spyThrottle:ee.number},Dx={Scroll:function(t,n){console.warn("Helpers.Scroll is deprecated since v1.7.0");var r=n||ss,i=function(s){pd(a,s);function a(u){dd(this,a);var c=fd(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,u));return l.call(c),c.state={active:!1},c}return cd(a,[{key:"getScrollSpyContainer",value:function(){var c=this.props.containerId,f=this.props.container;return c?document.getElementById(c):f&&f.nodeType?f:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var c=this.getScrollSpyContainer();dn.isMounted(c)||dn.mount(c,this.props.spyThrottle),this.props.hashSpy&&(zt.isMounted()||zt.mount(r),zt.mapContainer(this.props.to,c)),this.props.spy&&dn.addStateHandler(this.stateHandler),dn.addSpyHandler(this.spyHandler,c),this.setState({container:c})}}},{key:"componentWillUnmount",value:function(){dn.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var c="";this.state&&this.state.active?c=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():c=this.props.className;var f=ls({},this.props);for(var h in hd)f.hasOwnProperty(h)&&delete f[h];return f.className=c,f.onClick=this.handleClick,Qi.createElement(t,f)}}]),a}(Qi.Component),l=function(){var a=this;this.scrollTo=function(u,c){r.scrollTo(u,ls({},a.state,c))},this.handleClick=function(u){a.props.onClick&&a.props.onClick(u),u.stopPropagation&&u.stopPropagation(),u.preventDefault&&u.preventDefault(),a.scrollTo(a.props.to,a.props)},this.stateHandler=function(){r.getActiveLink()!==a.props.to&&(a.state!==null&&a.state.active&&a.props.onSetInactive&&a.props.onSetInactive(),a.setState({active:!1}))},this.spyHandler=function(u){var c=a.getScrollSpyContainer();if(!(zt.isMounted()&&!zt.isInitialized())){var f=a.props.to,h=null,g=0,v=0,y=0;if(c.getBoundingClientRect){var w=c.getBoundingClientRect();y=w.top}if(!h||a.props.isDynamic){if(h=r.get(f),!h)return;var E=h.getBoundingClientRect();g=E.top-y+u,v=g+E.height}var p=u-a.props.offset,d=p>=Math.floor(g)&&p<Math.floor(v),m=p<Math.floor(g)||p>=Math.floor(v),x=r.getActiveLink();if(m)return f===x&&r.setActiveLink(void 0),a.props.hashSpy&&zt.getHash()===f&&zt.changeHash(),a.props.spy&&a.state.active&&(a.setState({active:!1}),a.props.onSetInactive&&a.props.onSetInactive()),dn.updateStates();if(d&&x!==f)return r.setActiveLink(f),a.props.hashSpy&&zt.changeHash(f),a.props.spy&&(a.setState({active:!0}),a.props.onSetActive&&a.props.onSetActive(f)),dn.updateStates()}}};return i.propTypes=hd,i.defaultProps={offset:0},i},Element:function(t){console.warn("Helpers.Element is deprecated since v1.7.0");var n=function(r){pd(i,r);function i(l){dd(this,i);var s=fd(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,l));return s.childBindings={domNode:null},s}return cd(i,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(s){this.props.name!==s.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;ss.unregister(this.props.name)}},{key:"registerElems",value:function(s){ss.register(s,this.childBindings.domNode)}},{key:"render",value:function(){return Qi.createElement(t,ls({},this.props,{parentBindings:this.childBindings}))}}]),i}(Qi.Component);return n.propTypes={name:ee.string,id:ee.string},n}},Rx=Dx;Object.defineProperty(ie,"__esModule",{value:!0});ie.Helpers=ie.ScrollElement=ie.ScrollLink=Eu=ie.animateScroll=ie.scrollSpy=ie.Events=ie.scroller=ie.Element=ie.Button=Su=ie.Link=void 0;var Mx=vu,Ch=gt(Mx),$x=ku,Ph=gt($x),Fx=bu,Nh=gt(Fx),Ax=hr,Th=gt(Ax),Bx=wi,Lh=gt(Bx),Ux=vi,Ih=gt(Ux),Hx=gl,Oh=gt(Hx),Wx=gi,zh=gt(Wx),Vx=jl,Dh=gt(Vx),Gx=Rx,Rh=gt(Gx);function gt(e){return e&&e.__esModule?e:{default:e}}var Su=ie.Link=Ch.default;ie.Button=Ph.default;ie.Element=Nh.default;ie.scroller=Th.default;ie.Events=Lh.default;ie.scrollSpy=Ih.default;var Eu=ie.animateScroll=Oh.default;ie.ScrollLink=zh.default;ie.ScrollElement=Dh.default;ie.Helpers=Rh.default;ie.default={Link:Ch.default,Button:Ph.default,Element:Nh.default,scroller:Th.default,Events:Lh.default,scrollSpy:Ih.default,animateScroll:Oh.default,ScrollLink:zh.default,ScrollElement:Dh.default,Helpers:Rh.default};const Qx="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20height='10'%20width='8.75'%20viewBox='0%200%20448%20512'%20version='1.1'%20id='svg914'%20sodipodi:docname='square-x-twitter.svg'%20inkscape:version='1.1.2%20(b8e25be8,%202022-02-05)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs918'%20/%3e%3csodipodi:namedview%20id='namedview916'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20showgrid='false'%20inkscape:zoom='65.6'%20inkscape:cx='3.8948171'%20inkscape:cy='4.5426829'%20inkscape:window-width='1296'%20inkscape:window-height='906'%20inkscape:window-x='0'%20inkscape:window-y='38'%20inkscape:window-maximized='0'%20inkscape:current-layer='svg914'%20/%3e%3c!--!Font%20Awesome%20Free%206.5.1%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202024%20Fonticons,%20Inc.--%3e%3cpath%20d='M64%2032C28.7%2032%200%2060.7%200%2096V416c0%2035.3%2028.7%2064%2064%2064H384c35.3%200%2064-28.7%2064-64V96c0-35.3-28.7-64-64-64H64zm297.1%2084L257.3%20234.6%20379.4%20396H283.8L209%20298.1%20123.3%20396H75.8l111-126.9L69.7%20116h98l67.7%2089.5L313.6%20116h47.5zM323.3%20367.6L153.4%20142.9H125.1L296.9%20367.6h26.3z'%20id='path912'%20style='fill:%23ffffff;fill-opacity:1'%20/%3e%3c/svg%3e";var Te=function(){return Te=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},Te.apply(this,arguments)};function Yo(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,l;r<i;r++)(l||!(r in t))&&(l||(l=Array.prototype.slice.call(t,0,r)),l[r]=t[r]);return e.concat(l||Array.prototype.slice.call(t))}var Y="-ms-",Ur="-moz-",H="-webkit-",Mh="comm",bl="rule",Cu="decl",Xx="@import",$h="@keyframes",Yx="@layer",Fh=Math.abs,Pu=String.fromCharCode,pa=Object.assign;function Kx(e,t){return pe(e,0)^45?(((t<<2^pe(e,0))<<2^pe(e,1))<<2^pe(e,2))<<2^pe(e,3):0}function Ah(e){return e.trim()}function wt(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,n){return e.replace(t,n)}function mo(e,t,n){return e.indexOf(t,n)}function pe(e,t){return e.charCodeAt(t)|0}function or(e,t,n){return e.slice(t,n)}function ft(e){return e.length}function Bh(e){return e.length}function Ir(e,t){return t.push(e),e}function Zx(e,t){return e.map(t).join("")}function md(e,t){return e.filter(function(n){return!wt(n,t)})}var _l=1,lr=1,Uh=0,Ke=0,se=0,mr="";function Sl(e,t,n,r,i,l,s,a){return{value:e,root:t,parent:n,type:r,props:i,children:l,line:_l,column:lr,length:s,return:"",siblings:a}}function $t(e,t){return pa(Sl("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function In(e){for(;e.root;)e=$t(e.root,{children:[e]});Ir(e,e.siblings)}function qx(){return se}function Jx(){return se=Ke>0?pe(mr,--Ke):0,lr--,se===10&&(lr=1,_l--),se}function it(){return se=Ke<Uh?pe(mr,Ke++):0,lr++,se===10&&(lr=1,_l++),se}function wn(){return pe(mr,Ke)}function go(){return Ke}function El(e,t){return or(mr,e,t)}function ha(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ey(e){return _l=lr=1,Uh=ft(mr=e),Ke=0,[]}function ty(e){return mr="",e}function as(e){return Ah(El(Ke-1,ma(e===91?e+2:e===40?e+1:e)))}function ny(e){for(;(se=wn())&&se<33;)it();return ha(e)>2||ha(se)>3?"":" "}function ry(e,t){for(;--t&&it()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return El(e,go()+(t<6&&wn()==32&&it()==32))}function ma(e){for(;it();)switch(se){case e:return Ke;case 34:case 39:e!==34&&e!==39&&ma(se);break;case 40:e===41&&ma(e);break;case 92:it();break}return Ke}function iy(e,t){for(;it()&&e+se!==57;)if(e+se===84&&wn()===47)break;return"/*"+El(t,Ke-1)+"*"+Pu(e===47?e:it())}function oy(e){for(;!ha(wn());)it();return El(e,Ke)}function ly(e){return ty(vo("",null,null,null,[""],e=ey(e),0,[0],e))}function vo(e,t,n,r,i,l,s,a,u){for(var c=0,f=0,h=s,g=0,v=0,y=0,w=1,E=1,p=1,d=0,m="",x=i,_=l,k=r,b=m;E;)switch(y=d,d=it()){case 40:if(y!=108&&pe(b,h-1)==58){mo(b+=F(as(d),"&","&\f"),"&\f",Fh(c?a[c-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:b+=as(d);break;case 9:case 10:case 13:case 32:b+=ny(y);break;case 92:b+=ry(go()-1,7);continue;case 47:switch(wn()){case 42:case 47:Ir(sy(iy(it(),go()),t,n,u),u);break;default:b+="/"}break;case 123*w:a[c++]=ft(b)*p;case 125*w:case 59:case 0:switch(d){case 0:case 125:E=0;case 59+f:p==-1&&(b=F(b,/\f/g,"")),v>0&&ft(b)-h&&Ir(v>32?vd(b+";",r,n,h-1,u):vd(F(b," ","")+";",r,n,h-2,u),u);break;case 59:b+=";";default:if(Ir(k=gd(b,t,n,c,f,i,a,m,x=[],_=[],h,l),l),d===123)if(f===0)vo(b,t,k,k,x,l,h,a,_);else switch(g===99&&pe(b,3)===110?100:g){case 100:case 108:case 109:case 115:vo(e,k,k,r&&Ir(gd(e,k,k,0,0,i,a,m,i,x=[],h,_),_),i,_,h,a,r?x:_);break;default:vo(b,k,k,k,[""],_,0,a,_)}}c=f=v=0,w=p=1,m=b="",h=s;break;case 58:h=1+ft(b),v=y;default:if(w<1){if(d==123)--w;else if(d==125&&w++==0&&Jx()==125)continue}switch(b+=Pu(d),d*w){case 38:p=f>0?1:(b+="\f",-1);break;case 44:a[c++]=(ft(b)-1)*p,p=1;break;case 64:wn()===45&&(b+=as(it())),g=wn(),f=h=ft(m=b+=oy(go())),d++;break;case 45:y===45&&ft(b)==2&&(w=0)}}return l}function gd(e,t,n,r,i,l,s,a,u,c,f,h){for(var g=i-1,v=i===0?l:[""],y=Bh(v),w=0,E=0,p=0;w<r;++w)for(var d=0,m=or(e,g+1,g=Fh(E=s[w])),x=e;d<y;++d)(x=Ah(E>0?v[d]+" "+m:F(m,/&\f/g,v[d])))&&(u[p++]=x);return Sl(e,t,n,i===0?bl:a,u,c,f,h)}function sy(e,t,n,r){return Sl(e,t,n,Mh,Pu(qx()),or(e,2,-2),0,r)}function vd(e,t,n,r,i){return Sl(e,t,n,Cu,or(e,0,r),or(e,r+1,-1),r,i)}function Hh(e,t,n){switch(Kx(e,t)){case 5103:return H+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return H+e+e;case 4789:return Ur+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Ur+e+Y+e+e;case 5936:switch(pe(e,t+11)){case 114:return H+e+Y+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+Y+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+Y+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return H+e+Y+e+e;case 6165:return H+e+Y+"flex-"+e+e;case 5187:return H+e+F(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+Y+"flex-$1$2")+e;case 5443:return H+e+Y+"flex-item-"+F(e,/flex-|-self/g,"")+(wt(e,/flex-|baseline/)?"":Y+"grid-row-"+F(e,/flex-|-self/g,""))+e;case 4675:return H+e+Y+"flex-line-pack"+F(e,/align-content|flex-|-self/g,"")+e;case 5548:return H+e+Y+F(e,"shrink","negative")+e;case 5292:return H+e+Y+F(e,"basis","preferred-size")+e;case 6060:return H+"box-"+F(e,"-grow","")+H+e+Y+F(e,"grow","positive")+e;case 4554:return H+F(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+Y+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4200:if(!wt(e,/flex-|baseline/))return Y+"grid-column-align"+or(e,t)+e;break;case 2592:case 3360:return Y+F(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,wt(r.props,/grid-\w+-end/)})?~mo(e+(n=n[t].value),"span",0)?e:Y+F(e,"-start","")+e+Y+"grid-row-span:"+(~mo(n,"span",0)?wt(n,/\d+/):+wt(n,/\d+/)-+wt(e,/\d+/))+";":Y+F(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return wt(r.props,/grid-\w+-start/)})?e:Y+F(F(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,H+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ft(e)-1-t>6)switch(pe(e,t+1)){case 109:if(pe(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Ur+(pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~mo(e,"stretch",0)?Hh(F(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return F(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,l,s,a,u,c){return Y+i+":"+l+c+(s?Y+i+"-span:"+(a?u:+u-+l)+c:"")+e});case 4949:if(pe(e,t+6)===121)return F(e,":",":"+H)+e;break;case 6444:switch(pe(e,pe(e,14)===45?18:11)){case 120:return F(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+H+(pe(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+Y+"$2box$3")+e;case 100:return F(e,":",":"+Y)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return F(e,"scroll-","scroll-snap-")+e}return e}function Ko(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function ay(e,t,n,r){switch(e.type){case Yx:if(e.children.length)break;case Xx:case Cu:return e.return=e.return||e.value;case Mh:return"";case $h:return e.return=e.value+"{"+Ko(e.children,r)+"}";case bl:if(!ft(e.value=e.props.join(",")))return""}return ft(n=Ko(e.children,r))?e.return=e.value+"{"+n+"}":""}function uy(e){var t=Bh(e);return function(n,r,i,l){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,l)||"";return s}}function cy(e){return function(t){t.root||(t=t.return)&&e(t)}}function dy(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Cu:e.return=Hh(e.value,e.length,n);return;case $h:return Ko([$t(e,{value:F(e.value,"@","@"+H)})],r);case bl:if(e.length)return Zx(n=e.props,function(i){switch(wt(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":In($t(e,{props:[F(i,/:(read-\w+)/,":"+Ur+"$1")]})),In($t(e,{props:[i]})),pa(e,{props:md(n,r)});break;case"::placeholder":In($t(e,{props:[F(i,/:(plac\w+)/,":"+H+"input-$1")]})),In($t(e,{props:[F(i,/:(plac\w+)/,":"+Ur+"$1")]})),In($t(e,{props:[F(i,/:(plac\w+)/,Y+"input-$1")]})),In($t(e,{props:[i]})),pa(e,{props:md(n,r)});break}return""})}}var fy={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Me={},sr=typeof process<"u"&&Me!==void 0&&(Me.REACT_APP_SC_ATTR||Me.SC_ATTR)||"data-styled",Wh="active",Vh="data-styled-version",Cl="6.1.11",Nu=`/*!sc*/
`,Tu=typeof window<"u"&&"HTMLElement"in window,py=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Me!==void 0&&Me.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Me.REACT_APP_SC_DISABLE_SPEEDY!==""?Me.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Me.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Me!==void 0&&Me.SC_DISABLE_SPEEDY!==void 0&&Me.SC_DISABLE_SPEEDY!==""&&Me.SC_DISABLE_SPEEDY!=="false"&&Me.SC_DISABLE_SPEEDY),Pl=Object.freeze([]),ar=Object.freeze({});function hy(e,t,n){return n===void 0&&(n=ar),e.theme!==n.theme&&e.theme||t||n.theme}var Gh=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),my=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,gy=/(^-|-$)/g;function xd(e){return e.replace(my,"-").replace(gy,"")}var vy=/(a)(d)/gi,Xi=52,yd=function(e){return String.fromCharCode(e+(e>25?39:97))};function ga(e){var t,n="";for(t=Math.abs(e);t>Xi;t=t/Xi|0)n=yd(t%Xi)+n;return(yd(t%Xi)+n).replace(vy,"$1-$2")}var us,Qh=5381,Vn=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Xh=function(e){return Vn(Qh,e)};function xy(e){return ga(Xh(e)>>>0)}function yy(e){return e.displayName||e.name||"Component"}function cs(e){return typeof e=="string"&&!0}var Yh=typeof Symbol=="function"&&Symbol.for,Kh=Yh?Symbol.for("react.memo"):60115,wy=Yh?Symbol.for("react.forward_ref"):60112,jy={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ky={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Zh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},by=((us={})[wy]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},us[Kh]=Zh,us);function wd(e){return("type"in(t=e)&&t.type.$$typeof)===Kh?Zh:"$$typeof"in e?by[e.$$typeof]:jy;var t}var _y=Object.defineProperty,Sy=Object.getOwnPropertyNames,jd=Object.getOwnPropertySymbols,Ey=Object.getOwnPropertyDescriptor,Cy=Object.getPrototypeOf,kd=Object.prototype;function qh(e,t,n){if(typeof t!="string"){if(kd){var r=Cy(t);r&&r!==kd&&qh(e,r,n)}var i=Sy(t);jd&&(i=i.concat(jd(t)));for(var l=wd(e),s=wd(t),a=0;a<i.length;++a){var u=i[a];if(!(u in ky||n&&n[u]||s&&u in s||l&&u in l)){var c=Ey(t,u);try{_y(e,u,c)}catch{}}}}return e}function ur(e){return typeof e=="function"}function Lu(e){return typeof e=="object"&&"styledComponentId"in e}function vn(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function bd(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function ai(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function va(e,t,n){if(n===void 0&&(n=!1),!n&&!ai(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=va(e[r],t[r]);else if(ai(t))for(var r in t)e[r]=va(e[r],t[r]);return e}function Iu(e,t){Object.defineProperty(e,"toString",{value:t})}function bi(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Py=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,l=i;t>=l;)if((l<<=1)<0)throw bi(16,"".concat(t));this.groupSizes=new Uint32Array(l),this.groupSizes.set(r),this.length=l;for(var s=i;s<l;s++)this.groupSizes[s]=0}for(var a=this.indexOfGroup(t+1),u=(s=0,n.length);s<u;s++)this.tag.insertRule(a,n[s])&&(this.groupSizes[t]++,a++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n;this.groupSizes[t]=0;for(var l=r;l<i;l++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),l=i+r,s=i;s<l;s++)n+="".concat(this.tag.getRule(s)).concat(Nu);return n},e}(),xo=new Map,Zo=new Map,yo=1,Yi=function(e){if(xo.has(e))return xo.get(e);for(;Zo.has(yo);)yo++;var t=yo++;return xo.set(e,t),Zo.set(t,e),t},Ny=function(e,t){yo=t+1,xo.set(e,t),Zo.set(t,e)},Ty="style[".concat(sr,"][").concat(Vh,'="').concat(Cl,'"]'),Ly=new RegExp("^".concat(sr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Iy=function(e,t,n){for(var r,i=n.split(","),l=0,s=i.length;l<s;l++)(r=i[l])&&e.registerName(t,r)},Oy=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(Nu),i=[],l=0,s=r.length;l<s;l++){var a=r[l].trim();if(a){var u=a.match(Ly);if(u){var c=0|parseInt(u[1],10),f=u[2];c!==0&&(Ny(f,c),Iy(e,f,u[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(a)}}};function zy(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Jh=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(a){var u=Array.from(a.querySelectorAll("style[".concat(sr,"]")));return u[u.length-1]}(n),l=i!==void 0?i.nextSibling:null;r.setAttribute(sr,Wh),r.setAttribute(Vh,Cl);var s=zy();return s&&r.setAttribute("nonce",s),n.insertBefore(r,l),r},Dy=function(){function e(t){this.element=Jh(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,i=0,l=r.length;i<l;i++){var s=r[i];if(s.ownerNode===n)return s}throw bi(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),Ry=function(){function e(t){this.element=Jh(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),My=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),_d=Tu,$y={isServer:!Tu,useCSSOMInjection:!py},em=function(){function e(t,n,r){t===void 0&&(t=ar),n===void 0&&(n={});var i=this;this.options=Te(Te({},$y),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&Tu&&_d&&(_d=!1,function(l){for(var s=document.querySelectorAll(Ty),a=0,u=s.length;a<u;a++){var c=s[a];c&&c.getAttribute(sr)!==Wh&&(Oy(l,c),c.parentNode&&c.parentNode.removeChild(c))}}(this)),Iu(this,function(){return function(l){for(var s=l.getTag(),a=s.length,u="",c=function(h){var g=function(p){return Zo.get(p)}(h);if(g===void 0)return"continue";var v=l.names.get(g),y=s.getGroup(h);if(v===void 0||y.length===0)return"continue";var w="".concat(sr,".g").concat(h,'[id="').concat(g,'"]'),E="";v!==void 0&&v.forEach(function(p){p.length>0&&(E+="".concat(p,","))}),u+="".concat(y).concat(w,'{content:"').concat(E,'"}').concat(Nu)},f=0;f<a;f++)c(f);return u}(i)})}return e.registerId=function(t){return Yi(t)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(Te(Te({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var r=n.useCSSOMInjection,i=n.target;return n.isServer?new My(i):r?new Dy(i):new Ry(i)}(this.options),new Py(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(Yi(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(Yi(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Yi(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Fy=/&/g,Ay=/^\s*\/\/.*$/gm;function tm(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=tm(n.children,t)),n})}function By(e){var t,n,r,i=ar,l=i.options,s=l===void 0?ar:l,a=i.plugins,u=a===void 0?Pl:a,c=function(g,v,y){return y.startsWith(n)&&y.endsWith(n)&&y.replaceAll(n,"").length>0?".".concat(t):g},f=u.slice();f.push(function(g){g.type===bl&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(Fy,n).replace(r,c))}),s.prefix&&f.push(dy),f.push(ay);var h=function(g,v,y,w){v===void 0&&(v=""),y===void 0&&(y=""),w===void 0&&(w="&"),t=w,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var E=g.replace(Ay,""),p=ly(y||v?"".concat(y," ").concat(v," { ").concat(E," }"):E);s.namespace&&(p=tm(p,s.namespace));var d=[];return Ko(p,uy(f.concat(cy(function(m){return d.push(m)})))),d};return h.hash=u.length?u.reduce(function(g,v){return v.name||bi(15),Vn(g,v.name)},Qh).toString():"",h}var Uy=new em,xa=By(),nm=Le.createContext({shouldForwardProp:void 0,styleSheet:Uy,stylis:xa});nm.Consumer;Le.createContext(void 0);function Sd(){return P.useContext(nm)}var Hy=function(){function e(t,n){var r=this;this.inject=function(i,l){l===void 0&&(l=xa);var s=r.name+l.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,l(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Iu(this,function(){throw bi(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=xa),this.name+t.hash},e}(),Wy=function(e){return e>="A"&&e<="Z"};function Ed(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;Wy(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var rm=function(e){return e==null||e===!1||e===""},im=function(e){var t,n,r=[];for(var i in e){var l=e[i];e.hasOwnProperty(i)&&!rm(l)&&(Array.isArray(l)&&l.isCss||ur(l)?r.push("".concat(Ed(i),":"),l,";"):ai(l)?r.push.apply(r,Yo(Yo(["".concat(i," {")],im(l),!1),["}"],!1)):r.push("".concat(Ed(i),": ").concat((t=i,(n=l)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in fy||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function jn(e,t,n,r){if(rm(e))return[];if(Lu(e))return[".".concat(e.styledComponentId)];if(ur(e)){if(!ur(l=e)||l.prototype&&l.prototype.isReactComponent||!t)return[e];var i=e(t);return jn(i,t,n,r)}var l;return e instanceof Hy?n?(e.inject(n,r),[e.getName(r)]):[e]:ai(e)?im(e):Array.isArray(e)?Array.prototype.concat.apply(Pl,e.map(function(s){return jn(s,t,n,r)})):[e.toString()]}function Vy(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ur(n)&&!Lu(n))return!1}return!0}var Gy=Xh(Cl),Qy=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&Vy(t),this.componentId=n,this.baseHash=Vn(Gy,n),this.baseStyle=r,em.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))i=vn(i,this.staticRulesId);else{var l=bd(jn(this.rules,t,n,r)),s=ga(Vn(this.baseHash,l)>>>0);if(!n.hasNameForId(this.componentId,s)){var a=r(l,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,a)}i=vn(i,s),this.staticRulesId=s}else{for(var u=Vn(this.baseHash,r.hash),c="",f=0;f<this.rules.length;f++){var h=this.rules[f];if(typeof h=="string")c+=h;else if(h){var g=bd(jn(h,t,n,r));u=Vn(u,g+f),c+=g}}if(c){var v=ga(u>>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(c,".".concat(v),void 0,this.componentId)),i=vn(i,v)}}return i},e}(),om=Le.createContext(void 0);om.Consumer;var ds={};function Xy(e,t,n){var r=Lu(e),i=e,l=!cs(e),s=t.attrs,a=s===void 0?Pl:s,u=t.componentId,c=u===void 0?function(x,_){var k=typeof x!="string"?"sc":xd(x);ds[k]=(ds[k]||0)+1;var b="".concat(k,"-").concat(xy(Cl+k+ds[k]));return _?"".concat(_,"-").concat(b):b}(t.displayName,t.parentComponentId):u,f=t.displayName,h=f===void 0?function(x){return cs(x)?"styled.".concat(x):"Styled(".concat(yy(x),")")}(e):f,g=t.displayName&&t.componentId?"".concat(xd(t.displayName),"-").concat(t.componentId):t.componentId||c,v=r&&i.attrs?i.attrs.concat(a).filter(Boolean):a,y=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;y=function(x,_){return w(x,_)&&E(x,_)}}else y=w}var p=new Qy(n,g,r?i.componentStyle:void 0);function d(x,_){return function(k,b,T){var U=k.attrs,$=k.componentStyle,xe=k.defaultProps,lt=k.foldedComponentIds,vt=k.styledComponentId,sn=k.target,gr=Le.useContext(om),vr=Sd(),an=k.shouldForwardProp||vr.shouldForwardProp,L=hy(b,gr,xe)||ar,O=function(Tt,De,xt){for(var xr,cn=Te(Te({},De),{className:void 0,theme:xt}),Nl=0;Nl<Tt.length;Nl+=1){var _i=ur(xr=Tt[Nl])?xr(cn):xr;for(var Lt in _i)cn[Lt]=Lt==="className"?vn(cn[Lt],_i[Lt]):Lt==="style"?Te(Te({},cn[Lt]),_i[Lt]):_i[Lt]}return De.className&&(cn.className=vn(cn.className,De.className)),cn}(U,b,L),M=O.as||sn,V={};for(var G in O)O[G]===void 0||G[0]==="$"||G==="as"||G==="theme"&&O.theme===L||(G==="forwardedAs"?V.as=O.forwardedAs:an&&!an(G,M)||(V[G]=O[G]));var un=function(Tt,De){var xt=Sd(),xr=Tt.generateAndInjectStyles(De,xt.styleSheet,xt.stylis);return xr}($,O),Ze=vn(lt,vt);return un&&(Ze+=" "+un),O.className&&(Ze+=" "+O.className),V[cs(M)&&!Gh.has(M)?"class":"className"]=Ze,V.ref=T,P.createElement(M,V)}(m,x,_)}d.displayName=h;var m=Le.forwardRef(d);return m.attrs=v,m.componentStyle=p,m.displayName=h,m.shouldForwardProp=y,m.foldedComponentIds=r?vn(i.foldedComponentIds,i.styledComponentId):"",m.styledComponentId=g,m.target=r?i.target:e,Object.defineProperty(m,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=r?function(_){for(var k=[],b=1;b<arguments.length;b++)k[b-1]=arguments[b];for(var T=0,U=k;T<U.length;T++)va(_,U[T],!0);return _}({},i.defaultProps,x):x}}),Iu(m,function(){return".".concat(m.styledComponentId)}),l&&qh(m,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),m}function Cd(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var Pd=function(e){return Object.assign(e,{isCss:!0})};function Yy(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(ur(e)||ai(e))return Pd(jn(Cd(Pl,Yo([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?jn(r):Pd(jn(Cd(r,t)))}function ya(e,t,n){if(n===void 0&&(n=ar),!t)throw bi(1,t);var r=function(i){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];return e(t,n,Yy.apply(void 0,Yo([i],l,!1)))};return r.attrs=function(i){return ya(e,t,Te(Te({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},r.withConfig=function(i){return ya(e,t,Te(Te({},n),i))},r}var lm=function(e){return ya(Xy,e)},j=lm;Gh.forEach(function(e){j[e]=lm(e)});const Ky=j.footer`
background-color: #101522;
`,Zy=j.div`
padding: 48x 24px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: 1100px;
margin: 0 auto;
`;j.div`
display: flex;
justify-content: center;
@media screen and (max-width: 820px) {
padding-top: 32px;
}
`;j.div`
display: flex;
@media screen and (max-width: 820px) {
flex-direction: column;
}
`;j.div`
display: flex;
flex-direction: column;
align-items: flex-start;
margin: 16px;
text-align: left;
width: 160px;
box-sizing: border-box;
color: #fff;
@media screen and (max-width: 420px) {
margin: 0;
padding: 10px;
width: 100%;
}
`;j.h1`
font-size: 14px;
margin-bottom: 16px;
`;j(mi)`
color: #ffffff;
text-decoration: none;
margin-bottom: 0.5rem;
font-size: 14px;
&:hover {
color: #01bf71;
transition: 0.3s ease-in-out;
}
`;const qy=j.section`
max-width: 1000px;
width: 100%;
`,Jy=j.div`
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1100px;
margin: 20px auto 0 auto;
@media screen and (max-width: 820px) {
flex-direction: column;
}
`;j.div`
color: #fff;
display: flex;
justify-content: center;
align-items: center;
max-width: 1100px;
margin: 10px auto 0 auto;
@media screen and (max-width: 820px) {
flex-direction: column;
}
`;const ew=j(mi)`
color: #fff;
justify-self: start;
cursor: pointer;
text-decoration: none;
font-size: 1.5rem;
display: flex;
align-items: center;
margin-bottom: 16px;
font-weight: bold;
@media screen and (max-width: 768px) {
font-size: 20px;
}
`,Nd=j.small`
color: #fff;
margin-bottom: 8px;
`,tw=j.div`
display: flex;
justify-content: space-between;
align-items: center;
width: 60px;
margin-bottom: 8px;
`,Td=j.a`
color: #fff;
font-size: 24px;
`;j.div`
max-width: 555px;
height: 100%;
`;const nw=j.img`
width: 100%;
margin-top: 0;
margin-right: 0;
margin-left: 10px;
padding-right: 0;
`;function rw(){const e=()=>{Eu.scrollToTop()};return o.jsx(o.Fragment,{children:o.jsx(Ky,{children:o.jsx(Zy,{children:o.jsx(qy,{children:o.jsxs(Jy,{children:[o.jsx(ew,{to:"/udlbook/",onClick:e,children:"Understanding Deep Learning"}),o.jsxs(Nd,{children:["©",new Date().getFullYear()," Simon J.D. Prince"]}),o.jsxs(Nd,{children:["Images by StorySet on FreePik:"," ",o.jsxs("a",{href:"https://www.freepik.com/free-vector/hand-coding-concept-illustration_21864184.htm#query=coding&position=17&from_view=search&track=sph&uuid=5896d847-38e4-4cb9-8fe1-103041c7c933",children:[" ","[1]"," "]})," ",o.jsx("a",{href:"https://www.freepik.com/free-vector/mathematics-concept-illustration_10733824.htm#query=professor&position=13&from_view=search&track=sph&uuid=5b1a188a-64c5-45af-aae2-8573bc1bed3c",children:"[2]"})," ",o.jsxs("a",{href:"https://www.freepik.com/free-vector/content-concept-illustration_7171429.htm#query=media&position=3&from_view=search&track=sph&uuid=c7e35cf2-d85d-4bba-91a6-1cd883dcf153",children:[" ","[3]"]})," ",o.jsxs("a",{href:"https://www.freepik.com/free-vector/library-concept-illustration_9148008.htm#query=library&position=40&from_view=search&track=sph&uuid=abecc792-b6b2-4ec0-b318-5e6cc73ba649",children:[" ","[4]"]})]}),o.jsxs(tw,{children:[o.jsx(Td,{href:"https://twitter.com/SimonPrinceAI",target:"_blank","aria-label":"Twitter",children:o.jsx(nw,{src:Qx,alt:"twitter"})}),o.jsx(Td,{href:"https://www.linkedin.com/in/simon-prince-615bb9165/",target:"_blank","aria-label":"LinkedIn",children:o.jsx(Bv,{})})]})]})})})})})}const iw="/udlbook/assets/F23.prince.learning.turquoise-B3FyEkB6.jpg",ow=j.div`
background: #57c6d1;
display: flex;
justify-content: center;
align-items: center;
padding: 0 0px;
position: static;
z-index: 1;
`,lw=j.div`
z-index: 3;
width: 100%;
max-width: 1100px;
position: static;
padding: 8px 24px;
margin: 80px 0px;
display: flex;
flex-direction: column;
align-items: center;
`;j.h1`
color: #fff;
font-size: 48px;
text-align: center;
@media screen and (max-width: 768px) {
font-size: 40px;
}
@media screen and (max-width: 480px) {
font-size: 32px;
}
`;j.p`
margin-top: 24px;
color: #fff;
font-size: 24px;
text-align: center;
max-width: 600px;
@media screen and (max-width: 768px) {
font-size: 24px;
}
@media screen and (max-width: 480px) {
font-size: 18px;
}
`;j.div`
margin-top: 32px;
display: flex;
flex-direction: column;
align-items: center;
`;const sw=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: top;
grid-template-areas: 'col1 col2' };
@media screen and (max-width: 768px){
grid-template-areas: 'col2' 'col1';
}
`,Dt=j.div`
margin-left: 4px;
color: #000000;
font-size: 16px;
/* line-height: 16px; */
margin-bottom: 16px;
display: flex;
justify-content: start;
`,Rt=j.div`
width: 20%;
margin-right: 20px;
@media screen and (max-width: 768px) {
font-size: 12px;
}
@media screen and (max-width: 480px) {
font-size: 12px;
}
`,Mt=j.div`
width: 80%;
color: #000000;
@media screen and (max-width: 768px) {
font-size: 12px;
}
@media screen and (max-width: 480px) {
font-size: 12px;
}
`,aw=j.div`
margin-bottom: 15px;
margin-left: 12px;
margin-top: 60px;
padding: 10px 15px;
padding: 0 15px;
grid-area: col1;
align-items: left;
display: flex;
flex-direction: column;
justify-content: space-between;
`,uw=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col2;
display: flex;
align-items: center;
flex-direction: column;
`;j.div`
max-width: 540px;
padding-top: 0;
padding-bottom: 0;
`;const cw=j.div`
max-width: 555px;
height: 100%;
`,dw=j.img`
width: 100%;
margin-top: 0;
margin-right: 0;
margin-left: 10px;
padding-right: 0;
`,fw=j.img`
margin-top: 5px;
margin-right: 0;
margin-left: 0;
padding-right: 0;
margin-bottom: 10px;
`,Ki=j.a`
color: #fff;
text-decoration: none;
padding: 0.6rem 0rem 0rem 0rem;
cursor: pointer;
position: relative;
&:before {
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #fff;
content: "";
opacity: 0.3;
-webkit-transform: scaleX(1);
transition-property:
opacity,
-webkit-transform;
transition-duration: 0.3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`,at=j.a`
text-decoration: none;
color: #000;
font-weight: 300;
margin: 0 2px;
position: relative;
&:before {
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #000;
content: "";
opacity: 0.3;
-webkit-transform: scaleX(1);
transition-property:
opacity,
-webkit-transform;
transition-duration: 0.3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`,pw=j.div`
margin-left: 0px;
color: #000000;
font-size: 16px;
font-weight: bold;
line-height: 16px;
margin-bottom: 36px;
@media screen and (max-width: 768px) {
font-size: 24px;
}
@media screen and (max-width: 480px) {
font-size: 18px;
}
`,hw=j.div`
margin-left: 0px;
color: #000000;
font-size: 16px;
font-weight: bold;
line-height: 16px;
margin-bottom: 10px;
margin-top: 36px;
@media screen and (max-width: 768px) {
font-size: 24px;
}
@media screen and (max-width: 480px) {
font-size: 18px;
}
`,mw=j.div``,gw=j.div`
font-size: 14px;
margin-bottom: 0px;
margin-top: 0px;
`,vw=j.div`
@media screen and (max-width: 768px) {
font-size: 14px;
}
`;function xw(){return o.jsx(ow,{id:"home",children:o.jsx(lw,{children:o.jsxs(sw,{children:[o.jsxs(aw,{children:[o.jsxs(mw,{children:[o.jsx(pw,{children:"RECENT NEWS:"}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"05/22/24"}),o.jsxs(Mt,{children:[" ","New"," ",o.jsxs(at,{href:"https://www.borealisai.com/research-blogs/neural-tangent-kernel-applications/",children:[" ","blog"," "]})," ","about the applications of the neural tangent kernel."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"05/10/24"}),o.jsxs(Mt,{children:[" ","Positive"," ",o.jsx(at,{href:"https://github.com/udlbook/udlbook/blob/main/public/NMI_Review.pdf",children:"review"})," ","in Nature Machine Intelligence."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"02/21/24"}),o.jsxs(Mt,{children:["New blog about the"," ",o.jsx(at,{href:"https://www.borealisai.com/research-blogs/the-neural-tangent-kernel/",children:"Neural Tangent Kernel"}),"."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"01/29/24"}),o.jsxs(Mt,{children:[" ","New blog about"," ",o.jsxs(at,{href:"https://www.borealisai.com/research-blogs/gradient-flow/",children:[" ","gradient flow"]})," ","published."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"12/26/23"}),o.jsxs(Mt,{children:[" ","Machine Learning Street Talk"," ",o.jsxs(at,{href:"https://www.youtube.com/watch?v=sJXn4Cl4oww",children:[" ","podcast"," "]})," ","discussing book."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"12/19/23"}),o.jsxs(Mt,{children:["Deeper Insights"," ",o.jsx(at,{href:"https://podcasts.apple.com/us/podcast/understanding-deep-learning-with-simon-prince/id1669436318?i=1000638269385",children:"podcast"})," ","discussing book."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"12/06/23"}),o.jsxs(Mt,{children:[" ",o.jsx(at,{href:"https://www.borealisai.com/news/understanding-deep-learning/",children:"Interview"})," ","with Borealis AI."]})]}),o.jsxs(Dt,{children:[o.jsx(Rt,{children:"12/05/23"}),o.jsxs(Mt,{children:[" ","Book released by"," ",o.jsx(at,{href:"https://mitpress.mit.edu/9780262048644/understanding-deep-learning/",children:"The MIT Press"}),"."]})]})]}),o.jsx(hw,{children:"CITATION:"}),o.jsx(gw,{children:o.jsx("pre",{children:o.jsx("code",{children:o.jsx(o.Fragment,{children:`
@book{prince2023understanding,
author = "Simon J.D. Prince",
title = "Understanding Deep Learning",
publisher = "The MIT Press",
year = 2023,
url = "http://udlbook.com"
}
`})})})}),o.jsxs(vw,{children:["Follow me on"," ",o.jsx(at,{href:"https://twitter.com/SimonPrinceAI",children:"Twitter"})," or"," ",o.jsx(at,{href:"https://www.linkedin.com/in/simon-prince-615bb9165/",children:"LinkedIn"})," ","for updates."]})]}),o.jsxs(uw,{children:[o.jsx(cw,{children:o.jsx(dw,{src:iw,alt:"book cover"})}),o.jsx(Ki,{href:"https://github.com/udlbook/udlbook/releases/download/v4.0.1/UnderstandingDeepLearning_05_27_24_C.pdf",children:"Download full pdf (27 May 2024)"}),o.jsx(fw,{src:"https://img.shields.io/github/downloads/udlbook/udlbook/total",alt:"download stats shield"}),o.jsx(Ki,{href:"https://mitpress.mit.edu/9780262048644/understanding-deep-learning/",children:"Buy the book"}),o.jsx(Ki,{href:"https://github.com/udlbook/udlbook/raw/main/UDL_Answer_Booklet_Students.pdf",children:"Answers to selected questions"}),o.jsx(Ki,{href:"https://github.com/udlbook/udlbook/raw/main/UDL_Errata.pdf",children:"Errata"})]})]})})})}const yw="/udlbook/assets/instructor-B2zxe_pu.svg",ww=j.div`
color: #fff;
/* background: #f9f9f9; */
background: ${({lightBg:e})=>e?"#57c6d1":"#010606"};
@media screen and (max-width: 768px) {
padding: 100px 0;
}
`,jw=j.div`
display: grid;
z-index: 1;
width: 100%;
max-width: 1100px;
margin-right: auto;
margin-left: auto;
padding: 0 24px;
justify-content: center;
`,kw=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: center;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px) {
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,bw=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: top;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px) {
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,Ld=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col1;
`,Id=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col2;
`,_w=j.div`
max-width: 540px;
padding-top: 0;
padding-bottom: 0;
`,Zi=j.p`
color: #773c23;
font-size: 16px;
line-height: 16px;
font-weight: 700;
letter-spacing: 1.4px;
text-transform: uppercase;
margin-bottom: 16px;
`,Sw=j.h1`
margin-bottom: 24px;
font-size: 48px;
line-height: 1.1;
font-weight: 600;
color: ${({lightText:e})=>e?"#f7f8fa":"#010606"};
@media screen and (max-width: 480px) {
font-size: 32px;
}
`,Ew=j.p`
max-width: 440px;
margin-bottom: 35px;
font-size: 18px;
line-height: 24px;
color: ${({darkText:e})=>e?"#010606":"#fff"};
`;j.div`
display: flex;
justify-content: flex-start;
`;const Cw=j.div`
max-width: 555px;
height: 100%;
`,Pw=j.img`
width: 100%;
margin-top: 0;
margin-right: 0;
margin-left: 10px;
padding-right: 0;
`,Cr=j.div`
z-index: 3;
width: 100%;
max-width: 1100px;
position: static;
padding: 8px 0px;
margin: 10px 0px;
display: flex;
flex-direction: column;
align-items: left;
list-style-position: inside;
@media screen and (max-width: 1050px) {
font-size: 12px;
}
@media screen and (max-width: 768px) {
font-size: 10px;
}
`,C=j.a`
text-decoration: none;
color: #555;
font-weight: 300;
margin: 0 2px;
position: relative;
&:before {
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #555;
content: "";
opacity: 0.3;
-webkit-transform: scaleX(1);
transition-property:
opacity,
-webkit-transform;
transition-duration: 0.3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`;function Nw(){return o.jsx(o.Fragment,{children:o.jsx(ww,{lightBg:!0,id:"Instructors",children:o.jsxs(jw,{children:[o.jsxs(kw,{imgStart:!1,children:[o.jsx(Ld,{children:o.jsxs(_w,{children:[o.jsx(Zi,{children:"Instructors"}),o.jsx(Sw,{lightText:!1,children:"Resources for instructors"}),o.jsx(Ew,{darkText:!0,children:"All the figures in vector and image formats, full slides for first twelve chapters, instructor answer booklet"})]})}),o.jsx(Id,{children:o.jsx(Cw,{children:o.jsx(Pw,{src:yw,alt:"Car"})})})]}),o.jsxs(bw,{children:[o.jsxs(Ld,{children:[o.jsx(Zi,{children:"Register"}),o.jsx(C,{href:"https://mitpress.ublish.com/request?cri=15055",children:"Register"})," ","with MIT Press for answer booklet.",o.jsx(Cr,{}),o.jsx(Zi,{children:"Full slides"}),o.jsx(Cr,{children:"Slides for 20 lecture undergraduate deep learning course:"}),o.jsx(Cr,{children:o.jsxs("ol",{children:[o.jsxs("li",{children:["Introduction"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=17RHb11BrydOvxSFNbRIomE1QKLVI087m",children:"PPTX"})]}),o.jsxs("li",{children:["Supervised Learning"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1491zkHULC7gDfqlV6cqUxyVYXZ-de-Ub",children:"PPTX"})]}),o.jsxs("li",{children:["Shallow Neural Networks"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1XkP1c9EhOBowla1rT1nnsDGMf2rZvrt7",children:"PPTX"})]}),o.jsxs("li",{children:["Deep Neural Networks"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1e2ejfZbbfMKLBv0v-tvBWBdI8gO3SSS1",children:"PPTX"})]}),o.jsxs("li",{children:["Loss Functions"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1fxQ_a1Q3eFPZ4kPqKbak6_emJK-JfnRH",children:"PPTX"})]}),o.jsxs("li",{children:["Fitting Models"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=17QQ5ZzXBtR_uCNCUU1gPRWWRUeZN9exW",children:"PPTX"})]}),o.jsxs("li",{children:["Computing Gradients"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1hC8JUCOaFWiw3KGn0rm7nW6mEq242QDK",children:"PPTX"})]}),o.jsxs("li",{children:["Initialization"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1tSjCeAVg0JCeBcPgDJDbi7Gg43Qkh9_d",children:"PPTX"})]}),o.jsxs("li",{children:["Performance"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1RVZW3KjEs0vNSGx3B2fdizddlr6I0wLl",children:"PPTX"})]}),o.jsxs("li",{children:["Regularization"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1LTicIKPRPbZRkkg6qOr1DSuOB72axood",children:"PPTX"})]}),o.jsxs("li",{children:["Convolutional Networks"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1bGVuwAwrofzZdfvj267elIzkYMIvYFj0",children:"PPTX"})]}),o.jsxs("li",{children:["Image Generation"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=14w31QqWRDix1GdUE-na0_E0kGKBhtKzs",children:"PPTX"})]}),o.jsxs("li",{children:["Transformers and LLMs"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1af6bTTjAbhDYfrDhboW7Fuv52Gk9ygKr",children:"PPTX"})]})]})})]}),o.jsxs(Id,{children:[o.jsx(Zi,{children:"Figures"}),o.jsx(Cr,{children:o.jsxs("ol",{children:[o.jsxs("li",{children:[" ","Introduction:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap1PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1udnl5pUOAc8DcAQ7HQwyzP9pwL95ynnv",children:[" ","SVG"]})," ","/"," ",o.jsxs(C,{href:"https://docs.google.com/presentation/d/1IjTqIUvWCJc71b5vEJYte-Dwujcp7rvG/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:["PPTX"," "]})]}),o.jsxs("li",{children:[" ","Supervised learning:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap2PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1VSxcU5y1qNFlmd3Lb3uOWyzILuOj1Dla",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1Br7R01ROtRWPlNhC_KOommeHAWMBpWtz/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Shallow neural networks:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap3PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=19kZFWlXhzN82Zx02ByMmSZOO4T41fmqI",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1e9M3jB5I9qZ4dCBY90Q3Hwft_i068QVQ/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Deep neural networks:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap4PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1ojr0ebsOhzvS04ItAflX2cVmYqHQHZUa",children:[" ","SVG"]}),"/",o.jsx(C,{href:"https://docs.google.com/presentation/d/1LTSsmY4mMrJbqXVvoTOCkQwHrRKoYnJj/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Loss functions:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap5PDF.zip",children:"PDF"})," ","/"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=17MJO7fiMpFZVqKeqXTbQ36AMpmR4GizZ",children:"SVG"})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1gcpC_3z9oRp87eMkoco-kdLD-MM54Puk/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Training models:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap6PDF.zip",children:"PDF"})," ","/"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1VPdhFRnCr9_idTrX0UdHKGAw2shUuwhK",children:"SVG"})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1AKoeggAFBl9yLC7X5tushAGzCCxmB7EY/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Gradients and initialization:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap7PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1TTl4gvrTvNbegnml4CoGoKOOd6O8-PGs",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/11zhB6PI-Dp6Ogmr4IcI6fbvbqNqLyYcz/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Measuring performance:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap8PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=19eQOnygd_l0DzgtJxXuYnWa4z7QKJrJx",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1SHRmJscDLUuQrG7tmysnScb3ZUAqVMZo/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Regularization:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap9PDF.zip",children:"PDF"})," ","/"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1LprgnUGL7xAM9-jlGZC9LhMPeefjY0r0",children:"SVG"})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1VwIfvjpdfTny6sEfu4ZETwCnw6m8Eg-5/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Convolutional networks:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap10PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1-Wb3VzaSvVeRzoUzJbI2JjZE0uwqupM9",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1MtfKBC4Y9hWwGqeP6DVwUNbi1j5ncQCg/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Residual networks:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap11PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1Mr58jzEVseUAfNYbGWCQyDtEDwvfHRi1",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1saY8Faz0KTKAAifUrbkQdLA2qkyEjOPI/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Transformers:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap12PDF.zip",children:"PDF"})," ","/"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1txzOVNf8-jH4UfJ6SLnrtOfPd1Q3ebzd",children:"SVG"})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1GVNvYWa0WJA6oKg89qZre-UZEhABfm0l/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Graph neural networks:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap13PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1lQIV6nRp6LVfaMgpGFhuwEXG-lTEaAwe",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1YwF3U82c1mQ74c1WqHVTzLZ0j7GgKaWP/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Unsupervised learning:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap14PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1aMbI6iCuUvOywqk5pBOmppJu1L1anqsM",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1A-lBGv3NHl4L32NvfFgy1EKeSwY-0UeB/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","GANs:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap15PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1EErnlZCOlXc3HK7m83T2Jh_0NzIUHvtL",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/10Ernk41ShOTf4IYkMD-l4dJfKATkXH4w/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Normalizing flows:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap16PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1SNtNIY7khlHQYMtaOH-FosSH3kWwL4b7",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1nLLzqb9pdfF_h6i1HUDSyp7kSMIkSUUA/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Variational autoencoders:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap17PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1B9bxtmdugwtg-b7Y4AdQKAIEVWxjx8l3",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1lQE4Bu7-LgvV2VlJOt_4dQT-kusYl7Vo/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Diffusion models:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap18PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1A-pIGl4PxjVMYOKAUG3aT4a8wD3G-q_r",children:[" ","SVG"]})," ","/",o.jsx(C,{href:"https://docs.google.com/presentation/d/1x_ufIBtVPzWUvRieKMkpw5SdRjXWwdfR/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Deep reinforcement learning:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap19PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1a5WUoF7jeSgwC_PVdckJi1Gny46fCqh0",children:[" ","SVG"]})," ","/"," ",o.jsxs(C,{href:"https://docs.google.com/presentation/d/1TnYmVbFNhmMFetbjyfXGmkxp1EHauMqr/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:["PPTX"," "]})]}),o.jsxs("li",{children:[" ","Why does deep learning work?:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap20PDF.zip",children:"PDF"})," ","/"," ",o.jsxs(C,{href:"https://drive.google.com/uc?export=download&id=1M2d0DHEgddAQoIedKSDTTt7m1ZdmBLQ3",children:[" ","SVG"]})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1coxF4IsrCzDTLrNjRagHvqB_FBy10miA/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Deep learning and ethics:"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLChap21PDF.zip",children:"PDF"})," ","/"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1jixmFfwmZkW_UVYzcxmDcMsdFFtnZ0bU",children:"SVG"})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1EtfzanZYILvi9_-Idm28zD94I_6OrN9R/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]}),o.jsxs("li",{children:[" ","Appendices -"," ",o.jsx(C,{href:"https://github.com/udlbook/udlbook/raw/main/PDFFigures/UDLAppendixPDF.zip",children:"PDF"})," ","/"," ",o.jsx(C,{href:"https://drive.google.com/uc?export=download&id=1k2j7hMN40ISPSg9skFYWFL3oZT7r8v-l",children:"SVG"})," ","/"," ",o.jsx(C,{href:"https://docs.google.com/presentation/d/1_2cJHRnsoQQHst0rwZssv-XH4o5SEHks/edit?usp=drive_link&ouid=110441678248547154185&rtpof=true&sd=true",children:"PPTX"})]})]})}),o.jsx(C,{href:"https://drive.google.com/file/d/1T_MXXVR4AfyMnlEFI-UVDh--FXI5deAp/view?usp=sharing",children:"Instructions"})," ","for editing equations in figures.",o.jsx(Cr,{})]})]})]})})})}const Tw="/udlbook/assets/media-BEE6k2_u.svg",Lw=j.div`
color: #fff;
/* background: #f9f9f9; */
background: ${({lightBg:e})=>e?"#f9f9f9":"#010606"};
@media screen and (max-width: 768px) {
padding: 100px 0;
}
`,Iw=j.div`
display: grid;
z-index: 1;
width: 100%;
max-width: 1100px;
margin-right: auto;
margin-left: auto;
padding: 0 24px;
justify-content: center;
`,Od=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: center;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px) {
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,fs=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col1;
`,ps=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col2;
`,Ow=j.div`
max-width: 540px;
padding-top: 0;
padding-bottom: 0;
`,hs=j.p`
color: #57c6d1;
font-size: 16px;
line-height: 16px;
font-weight: 700;
letter-spacing: 1.4px;
text-transform: uppercase;
margin-bottom: 16px;
`,zw=j.h1`
margin-bottom: 24px;
font-size: 48px;
line-height: 1.1;
font-weight: 600;
color: ${({lightText:e})=>e?"#f7f8fa":"#010606"};
@media screen and (max-width: 480px) {
font-size: 32px;
}
`,Dw=j.p`
max-width: 440px;
margin-bottom: 35px;
font-size: 18px;
line-height: 24px;
color: ${({darkText:e})=>e?"#010606":"#fff"};
`;j.div`
display: flex;
justify-content: flex-start;
`;const Rw=j.div`
max-width: 555px;
height: 100%;
`,Mw=j.img`
width: 100%;
margin-top: 0;
margin-right: 0;
margin-left: 10px;
padding-right: 0;
`;j.div`
@media screen and (max-width: 768px) {
font-size: 24px;
}
@media screen and (max-width: 480px) {
font-size: 18px;
}
`;const zd=j.div`
z-index: 3;
width: 100%;
max-width: 1100px;
position: static;
padding: 8px 0px;
margin: 10px 0px;
display: flex;
flex-direction: column;
align-items: left;
list-style-position: inside;
@media screen and (max-width: 768px) {
font-size: 14px;
}
`,$w=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: top;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px) {
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,Dd=j.div`
width: 560px;
height: 315px;
@media screen and (max-width: 1050px) {
width: 280px;
height: 157px;
}
`,ut=j.a`
text-decoration: none;
color: #57c6d1;
font-weight: 300;
margin: 0 2px;
position: relative;
&:before {
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #57c6d1;
content: "";
opacity: 0.3;
-webkit-transform: scaleX(1);
transition-property:
opacity,
-webkit-transform;
transition-duration: 0.3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`;function Fw(){return o.jsx(o.Fragment,{children:o.jsx(Lw,{lightBg:!1,id:"Media",children:o.jsxs(Iw,{children:[o.jsxs(Od,{imgStart:!0,children:[o.jsx(fs,{children:o.jsxs(Ow,{children:[o.jsx(hs,{children:"Media"}),o.jsxs(zw,{lightText:!0,children:[" ","Reviews, videos, podcasts, interviews"]}),o.jsx(Dw,{darkText:!1,children:"Various resources connected to the book"})]})}),o.jsx(ps,{children:o.jsx(Rw,{children:o.jsx(Mw,{src:Tw,alt:"Car"})})})]}),o.jsxs(Od,{children:[o.jsxs(fs,{children:["Machine learning street talk podcast",o.jsx(Dd,{children:o.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/sJXn4Cl4oww?si=Lm_hQPqj0RXy-75H&controls=0",title:"YouTube video player",frameBorder:"2",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:!0})})]}),o.jsxs(ps,{children:["Deeper insights podcast",o.jsx(Dd,{children:o.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/nQf4o9TDSHI?si=uMk66zLD7uhuSnQ1&controls=0",title:"YouTube video player",frameBorder:"2",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:!0})})]})]}),o.jsxs($w,{children:[o.jsxs(fs,{children:[o.jsx(hs,{children:"Reviews"}),o.jsx(zd,{children:o.jsxs("ul",{children:[o.jsxs("li",{children:[" ","Nature Machine Intelligence"," ",o.jsxs(ut,{href:"https://github.com/udlbook/udlbook/blob/main/public/NMI_Review.pdf",children:[" ","review"," "]})," ","by"," ",o.jsx(ut,{href:"https://wang-axis.github.io/",children:"Ge Wang"})]}),o.jsxs("li",{children:[" ","Amazon"," ",o.jsx(ut,{href:"https://www.amazon.com/Understanding-Deep-Learning-Simon-Prince-ebook/product-reviews/B0BXKH8XY6/",children:"reviews"})]}),o.jsxs("li",{children:["Goodreads"," ",o.jsxs(ut,{href:"https://www.goodreads.com/book/show/123239819-understanding-deep-learning?",children:["reviews"," "]})]}),o.jsxs("li",{children:["Book"," ",o.jsx(ut,{href:"https://medium.com/@vishalvignesh/udl-book-review-the-new-deep-learning-textbook-youll-want-to-finish-69e1557b018d",children:"review"})," ","by Vishal V."]}),o.jsxs("li",{children:[" ","Amazon"," ",o.jsx(ut,{href:"https://www.amazon.com/Understanding-Deep-Learning-Simon-Prince-ebook/product-reviews/B0BXKH8XY6/",children:"reviews"})]}),o.jsxs("li",{children:["Goodreads"," ",o.jsxs(ut,{href:"https://www.goodreads.com/book/show/123239819-understanding-deep-learning?",children:["reviews"," "]})]}),o.jsxs("li",{children:["Book"," ",o.jsx(ut,{href:"https://medium.com/@vishalvignesh/udl-book-review-the-new-deep-learning-textbook-youll-want-to-finish-69e1557b018d",children:"review"})," ","by Vishal V."]})]})})]}),o.jsxs(ps,{children:[o.jsx(hs,{children:"Interviews"}),o.jsx(zd,{children:o.jsxs("ul",{children:[o.jsxs("li",{children:["Borealis AI"," ",o.jsx(ut,{href:"https://www.borealisai.com/news/understanding-deep-learning/",children:"interview"})]}),o.jsxs("li",{children:["Shepherd ML book"," ",o.jsx(ut,{href:"https://shepherd.com/best-books/machine-learning-and-deep-neural-networks",children:"recommendations"})]})]})})]})]})]})})})}const Aw="/udlbook/assets/more-CjTFu1S9.svg",Bw=j.div`
color: #fff;
/* background: #f9f9f9; */
background: ${({lightBg:e})=>e?"#57c6d1":"#010606"};
@media screen and (max-width: 768px) {
padding: 100px 0;
}
`,Uw=j.div`
display: grid;
z-index: 1;
/* height: 1050px; */
width: 100%;
max-width: 1100px;
margin-right: auto;
margin-left: auto;
padding: 0 24px;
justify-content: center;
`,Hw=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: center;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px) {
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,Ww=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: top;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px) {
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,Rd=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col1;
`,Md=j.div`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col2;
`,Vw=j.div`
max-width: 540px;
padding-top: 0;
padding-bottom: 0;
`,Ce=j.p`
color: #773c23;
font-size: 16px;
line-height: 16px;
font-weight: 700;
letter-spacing: 1.4px;
text-transform: uppercase;
margin-bottom: 12px;
margin-top: 16px;
`,Gw=j.h1`
margin-bottom: 24px;
font-size: 48px;
line-height: 1.1;
font-weight: 600;
color: ${({lightText:e})=>e?"#f7f8fa":"#010606"};
@media screen and (max-width: 480px) {
font-size: 32px;
}
`,Qw=j.p`
max-width: 440px;
margin-bottom: 35px;
font-size: 18px;
line-height: 24px;
color: ${({darkText:e})=>e?"#010606":"#fff"};
`;j.div`
display: flex;
justify-content: flex-start;
`;const Xw=j.div`
max-width: 555px;
height: 100%;
`,Yw=j.img`
width: 100%;
margin-top: 0;
margin-right: 0;
margin-left: 10px;
padding-right: 0;
`;j.div`
z-index: 3;
width: 100%;
max-width: 1100px;
position: static;
padding: 8px 0px;
margin: 10px 0px;
display: flex;
flex-direction: column;
align-items: left;
list-style-position: inside;
`;const Re=j.ul`
/* list-style:none; */
list-style-position: inside;
margin: 0;
@media screen and (max-width: 768px) {
font-size: 14px;
}
`,z=j.ul`
list-style-position: inside;
@media screen and (max-width: 768px) {
font-size: 12px;
}
`,D=j.p`
padding-left: 18px;
padding-bottom: 10px;
padding-top: 3px;
font-size: 14px;
color: #fff;
`,R=j.a`
text-decoration: none;
color: #555;
font-weight: 300;
margin: 0 2px;
position: relative;
&:before {
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #555;
content: "";
opacity: 0.3;
-webkit-transform: scaleX(1);
transition-property:
opacity,
-webkit-transform;
transition-duration: 0.3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`;function Kw(){return o.jsx(o.Fragment,{children:o.jsx(Bw,{lightBg:!0,id:"More",children:o.jsxs(Uw,{children:[o.jsxs(Hw,{imgStart:!1,children:[o.jsx(Rd,{children:o.jsxs(Vw,{children:[o.jsx(Ce,{children:"More"}),o.jsx(Gw,{lightText:!1,children:"Further reading"}),o.jsxs(Qw,{darkText:!0,children:["Other articles, blogs, and books that I have written. Most in a similar style and using the same notation as Understanding Deep Learning."," "]})]})}),o.jsx(Md,{children:o.jsx(Xw,{children:o.jsx(Yw,{src:Aw,alt:"Car"})})})]}),o.jsxs(Ww,{children:[o.jsxs(Rd,{children:[o.jsx(Ce,{children:"Book"}),o.jsx(Re,{children:o.jsxs("li",{children:[o.jsx(R,{href:"http://computervisionmodels.com",target:"_blank",rel:"noreferrer",children:"Computer vision: models, learning, and inference"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" 2012 book published with CUP "}),o.jsx("li",{children:" Focused on probabilistic models "}),o.jsx("li",{children:' Pre-"deep learning" '}),o.jsx("li",{children:" Lots of ML content "}),o.jsx("li",{children:" Individual chapters available below "})]})})]})}),o.jsx(Ce,{children:"Transformers & LLMs"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/a-high-level-overview-of-large-language-models/",target:"_blank",rel:"noreferrer",children:"Intro to LLMs"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" What is an LLM? "}),o.jsx("li",{children:" Pretraining "}),o.jsx("li",{children:" Instruction fine-tuning "}),o.jsx("li",{children:"Reinforcement learning from human feedback "}),o.jsx("li",{children:" Notable LLMs "}),o.jsx("li",{children:" LLMs without training from scratch "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-14-transformers-i-introduction/",target:"_blank",rel:"noreferrer",children:"Transformers I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Dot-Product self-attention "}),o.jsx("li",{children:" Scaled dot-product self-attention "}),o.jsx("li",{children:" Position encoding"}),o.jsx("li",{children:" Multiple heads "}),o.jsx("li",{children:" Transformer block "}),o.jsx("li",{children:" Encoders "}),o.jsx("li",{children:" Decoders "}),o.jsx("li",{children:" Encoder-Decoders "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-16-transformers-ii-extensions/",target:"_blank",rel:"noreferrer",children:"Transformers II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Sinusoidal position embeddings "}),o.jsx("li",{children:" Learned position embeddings "}),o.jsx("li",{children:" Relatives vs. absolute position embeddings"}),o.jsx("li",{children:" Extending transformers to longer sequences "}),o.jsx("li",{children:" Reducing attention matrix size "}),o.jsx("li",{children:" Making attention matrix sparse "}),o.jsx("li",{children:" Kernelizing attention computation "}),o.jsx("li",{children:" Attention as an RNN"}),o.jsx("li",{children:" Attention as a hypernetwork "}),o.jsx("li",{children:" Attention as a routing network "}),o.jsx("li",{children:" Attention and graphs "}),o.jsx("li",{children:" Attention and convolutions "}),o.jsx("li",{children:" Attention and gating "}),o.jsx("li",{children:" Attention and memory retrieval "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-17-transformers-iii-training/",target:"_blank",rel:"noreferrer",children:"Transformers III"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Tricks for training transformers "}),o.jsx("li",{children:" Why are these tricks required? "}),o.jsx("li",{children:" Removing layer normalization"}),o.jsx("li",{children:" Balancing residual dependencies "}),o.jsx("li",{children:" Reducing optimizer variance "}),o.jsxs("li",{children:[" ","How to train deeper transformers on small datasets"," "]})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/training-and-fine-tuning-large-language-models/",target:"_blank",rel:"noreferrer",children:"Training and fine-tuning LLMs"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Large language models "}),o.jsx("li",{children:" Pretraining "}),o.jsx("li",{children:" Supervised fine tuning"}),o.jsx("li",{children:" Reinforcement learning from human feedback "}),o.jsx("li",{children:" Direct preference optimization"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/speeding-up-inference-in-transformers/",target:"_blank",rel:"noreferrer",children:"Speeding up inference in LLMs"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Problems with transformers"}),o.jsx("li",{children:" Attention-free transformers "}),o.jsx("li",{children:" Complexity"}),o.jsx("li",{children:" RWKV "}),o.jsx("li",{children:" Linear transformers and performers"}),o.jsx("li",{children:" Retentive network"})]})})]})]}),o.jsx(Ce,{children:"Math for machine learning"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1j2v2n6STPnblOCZ1_GBcVAZrsYkjPYwR/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Linear algebra"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Vectors and matrices "}),o.jsx("li",{children:" Determinant and trace "}),o.jsx("li",{children:" Orthogonal matrices "}),o.jsx("li",{children:" Null space "}),o.jsx("li",{children:" Linear transformations "}),o.jsx("li",{children:" Singular value decomposition "}),o.jsx("li",{children:" Least squares problems "}),o.jsx("li",{children:" Principal direction problems "}),o.jsx("li",{children:" Inversion of block matrices"}),o.jsx("li",{children:" Schur complement identity"}),o.jsx("li",{children:" Sherman-Morrison-Woodbury"}),o.jsx("li",{children:" Matrix determinant lemma"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1cmxXneW122-hcfmMRjEE-n5C9T2YvuQX/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Introduction to probability"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Random variables "}),o.jsx("li",{children:" Joint probability "}),o.jsx("li",{children:" Marginal probability "}),o.jsx("li",{children:" Conditional probability "}),o.jsx("li",{children:" Bayes' rule "}),o.jsx("li",{children:" Independence "}),o.jsx("li",{children:" Expectation "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1GI3eZNB1CjTqYHLyuRhCV215rwqANVOx/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Probability distributions"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Bernouilli distribution "}),o.jsx("li",{children:" Beta distribution"}),o.jsx("li",{children:" Categorical distribution "}),o.jsx("li",{children:" Dirichlet distribution"}),o.jsx("li",{children:" Univariate normal distribution "}),o.jsx("li",{children:" Normal inverse-scaled gamma distribution "}),o.jsx("li",{children:" Multivariate normal distribution "}),o.jsx("li",{children:" Normal inverse Wishart distribution "}),o.jsx("li",{children:" Conjugacy "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1DZ4rCmC7AZ8PFc51PiMUIkBO-xqKT_CG/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Fitting probability distributions"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Maximum likelihood "}),o.jsx("li",{children:" Maximum a posteriori "}),o.jsx("li",{children:" Bayesian approach "}),o.jsx("li",{children:" Example: fitting normal "}),o.jsx("li",{children:" Example: fitting categorical "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1CTfmsN-HJWZBRj8lY0ZhgHEbPCmYXWnA/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"The normal distribution"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Types of covariance matrix "}),o.jsx("li",{children:" Decomposition of covariance "}),o.jsx("li",{children:" Linear transformations "}),o.jsx("li",{children:" Marginal distributions "}),o.jsx("li",{children:" Conditional distributions "}),o.jsx("li",{children:" Product of two normals "}),o.jsx("li",{children:" Change of variable formula "})]})})]})]}),o.jsx(Ce,{children:"Optimization"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1IoOSfJ0ku89aVyM9qygPl4MVnAhMEbAZ/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Gradient-based optimization"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Convexity "}),o.jsx("li",{children:" Steepest descent "}),o.jsx("li",{children:" Newton's method "}),o.jsx("li",{children:" Gauss-Newton method "}),o.jsx("li",{children:" Line search "}),o.jsx("li",{children:" Reparameterization "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-8-bayesian-optimization/",target:"_blank",rel:"noreferrer",children:"Bayesian optimization"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Gaussian processes "}),o.jsx("li",{children:" Acquisition functions "}),o.jsx("li",{children:" Incorporating noise"}),o.jsx("li",{children:" Kernel choice "}),o.jsx("li",{children:" Learning GP parameters "}),o.jsx("li",{children:" Tips, tricks, and limitations "}),o.jsx("li",{children:" Beta-Bernoulli bandit "}),o.jsx("li",{children:" Random forests for BO "}),o.jsx("li",{children:" Tree-Parzen estimators "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-9-sat-solvers-i-introduction-and-applications/",target:"_blank",rel:"noreferrer",children:"SAT Solvers I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Boolean logic and satisfiability "}),o.jsx("li",{children:" Conjunctive normal form "}),o.jsx("li",{children:" The Tseitin transformation "}),o.jsx("li",{children:" SAT and related problems "}),o.jsx("li",{children:" SAT constructions "}),o.jsx("li",{children:" Graph coloring and scheduling "}),o.jsx("li",{children:" Fitting binary neural networks"}),o.jsx("li",{children:" Fitting decision trees"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-10-sat-solvers-ii-algorithms/",target:"_blank",rel:"noreferrer",children:"SAT Solvers II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Conditioning "}),o.jsx("li",{children:" Resolution "}),o.jsx("li",{children:" Solving 2-SAT by unit propagation "}),o.jsx("li",{children:" Directional resolution "}),o.jsx("li",{children:" SAT as binary search "}),o.jsx("li",{children:" DPLL "}),o.jsx("li",{children:" Conflict driven clause learning"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-11-sat-solvers-iii-factor-graphs-and-smt-solvers/",target:"_blank",rel:"noreferrer",children:"SAT Solvers III"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Satisfiability vs. problem size "}),o.jsx("li",{children:" Factor graph representation "}),o.jsx("li",{children:" Max product / sum product for SAT "}),o.jsx("li",{children:" Survey propagation "}),o.jsx("li",{children:" SAT with non-binary variables "}),o.jsx("li",{children:" SMT solvers "})]})})]})]}),o.jsx(Ce,{children:"Temporal models"}),o.jsx(Re,{children:o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1rrzGNyZDjXQ3_9ZqCGDmRMM3GYtHSBvj/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Temporal models"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Kalman filter "}),o.jsx("li",{children:" Smoothing "}),o.jsx("li",{children:" Extended Kalman filter "}),o.jsx("li",{children:" Unscented Kalman filter "}),o.jsx("li",{children:" Particle filtering "})]})})]})}),o.jsx(Ce,{children:"Computer vision"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1r3V1GC5grhPF2pD91izuE0hTrTUEpQ9I/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Image Processing"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Whitening "}),o.jsx("li",{children:" Histogram equalization "}),o.jsx("li",{children:" Filtering "}),o.jsx("li",{children:" Edges and corners "}),o.jsx("li",{children:" Dimensionality reduction "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1dbMBE13MWcd84dEGjYeWsC6eXouoC0xn/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Pinhole camera"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Pinhole camera model "}),o.jsx("li",{children:" Radial distortion "}),o.jsx("li",{children:" Homogeneous coordinates "}),o.jsx("li",{children:" Learning extrinsic parameters "}),o.jsx("li",{children:" Learning intrinsic parameters "}),o.jsx("li",{children:" Inferring three-dimensional world points "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1UArrb1ovqvZHbv90MufkW372r__ZZACQ/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Geometric transformations"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsxs("li",{children:[" ","Euclidean, similarity, affine, projective transformations"," "]}),o.jsx("li",{children:" Fitting transformation models "}),o.jsx("li",{children:" Inference in transformation models "}),o.jsx("li",{children:" Three geometric problems for planes "}),o.jsx("li",{children:" Transformations between images "}),o.jsx("li",{children:" Robust learning of transformations "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1RqUoc7kvK8vqZF1NVuw7bIex9v4_QlSx/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Multiple cameras"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Two view geometry "}),o.jsx("li",{children:" The essential matrix "}),o.jsx("li",{children:" The fundamental matrix "}),o.jsx("li",{children:" Two-view reconstruction pipeline "}),o.jsx("li",{children:" Rectification "}),o.jsx("li",{children:" Multiview reconstruction "})]})})]})]}),o.jsx(Ce,{children:"Reinforcement learning"}),o.jsx(Re,{children:o.jsxs("li",{children:[o.jsx(R,{href:"https://arxiv.org/abs/2307.05979",target:"_blank",rel:"noreferrer",children:"Transformers in RL"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Challenges in RL"}),o.jsx("li",{children:" Advantages of transformers for RL"}),o.jsx("li",{children:" Representation learning"}),o.jsx("li",{children:" Transition function learning"}),o.jsx("li",{children:" Reward learning "}),o.jsx("li",{children:" Policy learning "}),o.jsx("li",{children:" Training strategy "}),o.jsx("li",{children:" Interpretability "}),o.jsx("li",{children:" Applications "})]})})]})})]}),o.jsxs(Md,{children:[o.jsx(Ce,{children:"AI Theory"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/gradient-flow/",target:"_blank",rel:"noreferrer",children:"Gradient flow"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Gradient flow "}),o.jsx("li",{children:" Evolution of residual "}),o.jsx("li",{children:" Evolution of parameters "}),o.jsx("li",{children:" Evolution of model predictions "}),o.jsx("li",{children:" Evolution of prediction covariance "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/the-neural-tangent-kernel/",target:"_blank",rel:"noreferrer",children:"Neural tangent kernel"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Infinite width neural networks "}),o.jsx("li",{children:" Training dynamics "}),o.jsx("li",{children:" Empirical NTK for shallow network"}),o.jsx("li",{children:" Analytical NTK for shallow network "}),o.jsx("li",{children:" Empirical NTK for deep network "}),o.jsx("li",{children:" Analtical NTK for deep network"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/neural-tangent-kernel-applications/",target:"_blank",rel:"noreferrer",children:"NTK applications"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Trainability "}),o.jsx("li",{children:" Convergence bounds "}),o.jsx("li",{children:" Evolution of parameters"}),o.jsx("li",{children:" Evolution of predictions "}),o.jsx("li",{children:" NTK Gaussian processes"}),o.jsx("li",{children:" NTK and generalizability"})]})})]})]}),o.jsx(Ce,{children:" Unsupervised learning"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1BrPHxAuyz28hhz_FtbO0A1cWYdMs2_h8/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Modeling complex data densities"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Hidden variables "}),o.jsx("li",{children:" Expectation maximization "}),o.jsx("li",{children:" Mixture of Gaussians "}),o.jsx("li",{children:" The t-distribution "}),o.jsx("li",{children:" Factor analysis "}),o.jsx("li",{children:" The EM algorithm in detail "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-5-variational-auto-encoders/",target:"_blank",rel:"noreferrer",children:"Variational autoencoders"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Non-linear latent variable models "}),o.jsx("li",{children:" Evidence lower bound (ELBO) "}),o.jsx("li",{children:" ELBO properties "}),o.jsx("li",{children:" Variational approximation "}),o.jsx("li",{children:" The variational autoencoder "}),o.jsx("li",{children:" Reparameterization trick "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://arxiv.org/abs/1908.09257",target:"_blank",rel:"noreferrer",children:"Normalizing flows: introduction and review"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Normalizing flows "}),o.jsx("li",{children:" Elementwise and linear flows "}),o.jsx("li",{children:" Planar and radial flows "}),o.jsx("li",{children:" Coupling and auto-regressive flows "}),o.jsx("li",{children:" Coupling functions "}),o.jsx("li",{children:" Residual flows "}),o.jsx("li",{children:" Infinitesimal (continuous) flows "}),o.jsx("li",{children:" Datasets and performance "})]})})]})]}),o.jsx(Ce,{children:"Graphical Models"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1ghgeRmeZMyzNHcuzVwS4vRP6BXi3npVO/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Graphical models"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Conditional independence "}),o.jsx("li",{children:" Directed graphical models "}),o.jsx("li",{children:" Undirected graphical models "}),o.jsx("li",{children:" Inference in graphical models "}),o.jsx("li",{children:" Sampling in graphical models "}),o.jsx("li",{children:" Learning in graphical models "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1WAMc3wtZoPv5wRkdF-D0SShVYF6Net84/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Models for chains and trees"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Hidden Markov models "}),o.jsx("li",{children:" Viterbi algorithm "}),o.jsx("li",{children:" Forward-backward algorithm "}),o.jsx("li",{children:" Belief propagation "}),o.jsx("li",{children:" Sum product algorithm "}),o.jsx("li",{children:" Extension to trees "}),o.jsx("li",{children:" Graphs with loops "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1qqS9OfA1z7t12M45UaBr4CSCj1jwzcwz/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Models for grids"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Markov random fields "}),o.jsx("li",{children:" MAP inference in binary pairwise MRFs "}),o.jsx("li",{children:" Graph cuts "}),o.jsx("li",{children:" Multi-label pairwise MRFs "}),o.jsx("li",{children:" Alpha-expansion algorithm "}),o.jsx("li",{children:" Conditional random fields "})]})})]})]}),o.jsx(Ce,{children:"Machine learning"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1ArWWi-qbzK2ih6KpOeIF8wX5g3S4J5DY/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Learning and inference"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Discriminative models "}),o.jsx("li",{children:" Generative models "}),o.jsx("li",{children:" Example: regression "}),o.jsx("li",{children:" Example: classification "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1QZX5jm4xN8rhpvdjRsFP5Ybw1EXSNGaL/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Regression models"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Linear regression "}),o.jsx("li",{children:" Bayesian linear regression "}),o.jsx("li",{children:" Non-linear regression "}),o.jsx("li",{children:" Bayesian non-linear regression "}),o.jsx("li",{children:" The kernel trick "}),o.jsx("li",{children:" Gaussian process regression "}),o.jsx("li",{children:" Sparse linear regression "}),o.jsx("li",{children:" Relevance vector regression "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://drive.google.com/file/d/1-_f4Yfm8iBWcaZ2Gyjw6O0eZiODipmSV/view?usp=sharing",target:"_blank",rel:"noreferrer",children:"Classification models"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Logistic regression "}),o.jsx("li",{children:" Bayesian logistic regression "}),o.jsx("li",{children:" Non-linear logistic regression "}),o.jsx("li",{children:" Gaussian process classification "}),o.jsx("li",{children:" Relevance vector classification "}),o.jsx("li",{children:" Incremental fitting: boosting and trees "}),o.jsx("li",{children:" Multi-class logistic regression "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-2-few-shot-learning-and-meta-learning-i/",target:"_blank",rel:"noreferrer",children:"Few-shot learning and meta-learning I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Meta-learning framework "}),o.jsx("li",{children:" Approaches to meta-learning "}),o.jsx("li",{children:" Matching networks "}),o.jsx("li",{children:" Prototypical networks "}),o.jsx("li",{children:" Relation networks "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-3-few-shot-learning-and-meta-learning-ii/",target:"_blank",rel:"noreferrer",children:"Few-shot learning and meta-learning II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" MAML & Reptile "}),o.jsx("li",{children:" LSTM based meta-learning "}),o.jsx("li",{children:" Reinforcement learning based approaches"}),o.jsx("li",{children:" Memory augmented neural networks "}),o.jsx("li",{children:" SNAIL "}),o.jsx("li",{children:" Generative models "}),o.jsx("li",{children:" Data augmentation approaches "})]})})]})]}),o.jsx(Ce,{children:"Natural language processing"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-6-neural-natural-language-generation-decoding-algorithms/",target:"_blank",rel:"noreferrer",children:"Neural natural language generation I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Encoder-decoder architecture "}),o.jsx("li",{children:" Maximum-likelihood training "}),o.jsx("li",{children:" Greedy search "}),o.jsx("li",{children:" Beam search "}),o.jsx("li",{children:" Diverse beam search "}),o.jsx("li",{children:" Top-k sampling "}),o.jsx("li",{children:" Nucleus sampling "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-7-neural-natural-language-generation-sequence-level-training/",target:"_blank",rel:"noreferrer",children:"Neural natural language generation II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Fine-tuning with reinforcement learning "}),o.jsx("li",{children:" Training from scratch with RL "}),o.jsx("li",{children:" RL vs. structured prediction "}),o.jsx("li",{children:" Minimum risk training "}),o.jsx("li",{children:" Scheduled sampling "}),o.jsx("li",{children:" Beam search optimization "}),o.jsx("li",{children:" SeaRNN "}),o.jsx("li",{children:" Reward-augmented maximum likelihood "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-15-parsing-i-context-free-grammars-and-cyk-algorithm/",target:"_blank",rel:"noreferrer",children:"Parsing I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Parse trees "}),o.jsx("li",{children:" Context-free grammars "}),o.jsx("li",{children:" Chomsky normal form "}),o.jsx("li",{children:" CYK recognition algorithm "}),o.jsx("li",{children:" Worked example "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-18-parsing-ii-wcfgs-inside-algorithm-and-weighted-parsing/",target:"_blank",rel:"noreferrer",children:"Parsing II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Weighted context-free grammars "}),o.jsx("li",{children:" Semirings "}),o.jsx("li",{children:" Inside algorithm "}),o.jsx("li",{children:" Inside weights "}),o.jsx("li",{children:" Weighted parsing "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-19-parsing-iii-pcfgs-and-inside-outside-algorithm/",target:"_blank",rel:"noreferrer",children:"Parsing III"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Probabilistic context-free grammars "}),o.jsx("li",{children:" Parameter estimation (supervised) "}),o.jsx("li",{children:" Parameter estimation (unsupervised) "}),o.jsx("li",{children:" Viterbi training "}),o.jsx("li",{children:" Expectation maximization "}),o.jsx("li",{children:" Outside from inside "}),o.jsx("li",{children:" Interpretation of outside weights "})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/understanding-xlnet/",target:"_blank",rel:"noreferrer",children:"XLNet"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Language modeling "}),o.jsx("li",{children:" XLNet training objective "}),o.jsx("li",{children:" Permutations "}),o.jsx("li",{children:" Attention mask "}),o.jsx("li",{children:" Two stream self-attention "})]})})]})]}),o.jsx(Ce,{children:"Responsible AI"}),o.jsxs(Re,{children:[o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial1-bias-and-fairness-ai/",target:"_blank",rel:"noreferrer",children:"Bias and fairness"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Sources of bias"}),o.jsx("li",{children:" Demographic Parity "}),o.jsx("li",{children:" Equality of odds"}),o.jsx("li",{children:" Equality of opportunity "}),o.jsx("li",{children:" Individual fairness"}),o.jsx("li",{children:" Bias mitigation"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/explainability-i-local-post-hoc-explanations/",target:"_blank",rel:"noreferrer",children:"Explainability I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Taxonomy of XAI approaches"}),o.jsx("li",{children:" Local post-hoc explanations "}),o.jsx("li",{children:" Individual conditional explanation"}),o.jsx("li",{children:" Counterfactual explanations"}),o.jsx("li",{children:" LIME & Anchors"}),o.jsx("li",{children:" Shapley additive explanations & SHAP"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/research-blogs/explainability-ii-global-explanations-proxy-models-and-interpretable-models/",target:"_blank",rel:"noreferrer",children:"Explainability II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Global feature importance"}),o.jsx("li",{children:" Partial dependence & ICE plots"}),o.jsx("li",{children:" Accumulated local effects"}),o.jsx("li",{children:" Aggregate SHAP values"}),o.jsx("li",{children:" Prototypes & criticisms"}),o.jsx("li",{children:" Surrogate / proxy models"}),o.jsx("li",{children:" Inherently interpretable models"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-12-differential-privacy-i-introduction/",target:"_blank",rel:"noreferrer",children:"Differential privacy I"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Early approaches to privacy "}),o.jsx("li",{children:" Fundamental law of information recovery "}),o.jsx("li",{children:" Differential privacy"}),o.jsx("li",{children:" Properties of differential privacy "}),o.jsx("li",{children:" The Laplace mechanism"}),o.jsx("li",{children:" Examples"}),o.jsx("li",{children:" Other mechanisms and definitions"})]})})]}),o.jsxs("li",{children:[o.jsx(R,{href:"https://www.borealisai.com/en/blog/tutorial-13-differential-privacy-ii-machine-learning-and-data-generation/",target:"_blank",rel:"noreferrer",children:"Differential privacy II"}),o.jsx(D,{children:o.jsxs(z,{children:[o.jsx("li",{children:" Differential privacy and matchine learning"}),o.jsx("li",{children:" DPSGD"}),o.jsx("li",{children:" PATE "}),o.jsx("li",{children:" Differentially private data generation"}),o.jsx("li",{children:" DPGAN"}),o.jsx("li",{children:" PateGAN "})]})})]})]})]})]})]})})})}const Zw=j.nav`
background: ${({scrollNav:e})=>e?"#000":"transparent"};
height: 100px;
margin-top: -100px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1rem;
position: sticky;
top: 0;
z-index: 10;
@media screen and (max-width: 960px) {
transition: 0.8s all ease;
}
`,qw=j.div`
display: flex;
justify-content: space-between;
height: 100px;
z-index: 1;
width: 100%;
padding: 0 24px;
max-width: 1100px;
`,Jw=j(mi)`
color: #fff;
justify-self: flex-start;
cursor: pointer;
font-size: 1.5rem;
display: flex;
align-items: center;
margin-left: 24px;
font-weight: bold;
text-decoration: none;
@media screen and (max-width: 768px) {
font-size: 1rem;
}
`,ej=j.div`
display: none;
@media screen and (max-width: 768px) {
display: block;
position: absolute;
top: 0;
right: 0;
transform: translate(-100%, 60%);
font-size: 1.8rem;
cursor: pointer;
}
`,tj=j.ul`
display: flex;
align-items: center;
list-style: none;
text-align: center;
margin-right: -22px;
@media screen and (max-width: 768px) {
display: none;
}
`,qi=j.li`
height: 80px;
`;j.nav`
display: flex;
align-items: center;
@media screen and (max-width: 768px) {
display: none;
}
`;const Ji=j(Su)`
color: #fff;
display: flex;
align-items: center;
text-decoration: none;
padding: 0 1rem;
height: 100%;
cursor: pointer;
&.active {
border-bottom: 3px solid #57c6d1;
}
`;j(mi)`
border-radius: 50px;
background: #01bf71;
white-space: nowrap;
padding: 10px 22px;
color: #010606;
font-size: 16px;
outline: none;
border: none;
cursor: pointer;
transition: all 0.2s ease-in-out;
text-decoration: none;
&:hover {
transition: all 0.2s ease-in-out;
background: #fff;
color: #010606;
}
`;function nj({toggle:e}){const[t,n]=P.useState(!1);P.useEffect(()=>{const i=()=>{window.scrollY>=80?n(!0):n(!1)};return window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i)}},[]);const r=()=>{Eu.scrollToTop()};return o.jsx(o.Fragment,{children:o.jsx(ca.Provider,{value:{color:"#fff"},children:o.jsx(Zw,{scrollNav:t,children:o.jsxs(qw,{children:[o.jsx(Jw,{to:"/udlbook/",onClick:r,children:o.jsx("h1",{children:" Understanding Deep Learning "})}),o.jsx(ej,{onClick:e,children:o.jsx(Uv,{})}),o.jsxs(tj,{children:[o.jsx(qi,{children:o.jsx(Ji,{to:"Notebooks",smooth:!0,duration:500,spy:!0,exact:"true",offset:-80,activeClass:"active",children:"Notebooks"})}),o.jsx(qi,{children:o.jsx(Ji,{to:"Instructors",smooth:!0,duration:500,spy:!0,exact:"true",offset:-80,activeClass:"active",children:"Instructors"})}),o.jsx(qi,{children:o.jsx(Ji,{to:"Media",smooth:!0,duration:500,spy:!0,exact:"true",offset:-80,activeClass:"active",children:"Media"})}),o.jsx(qi,{children:o.jsx(Ji,{to:"More",smooth:!0,duration:500,spy:!0,exact:"true",offset:-80,activeClass:"active",children:"More"})})]})]})})})})}const rj="/udlbook/assets/coding-DMb7YNWh.svg",ij=j.div`
color: #fff;
/* background: #f9f9f9; */
background: ${({lightBg:e})=>e?"#f9f9f9":"#010606"};
@media screen and (max-width: 768px) {
padding: 100px 0;
}
`,oj=j.div`
display: grid;
z-index: 1;
/* height: 1250px; */
width: 100%;
max-width: 1100px;
margin-right: auto;
margin-left: auto;
padding: 0 24px;
justify-content: center;
`,$d=j.div`
display: grid;
grid-auto-columns: minmax(auto, 1fr);
align-items: center;
grid-template-areas: ${({imgStart:e})=>e?"'col2 col1'":"'col1 col2'"};
@media screen and (max-width: 768px){
grid-template-areas: ${({imgStart:e})=>e?"'col1' 'col2'":"'col1 col1' 'col2 col2'"};
}
`,Fd=j.p`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col1;
@media screen and (max-width: 1050px) {
font-size: 12px;
}
@media screen and (max-width: 768px) {
font-size: 10px;
}
`,Ad=j.p`
margin-bottom: 15px;
padding: 0 15px;
grid-area: col2;
@media screen and (max-width: 1050px) {
font-size: 12px;
}
@media screen and (max-width: 768px) {
font-size: 10px;
}
`,lj=j.div`
max-width: 540px;
padding-top: 0;
padding-bottom: 0;
`,sj=j.p`
color: #57c6d1;
font-size: 16px;
line-height: 16px;
font-weight: 700;
letter-spacing: 1.4px;
text-transform: uppercase;
margin-bottom: 16px;
`,aj=j.h1`
margin-bottom: 24px;
font-size: 48px;
line-height: 1.1;
font-weight: 600;
color: ${({lightText:e})=>e?"#f7f8fa":"#010606"};
@media screen and (max-width: 480px) {
font-size: 32px;
}
`,uj=j.p`
max-width: 440px;
margin-bottom: 35px;
font-size: 18px;
line-height: 24px;
color: ${({darkText:e})=>e?"#010606":"#fff"};
`;j.div`
display: flex;
justify-content: flex-start;
`;const cj=j.div`
max-width: 555px;
height: 100%;
`,dj=j.img`
width: 100%;
margin-top: 0;
margin-right: 0;
margin-left: 10px;
padding-right: 0;
`,N=j.a`
text-decoration: none;
color: #57c6d1;;
font-weight: 300;
margin: 0 2px;
position: relative;
&:before{
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #57c6d1;;
content: '';
opacity: .3;
-webkit-transform: scaleX(1);
transition-property: opacity, -webkit-transform;
transition-duration: .3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`;function fj(){return o.jsx(o.Fragment,{children:o.jsx(ij,{lightBg:!1,id:"Notebooks",children:o.jsxs(oj,{children:[o.jsxs($d,{imgStart:!0,children:[o.jsx(Fd,{children:o.jsxs(lj,{children:[o.jsx(sj,{children:"Coding exercises"}),o.jsx(aj,{lightText:!0,children:"Python notebooks covering the whole text"}),o.jsx(uj,{darkText:!1,children:"Sixty eight python notebook exercises with missing code to fill in based on the text"})]})}),o.jsx(Ad,{children:o.jsx(cj,{children:o.jsx(dj,{src:rj,alt:"Car"})})})]}),o.jsxs($d,{children:[o.jsx(Fd,{children:o.jsxs("ul",{children:[o.jsxs("li",{children:[" Notebook 1.1 - Background mathematics: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb",children:"ipynb/colab"})]}),o.jsxs("li",{children:[" Notebook 2.1 - Supervised learning: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap02/2_1_Supervised_Learning.ipynb",children:"ipynb/colab"})]}),o.jsxs("li",{children:[" Notebook 3.1 - Shallow networks I: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap03/3_1_Shallow_Networks_I.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 3.2 - Shallow networks II: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap03/3_2_Shallow_Networks_II.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 3.3 - Shallow network regions: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 3.4 - Activation functions: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap03/3_4_Activation_Functions.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 4.1 - Composing networks: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap04/4_1_Composing_Networks.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 4.2 - Clipping functions: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap04/4_2_Clipping_functions.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 4.3 - Deep networks: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap04/4_3_Deep_Networks.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 5.1 - Least squares loss: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap05/5_1_Least_Squares_Loss.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 5.2 - Binary cross-entropy loss: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap05/5_2_Binary_Cross_Entropy_Loss.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 5.3 - Multiclass cross-entropy loss: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap05/5_3_Multiclass_Cross_entropy_Loss.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 6.1 - Line search: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap06/6_1_Line_Search.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 6.2 - Gradient descent: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap06/6_2_Gradient_Descent.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 6.3 - Stochastic gradient descent: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap06/6_3_Stochastic_Gradient_Descent.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 6.4 - Momentum: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap06/6_4_Momentum.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 6.5 - Adam: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap06/6_5_Adam.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 7.1 - Backpropagation in toy model: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap07/7_1_Backpropagation_in_Toy_Model.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 7.2 - Backpropagation: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap07/7_2_Backpropagation.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 7.3 - Initialization: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap07/7_3_Initialization.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 8.1 - MNIST-1D performance: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap08/8_1_MNIST_1D_Performance.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 8.2 - Bias-variance trade-off: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap08/8_2_Bias_Variance_Trade_Off.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 8.3 - Double descent: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap08/8_3_Double_Descent.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 8.4 - High-dimensional spaces: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap08/8_4_High_Dimensional_Spaces.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 9.1 - L2 regularization: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap09/9_1_L2_Regularization.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 9.2 - Implicit regularization: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap09/9_2_Implicit_Regularization.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 9.3 - Ensembling: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap09/9_3_Ensembling.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 9.4 - Bayesian approach: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap09/9_4_Bayesian_Approach.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 9.5 - Augmentation ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap09/9_5_Augmentation.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 10.1 - 1D convolution: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap10/10_1_1D_Convolution.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 10.2 - Convolution for MNIST-1D: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap10/10_2_Convolution_for_MNIST_1D.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 10.3 - 2D convolution: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap10/10_3_2D_Convolution.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 10.4 - Downsampling & upsampling: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap10/10_4_Downsampling_and_Upsampling.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 10.5 - Convolution for MNIST: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap10/10_5_Convolution_For_MNIST.ipynb",children:"ipynb/colab "})]})]})}),o.jsx(Ad,{children:o.jsxs("ul",{children:[o.jsxs("li",{children:[" Notebook 11.1 - Shattered gradients: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap11/11_1_Shattered_Gradients.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 11.2 - Residual networks: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap11/11_2_Residual_Networks.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 11.3 - Batch normalization: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap11/11_3_Batch_Normalization.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 12.1 - Self-attention: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap12/12_1_Self_Attention.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 12.2 - Multi-head self-attention: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap12/12_2_Multihead_Self_Attention.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 12.3 - Tokenization: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap12/12_3_Tokenization.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 12.4 - Decoding strategies: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap12/12_4_Decoding_Strategies.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 13.1 - Encoding graphs: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap13/13_1_Graph_Representation.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 13.2 - Graph classification : ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap13/13_2_Graph_Classification.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 13.3 - Neighborhood sampling: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap13/13_3_Neighborhood_Sampling.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 13.4 - Graph attention: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap13/13_4_Graph_Attention_Networks.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 15.1 - GAN toy example: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap15/15_1_GAN_Toy_Example.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 15.2 - Wasserstein distance: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap15/15_2_Wasserstein_Distance.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 16.1 - 1D normalizing flows: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap16/16_1_1D_Normalizing_Flows.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 16.2 - Autoregressive flows: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap16/16_2_Autoregressive_Flows.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 16.3 - Contraction mappings: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap16/16_3_Contraction_Mappings.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 17.1 - Latent variable models: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap17/17_1_Latent_Variable_Models.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 17.2 - Reparameterization trick: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap17/17_2_Reparameterization_Trick.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 17.3 - Importance sampling: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap17/17_3_Importance_Sampling.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 18.1 - Diffusion encoder: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap18/18_1_Diffusion_Encoder.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 18.2 - 1D diffusion model: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap18/18_2_1D_Diffusion_Model.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 18.3 - Reparameterized model: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap18/18_3_Reparameterized_Model.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 18.4 - Families of diffusion models: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap18/18_4_Families_of_Diffusion_Models.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 19.1 - Markov decision processes: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap19/19_1_Markov_Decision_Processes.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 19.2 - Dynamic programming: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap19/19_2_Dynamic_Programming.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 19.3 - Monte-Carlo methods: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap19/19_3_Monte_Carlo_Methods.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 19.4 - Temporal difference methods: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap19/19_4_Temporal_Difference_Methods.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 19.5 - Control variates: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap19/19_5_Control_Variates.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 20.1 - Random data: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap20/20_1_Random_Data.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 20.2 - Full-batch gradient descent: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap20/20_2_Full_Batch_Gradient_Descent.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 20.3 - Lottery tickets: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap20/20_3_Lottery_Tickets.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 20.4 - Adversarial attacks: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap20/20_4_Adversarial_Attacks.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 21.1 - Bias mitigation: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap21/21_1_Bias_Mitigation.ipynb",children:"ipynb/colab "})]}),o.jsxs("li",{children:[" Notebook 21.2 - Explainability: ",o.jsx(N,{href:"https://github.com/udlbook/udlbook/blob/main/Notebooks/Chap21/21_2_Explainability.ipynb",children:"ipynb/colab "})]})]})})]})]})})})}const pj=j.aside`
position: fixed;
z-index: 999;
width: 100%;
height: 100%;
background: #0d0d0d;
display: grid;
align-items: center;
top: 0;
left: 0;
transition: 0.3s ease-in-out;
opacity: ${({isOpen:e})=>e?"100%":"0"};
top: ${({isOpen:e})=>e?"0":"-100%"};
`,hj=j(Hv)`
color: #fff;
&:hover {
color: #01bf71;
transition: 0.2s ease-in-out;
}
`,mj=j.div`
position: absolute;
top: 1.2rem;
right: 1.5rem;
background: transparent;
font-size: 2rem;
cursor: pointer;
outline: none;
`,gj=j.div`
color: #ffffff;
`,vj=j.ul`
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(6, 80px);
text-align: center;
@media screen and (max-width: 480px) {
grid-template-rows: repeat(6, 60px);
}
`,eo=j(Su)`
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
text-decoration: none;
list-style: none;
transition: 0.2s ease-in-out;
text-decoration: none;
color: #fff;
cursor: pointer;
&:hover {
color: #01bf71;
transition: 0.2s ease-in-out;
}
`;j.div`
display: flex;
justify-content: center;
`;j(mi)`
border-radius: 50px;
background: #01bf71;
white-space: nowrap;
padding: 16px 46px;
color: #010606;
font-size: 16px;
outline: none;
border: none;
cursor: pointer;
transition: all 0.2s ease-in-out;
text-decoration: none;
&:hover {
transition: all 0.2s ease-in-out;
background: #fff;
color: #010606;
}
`;function xj({isOpen:e,toggle:t}){return o.jsx(o.Fragment,{children:o.jsxs(pj,{isOpen:e,onClick:t,children:[o.jsx(mj,{onClick:t,children:o.jsx(hj,{})}),o.jsx(gj,{children:o.jsxs(vj,{children:[o.jsx(eo,{to:"Notebooks",onClick:t,children:"Notebooks"}),o.jsx(eo,{to:"Instructors",onClick:t,children:"Instructors"}),o.jsx(eo,{to:"Media",onClick:t,children:"Media"}),o.jsx(eo,{to:"More",onClick:t,children:"More"})]})})]})})}function yj(){const[e,t]=P.useState(!1),n=()=>{t(!e)};return o.jsxs(o.Fragment,{children:[o.jsx(xj,{isOpen:e,toggle:n}),o.jsx(nj,{toggle:n}),o.jsx(xw,{}),o.jsx(fj,{}),o.jsx(Nw,{}),o.jsx(Fw,{}),o.jsx(Kw,{}),o.jsx(rw,{})]})}function wj(){return o.jsx(Tv,{children:o.jsx(bv,{children:o.jsx(ph,{exact:!0,path:"/udlbook/",element:o.jsx(yj,{})})})})}z1.createRoot(document.getElementById("root")).render(o.jsx(Le.StrictMode,{children:o.jsx(wj,{})}));