@ukpc-lib/react 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,112 @@
1
- var Su=require("../index.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),P=require("react"),C=require("../styled-e695695c.cjs"),ho=require("react-dom"),Ls=require("react-router-dom"),po=require("axios");function mo(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const j=mo(P),go="_avartarDropdownMenu_zliwx_13",yo="_navbar_zliwx_25",vo="_userContainer_zliwx_53",xo="_userFullName_zliwx_59",bo="_userAvatar_zliwx_66",To="_relative_zliwx_74",G={"avatar-dropdown-item":"_avatar-dropdown-item_zliwx_1",avartarDropdownMenu:go,navbar:yo,"navbar-container":"_navbar-container_zliwx_36","right-side-container":"_right-side-container_zliwx_44",userContainer:vo,userFullName:xo,userAvatar:bo,relative:To,"cursor-pointer":"_cursor-pointer_zliwx_78"};function Po(){return v.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),v.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),v.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}function wo(){return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[v.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),v.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),v.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),v.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const So="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3XSURBVHgBtVl7jFxVGf/dO3feMzuzO/tuu92y2xIoCEgCgUQogSIKhBIgaAxpFdREITxMVCrYNqB/+A8QCYQYbIuJUTChGqBQDCkaMUCgW0qtpe12t933drezs/N+XX/fuefOzK6l0KInPb2POfec3/m+3/c6a+ALNNu247xczL6Ofbm+j+suLck+pK972XcYhrEbX6AZOItGoGt4uZ99jQtu+tAnmP7kIPLz8yiwS/NHmxDr6kJTdzfaVq5qnGIb+/azAX9GgDXQTQJUQB3Y+SqOvL1bgXVB6nELv2OvcqllX74Uq2+8SV2buBE40n+QwHfgfwlYq34r+7rU+Bj2vvgH/Ou1VxXIxeAaW7Xht6ph1NGzCfAr7/meC3wb+xYCH8IXBaylurWQnu/d++IfMUCwRS1Nuz7mFN813lfVUrYh3xi1lWXIlXd/F1eww5H2rQQ9gLMFTCAP8PJEamIcO+77AebHx+u/6Y8FrItNJDqVL2Awm8WJQhFejwedfj9WhIJosjz8wKCkUdupu6koOX7n08+60haKPHnGgAlEuLp5bGAPdm78yUKO6tU4cQ3w/uQc3pqYwkypQOAGTNNU3SJoi+N6wmFclWjmBnxqvEja1rMJcF8kghseeRT9V62Rl5s595bPDZggxE29fPD11/DWLx9f/FsNqFwrvP5l6DjenZmBKN40TM5qqrEeAUzJGnz28Rpgv6atFRdGQmrXjjG6QrDV/Q0/+zlWf/1GebWB82//TMAE0svLnpnDh+N/umfDaY1KfnlrdBw7R8ZguyQxPJSsoW493JDHY7JbaiGhSNCycEt3J3oDgZp2qi5HOMgbjuCOp59B+8pV4rsvWWyIpwJ8ND0x0fvKQ/dDPIJh1yWgWVsbW6xU8au9+8jXAqUJWJRo2OdDiGqPBv1ojcUQIRVOptOYnEsjky+iUrXREw3jm91dihQ26VPRs0NvoKmrk6DJ6c6uAQK+pBGftQis8LZ3z/ZtIGjFQRJS78zQ05q1u/0nk5ghWOFoazCAloCFGIF2xKPobmtHW1sCifZWeP1e5DM5jJPjHxwaxsGpJE5WykhYlprZI1IWr0FOGASd4tpv/OIx3PHrZy4mJuHzZhejuYgKDxza9Tqkm4ah5Ck8NUzpjhG5z/L7QQIWsGGfFzGvGJeeUMZY5G0oxGgXRYBSjsSi6GpvwZoL+7GqM4GhbM5hkOEIw6SkDcN5ISIZ2fOh6mz36ziwEDCb7CK+94UXHFAKsHMVQzK1lIWfakq+T4p0+RwhWP5Tm1CcVAbFb7w+xwA9XnVvkS4RbuCS5Z18tvT8LmgO0+s5axrY5Ri8gH3gVICvPvLmG0hPTjjSNVyp6kk5Uhii7Mm01W9i1X6S1yLR7apj78ozKEPjDqoVlIsFLmIjJNKm6wpEI2iOBMhzT10wohmzDtSloGAZ2bNngZRNTYcNwt0ju3Y5vK19jIZJG7ssZiuL93kMTSmC5X3Acnq1lEM2lUQ2OYsTY2PI8BoOeOEXgVfLiPqtmmBqVGt4NrWG3932vCvlNY1GtyYzOYmpfR9pKsgWRa91ryBvXZ8pb1PFspo0YJpqxIlCCf6qiRx3eWwkidBkCj2JGfT3LsU+Gtp83sbyZcsRpTtDbhYtytWJUVfrkwqRbE0rJ4xilBIu0MtQO7fwzQ6XEldPfVQHa7vc1cZlurs26+9eOngIQ/MpeMmVeCiAXNWLXBkEVuDVwniqiH2Tafzz4Cj2T6QwkytifHYOyfQ8ZuYLeHN4FEUKxZWuY6v63k039NqDf/+bPK5TEiYdJOnunT16xLFu6TqKyVURTEvZwwlVBsaFUsqdAZlKBWYuj85QBJmq5A8mYpEw5uYraPUauHBZBxf18LuqChSlSgnnLO1AjnTxaA+huCl5BqUt63q0x6gq92lj+shhnEdaiCezND+QPHrUIbzgMZ3Q61ib7QQPdevwWh6DtPIygXpMD4p0Cx0RA+cnOlUaWShXkZsvYwkN7LLz+5AtVbF0SbcKzyGfhfTMNFYtaVXaMVzfRrCOlzE0TL0Z3owO7HEdw8UCuFfuMlOTNWnWrFWnhY5DdpnsXFfEYxjN5NSGKpw0ncsy8kVRplkcn06izQ+E6IujzQlcviqH9/49zIhmoY9AffQyYZ8fZsmjMghnaqNuIRLWbceQhculTMYFHK8Bzk1POzvUiY3zrVnLqZRJmI6UpfU3t+AfKt00tTHaODw2gQIHlctlTCaLGDqZwfzvX6Ira0IgEMTw1BRGR4awsiOOsBVg2uFXvK2vZzgobVN5oaqjYOXedOuthWZTATJr8V1RQyeCqMm1LvCepihDcRDJYlEBrkqgEP5yBQ8DhD8eRlu8CSuW96ClOYYSc2SDGjs6PonxZAqdTdRWuGlBpm+gIXuzDQfTwvSlIXBo92S7oExDewudLi7yxVEm5ndfcAF5yOSFq3jok6Ufm8sjze+C8WYsWXUuWnpXoBgM4/3jE9gzPO4EFY4zqqiF4gU+uOaLtZfQHsttIuEhuQl3dEB8sZs1aUY4FDCqTvJj63xN5wwtrCSaKc2xXAEpZmIrOoSfQILG1kOpfuXSS9Ddswz+YBA9zIGPkUIf7NuvpNfmDao5lJUYjo93c2xXy66bbersdPEOCWDJO+FjHpo1Jl1y1KkgXkIrwmiwP7Fjr6STlpcuK48CxTybztDQPEimUojxuv+99zB9bNihVjGNALUS9AfgJTWWB6M1Cdq60qsVBg0kWQxYkKiir43qVY5bAxLVeAxolaDm0G19dbO2CsdWCCBPQ5tIZZArVVQSP8nodGB4BIPDx5FlsLDI11lyt1wu4bJ4u/LpCpBZpwOABlpAGZ68be1b6QJOWpLRc1fJ2Ipz4nAduespFrkzxx8bdSMQAyMnyzpnzpdKBJpFdzSIJYkE+np70HtOL6KRIGZnZnF8cgpLQzG0+ILaMzR4h0XN1bNE1kRfn5KuVNSul/jzkssuX/9hLTXXEm2wW1tPXPOZXPBktqAqCFXq2I5WsswpjlWqSsm5cgXTLE5l+OiJWRW66d/wTr6E/oAP7bBrLs02Tln+qLW6LrpInnbLfy7gHd5weH3b6gswvf/jU+7VjXYizP0nTuCVw4MYnJsjjx2LrlYNRQ01iEAHZ1MYTqbhHRxVJdOKzg60NUUUzY4UWH14vehg4r+UX3QxexNe1845XAWyd1x4ESIdisNvNwLeLfw4785vxKc3PaIJUFUewlXcXKmM96nSd1h0jpKfZeYQMkqqZhnnkZhN0JJrlLgrcVs2k41YOICVXe0Is3SS9LNKflveELyMdCelCGDfT6Es529Ly0VE1by6Mudd//XXu3TYVgPMhyRV81Tr6gs2hds7kZUwDcegxjNZvM0INnBihiCrzBuY7DA5N0XkBGXy2SlHbFUuqQcxWOYYzQTbxoJTPLz4a8u0MG34lR8uku9hJvUVApT8Q3zJKLndzA2vLuYQ4PswtdJ/3doaHVx9u01OW5KX/vBexeNksYSXh4bxG6aRH88lafisJKhan1e6l1mZl++YC9CtSTBQZRQX9jMpipGf3bEQ2mlsQapdNpOn1McrTJhsllN8V2IlIqqrUAiSYko499LtZVjMvh+N4XgojC996y7BJW53y38BFinzIlLGSGe3A5RuyCYYARkMhuBjkJCTHK+EXk7u8zIXIPAycwKTwKFDu0+iGe+EGuliFWmTIdwMqdouwM3IKLGFErWTzeeoMQMZFqVObmyq0N659qvou/Y6gfZU49lEo4Shy+mB23+6EfGubiVBOQTxM2cQNYqqg4xuIuEgAYdo8WFGsRC7FQjBE4ygxKQmbfiQZSQrBOPwNLczKMUQZj0X4qYdz2io2k96kXm1SFlaLp9XjqEl0Yqbb7vN5e7mBRixqLknPwcPHIh/f/16ZHOyc+a8THIU6bmJEvnX6KttisuSKpjSKfG8QRLxMMF5+E42E6CGAtyccF/AWtz8PKNhS2sCkzRk0ZyYhJfjm1ta8Ojjj2FpT88pT37MxYD1gAfPPe88/GjjwwRoOZWAlPOUkgD1UbqKEuwRhvQwzx18lg9NLOETTHoSXDTKbC7EMCzGJxV2RdduUl3LfPIs3kjCdSaTJqU8yFPad939HQErQ799qvNiC6do4kJE0jevu3VTUyyOTQ9vRIVG4UpHpCxNXJiU8/KuSj6KNIsMvR66Lj8NVDyBAJPNCUjRiKWlLG7RrRWzrFyWdC/Fgw//GBddrE6mtnzaqbyB0zT3fHhsdBQP3XsfxkZGlBsSFSr1GI6f9pLT8l7O0WQTeXIxSm2UuMkcjSrRkqBXKCkteSW1FP/LoNPBpCZL6XposE8+ywNAZow42/PhBtBSpL7M3rv9+efx2+eeo0S99VTQcNSq/CoBi5pzLJcsbkKkn+W9ABa35UjYUvmBeIeeZT24+rpr8bWbbkIoHB6CQ4Pdp8PzmYA16F44R1nrJ5jT/m7rVvz19TecPJaqFsDlakXxWYCJNCt89mgDbWluVvx0D7mjTU248qqrsO7225BgksS2Q4NNfhaWzwW4AbicDTzB3jtJ4HsHBvDmzp0YPHQYhVKRbi6oKFIgOKGFBAhpQb4Pkt8r+s7B5VdcgWvWrhWJyk+SH2w2zuDPX2cEuAH4Gl42sK933w0ePowZhu9JHpWmyM8y3ZvwOMoz4r7+foLtc4cmNdAnjf/33+lOA14k7/4VdDkW/iV0Dk6RMARH9QOfR/Wf1v4D3Fe7Fu3OpbsAAAAASUVORK5CYII=",X={"modal-overlay":"_modal-overlay_10n3k_1","modal-title":"_modal-title_10n3k_12","modal-footer":"_modal-footer_10n3k_19","modal-container":"_modal-container_10n3k_25","modal-button":"_modal-button_10n3k_43","confirm-btn":"_confirm-btn_10n3k_51","text-white":"_text-white_10n3k_55","text-sm":"_text-sm_10n3k_59"};function ks({isOpen:t,onClose:e,onConfirm:n}){if(!t)return null;function s(i){var r;((r=i.target)==null?void 0:r.id)==="modal-wrapper"&&e()}return v.jsx("div",{onClick:s,className:X["modal-overlay"],id:"modal-wrapper",children:v.jsxs("div",{className:X["modal-container"],children:[v.jsx("h3",{className:X["modal-title"],children:"Log out"}),v.jsx("p",{className:X["text-sm"],children:"Are you sure want to log out?"}),v.jsxs("div",{className:X["modal-footer"],children:[v.jsx("button",{className:X["modal-button"],onClick:e,children:"Cancel"}),v.jsx("button",{onClick:n,className:`${X["text-white"]} ${X["confirm-btn"]} ${X["modal-button"]}`,children:"Confirm"})]})]})})}function Co({logo:t,user:e,baseUrl:n,style:s,classNames:i=""}){const r=t||"/public/assets/icons/logo-header.png";return v.jsx("nav",{className:`${G.navbar} ${i}`,style:s,children:v.jsxs("div",{className:G["navbar-container"],children:[v.jsx("img",{src:r,alt:"logo-header"}),v.jsxs("div",{className:G["right-side-container"],children:[v.jsxs("div",{className:G.userContainer,children:[v.jsx("p",{className:G.userFullName,children:`${e==null?void 0:e.firstName} ${e==null?void 0:e.lastName}`}),v.jsx(Ao,{baseUrl:n,avatarUrl:e==null?void 0:e.avatarUrl})]}),v.jsx("span",{className:G["cursor-pointer"],children:v.jsx(Po,{})}),v.jsx("span",{className:G["cursor-pointer"],children:v.jsx(wo,{})})]})]})})}function Ao({avatarUrl:t,baseUrl:e}){const[n,s]=P.useState(!1),[i,r]=P.useState(!1),o=P.useRef(null),a=P.useRef(null),l=()=>{window.location.href=`${e}/authentication/logout?callbackUrl=${window.location.origin}`};return P.useEffect(()=>{function c(u){u.target!==a.current&&u.target!==o.current&&s(!1)}return window.addEventListener("click",c),()=>window.removeEventListener("click",c)},[]),v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:G.relative,children:[v.jsx("img",{ref:o,onClick:()=>s(c=>!c),alt:"user avatar",className:G.userAvatar,src:t||So}),n&&v.jsx("div",{ref:a,className:G.avartarDropdownMenu,children:v.jsxs("ul",{children:[v.jsx("li",{className:G["avatar-dropdown-item"],children:"Profile"}),v.jsx("li",{onClick:()=>r(!0),className:G["avatar-dropdown-item"],children:"Logout"})]})})]}),v.jsx(ks,{isOpen:i,onClose:()=>r(!1),onConfirm:l})]})}var ze={},Bs={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Bs);var We=Bs.exports,pe={};function Vo(...t){return t.reduce((e,n)=>n==null?e:function(...i){e.apply(this,i),n.apply(this,i)},()=>{})}function Mo(t,e=166){let n;function s(...i){const r=()=>{t.apply(this,i)};clearTimeout(n),n=setTimeout(r,e)}return s.clear=()=>{clearTimeout(n)},s}function Do(t,e){return process.env.NODE_ENV==="production"?()=>null:(n,s,i,r,o)=>{const a=i||"<<anonymous>>",l=o||s;return typeof n[s]<"u"?new Error(`The ${r} \`${l}\` of \`${a}\` is deprecated. ${e}`):null}}function Ro(t,e){var n,s;return j.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(s=t.type)==null||(s=s._payload)==null||(s=s.value)==null?void 0:s.muiName)!==-1}function Is(t){return t&&t.ownerDocument||document}function jo(t){return Is(t).defaultView||window}function Os(t,e){typeof t=="function"?t(e):t&&(t.current=e)}const Eo=typeof window<"u"?j.useLayoutEffect:j.useEffect,Fs=Eo;let Pn=0;function Lo(t){const[e,n]=j.useState(t),s=t||e;return j.useEffect(()=>{e==null&&(Pn+=1,n(`mui-${Pn}`))},[e]),s}const wn=j["useId".toString()];function ko(t){if(wn!==void 0){const e=wn();return t??e}return Lo(t)}function Bo(t,e,n,s,i){if(process.env.NODE_ENV==="production")return null;const r=i||e;return typeof t[e]<"u"?new Error(`The prop \`${r}\` is not supported. Please remove it.`):null}function Io({controlled:t,default:e,name:n,state:s="value"}){const{current:i}=j.useRef(t!==void 0),[r,o]=j.useState(e),a=i?t:r;if(process.env.NODE_ENV!=="production"){j.useEffect(()=>{i!==(t!==void 0)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${s} state of ${n} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
2
- `))},[s,n,t]);const{current:c}=j.useRef(e);j.useEffect(()=>{!i&&c!==e&&console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
3
- `))},[JSON.stringify(e)])}const l=j.useCallback(c=>{i||o(c)},[]);return[a,l]}function Oo(t){const e=j.useRef(t);return Fs(()=>{e.current=t}),j.useRef((...n)=>(0,e.current)(...n)).current}function Fo(...t){return j.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{Os(n,e)})},t)}let oe=!0,Me=!1,Sn;const No={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function _o(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&No[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function Uo(t){t.metaKey||t.altKey||t.ctrlKey||(oe=!0)}function me(){oe=!1}function zo(){this.visibilityState==="hidden"&&Me&&(oe=!0)}function Wo(t){t.addEventListener("keydown",Uo,!0),t.addEventListener("mousedown",me,!0),t.addEventListener("pointerdown",me,!0),t.addEventListener("touchstart",me,!0),t.addEventListener("visibilitychange",zo,!0)}function Go(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return oe||_o(e)}function $o(){const t=j.useCallback(i=>{i!=null&&Wo(i.ownerDocument)},[]),e=j.useRef(!1);function n(){return e.current?(Me=!0,window.clearTimeout(Sn),Sn=window.setTimeout(()=>{Me=!1},100),e.current=!1,!0):!1}function s(i){return Go(i)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:s,onBlur:n,ref:t}}function qo(t){return C.generateUtilityClass("MuiSvgIcon",t)}C.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ho=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Ko=t=>{const{color:e,fontSize:n,classes:s}=t,i={root:["root",e!=="inherit"&&`color${C.capitalize(e)}`,`fontSize${C.capitalize(n)}`]};return C.composeClasses(i,qo,s)},Yo=C.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${C.capitalize(n.color)}`],e[`fontSize${C.capitalize(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,s,i,r,o,a,l,c,u,f,h,d,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(s=n.create)==null?void 0:s.call(n,"fill",{duration:(i=t.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((r=t.typography)==null||(o=r.pxToRem)==null?void 0:o.call(r,20))||"1.25rem",medium:((a=t.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((c=t.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[e.fontSize],color:(f=(h=(t.vars||t).palette)==null||(h=h[e.color])==null?void 0:h.main)!=null?f:{action:(d=(t.vars||t).palette)==null||(d=d.action)==null?void 0:d.active,disabled:(p=(t.vars||t).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[e.color]}}),Ge=j.forwardRef(function(e,n){const s=C.useThemeProps({props:e,name:"MuiSvgIcon"}),{children:i,className:r,color:o="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:h="0 0 24 24"}=s,d=C._objectWithoutPropertiesLoose(s,Ho),p=j.isValidElement(i)&&i.type==="svg",m=C._extends({},s,{color:o,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:h,hasSvgAsChild:p}),x={};u||(x.viewBox=h);const T=Ko(m);return v.jsxs(Yo,C._extends({as:a,className:C.clsx(T.root,r),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},x,d,p&&i.props,{ownerState:m,children:[p?i.props.children:i,f?v.jsx("title",{children:f}):null]}))});process.env.NODE_ENV!=="production"&&(Ge.propTypes={children:C.PropTypes.node,classes:C.PropTypes.object,className:C.PropTypes.string,color:C.PropTypes.oneOfType([C.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),C.PropTypes.string]),component:C.PropTypes.elementType,fontSize:C.PropTypes.oneOfType([C.PropTypes.oneOf(["inherit","large","medium","small"]),C.PropTypes.string]),htmlColor:C.PropTypes.string,inheritViewBox:C.PropTypes.bool,shapeRendering:C.PropTypes.string,sx:C.PropTypes.oneOfType([C.PropTypes.arrayOf(C.PropTypes.oneOfType([C.PropTypes.func,C.PropTypes.object,C.PropTypes.bool])),C.PropTypes.func,C.PropTypes.object]),titleAccess:C.PropTypes.string,viewBox:C.PropTypes.string});Ge.muiName="SvgIcon";const Cn=Ge;function Xo(t,e){function n(s,i){return v.jsx(Cn,C._extends({"data-testid":`${e}Icon`,ref:i},s,{children:t}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${e}Icon`),n.muiName=Cn.muiName,j.memo(j.forwardRef(n))}const Qo={configure:t=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
4
- `)),C.ClassNameGenerator.configure(t)}},Zo=Object.freeze(Object.defineProperty({__proto__:null,capitalize:C.capitalize,createChainedFunction:Vo,createSvgIcon:Xo,debounce:Mo,deprecatedPropType:Do,isMuiElement:Ro,ownerDocument:Is,ownerWindow:jo,requirePropFactory:C.requirePropFactory,setRef:Os,unstable_ClassNameGenerator:Qo,unstable_useEnhancedEffect:Fs,unstable_useId:ko,unsupportedProp:Bo,useControlled:Io,useEventCallback:Oo,useForkRef:Fo,useIsFocusVisible:$o},Symbol.toStringTag,{value:"Module"})),Jo=C.getAugmentedNamespace(Zo);var An;function $e(){return An||(An=1,function(t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.createSvgIcon}});var e=Jo}(pe)),pe}var tr=We;Object.defineProperty(ze,"__esModule",{value:!0});var Ns=ze.default=void 0,er=tr($e()),nr=v;Ns=ze.default=(0,er.default)((0,nr.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");var qe={},sr=We;Object.defineProperty(qe,"__esModule",{value:!0});var _s=qe.default=void 0,ir=sr($e()),or=v;_s=qe.default=(0,ir.default)((0,or.jsx)("path",{d:"M4 18h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h8c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1m17.3 7.88L17.42 12l2.88-2.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L15.3 11.3c-.39.39-.39 1.02 0 1.41l3.59 3.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42"}),"MenuOpenRounded");var He={},rr=We;Object.defineProperty(He,"__esModule",{value:!0});var Us=He.default=void 0,ar=rr($e()),lr=v;Us=He.default=(0,ar.default)((0,lr.jsx)("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1"}),"MenuRounded");const zs=P.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),re=P.createContext({}),Ke=P.createContext(null),ae=typeof document<"u",cr=ae?P.useLayoutEffect:P.useEffect,Ws=P.createContext({strict:!1}),Ye=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ur="framerAppearId",Gs="data-"+Ye(ur);function fr(t,e,n,s){const{visualElement:i}=P.useContext(re),r=P.useContext(Ws),o=P.useContext(Ke),a=P.useContext(zs).reducedMotion,l=P.useRef();s=s||r.renderer,!l.current&&s&&(l.current=s(t,{visualState:e,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:a}));const c=l.current;P.useInsertionEffect(()=>{c&&c.update(n,o)});const u=P.useRef(!!(n[Gs]&&!window.HandoffComplete));return cr(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),P.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,window.HandoffComplete=!0))}),c}function xt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function hr(t,e,n){return P.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):xt(n)&&(n.current=s))},[e])}function Bt(t){return typeof t=="string"||Array.isArray(t)}function le(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Xe=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Qe=["initial",...Xe];function ce(t){return le(t.animate)||Qe.some(e=>Bt(t[e]))}function $s(t){return!!(ce(t)||t.variants)}function dr(t,e){if(ce(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Bt(n)?n:void 0,animate:Bt(s)?s:void 0}}return t.inherit!==!1?e:{}}function pr(t){const{initial:e,animate:n}=dr(t,P.useContext(re));return P.useMemo(()=>({initial:e,animate:n}),[Vn(e),Vn(n)])}function Vn(t){return Array.isArray(t)?t.join(" "):t}const Mn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},It={};for(const t in Mn)It[t]={isEnabled:e=>Mn[t].some(n=>!!e[n])};function mr(t){for(const e in t)It[e]={...It[e],...t[e]}}const qs=P.createContext({}),Hs=P.createContext({}),gr=Symbol.for("motionComponentSymbol");function yr({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){t&&mr(t);function r(a,l){let c;const u={...P.useContext(zs),...a,layoutId:vr(a)},{isStatic:f}=u,h=pr(a),d=s(a,f);if(!f&&ae){h.visualElement=fr(i,d,u,e);const p=P.useContext(Hs),m=P.useContext(Ws).strict;h.visualElement&&(c=h.visualElement.loadFeatures(u,m,t,p))}return j.createElement(re.Provider,{value:h},c&&h.visualElement?j.createElement(c,{visualElement:h.visualElement,...u}):null,n(i,a,hr(d,h.visualElement,l),d,f,h.visualElement))}const o=P.forwardRef(r);return o[gr]=i,o}function vr({layoutId:t}){const e=P.useContext(qs).id;return e&&t!==void 0?e+"-"+t:t}function xr(t){function e(s,i={}){return yr(t(s,i))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(s,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}const br=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ze(t){return typeof t!="string"||t.includes("-")?!1:!!(br.indexOf(t)>-1||/[A-Z]/.test(t))}const Qt={};function Tr(t){Object.assign(Qt,t)}const Ft=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pt=new Set(Ft);function Ks(t,{layout:e,layoutId:n}){return pt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Qt[t]||t==="opacity")}const _=t=>!!(t&&t.getVelocity),Pr={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wr=Ft.length;function Sr(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},s,i){let r="";for(let o=0;o<wr;o++){const a=Ft[o];if(t[a]!==void 0){const l=Pr[a]||a;r+=`${l}(${t[a]}) `}}return e&&!t.z&&(r+="translateZ(0)"),r=r.trim(),i?r=i(t,s?"":r):n&&s&&(r="none"),r}const Ys=t=>e=>typeof e=="string"&&e.startsWith(t),Xs=Ys("--"),De=Ys("var(--"),Cr=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Ar=(t,e)=>e&&typeof t=="number"?e.transform(t):t,rt=(t,e,n)=>Math.min(Math.max(n,t),e),mt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},jt={...mt,transform:t=>rt(0,1,t)},Gt={...mt,default:1},Et=t=>Math.round(t*1e5)/1e5,ue=/(-)?([\d]*\.?[\d])+/g,Qs=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Vr=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Nt(t){return typeof t=="string"}const _t=t=>({test:e=>Nt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),nt=_t("deg"),H=_t("%"),w=_t("px"),Mr=_t("vh"),Dr=_t("vw"),Dn={...H,parse:t=>H.parse(t)/100,transform:t=>H.transform(t*100)},Rn={...mt,transform:Math.round},Zs={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,radius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,size:w,top:w,right:w,bottom:w,left:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,rotate:nt,rotateX:nt,rotateY:nt,rotateZ:nt,scale:Gt,scaleX:Gt,scaleY:Gt,scaleZ:Gt,skew:nt,skewX:nt,skewY:nt,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:jt,originX:Dn,originY:Dn,originZ:w,zIndex:Rn,fillOpacity:jt,strokeOpacity:jt,numOctaves:Rn};function Je(t,e,n,s){const{style:i,vars:r,transform:o,transformOrigin:a}=t;let l=!1,c=!1,u=!0;for(const f in e){const h=e[f];if(Xs(f)){r[f]=h;continue}const d=Zs[f],p=Ar(h,d);if(pt.has(f)){if(l=!0,o[f]=p,!u)continue;h!==(d.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,a[f]=p):i[f]=p}if(e.transform||(l||s?i.transform=Sr(t.transform,n,u,s):i.transform&&(i.transform="none")),c){const{originX:f="50%",originY:h="50%",originZ:d=0}=a;i.transformOrigin=`${f} ${h} ${d}`}}const tn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Js(t,e,n){for(const s in e)!_(e[s])&&!Ks(s,n)&&(t[s]=e[s])}function Rr({transformTemplate:t},e,n){return P.useMemo(()=>{const s=tn();return Je(s,e,{enableHardwareAcceleration:!n},t),Object.assign({},s.vars,s.style)},[e])}function jr(t,e,n){const s=t.style||{},i={};return Js(i,s,t),Object.assign(i,Rr(t,e,n)),t.transformValues?t.transformValues(i):i}function Er(t,e,n){const s={},i=jr(t,e,n);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=i,s}const Lr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Zt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Lr.has(t)}let ti=t=>!Zt(t);function kr(t){t&&(ti=e=>e.startsWith("on")?!Zt(e):t(e))}try{kr(require("@emotion/is-prop-valid").default)}catch{}function Br(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(ti(i)||n===!0&&Zt(i)||!e&&!Zt(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function jn(t,e,n){return typeof t=="string"?t:w.transform(e+n*t)}function Ir(t,e,n){const s=jn(e,t.x,t.width),i=jn(n,t.y,t.height);return`${s} ${i}`}const Or={offset:"stroke-dashoffset",array:"stroke-dasharray"},Fr={offset:"strokeDashoffset",array:"strokeDasharray"};function Nr(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?Or:Fr;t[r.offset]=w.transform(-s);const o=w.transform(e),a=w.transform(n);t[r.array]=`${o} ${a}`}function en(t,{attrX:e,attrY:n,attrScale:s,originX:i,originY:r,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...c},u,f,h){if(Je(t,c,u,h),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(i!==void 0||r!==void 0||p.transform)&&(p.transformOrigin=Ir(m,i!==void 0?i:.5,r!==void 0?r:.5)),e!==void 0&&(d.x=e),n!==void 0&&(d.y=n),s!==void 0&&(d.scale=s),o!==void 0&&Nr(d,o,a,l,!1)}const ei=()=>({...tn(),attrs:{}}),nn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function _r(t,e,n,s){const i=P.useMemo(()=>{const r=ei();return en(r,e,{enableHardwareAcceleration:!1},nn(s),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};Js(r,t.style,t),i.style={...r,...i.style}}return i}function Ur(t=!1){return(n,s,i,{latestValues:r},o)=>{const l=(Ze(n)?_r:Er)(s,r,o,n),u={...Br(s,typeof n=="string",t),...l,ref:i},{children:f}=s,h=P.useMemo(()=>_(f)?f.get():f,[f]);return P.createElement(n,{...u,children:h})}}function ni(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const r in n)t.style.setProperty(r,n[r])}const si=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ii(t,e,n,s){ni(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(si.has(i)?i:Ye(i),e.attrs[i])}function sn(t,e){const{style:n}=t,s={};for(const i in n)(_(n[i])||e.style&&_(e.style[i])||Ks(i,t))&&(s[i]=n[i]);return s}function oi(t,e){const n=sn(t,e);for(const s in t)if(_(t[s])||_(e[s])){const i=Ft.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;n[i]=t[s]}return n}function on(t,e,n,s={},i={}){return typeof e=="function"&&(e=e(n!==void 0?n:t.custom,s,i)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(n!==void 0?n:t.custom,s,i)),e}function zr(t){const e=P.useRef(null);return e.current===null&&(e.current=t()),e.current}const Jt=t=>Array.isArray(t),Wr=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Gr=t=>Jt(t)?t[t.length-1]||0:t;function Yt(t){const e=_(t)?t.get():t;return Wr(e)?e.toValue():e}function $r({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,r){const o={latestValues:qr(s,i,r,t),renderState:e()};return n&&(o.mount=a=>n(s,a,o)),o}const ri=t=>(e,n)=>{const s=P.useContext(re),i=P.useContext(Ke),r=()=>$r(t,e,s,i);return n?r():zr(r)};function qr(t,e,n,s){const i={},r=s(t,{});for(const h in r)i[h]=Yt(r[h]);let{initial:o,animate:a}=t;const l=ce(t),c=$s(t);e&&c&&!l&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const f=u?a:o;return f&&typeof f!="boolean"&&!le(f)&&(Array.isArray(f)?f:[f]).forEach(d=>{const p=on(t,d);if(!p)return;const{transitionEnd:m,transition:x,...T}=p;for(const y in T){let g=T[y];if(Array.isArray(g)){const b=u?g.length-1:0;g=g[b]}g!==null&&(i[y]=g)}for(const y in m)i[y]=m[y]}),i}const k=t=>t;class En{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const n=this.order.indexOf(e);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}function Hr(t){let e=new En,n=new En,s=0,i=!1,r=!1;const o=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{const f=u&&i,h=f?e:n;return c&&o.add(l),h.add(l)&&f&&i&&(s=e.order.length),l},cancel:l=>{n.remove(l),o.delete(l)},process:l=>{if(i){r=!0;return}if(i=!0,[e,n]=[n,e],n.clear(),s=e.order.length,s)for(let c=0;c<s;c++){const u=e.order[c];u(l),o.has(u)&&(a.schedule(u),t())}i=!1,r&&(r=!1,a.process(l))}};return a}const $t=["prepare","read","update","preRender","render","postRender"],Kr=40;function Yr(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=$t.reduce((f,h)=>(f[h]=Hr(()=>n=!0),f),{}),o=f=>r[f].process(i),a=()=>{const f=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(f-i.timestamp,Kr),1),i.timestamp=f,i.isProcessing=!0,$t.forEach(o),i.isProcessing=!1,n&&e&&(s=!1,t(a))},l=()=>{n=!0,s=!0,i.isProcessing||t(a)};return{schedule:$t.reduce((f,h)=>{const d=r[h];return f[h]=(p,m=!1,x=!1)=>(n||l(),d.schedule(p,m,x)),f},{}),cancel:f=>$t.forEach(h=>r[h].cancel(f)),state:i,steps:r}}const{schedule:M,cancel:tt,state:O,steps:ge}=Yr(typeof requestAnimationFrame<"u"?requestAnimationFrame:k,!0),Xr={useVisualState:ri({scrapeMotionValuesFromProps:oi,createRenderState:ei,onMount:(t,e,{renderState:n,latestValues:s})=>{M.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),M.render(()=>{en(n,s,{enableHardwareAcceleration:!1},nn(e.tagName),t.transformTemplate),ii(e,n)})}})},Qr={useVisualState:ri({scrapeMotionValuesFromProps:sn,createRenderState:tn})};function Zr(t,{forwardMotionProps:e=!1},n,s){return{...Ze(t)?Xr:Qr,preloadedFeatures:n,useRender:Ur(e),createVisualElement:s,Component:t}}function Q(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}const ai=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function fe(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const Jr=t=>e=>ai(e)&&t(e,fe(e));function Z(t,e,n,s){return Q(t,e,Jr(n),s)}const ta=(t,e)=>n=>e(t(n)),it=(...t)=>t.reduce(ta);function li(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Ln=li("dragHorizontal"),kn=li("dragVertical");function ci(t){let e=!1;if(t==="y")e=kn();else if(t==="x")e=Ln();else{const n=Ln(),s=kn();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function ui(){const t=ci(!0);return t?(t(),!1):!0}class lt{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Bn(t,e){const n="pointer"+(e?"enter":"leave"),s="onHover"+(e?"Start":"End"),i=(r,o)=>{if(r.pointerType==="touch"||ui())return;const a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",e),a[s]&&M.update(()=>a[s](r,o))};return Z(t.current,n,i,{passive:!t.getProps()[s]})}class ea extends lt{mount(){this.unmount=it(Bn(this.node,!0),Bn(this.node,!1))}unmount(){}}class na extends lt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=it(Q(this.node.current,"focus",()=>this.onFocus()),Q(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const fi=(t,e)=>e?t===e?!0:fi(t,e.parentElement):!1;function ye(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,fe(n))}class sa extends lt{constructor(){super(...arguments),this.removeStartListeners=k,this.removeEndListeners=k,this.removeAccessibleListeners=k,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),r=Z(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u,globalTapTarget:f}=this.node.getProps();M.update(()=>{!f&&!fi(this.node.current,a.target)?u&&u(a,l):c&&c(a,l)})},{passive:!(s.onTap||s.onPointerUp)}),o=Z(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=it(r,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=r=>{if(r.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||ye("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&M.update(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=Q(this.node.current,"keyup",o),ye("down",(a,l)=>{this.startPress(a,l)})},n=Q(this.node.current,"keydown",e),s=()=>{this.isPressing&&ye("cancel",(r,o)=>this.cancelPress(r,o))},i=Q(this.node.current,"blur",s);this.removeAccessibleListeners=it(n,i)}}startPress(e,n){this.isPressing=!0;const{onTapStart:s,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&M.update(()=>s(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ui()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&M.update(()=>s(e,n))}mount(){const e=this.node.getProps(),n=Z(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),s=Q(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=it(n,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Re=new WeakMap,ve=new WeakMap,ia=t=>{const e=Re.get(t.target);e&&e(t)},oa=t=>{t.forEach(ia)};function ra({root:t,...e}){const n=t||document;ve.has(n)||ve.set(n,{});const s=ve.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(oa,{root:t,...e})),s[i]}function aa(t,e,n){const s=ra(e);return Re.set(t,n),s.observe(t),()=>{Re.delete(t),s.unobserve(t)}}const la={some:0,all:1};class ca extends lt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:la[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,r&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),h=c?u:f;h&&h(l)};return aa(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(ua(e,n))&&this.startObserver()}unmount(){}}function ua({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const fa={inView:{Feature:ca},tap:{Feature:sa},focus:{Feature:na},hover:{Feature:ea}};function hi(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}function ha(t){const e={};return t.values.forEach((n,s)=>e[s]=n.get()),e}function da(t){const e={};return t.values.forEach((n,s)=>e[s]=n.getVelocity()),e}function he(t,e,n){const s=t.getProps();return on(s,e,n!==void 0?n:s.custom,ha(t),da(t))}let Ut=k,q=k;process.env.NODE_ENV!=="production"&&(Ut=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},q=(t,e)=>{if(!t)throw new Error(e)});const ot=t=>t*1e3,J=t=>t/1e3,pa={current:!1},di=t=>Array.isArray(t)&&typeof t[0]=="number";function pi(t){return!!(!t||typeof t=="string"&&mi[t]||di(t)||Array.isArray(t)&&t.every(pi))}const Rt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,mi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Rt([0,.65,.55,1]),circOut:Rt([.55,0,1,.45]),backIn:Rt([.31,.01,.66,-.59]),backOut:Rt([.33,1.53,.69,.99])};function gi(t){if(t)return di(t)?Rt(t):Array.isArray(t)?t.map(gi):mi[t]}function ma(t,e,n,{delay:s=0,duration:i,repeat:r=0,repeatType:o="loop",ease:a,times:l}={}){const c={[e]:n};l&&(c.offset=l);const u=gi(a);return Array.isArray(u)&&(c.easing=u),t.animate(c,{delay:s,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"})}function ga(t,{repeat:e,repeatType:n="loop"}){const s=e&&n!=="loop"&&e%2===1?0:t.length-1;return t[s]}const yi=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,ya=1e-7,va=12;function xa(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=yi(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>ya&&++a<va);return o}function zt(t,e,n,s){if(t===e&&n===s)return k;const i=r=>xa(r,0,1,t,n);return r=>r===0||r===1?r:yi(i(r),e,s)}const ba=zt(.42,0,1,1),Ta=zt(0,0,.58,1),vi=zt(.42,0,.58,1),Pa=t=>Array.isArray(t)&&typeof t[0]!="number",xi=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,bi=t=>e=>1-t(1-e),rn=t=>1-Math.sin(Math.acos(t)),Ti=bi(rn),wa=xi(rn),Pi=zt(.33,1.53,.69,.99),an=bi(Pi),Sa=xi(an),Ca=t=>(t*=2)<1?.5*an(t):.5*(2-Math.pow(2,-10*(t-1))),In={linear:k,easeIn:ba,easeInOut:vi,easeOut:Ta,circIn:rn,circInOut:wa,circOut:Ti,backIn:an,backInOut:Sa,backOut:Pi,anticipate:Ca},On=t=>{if(Array.isArray(t)){q(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,n,s,i]=t;return zt(e,n,s,i)}else if(typeof t=="string")return q(In[t]!==void 0,`Invalid easing type '${t}'`),In[t];return t},ln=(t,e)=>n=>!!(Nt(n)&&Vr.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),wi=(t,e,n)=>s=>{if(!Nt(s))return s;const[i,r,o,a]=s.match(ue);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Aa=t=>rt(0,255,t),xe={...mt,transform:t=>Math.round(Aa(t))},dt={test:ln("rgb","red"),parse:wi("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+xe.transform(t)+", "+xe.transform(e)+", "+xe.transform(n)+", "+Et(jt.transform(s))+")"};function Va(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const je={test:ln("#"),parse:Va,transform:dt.transform},bt={test:ln("hsl","hue"),parse:wi("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+H.transform(Et(e))+", "+H.transform(Et(n))+", "+Et(jt.transform(s))+")"},N={test:t=>dt.test(t)||je.test(t)||bt.test(t),parse:t=>dt.test(t)?dt.parse(t):bt.test(t)?bt.parse(t):je.parse(t),transform:t=>Nt(t)?t:t.hasOwnProperty("red")?dt.transform(t):bt.transform(t)},E=(t,e,n)=>-n*t+n*e+t;function be(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ma({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=be(l,a,t+1/3),r=be(l,a,t),o=be(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}const Te=(t,e,n)=>{const s=t*t;return Math.sqrt(Math.max(0,n*(e*e-s)+s))},Da=[je,dt,bt],Ra=t=>Da.find(e=>e.test(t));function Fn(t){const e=Ra(t);q(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=e.parse(t);return e===bt&&(n=Ma(n)),n}const Si=(t,e)=>{const n=Fn(t),s=Fn(e),i={...n};return r=>(i.red=Te(n.red,s.red,r),i.green=Te(n.green,s.green,r),i.blue=Te(n.blue,s.blue,r),i.alpha=E(n.alpha,s.alpha,r),dt.transform(i))};function ja(t){var e,n;return isNaN(t)&&Nt(t)&&(((e=t.match(ue))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Qs))===null||n===void 0?void 0:n.length)||0)>0}const Ci={regex:Cr,countKey:"Vars",token:"${v}",parse:k},Ai={regex:Qs,countKey:"Colors",token:"${c}",parse:N.parse},Vi={regex:ue,countKey:"Numbers",token:"${n}",parse:mt.parse};function Pe(t,{regex:e,countKey:n,token:s,parse:i}){const r=t.tokenised.match(e);r&&(t["num"+n]=r.length,t.tokenised=t.tokenised.replace(e,s),t.values.push(...r.map(i)))}function te(t){const e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Pe(n,Ci),Pe(n,Ai),Pe(n,Vi),n}function Mi(t){return te(t).values}function Di(t){const{values:e,numColors:n,numVars:s,tokenised:i}=te(t),r=e.length;return o=>{let a=i;for(let l=0;l<r;l++)l<s?a=a.replace(Ci.token,o[l]):l<s+n?a=a.replace(Ai.token,N.transform(o[l])):a=a.replace(Vi.token,Et(o[l]));return a}}const Ea=t=>typeof t=="number"?0:t;function La(t){const e=Mi(t);return Di(t)(e.map(Ea))}const at={test:ja,parse:Mi,createTransformer:Di,getAnimatableNone:La},Ri=(t,e)=>n=>`${n>0?e:t}`;function ji(t,e){return typeof t=="number"?n=>E(t,e,n):N.test(t)?Si(t,e):t.startsWith("var(")?Ri(t,e):Li(t,e)}const Ei=(t,e)=>{const n=[...t],s=n.length,i=t.map((r,o)=>ji(r,e[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}},ka=(t,e)=>{const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=ji(t[i],e[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}},Li=(t,e)=>{const n=at.createTransformer(e),s=te(t),i=te(e);return s.numVars===i.numVars&&s.numColors===i.numColors&&s.numNumbers>=i.numNumbers?it(Ei(s.values,i.values),n):(Ut(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Ri(t,e))},Ot=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Nn=(t,e)=>n=>E(t,e,n);function Ba(t){return typeof t=="number"?Nn:typeof t=="string"?N.test(t)?Si:Li:Array.isArray(t)?Ei:typeof t=="object"?ka:Nn}function Ia(t,e,n){const s=[],i=n||Ba(t[0]),r=t.length-1;for(let o=0;o<r;o++){let a=i(t[o],t[o+1]);if(e){const l=Array.isArray(e)?e[o]||k:e;a=it(l,a)}s.push(a)}return s}function ki(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const r=t.length;if(q(r===e.length,"Both input and output ranges must be the same length"),r===1)return()=>e[0];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=Ia(e,s,i),a=o.length,l=c=>{let u=0;if(a>1)for(;u<t.length-2&&!(c<t[u+1]);u++);const f=Ot(t[u],t[u+1],c);return o[u](f)};return n?c=>l(rt(t[0],t[r-1],c)):l}function Oa(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Ot(0,e,s);t.push(E(n,1,i))}}function Fa(t){const e=[0];return Oa(e,t.length-1),e}function Na(t,e){return t.map(n=>n*e)}function _a(t,e){return t.map(()=>e||vi).splice(0,t.length-1)}function ee({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=Pa(s)?s.map(On):On(s),r={done:!1,value:e[0]},o=Na(n&&n.length===e.length?n:Fa(e),t),a=ki(o,e,{ease:Array.isArray(i)?i:_a(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}function Bi(t,e){return e?t*(1e3/e):0}const Ua=5;function Ii(t,e,n){const s=Math.max(e-Ua,0);return Bi(n-t(s),e-s)}const we=.001,za=.01,_n=10,Wa=.05,Ga=1;function $a({duration:t=800,bounce:e=.25,velocity:n=0,mass:s=1}){let i,r;Ut(t<=ot(_n),"Spring duration must be 10 seconds or less");let o=1-e;o=rt(Wa,Ga,o),t=rt(za,_n,J(t)),o<1?(i=c=>{const u=c*o,f=u*t,h=u-n,d=Ee(c,o),p=Math.exp(-f);return we-h/d*p},r=c=>{const f=c*o*t,h=f*n+n,d=Math.pow(o,2)*Math.pow(c,2)*t,p=Math.exp(-f),m=Ee(Math.pow(c,2),o);return(-i(c)+we>0?-1:1)*((h-d)*p)/m}):(i=c=>{const u=Math.exp(-c*t),f=(c-n)*t+1;return-we+u*f},r=c=>{const u=Math.exp(-c*t),f=(n-c)*(t*t);return u*f});const a=5/t,l=Ha(i,r,a);if(t=ot(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:o*2*Math.sqrt(s*c),duration:t}}}const qa=12;function Ha(t,e,n){let s=n;for(let i=1;i<qa;i++)s=s-t(s)/e(s);return s}function Ee(t,e){return t*Math.sqrt(1-e*e)}const Ka=["duration","bounce"],Ya=["stiffness","damping","mass"];function Un(t,e){return e.some(n=>t[n]!==void 0)}function Xa(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Un(t,Ya)&&Un(t,Ka)){const n=$a(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Oi({keyframes:t,restDelta:e,restSpeed:n,...s}){const i=t[0],r=t[t.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:h}=Xa({...s,velocity:-J(s.velocity||0)}),d=f||0,p=l/(2*Math.sqrt(a*c)),m=r-i,x=J(Math.sqrt(a/c)),T=Math.abs(m)<5;n||(n=T?.01:2),e||(e=T?.005:.5);let y;if(p<1){const g=Ee(x,p);y=b=>{const S=Math.exp(-p*x*b);return r-S*((d+p*x*m)/g*Math.sin(g*b)+m*Math.cos(g*b))}}else if(p===1)y=g=>r-Math.exp(-x*g)*(m+(d+x*m)*g);else{const g=x*Math.sqrt(p*p-1);y=b=>{const S=Math.exp(-p*x*b),V=Math.min(g*b,300);return r-S*((d+p*x*m)*Math.sinh(V)+g*m*Math.cosh(V))/g}}return{calculatedDuration:h&&u||null,next:g=>{const b=y(g);if(h)o.done=g>=u;else{let S=d;g!==0&&(p<1?S=Ii(y,g,b):S=0);const V=Math.abs(S)<=n,D=Math.abs(r-b)<=e;o.done=V&&D}return o.value=o.done?r:b,o}}}function zn({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){const f=t[0],h={done:!1,value:f},d=A=>a!==void 0&&A<a||l!==void 0&&A>l,p=A=>a===void 0?l:l===void 0||Math.abs(a-A)<Math.abs(l-A)?a:l;let m=n*e;const x=f+m,T=o===void 0?x:o(x);T!==x&&(m=T-f);const y=A=>-m*Math.exp(-A/s),g=A=>T+y(A),b=A=>{const L=y(A),K=g(A);h.done=Math.abs(L)<=c,h.value=h.done?T:K};let S,V;const D=A=>{d(h.value)&&(S=A,V=Oi({keyframes:[h.value,p(h.value)],velocity:Ii(g,A,h.value),damping:i,stiffness:r,restDelta:c,restSpeed:u}))};return D(0),{calculatedDuration:null,next:A=>{let L=!1;return!V&&S===void 0&&(L=!0,b(A),D(A)),S!==void 0&&A>S?V.next(A-S):(!L&&b(A),h)}}}const Qa=t=>{const e=({timestamp:n})=>t(n);return{start:()=>M.update(e,!0),stop:()=>tt(e),now:()=>O.isProcessing?O.timestamp:performance.now()}},Wn=2e4;function Gn(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<Wn;)e+=n,s=t.next(e);return e>=Wn?1/0:e}const Za={decay:zn,inertia:zn,tween:ee,keyframes:ee,spring:Oi};function ne({autoplay:t=!0,delay:e=0,driver:n=Qa,keyframes:s,type:i="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f,...h}){let d=1,p=!1,m,x;const T=()=>{x=new Promise(R=>{m=R})};T();let y;const g=Za[i]||ee;let b;g!==ee&&typeof s[0]!="number"&&(process.env.NODE_ENV!=="production"&&q(s.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),b=ki([0,100],s,{clamp:!1}),s=[0,100]);const S=g({...h,keyframes:s});let V;a==="mirror"&&(V=g({...h,keyframes:[...s].reverse(),velocity:-(h.velocity||0)}));let D="idle",A=null,L=null,K=null;S.calculatedDuration===null&&r&&(S.calculatedDuration=Gn(S));const{calculatedDuration:gt}=S;let $=1/0,Y=1/0;gt!==null&&($=gt+o,Y=$*(r+1)-o);let F=0;const yt=R=>{if(L===null)return;d>0&&(L=Math.min(L,R)),d<0&&(L=Math.min(R-Y/d,L)),A!==null?F=A:F=Math.round(R-L)*d;const At=F-e*(d>=0?1:-1),vn=d>=0?At<0:At>Y;F=Math.max(At,0),D==="finished"&&A===null&&(F=Y);let xn=F,bn=S;if(r){const de=Math.min(F,Y)/$;let Wt=Math.floor(de),ct=de%1;!ct&&de>=1&&(ct=1),ct===1&&Wt--,Wt=Math.min(Wt,r+1),!!(Wt%2)&&(a==="reverse"?(ct=1-ct,o&&(ct-=o/$)):a==="mirror"&&(bn=V)),xn=rt(0,1,ct)*$}const Vt=vn?{done:!1,value:s[0]}:bn.next(xn);b&&(Vt.value=b(Vt.value));let{done:Tn}=Vt;!vn&&gt!==null&&(Tn=d>=0?F>=Y:F<=0);const fo=A===null&&(D==="finished"||D==="running"&&Tn);return f&&f(Vt.value),fo&&Ct(),Vt},I=()=>{y&&y.stop(),y=void 0},et=()=>{D="idle",I(),m(),T(),L=K=null},Ct=()=>{D="finished",u&&u(),I(),m()},vt=()=>{if(p)return;y||(y=n(yt));const R=y.now();l&&l(),A!==null?L=R-A:(!L||D==="finished")&&(L=R),D==="finished"&&T(),K=L,A=null,D="running",y.start()};t&&vt();const yn={then(R,At){return x.then(R,At)},get time(){return J(F)},set time(R){R=ot(R),F=R,A!==null||!y||d===0?A=R:L=y.now()-R/d},get duration(){const R=S.calculatedDuration===null?Gn(S):S.calculatedDuration;return J(R)},get speed(){return d},set speed(R){R===d||!y||(d=R,yn.time=J(F))},get state(){return D},play:vt,pause:()=>{D="paused",A=F},stop:()=>{p=!0,D!=="idle"&&(D="idle",c&&c(),et())},cancel:()=>{K!==null&&yt(K),et()},complete:()=>{D="finished"},sample:R=>(L=0,yt(R))};return yn}function Ja(t){let e;return()=>(e===void 0&&(e=t()),e)}const tl=Ja(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),el=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),qt=10,nl=2e4,sl=(t,e)=>e.type==="spring"||t==="backgroundColor"||!pi(e.ease);function il(t,e,{onUpdate:n,onComplete:s,...i}){if(!(tl()&&el.has(e)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let o=!1,a,l,c=!1;const u=()=>{l=new Promise(g=>{a=g})};u();let{keyframes:f,duration:h=300,ease:d,times:p}=i;if(sl(e,i)){const g=ne({...i,repeat:0,delay:0});let b={done:!1,value:f[0]};const S=[];let V=0;for(;!b.done&&V<nl;)b=g.sample(V),S.push(b.value),V+=qt;p=void 0,f=S,h=V-qt,d="linear"}const m=ma(t.owner.current,e,f,{...i,duration:h,ease:d,times:p}),x=()=>{c=!1,m.cancel()},T=()=>{c=!0,M.update(x),a(),u()};return m.onfinish=()=>{c||(t.set(ga(f,i)),s&&s(),T())},{then(g,b){return l.then(g,b)},attachTimeline(g){return m.timeline=g,m.onfinish=null,k},get time(){return J(m.currentTime||0)},set time(g){m.currentTime=ot(g)},get speed(){return m.playbackRate},set speed(g){m.playbackRate=g},get duration(){return J(h)},play:()=>{o||(m.play(),tt(x))},pause:()=>m.pause(),stop:()=>{if(o=!0,m.playState==="idle")return;const{currentTime:g}=m;if(g){const b=ne({...i,autoplay:!1});t.setWithVelocity(b.sample(g-qt).value,b.sample(g).value,qt)}T()},complete:()=>{c||m.finish()},cancel:T}}function ol({keyframes:t,delay:e,onUpdate:n,onComplete:s}){const i=()=>(n&&n(t[t.length-1]),s&&s(),{time:0,speed:1,duration:0,play:k,pause:k,stop:k,then:r=>(r(),Promise.resolve()),cancel:k,complete:k});return e?ne({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}const rl={type:"spring",stiffness:500,damping:25,restSpeed:10},al=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),ll={type:"keyframes",duration:.8},cl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ul=(t,{keyframes:e})=>e.length>2?ll:pt.has(t)?t.startsWith("scale")?al(e[1]):rl:cl,Le=(t,e)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(at.test(e)||e==="0")&&!e.startsWith("url(")),fl=new Set(["brightness","contrast","saturate","opacity"]);function hl(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(ue)||[];if(!s)return t;const i=n.replace(s,"");let r=fl.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const dl=/([a-z-]*)\(.*?\)/g,ke={...at,getAnimatableNone:t=>{const e=t.match(dl);return e?e.map(hl).join(" "):t}},pl={...Zs,color:N,backgroundColor:N,outlineColor:N,fill:N,stroke:N,borderColor:N,borderTopColor:N,borderRightColor:N,borderBottomColor:N,borderLeftColor:N,filter:ke,WebkitFilter:ke},cn=t=>pl[t];function Fi(t,e){let n=cn(t);return n!==ke&&(n=at),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Ni=t=>/^0[^.\s]+$/.test(t);function ml(t){if(typeof t=="number")return t===0;if(t!==null)return t==="none"||t==="0"||Ni(t)}function gl(t,e,n,s){const i=Le(e,n);let r;Array.isArray(n)?r=[...n]:r=[null,n];const o=s.from!==void 0?s.from:t.get();let a;const l=[];for(let c=0;c<r.length;c++)r[c]===null&&(r[c]=c===0?o:r[c-1]),ml(r[c])&&l.push(c),typeof r[c]=="string"&&r[c]!=="none"&&r[c]!=="0"&&(a=r[c]);if(i&&l.length&&a)for(let c=0;c<l.length;c++){const u=l[c];r[u]=Fi(e,a)}return r}function yl({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function un(t,e){return t[e]||t.default||t}const vl={skipAnimations:!1},fn=(t,e,n,s={})=>i=>{const r=un(s,t)||{},o=r.delay||s.delay||0;let{elapsed:a=0}=s;a=a-ot(o);const l=gl(e,t,n,r),c=l[0],u=l[l.length-1],f=Le(t,c),h=Le(t,u);Ut(f===h,`You are trying to animate ${t} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let d={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...r,delay:-a,onUpdate:p=>{e.set(p),r.onUpdate&&r.onUpdate(p)},onComplete:()=>{i(),r.onComplete&&r.onComplete()}};if(yl(r)||(d={...d,...ul(t,d)}),d.duration&&(d.duration=ot(d.duration)),d.repeatDelay&&(d.repeatDelay=ot(d.repeatDelay)),!f||!h||pa.current||r.type===!1||vl.skipAnimations)return ol(d);if(!s.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const p=il(e,t,d);if(p)return p}return ne(d)};function se(t){return!!(_(t)&&t.add)}const _i=t=>/^\-?\d*\.?\d+$/.test(t);function hn(t,e){t.indexOf(e)===-1&&t.push(e)}function dn(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class pn{constructor(){this.subscriptions=[]}add(e){return hn(this.subscriptions,e),()=>dn(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r<i;r++){const o=this.subscriptions[r];o&&o(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $n=new Set;function mn(t,e,n){t||$n.has(e)||(console.warn(e),n&&console.warn(n),$n.add(e))}const xl=t=>!isNaN(parseFloat(t));class bl{constructor(e,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(s,i=!0)=>{this.prev=this.current,this.current=s;const{delta:r,timestamp:o}=O;this.lastUpdated!==o&&(this.timeDelta=r,this.lastUpdated=o,M.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>M.postRender(this.velocityCheck),this.velocityCheck=({timestamp:s})=>{s!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=xl(this.current),this.owner=n.owner}onChange(e){return process.env.NODE_ENV!=="production"&&mn(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new pn);const s=this.events[e].add(n);return e==="change"?()=>{s(),M.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=e,this.timeDelta=s}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Bi(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wt(t,e){return new bl(t,e)}const Ui=t=>e=>e.test(t),Tl={test:t=>t==="auto",parse:t=>t},zi=[mt,w,H,nt,Dr,Mr,Tl],Mt=t=>zi.find(Ui(t)),Pl=[...zi,N,at],wl=t=>Pl.find(Ui(t));function Sl(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,wt(n))}function Cl(t,e){const n=he(t,e);let{transitionEnd:s={},transition:i={},...r}=n?t.makeTargetAnimatable(n,!1):{};r={...r,...s};for(const o in r){const a=Gr(r[o]);Sl(t,o,a)}}function Al(t,e,n){var s,i;const r=Object.keys(e).filter(a=>!t.hasValue(a)),o=r.length;if(o)for(let a=0;a<o;a++){const l=r[a],c=e[l];let u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(i=(s=n[l])!==null&&s!==void 0?s:t.readValue(l))!==null&&i!==void 0?i:e[l]),u!=null&&(typeof u=="string"&&(_i(u)||Ni(u))?u=parseFloat(u):!wl(u)&&at.test(c)&&(u=Fi(l,c)),t.addValue(l,wt(u,{owner:t})),n[l]===void 0&&(n[l]=u),u!==null&&t.setBaseTarget(l,u))}}function Vl(t,e){return e?(e[t]||e.default||e).from:void 0}function Ml(t,e,n){const s={};for(const i in t){const r=Vl(i,e);if(r!==void 0)s[i]=r;else{const o=n.getValue(i);o&&(s[i]=o.get())}}return s}function Dl({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Rl(t,e){const n=t.get();if(Array.isArray(e)){for(let s=0;s<e.length;s++)if(e[s]!==n)return!0}else return n!==e}function Wi(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e);const l=t.getValue("willChange");s&&(r=s);const c=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const f in a){const h=t.getValue(f),d=a[f];if(!h||d===void 0||u&&Dl(u,f))continue;const p={delay:n,elapsed:0,...un(r||{},f)};if(window.HandoffAppearAnimations){const T=t.getProps()[Gs];if(T){const y=window.HandoffAppearAnimations(T,f,h,M);y!==null&&(p.elapsed=y,p.isHandoff=!0)}}let m=!p.isHandoff&&!Rl(h,d);if(p.type==="spring"&&(h.getVelocity()||p.velocity)&&(m=!1),h.animation&&(m=!1),m)continue;h.start(fn(f,h,d,t.shouldReduceMotion&&pt.has(f)?{type:!1}:p));const x=h.animation;se(l)&&(l.add(f),x.then(()=>l.remove(f))),c.push(x)}return o&&Promise.all(c).then(()=>{o&&Cl(t,o)}),c}function Be(t,e,n={}){const s=he(t,e,n.custom);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(Wi(t,s,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=i;return jl(t,e,c+l,u,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,c]=a==="beforeChildren"?[r,o]:[o,r];return l().then(()=>c())}else return Promise.all([r(),o(n.delay)])}function jl(t,e,n=0,s=0,i=1,r){const o=[],a=(t.variantChildren.size-1)*s,l=i===1?(c=0)=>c*s:(c=0)=>a-c*s;return Array.from(t.variantChildren).sort(El).forEach((c,u)=>{c.notify("AnimationStart",e),o.push(Be(c,e,{...r,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",e)))}),Promise.all(o)}function El(t,e){return t.sortNodePosition(e)}function Ll(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Be(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Be(t,e,n);else{const i=typeof e=="function"?he(t,e,n.custom):e;s=Promise.all(Wi(t,i,n))}return s.then(()=>t.notify("AnimationComplete",e))}const kl=[...Xe].reverse(),Bl=Xe.length;function Il(t){return e=>Promise.all(e.map(({animation:n,options:s})=>Ll(t,n,s)))}function Ol(t){let e=Il(t);const n=Nl();let s=!0;const i=(l,c)=>{const u=he(t,c);if(u){const{transition:f,transitionEnd:h,...d}=u;l={...l,...d,...h}}return l};function r(l){e=l(t)}function o(l,c){const u=t.getProps(),f=t.getVariantContext(!0)||{},h=[],d=new Set;let p={},m=1/0;for(let T=0;T<Bl;T++){const y=kl[T],g=n[y],b=u[y]!==void 0?u[y]:f[y],S=Bt(b),V=y===c?g.isActive:null;V===!1&&(m=T);let D=b===f[y]&&b!==u[y]&&S;if(D&&s&&t.manuallyAnimateOnMount&&(D=!1),g.protectedKeys={...p},!g.isActive&&V===null||!b&&!g.prevProp||le(b)||typeof b=="boolean")continue;let L=Fl(g.prevProp,b)||y===c&&g.isActive&&!D&&S||T>m&&S,K=!1;const gt=Array.isArray(b)?b:[b];let $=gt.reduce(i,{});V===!1&&($={});const{prevResolvedValues:Y={}}=g,F={...Y,...$},yt=I=>{L=!0,d.has(I)&&(K=!0,d.delete(I)),g.needsAnimating[I]=!0};for(const I in F){const et=$[I],Ct=Y[I];if(p.hasOwnProperty(I))continue;let vt=!1;Jt(et)&&Jt(Ct)?vt=!hi(et,Ct):vt=et!==Ct,vt?et!==void 0?yt(I):d.add(I):et!==void 0&&d.has(I)?yt(I):g.protectedKeys[I]=!0}g.prevProp=b,g.prevResolvedValues=$,g.isActive&&(p={...p,...$}),s&&t.blockInitialAnimation&&(L=!1),L&&(!D||K)&&h.push(...gt.map(I=>({animation:I,options:{type:y,...l}})))}if(d.size){const T={};d.forEach(y=>{const g=t.getBaseTarget(y);g!==void 0&&(T[y]=g)}),h.push({animation:T})}let x=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(x=!1),s=!1,x?e(h):Promise.resolve()}function a(l,c,u){var f;if(n[l].isActive===c)return Promise.resolve();(f=t.variantChildren)===null||f===void 0||f.forEach(d=>{var p;return(p=d.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;const h=o(u,l);for(const d in n)n[d].protectedKeys={};return h}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n}}function Fl(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!hi(e,t):!1}function ut(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Nl(){return{animate:ut(!0),whileInView:ut(),whileHover:ut(),whileTap:ut(),whileDrag:ut(),whileFocus:ut(),exit:ut()}}class _l extends lt{constructor(e){super(e),e.animationState||(e.animationState=Ol(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),le(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let Ul=0;class zl extends lt{constructor(){super(...arguments),this.id=Ul++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n,custom:s}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const r=this.node.animationState.setActive("exit",!e,{custom:s??this.node.getProps().custom});n&&!e&&r.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Wl={animation:{Feature:_l},exit:{Feature:zl}},qn=(t,e)=>Math.abs(t-e);function Gl(t,e){const n=qn(t.x,e.x),s=qn(t.y,e.y);return Math.sqrt(n**2+s**2)}class Gi{constructor(e,n,{transformPagePoint:s,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Ce(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,d=Gl(f.offset,{x:0,y:0})>=3;if(!h&&!d)return;const{point:p}=f,{timestamp:m}=O;this.history.push({...p,timestamp:m});const{onStart:x,onMove:T}=this.handlers;h||(x&&x(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,f)},this.handlePointerMove=(f,h)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Se(h,this.transformPagePoint),M.update(this.updatePoint,!0)},this.handlePointerUp=(f,h)=>{this.end();const{onEnd:d,onSessionEnd:p,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Ce(f.type==="pointercancel"?this.lastMoveEventInfo:Se(h,this.transformPagePoint),this.history);this.startEvent&&d&&d(f,x),p&&p(f,x)},!ai(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const o=fe(e),a=Se(o,this.transformPagePoint),{point:l}=a,{timestamp:c}=O;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(e,Ce(a,this.history)),this.removeListeners=it(Z(this.contextWindow,"pointermove",this.handlePointerMove),Z(this.contextWindow,"pointerup",this.handlePointerUp),Z(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),tt(this.updatePoint)}}function Se(t,e){return e?{point:e(t.point)}:t}function Hn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ce({point:t},e){return{point:t,delta:Hn(t,$i(e)),offset:Hn(t,$l(e)),velocity:ql(e,.1)}}function $l(t){return t[0]}function $i(t){return t[t.length-1]}function ql(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=$i(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>ot(e)));)n--;if(!s)return{x:0,y:0};const r=J(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function U(t){return t.max-t.min}function Ie(t,e=0,n=.01){return Math.abs(t-e)<=n}function Kn(t,e,n,s=.5){t.origin=s,t.originPoint=E(e.min,e.max,t.origin),t.scale=U(n)/U(e),(Ie(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=E(n.min,n.max,t.origin)-t.originPoint,(Ie(t.translate)||isNaN(t.translate))&&(t.translate=0)}function Lt(t,e,n,s){Kn(t.x,e.x,n.x,s?s.originX:void 0),Kn(t.y,e.y,n.y,s?s.originY:void 0)}function Yn(t,e,n){t.min=n.min+e.min,t.max=t.min+U(e)}function Hl(t,e,n){Yn(t.x,e.x,n.x),Yn(t.y,e.y,n.y)}function Xn(t,e,n){t.min=e.min-n.min,t.max=t.min+U(e)}function kt(t,e,n){Xn(t.x,e.x,n.x),Xn(t.y,e.y,n.y)}function Kl(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?E(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?E(n,t,s.max):Math.min(t,n)),t}function Qn(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Yl(t,{top:e,left:n,bottom:s,right:i}){return{x:Qn(t.x,n,i),y:Qn(t.y,e,s)}}function Zn(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function Xl(t,e){return{x:Zn(t.x,e.x),y:Zn(t.y,e.y)}}function Ql(t,e){let n=.5;const s=U(t),i=U(e);return i>s?n=Ot(e.min,e.max-s,t.min):s>i&&(n=Ot(t.min,t.max-i,e.min)),rt(0,1,n)}function Zl(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Oe=.35;function Jl(t=Oe){return t===!1?t=0:t===!0&&(t=Oe),{x:Jn(t,"left","right"),y:Jn(t,"top","bottom")}}function Jn(t,e,n){return{min:ts(t,e),max:ts(t,n)}}function ts(t,e){return typeof t=="number"?t:t[e]||0}const es=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tt=()=>({x:es(),y:es()}),ns=()=>({min:0,max:0}),B=()=>({x:ns(),y:ns()});function W(t){return[t("x"),t("y")]}function qi({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function tc({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function ec(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Ae(t){return t===void 0||t===1}function Fe({scale:t,scaleX:e,scaleY:n}){return!Ae(t)||!Ae(e)||!Ae(n)}function ft(t){return Fe(t)||Hi(t)||t.z||t.rotate||t.rotateX||t.rotateY}function Hi(t){return ss(t.x)||ss(t.y)}function ss(t){return t&&t!=="0%"}function ie(t,e,n){const s=t-n,i=e*s;return n+i}function is(t,e,n,s,i){return i!==void 0&&(t=ie(t,i,s)),ie(t,n,s)+e}function Ne(t,e=0,n=1,s,i){t.min=is(t.min,e,n,s,i),t.max=is(t.max,e,n,s,i)}function Ki(t,{x:e,y:n}){Ne(t.x,e.translate,e.scale,e.originPoint),Ne(t.y,n.translate,n.scale,n.originPoint)}function nc(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;a<i;a++){r=n[a],o=r.projectionDelta;const l=r.instance;l&&l.style&&l.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Pt(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,Ki(t,o)),s&&ft(r.latestValues)&&Pt(t,r.latestValues))}e.x=os(e.x),e.y=os(e.y)}function os(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function st(t,e){t.min=t.min+e,t.max=t.max+e}function rs(t,e,[n,s,i]){const r=e[i]!==void 0?e[i]:.5,o=E(t.min,t.max,r);Ne(t,e[n],e[s],o,e.scale)}const sc=["x","scaleX","originX"],ic=["y","scaleY","originY"];function Pt(t,e){rs(t.x,e,sc),rs(t.y,e,ic)}function Yi(t,e){return qi(ec(t.getBoundingClientRect(),e))}function oc(t,e,n){const s=Yi(t,n),{scroll:i}=e;return i&&(st(s.x,i.offset.x),st(s.y,i.offset.y)),s}const Xi=({current:t})=>t?t.ownerDocument.defaultView:null,rc=new WeakMap;class ac{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=B(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=u=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(fe(u,"page").point)},r=(u,f)=>{const{drag:h,dragPropagation:d,onDragStart:p}=this.getProps();if(h&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ci(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),W(x=>{let T=this.getAxisMotionValue(x).get()||0;if(H.test(T)){const{projection:y}=this.visualElement;if(y&&y.layout){const g=y.layout.layoutBox[x];g&&(T=U(g)*(parseFloat(T)/100))}}this.originPoint[x]=T}),p&&M.update(()=>p(u,f),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(u,f)=>{const{dragPropagation:h,dragDirectionLock:d,onDirectionLock:p,onDrag:m}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:x}=f;if(d&&this.currentDirection===null){this.currentDirection=lc(x),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",f.point,x),this.updateAxis("y",f.point,x),this.visualElement.render(),m&&m(u,f)},a=(u,f)=>this.stop(u,f),l=()=>W(u=>{var f;return this.getAnimationState(u)==="paused"&&((f=this.getAxisMotionValue(u).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Gi(e,{onSessionStart:i,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Xi(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&M.update(()=>r(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Ht(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=Kl(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,r=this.constraints;n&&xt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Yl(i.layoutBox,n):this.constraints=!1,this.elastic=Jl(s),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&W(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Zl(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!xt(e))return!1;const s=e.current;q(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=oc(s,i.root,this.visualElement.getTransformPagePoint());let o=Xl(i.layout.layoutBox,r);if(n){const a=n(tc(o));this.hasMutatedConstraints=!!a,a&&(o=qi(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=W(u=>{if(!Ht(u,n,this.currentDirection))return;let f=l&&l[u]||{};o&&(f={min:0,max:0});const h=i?200:1e6,d=i?40:1e7,p={type:"inertia",velocity:s?e[u]:0,bounceStiffness:h,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...f};return this.startAxisValueAnimation(u,p)});return Promise.all(c).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return s.start(fn(e,s,0,n))}stopAnimation(){W(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){W(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n="_drag"+e.toUpperCase(),s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){W(n=>{const{drag:s}=this.getProps();if(!Ht(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-E(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!xt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};W(o=>{const a=this.getAxisMotionValue(o);if(a){const l=a.get();i[o]=Ql({min:l,max:l},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),W(o=>{if(!Ht(o,e,null))return;const a=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];a.set(E(l,c,i[o]))})}addListeners(){if(!this.visualElement.current)return;rc.set(this.visualElement,this);const e=this.visualElement.current,n=Z(e,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();xt(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),s();const o=Q(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(W(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate))}),this.visualElement.render())});return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Oe,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Ht(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function lc(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class cc extends lt{constructor(e){super(e),this.removeGroupControls=k,this.removeListeners=k,this.controls=new ac(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||k}unmount(){this.removeGroupControls(),this.removeListeners()}}const as=t=>(e,n)=>{t&&M.update(()=>t(e,n))};class uc extends lt{constructor(){super(...arguments),this.removePointerDownListener=k}onPointerDown(e){this.session=new Gi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Xi(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:as(e),onStart:as(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&M.update(()=>i(r,o))}}}mount(){this.removePointerDownListener=Z(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function fc(){const t=P.useContext(Ke);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=P.useId();return P.useEffect(()=>s(i),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}const Xt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ls(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Dt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(w.test(t))t=parseFloat(t);else return t;const n=ls(t,e.target.x),s=ls(t,e.target.y);return`${n}% ${s}%`}},hc={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=at.parse(t);if(i.length>5)return s;const r=at.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const c=E(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=c),typeof i[3+o]=="number"&&(i[3+o]/=c),r(i)}};class dc extends P.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;Tr(pc),r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Xt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,o=s.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||M.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Qi(t){const[e,n]=fc(),s=P.useContext(qs);return P.createElement(dc,{...t,layoutGroup:s,switchLayoutGroup:P.useContext(Hs),isPresent:e,safeToRemove:n})}const pc={borderRadius:{...Dt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dt,borderTopRightRadius:Dt,borderBottomLeftRadius:Dt,borderBottomRightRadius:Dt,boxShadow:hc},Zi=["TopLeft","TopRight","BottomLeft","BottomRight"],mc=Zi.length,cs=t=>typeof t=="string"?parseFloat(t):t,us=t=>typeof t=="number"||w.test(t);function gc(t,e,n,s,i,r){i?(t.opacity=E(0,n.opacity!==void 0?n.opacity:1,yc(s)),t.opacityExit=E(e.opacity!==void 0?e.opacity:1,0,vc(s))):r&&(t.opacity=E(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;o<mc;o++){const a=`border${Zi[o]}Radius`;let l=fs(e,a),c=fs(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||us(l)===us(c)?(t[a]=Math.max(E(cs(l),cs(c),s),0),(H.test(c)||H.test(l))&&(t[a]+="%")):t[a]=c}(e.rotate||n.rotate)&&(t.rotate=E(e.rotate||0,n.rotate||0,s))}function fs(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const yc=Ji(0,.5,Ti),vc=Ji(.5,.95,k);function Ji(t,e,n){return s=>s<t?0:s>e?1:n(Ot(t,e,s))}function hs(t,e){t.min=e.min,t.max=e.max}function z(t,e){hs(t.x,e.x),hs(t.y,e.y)}function ds(t,e,n,s,i){return t-=e,t=ie(t,1/n,s),i!==void 0&&(t=ie(t,1/i,s)),t}function xc(t,e=0,n=1,s=.5,i,r=t,o=t){if(H.test(e)&&(e=parseFloat(e),e=E(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=E(r.min,r.max,s);t===r&&(a-=e),t.min=ds(t.min,e,n,a,i),t.max=ds(t.max,e,n,a,i)}function ps(t,e,[n,s,i],r,o){xc(t,e[n],e[s],e[i],e.scale,r,o)}const bc=["x","scaleX","originX"],Tc=["y","scaleY","originY"];function ms(t,e,n,s){ps(t.x,e,bc,n?n.x:void 0,s?s.x:void 0),ps(t.y,e,Tc,n?n.y:void 0,s?s.y:void 0)}function gs(t){return t.translate===0&&t.scale===1}function to(t){return gs(t.x)&&gs(t.y)}function Pc(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function eo(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function ys(t){return U(t.x)/U(t.y)}class wc{constructor(){this.members=[]}add(e){hn(this.members,e),e.scheduleRender()}remove(e){if(dn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function vs(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y;if((i||r)&&(s=`translate3d(${i}px, ${r}px, 0) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:l,rotateX:c,rotateY:u}=n;l&&(s+=`rotate(${l}deg) `),c&&(s+=`rotateX(${c}deg) `),u&&(s+=`rotateY(${u}deg) `)}const o=t.x.scale*e.x,a=t.y.scale*e.y;return(o!==1||a!==1)&&(s+=`scale(${o}, ${a})`),s||"none"}const Sc=(t,e)=>t.depth-e.depth;class Cc{constructor(){this.children=[],this.isDirty=!1}add(e){hn(this.children,e),this.isDirty=!0}remove(e){dn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Sc),this.isDirty=!1,this.children.forEach(e)}}function Ac(t,e){const n=performance.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(tt(s),t(r-e))};return M.read(s,!0),()=>tt(s)}function Vc(t){window.MotionDebug&&window.MotionDebug.record(t)}function Mc(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Dc(t,e,n){const s=_(t)?t:wt(t);return s.start(fn("",s,e,n)),s.animation}const xs=["","X","Y","Z"],Rc={visibility:"hidden"},bs=1e3;let jc=0;const ht={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function no({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e==null?void 0:e()){this.id=jc++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ht.totalNodes=ht.resolvedTargetDeltas=ht.recalculatedProjection=0,this.nodes.forEach(kc),this.nodes.forEach(Nc),this.nodes.forEach(_c),this.nodes.forEach(Bc),Vc(ht)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Cc)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new pn),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Mc(o),this.instance=o;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(c||l)&&(this.isLayoutDirty=!0),t){let f;const h=()=>this.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Ac(h,250),Xt.hasAnimatedSinceResize&&(Xt.hasAnimatedSinceResize=!1,this.nodes.forEach(Ps))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:h,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||$c,{onLayoutAnimationStart:x,onLayoutAnimationComplete:T}=u.getProps(),y=!this.targetLayout||!eo(this.targetLayout,p)||d,g=!h&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||h&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,g);const b={...un(m,"layout"),onPlay:x,onComplete:T};(u.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else h||Ps(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Uc),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ts);return}this.isUpdating||this.nodes.forEach(Oc),this.isUpdating=!1,this.nodes.forEach(Fc),this.nodes.forEach(Ec),this.nodes.forEach(Lc),this.clearAllSnapshots();const a=performance.now();O.delta=rt(0,1e3/60,a-O.timestamp),O.timestamp=a,O.isProcessing=!0,ge.update.process(O),ge.preRender.process(O),ge.render.process(O),O.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ic),this.sharedNodes.forEach(zc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=B(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:s(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform,a=this.projectionDelta&&!to(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;o&&(a||ft(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),qc(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return B();const a=o.measureViewportBox(),{scroll:l}=this.root;return l&&(st(a.x,l.offset.x),st(a.y,l.offset.y)),a}removeElementScroll(o){const a=B();z(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:f}=c;if(c!==this.root&&u&&f.layoutScroll){if(u.isRoot){z(a,o);const{scroll:h}=this.root;h&&(st(a.x,-h.offset.x),st(a.y,-h.offset.y))}st(a.x,u.offset.x),st(a.y,u.offset.y)}}return a}applyTransform(o,a=!1){const l=B();z(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Pt(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),ft(u.latestValues)&&Pt(l,u.latestValues)}return ft(this.latestValues)&&Pt(l,this.latestValues),l}removeTransform(o){const a=B();z(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!ft(c.latestValues))continue;Fe(c.latestValues)&&c.updateSnapshot();const u=B(),f=c.measurePageBox();z(u,f),ms(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return ft(this.latestValues)&&ms(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==O.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:h}=this.options;if(!(!this.layout||!(f||h))){if(this.resolvedRelativeTargetAt=O.timestamp,!this.targetDelta&&!this.relativeTarget){const d=this.getClosestProjectingParent();d&&d.layout&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=B(),this.relativeTargetOrigin=B(),kt(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),z(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=B(),this.targetWithTransforms=B()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Hl(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):z(this.target,this.layout.layoutBox),Ki(this.target,this.targetDelta)):z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const d=this.getClosestProjectingParent();d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=B(),this.relativeTargetOrigin=B(),kt(this.relativeTargetOrigin,this.target,d.target),z(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ht.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Fe(this.parent.latestValues)||Hi(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===O.timestamp&&(c=!1),c)return;const{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;z(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,d=this.treeScale.y;nc(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox);const{target:p}=a;if(!p){this.projectionTransform&&(this.projectionDelta=Tt(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Tt(),this.projectionDeltaWithTransform=Tt());const m=this.projectionTransform;Lt(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=vs(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==h||this.treeScale.y!==d)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p)),ht.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(o,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=Tt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=B(),d=l?l.source:void 0,p=this.layout?this.layout.source:void 0,m=d!==p,x=this.getStack(),T=!x||x.members.length<=1,y=!!(m&&!T&&this.options.crossfade===!0&&!this.path.some(Gc));this.animationProgress=0;let g;this.mixTargetDelta=b=>{const S=b/1e3;ws(f.x,o.x,S),ws(f.y,o.y,S),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(kt(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Wc(this.relativeTarget,this.relativeTargetOrigin,h,S),g&&Pc(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=B()),z(g,this.relativeTarget)),m&&(this.animationValues=u,gc(u,c,this.latestValues,S,y,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(tt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=M.update(()=>{Xt.hasAnimatedSinceResize=!0,this.currentAnimation=Dc(0,bs,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(bs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=o;if(!(!a||!l||!c)){if(this!==o&&this.layout&&c&&so(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||B();const f=U(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=U(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}z(a,l),Pt(a,u),Lt(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new wc),this.sharedNodes.get(o).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;const c={};for(let u=0;u<xs.length;u++){const f="rotate"+xs[u];l[f]&&(c[f]=l[f],o.setStaticValue(f,0))}o.render();for(const u in c)o.setStaticValue(u,c[u]);o.scheduleRender()}getProjectionStyles(o){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Rc;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Yt(o==null?void 0:o.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=Yt(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!ft(this.latestValues)&&(m.transform=u?u({},""):"none",this.hasProjected=!1),m}const h=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=vs(this.projectionDeltaWithTransform,this.treeScale,h),u&&(c.transform=u(h,c.transform));const{x:d,y:p}=this.projectionDelta;c.transformOrigin=`${d.origin*100}% ${p.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(a=h.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:c.opacity=f===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const m in Qt){if(h[m]===void 0)continue;const{correct:x,applyTo:T}=Qt[m],y=c.transform==="none"?h[m]:x(h[m],f);if(T){const g=T.length;for(let b=0;b<g;b++)c[T[b]]=y}else c[m]=y}return this.options.layoutId&&(c.pointerEvents=f===this?Yt(o==null?void 0:o.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Ts),this.root.sharedNodes.clear()}}}function Ec(t){t.updateLayout()}function Lc(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:r}=t.options,o=n.source!==t.layout.source;r==="size"?W(f=>{const h=o?n.measuredBox[f]:n.layoutBox[f],d=U(h);h.min=s[f].min,h.max=h.min+d}):so(r,n.layoutBox,s)&&W(f=>{const h=o?n.measuredBox[f]:n.layoutBox[f],d=U(s[f]);h.max=h.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+d)});const a=Tt();Lt(a,s,n.layoutBox);const l=Tt();o?Lt(l,t.applyTransform(i,!0),n.measuredBox):Lt(l,s,n.layoutBox);const c=!to(a);let u=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:d}=f;if(h&&d){const p=B();kt(p,n.layoutBox,h.layoutBox);const m=B();kt(m,s,d.layoutBox),eo(p,m)||(u=!0),f.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=p,t.relativeParent=f)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function kc(t){ht.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Bc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Ic(t){t.clearSnapshot()}function Ts(t){t.clearMeasurements()}function Oc(t){t.isLayoutDirty=!1}function Fc(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ps(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Nc(t){t.resolveTargetDelta()}function _c(t){t.calcProjection()}function Uc(t){t.resetRotation()}function zc(t){t.removeLeadSnapshot()}function ws(t,e,n){t.translate=E(e.translate,0,n),t.scale=E(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ss(t,e,n,s){t.min=E(e.min,n.min,s),t.max=E(e.max,n.max,s)}function Wc(t,e,n,s){Ss(t.x,e.x,n.x,s),Ss(t.y,e.y,n.y,s)}function Gc(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const $c={duration:.45,ease:[.4,0,.1,1]},Cs=t=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(t),As=Cs("applewebkit/")&&!Cs("chrome/")?Math.round:k;function Vs(t){t.min=As(t.min),t.max=As(t.max)}function qc(t){Vs(t.x),Vs(t.y)}function so(t,e,n){return t==="position"||t==="preserve-aspect"&&!Ie(ys(e),ys(n),.2)}const Hc=no({attachResizeListener:(t,e)=>Q(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ve={current:void 0},io=no({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ve.current){const t=new Hc({});t.mount(window),t.setOptions({layoutScroll:!0}),Ve.current=t}return Ve.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Kc={pan:{Feature:uc},drag:{Feature:cc,ProjectionNode:io,MeasureLayout:Qi}},Yc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Xc(t){const e=Yc.exec(t);if(!e)return[,];const[,n,s]=e;return[n,s]}const Qc=4;function _e(t,e,n=1){q(n<=Qc,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[s,i]=Xc(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return _i(o)?parseFloat(o):o}else return De(i)?_e(i,e,n+1):i}function Zc(t,{...e},n){const s=t.current;if(!(s instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach(i=>{const r=i.get();if(!De(r))return;const o=_e(r,s);o&&i.set(o)});for(const i in e){const r=e[i];if(!De(r))continue;const o=_e(r,s);o&&(e[i]=o,n||(n={}),n[i]===void 0&&(n[i]=r))}return{target:e,transitionEnd:n}}const Jc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),oo=t=>Jc.has(t),tu=t=>Object.keys(t).some(oo),Kt=t=>t===mt||t===w,Ms=(t,e)=>parseFloat(t.split(", ")[e]),Ds=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/);if(i)return Ms(i[1],e);{const r=s.match(/^matrix\((.+)\)$/);return r?Ms(r[1],t):0}},eu=new Set(["x","y","z"]),nu=Ft.filter(t=>!eu.has(t));function su(t){const e=[];return nu.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}const St={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Ds(4,13),y:Ds(5,14)};St.translateX=St.x;St.translateY=St.y;const iu=(t,e,n)=>{const s=e.measureViewportBox(),i=e.current,r=getComputedStyle(i),{display:o}=r,a={};o==="none"&&e.setStaticValue("display",t.display||"block"),n.forEach(c=>{a[c]=St[c](s,r)}),e.render();const l=e.measureViewportBox();return n.forEach(c=>{const u=e.getValue(c);u&&u.jump(a[c]),t[c]=St[c](l,r)}),t},ou=(t,e,n={},s={})=>{e={...e},s={...s};const i=Object.keys(e).filter(oo);let r=[],o=!1;const a=[];if(i.forEach(l=>{const c=t.getValue(l);if(!t.hasValue(l))return;let u=n[l],f=Mt(u);const h=e[l];let d;if(Jt(h)){const p=h.length,m=h[0]===null?1:0;u=h[m],f=Mt(u);for(let x=m;x<p&&h[x]!==null;x++)d?q(Mt(h[x])===d,"All keyframes must be of the same type"):(d=Mt(h[x]),q(d===f||Kt(f)&&Kt(d),"Keyframes must be of the same dimension as the current value"))}else d=Mt(h);if(f!==d)if(Kt(f)&&Kt(d)){const p=c.get();typeof p=="string"&&c.set(parseFloat(p)),typeof h=="string"?e[l]=parseFloat(h):Array.isArray(h)&&d===w&&(e[l]=h.map(parseFloat))}else f!=null&&f.transform&&(d!=null&&d.transform)&&(u===0||h===0)?u===0?c.set(d.transform(u)):e[l]=f.transform(h):(o||(r=su(t),o=!0),a.push(l),s[l]=s[l]!==void 0?s[l]:e[l],c.jump(h))}),a.length){const l=a.indexOf("height")>=0?window.pageYOffset:null,c=iu(e,t,a);return r.length&&r.forEach(([u,f])=>{t.getValue(u).set(f)}),t.render(),ae&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:s}}else return{target:e,transitionEnd:s}};function ru(t,e,n,s){return tu(e)?ou(t,e,n,s):{target:e,transitionEnd:s}}const au=(t,e,n,s)=>{const i=Zc(t,e,s);return e=i.target,s=i.transitionEnd,ru(t,e,n,s)},Ue={current:null},ro={current:!1};function lu(){if(ro.current=!0,!!ae)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ue.current=t.matches;t.addListener(e),e()}else Ue.current=!1}function cu(t,e,n){const{willChange:s}=e;for(const i in e){const r=e[i],o=n[i];if(_(r))t.addValue(i,r),se(s)&&s.add(i),process.env.NODE_ENV==="development"&&mn(r.version==="10.18.0",`Attempting to mix Framer Motion versions ${r.version} with 10.18.0 may not work as expected.`);else if(_(o))t.addValue(i,wt(r,{owner:t})),se(s)&&s.remove(i);else if(o!==r)if(t.hasValue(i)){const a=t.getValue(i);!a.hasAnimated&&a.set(r)}else{const a=t.getStaticValue(i);t.addValue(i,wt(a!==void 0?a:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Rs=new WeakMap,ao=Object.keys(It),uu=ao.length,js=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],fu=Qe.length;class hu{constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>M.render(this.render,!1,!0);const{latestValues:a,renderState:l}=r;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.isControllingVariants=ce(n),this.isVariantNode=$s(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(n,{});for(const f in u){const h=u[f];a[f]!==void 0&&_(h)&&(h.set(a[f],!1),se(c)&&c.add(f))}}scrapeMotionValuesFromProps(e,n){return{}}mount(e){this.current=e,Rs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,s)=>this.bindToMotionValue(s,n)),ro.current||lu(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ue.current,process.env.NODE_ENV!=="production"&&mn(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Rs.delete(this.current),this.projection&&this.projection.unmount(),tt(this.notifyUpdate),tt(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,n){const s=pt.has(e),i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&M.update(this.notifyUpdate,!1,!0),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),r()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...n},s,i,r){let o,a;if(process.env.NODE_ENV!=="production"&&i&&s){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?Ut(!1,l):q(!1,l)}for(let l=0;l<uu;l++){const c=ao[l],{isEnabled:u,Feature:f,ProjectionNode:h,MeasureLayout:d}=It[c];h&&(o=h),u(n)&&(!this.features[c]&&f&&(this.features[c]=new f(this)),d&&(a=d))}if((this.type==="html"||this.type==="svg")&&!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:c,drag:u,dragConstraints:f,layoutScroll:h,layoutRoot:d}=n;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||f&&xt(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,layoutScroll:h,layoutRoot:d})}return a}updateFeatures(){for(const e in this.features){const n=this.features[e];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):B()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}makeTargetAnimatable(e,n=!0){return this.makeTargetAnimatableFromInstance(e,this.props,n)}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<js.length;s++){const i=js[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r=e["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=cu(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const s=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(s.initial=this.props.initial),s}const n={};for(let s=0;s<fu;s++){const i=Qe[s],r=this.props[i];(Bt(r)||r===!1)&&(n[i]=r)}return n}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){n!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,n)),this.values.set(e,n),this.latestValues[e]=n.get()}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=wt(n,{owner:this}),this.addValue(e,s)),s}readValue(e){var n;return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props,i=typeof s=="string"||typeof s=="object"?(n=on(this.props,s))===null||n===void 0?void 0:n[e]:void 0;if(s&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!_(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new pn),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class lo extends hu{sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:n,...s},{transformValues:i},r){let o=Ml(s,e||{},this);if(i&&(n&&(n=i(n)),s&&(s=i(s)),o&&(o=i(o))),r){Al(this,s,o);const a=au(this,s,o,n);n=a.transitionEnd,s=a.target}return{transition:e,transitionEnd:n,...s}}}function du(t){return window.getComputedStyle(t)}class pu extends lo{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,n){if(pt.has(n)){const s=cn(n);return s&&s.default||0}else{const s=du(e),i=(Xs(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Yi(e,n)}build(e,n,s,i){Je(e,n,s,i.transformTemplate)}scrapeMotionValuesFromProps(e,n){return sn(e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(e,n,s,i){ni(e,n,s,i)}}class mu extends lo{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(pt.has(n)){const s=cn(n);return s&&s.default||0}return n=si.has(n)?n:Ye(n),e.getAttribute(n)}measureInstanceViewportBox(){return B()}scrapeMotionValuesFromProps(e,n){return oi(e,n)}build(e,n,s,i){en(e,n,s,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,s,i){ii(e,n,s,i)}mount(e){this.isSVGTag=nn(e.tagName),super.mount(e)}}const gu=(t,e)=>Ze(t)?new mu(e,{enableHardwareAcceleration:!1}):new pu(e,{enableHardwareAcceleration:!0}),yu={layout:{ProjectionNode:io,MeasureLayout:Qi}},vu={...Wl,...fa,...Kc,...yu},gn=xr((t,e)=>Zr(t,e,vu,gu));function Es(t){for(;t.startsWith("/");)t=t.slice(1);return t}function co(t,e,n=[]){for(const s of t){if(console.log(s.path,e,s.path===e),Es(s.path||"")===Es(e))return[...n,s];if(s.children){const i=co(s.children,e,[...n,s]);if(i)return i}}return null}function xu(t){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...t,children:v.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}function bu(t){return v.jsx(Tu,{...t})}function Tu(t){const{baseUrl:e,menuPath:n}=t;console.log("baseUrl:",e);const s=Ls.useLocation();console.log("location:",s);const[i,r]=P.useState([]),[o,a]=P.useState(!1),l=(co(i,s.pathname)||[]).filter(y=>y.parentKey!==0),[c,u]=P.useState({}),f=y=>{u({...c,[y]:!c[y]})};console.log("matchPaths:",l);const h=()=>{a(!o)};P.useEffect(()=>{(async()=>{const g=e+(n||"/global-menu-config/api/v1/menu-items/user"),b=await po.get(g,{withCredentials:!0}).then(V=>V.data),S={};b.forEach(V=>{V.children&&(S[V.id]=!0)}),u(S),r(b.map(V=>({...V,parentKey:0})))})()},[e,n]);const[d,p]=P.useState(!1),m=()=>{window.location.href=`${e}/authentication/logout?callbackUrl=${window.location.origin}`},x=o?"collapsed":"expanded",T=y=>`${y} ${x}`;return v.jsxs(gn.nav,{initial:{width:"18rem"},animate:{width:o?"5rem":"18rem"},transition:{duration:.3},className:T("side-bar"),children:[v.jsx("div",{className:"h-[8px]"}),v.jsx("div",{className:T("side-bar__toggle-btn"),children:v.jsx("button",{className:"icon-btn",onClick:h,children:o?v.jsx(Us,{}):v.jsx(_s,{})})}),v.jsx("div",{id:"menu-items",className:T("mt-6 overflow-y-auto overflow-x-hidden flex-1"),children:i.map(y=>{const g=b=>l.some(S=>S.id===b);return v.jsx(uo,{item:y,isActive:g,isCollapsed:o,expanded:b=>c[b],toggleExpand:f},y.id)})}),v.jsxs("div",{className:"w-full mt-10 mb-10",children:[v.jsxs("button",{className:T("side-bar__logout-btn"),onClick:()=>p(!0),children:[v.jsx(xu,{}),v.jsx("span",{className:`ml-3 ${o?"hidden":""}`,children:"Logout"})]}),v.jsx(ks,{isOpen:d,onClose:()=>p(!1),onConfirm:m})]})]})}function uo({item:t,level:e=0,...n}){var x;const{isActive:s,isCollapsed:i,expanded:r,toggleExpand:o}=n,a=`level-${e}`,l=i?"collapsed":"expanded",c=s(t.id)?"active":"",u=(T,y=a)=>`${T} ${y} ${l} ${c}`,f=!!((x=t.children)!=null&&x.length),[h,d]=P.useState(!1),p=P.useRef();function m(T){var S;const{level:y,hovered:g,parentRef:b}=T;return!f||i&&y>=2&&!g?null:v.jsx(Pu,{parentRef:b,onlyChild:!i||i&&y<2,children:v.jsx(gn.div,{className:u("menu-item__dropdown",`level-${y}`),initial:{height:i?"auto":0},animate:{height:i||r(t.id)?"auto":0},transition:{duration:.2},children:(S=t.children)==null?void 0:S.map(V=>P.createElement(uo,{...n,key:V.id,item:V,level:y}))},+i)})}return v.jsxs("div",{ref:p,className:u("menu-item__wrapper"),onMouseEnter:()=>i&&d(!0),onMouseLeave:()=>i&&d(!1),children:[v.jsxs(Ls.Link,{to:f?"#":t.path||"#",style:{paddingLeft:`${i?"0.5rem":`${e*1}rem`}`},className:u("menu-item__link"),onClick:()=>{f&&!i&&o(t.id)},children:[e!==0&&v.jsx("div",{className:u("menu-item__icon"),children:v.jsx("img",{src:t.icon||"/",alt:" ",style:{height:24,maxHeight:24}})}),v.jsx("span",{className:u("menu-item__label"),children:t.name}),f&&v.jsx("div",{className:u("menu-item__icon-arrow__wrapper"),children:v.jsx(Ns,{className:u(`menu-item__icon-arrow__icon ${r(t.id)?"open":"close"}`),fontSize:"small"})})]}),m({level:e+1,hovered:h,parentRef:p})]},t.id)}function Pu(t){const{children:e,parentRef:n,onlyChild:s}=t,[i,r]=P.useState({top:0,left:0});return P.useLayoutEffect(()=>{if(n.current){const o=n.current.getBoundingClientRect();r({top:o.top,left:o.left+o.width})}},[n]),s?e:ho.createPortal(v.jsx(gn.div,{style:{position:"fixed",top:i.top,left:i.left},children:e}),document.body)}exports.GlobalMenu=bu;exports.TopBar=Co;
1
+ var p0=require("../index.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("react/jsx-runtime"),re=require("react"),cd=require("react-router-dom"),he=require("../styled-deb36a05.cjs"),fd=require("react-dom"),np=require("axios");function rp(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const be=rp(re),Pr={"modal-overlay":"_modal-overlay_10n3k_1","modal-title":"_modal-title_10n3k_12","modal-footer":"_modal-footer_10n3k_19","modal-container":"_modal-container_10n3k_25","modal-button":"_modal-button_10n3k_43","confirm-btn":"_confirm-btn_10n3k_51","text-white":"_text-white_10n3k_55","text-sm":"_text-sm_10n3k_59"};function dd({isOpen:e,onClose:t,onConfirm:r}){if(!e)return null;function i(s){var p;((p=s.target)==null?void 0:p.id)==="modal-wrapper"&&t()}return Q.jsx("div",{onClick:i,className:Pr["modal-overlay"],id:"modal-wrapper",children:Q.jsxs("div",{className:Pr["modal-container"],children:[Q.jsx("h3",{className:Pr["modal-title"],children:"Log out"}),Q.jsx("p",{className:Pr["text-sm"],children:"Are you sure want to log out?"}),Q.jsxs("div",{className:Pr["modal-footer"],children:[Q.jsx("button",{className:Pr["modal-button"],onClick:t,children:"Cancel"}),Q.jsx("button",{onClick:r,className:`${Pr["text-white"]} ${Pr["confirm-btn"]} ${Pr["modal-button"]}`,children:"Confirm"})]})]})})}function op(){return Q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[Q.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}function ip(){return Q.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}const sp="_avartarDropdownMenu_1d31a_13",ap="_navbar_1d31a_34",lp="_userContainer_1d31a_71",up="_userFullName_1d31a_77",cp="_userAvatar_1d31a_84",fp="_relative_1d31a_92",qt={"avatar-dropdown-item":"_avatar-dropdown-item_1d31a_1",avartarDropdownMenu:sp,navbar:ap,"navbar-container":"_navbar-container_1d31a_45","logo-container":"_logo-container_1d31a_53","right-side-container":"_right-side-container_1d31a_62",userContainer:lp,userFullName:up,userAvatar:cp,relative:fp,"cursor-pointer":"_cursor-pointer_1d31a_96"},dp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3XSURBVHgBtVl7jFxVGf/dO3feMzuzO/tuu92y2xIoCEgCgUQogSIKhBIgaAxpFdREITxMVCrYNqB/+A8QCYQYbIuJUTChGqBQDCkaMUCgW0qtpe12t933drezs/N+XX/fuefOzK6l0KInPb2POfec3/m+3/c6a+ALNNu247xczL6Ofbm+j+suLck+pK972XcYhrEbX6AZOItGoGt4uZ99jQtu+tAnmP7kIPLz8yiwS/NHmxDr6kJTdzfaVq5qnGIb+/azAX9GgDXQTQJUQB3Y+SqOvL1bgXVB6nELv2OvcqllX74Uq2+8SV2buBE40n+QwHfgfwlYq34r+7rU+Bj2vvgH/Ou1VxXIxeAaW7Xht6ph1NGzCfAr7/meC3wb+xYCH8IXBaylurWQnu/d++IfMUCwRS1Nuz7mFN813lfVUrYh3xi1lWXIlXd/F1eww5H2rQQ9gLMFTCAP8PJEamIcO+77AebHx+u/6Y8FrItNJDqVL2Awm8WJQhFejwedfj9WhIJosjz8wKCkUdupu6koOX7n08+60haKPHnGgAlEuLp5bGAPdm78yUKO6tU4cQ3w/uQc3pqYwkypQOAGTNNU3SJoi+N6wmFclWjmBnxqvEja1rMJcF8kghseeRT9V62Rl5s595bPDZggxE29fPD11/DWLx9f/FsNqFwrvP5l6DjenZmBKN40TM5qqrEeAUzJGnz28Rpgv6atFRdGQmrXjjG6QrDV/Q0/+zlWf/1GebWB82//TMAE0svLnpnDh+N/umfDaY1KfnlrdBw7R8ZguyQxPJSsoW493JDHY7JbaiGhSNCycEt3J3oDgZp2qi5HOMgbjuCOp59B+8pV4rsvWWyIpwJ8ND0x0fvKQ/dDPIJh1yWgWVsbW6xU8au9+8jXAqUJWJRo2OdDiGqPBv1ojcUQIRVOptOYnEsjky+iUrXREw3jm91dihQ26VPRs0NvoKmrk6DJ6c6uAQK+pBGftQis8LZ3z/ZtIGjFQRJS78zQ05q1u/0nk5ghWOFoazCAloCFGIF2xKPobmtHW1sCifZWeP1e5DM5jJPjHxwaxsGpJE5WykhYlprZI1IWr0FOGASd4tpv/OIx3PHrZy4mJuHzZhejuYgKDxza9Tqkm4ah5Ck8NUzpjhG5z/L7QQIWsGGfFzGvGJeeUMZY5G0oxGgXRYBSjsSi6GpvwZoL+7GqM4GhbM5hkOEIw6SkDcN5ISIZ2fOh6mz36ziwEDCb7CK+94UXHFAKsHMVQzK1lIWfakq+T4p0+RwhWP5Tm1CcVAbFb7w+xwA9XnVvkS4RbuCS5Z18tvT8LmgO0+s5axrY5Ri8gH3gVICvPvLmG0hPTjjSNVyp6kk5Uhii7Mm01W9i1X6S1yLR7apj78ozKEPjDqoVlIsFLmIjJNKm6wpEI2iOBMhzT10wohmzDtSloGAZ2bNngZRNTYcNwt0ju3Y5vK19jIZJG7ssZiuL93kMTSmC5X3Acnq1lEM2lUQ2OYsTY2PI8BoOeOEXgVfLiPqtmmBqVGt4NrWG3932vCvlNY1GtyYzOYmpfR9pKsgWRa91ryBvXZ8pb1PFspo0YJpqxIlCCf6qiRx3eWwkidBkCj2JGfT3LsU+Gtp83sbyZcsRpTtDbhYtytWJUVfrkwqRbE0rJ4xilBIu0MtQO7fwzQ6XEldPfVQHa7vc1cZlurs26+9eOngIQ/MpeMmVeCiAXNWLXBkEVuDVwniqiH2Tafzz4Cj2T6QwkytifHYOyfQ8ZuYLeHN4FEUKxZWuY6v63k039NqDf/+bPK5TEiYdJOnunT16xLFu6TqKyVURTEvZwwlVBsaFUsqdAZlKBWYuj85QBJmq5A8mYpEw5uYraPUauHBZBxf18LuqChSlSgnnLO1AjnTxaA+huCl5BqUt63q0x6gq92lj+shhnEdaiCezND+QPHrUIbzgMZ3Q61ib7QQPdevwWh6DtPIygXpMD4p0Cx0RA+cnOlUaWShXkZsvYwkN7LLz+5AtVbF0SbcKzyGfhfTMNFYtaVXaMVzfRrCOlzE0TL0Z3owO7HEdw8UCuFfuMlOTNWnWrFWnhY5DdpnsXFfEYxjN5NSGKpw0ncsy8kVRplkcn06izQ+E6IujzQlcviqH9/49zIhmoY9AffQyYZ8fZsmjMghnaqNuIRLWbceQhculTMYFHK8Bzk1POzvUiY3zrVnLqZRJmI6UpfU3t+AfKt00tTHaODw2gQIHlctlTCaLGDqZwfzvX6Ira0IgEMTw1BRGR4awsiOOsBVg2uFXvK2vZzgobVN5oaqjYOXedOuthWZTATJr8V1RQyeCqMm1LvCepihDcRDJYlEBrkqgEP5yBQ8DhD8eRlu8CSuW96ClOYYSc2SDGjs6PonxZAqdTdRWuGlBpm+gIXuzDQfTwvSlIXBo92S7oExDewudLi7yxVEm5ndfcAF5yOSFq3jok6Ufm8sjze+C8WYsWXUuWnpXoBgM4/3jE9gzPO4EFY4zqqiF4gU+uOaLtZfQHsttIuEhuQl3dEB8sZs1aUY4FDCqTvJj63xN5wwtrCSaKc2xXAEpZmIrOoSfQILG1kOpfuXSS9Ddswz+YBA9zIGPkUIf7NuvpNfmDao5lJUYjo93c2xXy66bbersdPEOCWDJO+FjHpo1Jl1y1KkgXkIrwmiwP7Fjr6STlpcuK48CxTybztDQPEimUojxuv+99zB9bNihVjGNALUS9AfgJTWWB6M1Cdq60qsVBg0kWQxYkKiir43qVY5bAxLVeAxolaDm0G19dbO2CsdWCCBPQ5tIZZArVVQSP8nodGB4BIPDx5FlsLDI11lyt1wu4bJ4u/LpCpBZpwOABlpAGZ68be1b6QJOWpLRc1fJ2Ipz4nAduespFrkzxx8bdSMQAyMnyzpnzpdKBJpFdzSIJYkE+np70HtOL6KRIGZnZnF8cgpLQzG0+ILaMzR4h0XN1bNE1kRfn5KuVNSul/jzkssuX/9hLTXXEm2wW1tPXPOZXPBktqAqCFXq2I5WsswpjlWqSsm5cgXTLE5l+OiJWRW66d/wTr6E/oAP7bBrLs02Tln+qLW6LrpInnbLfy7gHd5weH3b6gswvf/jU+7VjXYizP0nTuCVw4MYnJsjjx2LrlYNRQ01iEAHZ1MYTqbhHRxVJdOKzg60NUUUzY4UWH14vehg4r+UX3QxexNe1845XAWyd1x4ESIdisNvNwLeLfw4785vxKc3PaIJUFUewlXcXKmM96nSd1h0jpKfZeYQMkqqZhnnkZhN0JJrlLgrcVs2k41YOICVXe0Is3SS9LNKflveELyMdCelCGDfT6Es529Ly0VE1by6Mudd//XXu3TYVgPMhyRV81Tr6gs2hds7kZUwDcegxjNZvM0INnBihiCrzBuY7DA5N0XkBGXy2SlHbFUuqQcxWOYYzQTbxoJTPLz4a8u0MG34lR8uku9hJvUVApT8Q3zJKLndzA2vLuYQ4PswtdJ/3doaHVx9u01OW5KX/vBexeNksYSXh4bxG6aRH88lafisJKhan1e6l1mZl++YC9CtSTBQZRQX9jMpipGf3bEQ2mlsQapdNpOn1McrTJhsllN8V2IlIqqrUAiSYko499LtZVjMvh+N4XgojC996y7BJW53y38BFinzIlLGSGe3A5RuyCYYARkMhuBjkJCTHK+EXk7u8zIXIPAycwKTwKFDu0+iGe+EGuliFWmTIdwMqdouwM3IKLGFErWTzeeoMQMZFqVObmyq0N659qvou/Y6gfZU49lEo4Shy+mB23+6EfGubiVBOQTxM2cQNYqqg4xuIuEgAYdo8WFGsRC7FQjBE4ygxKQmbfiQZSQrBOPwNLczKMUQZj0X4qYdz2io2k96kXm1SFlaLp9XjqEl0Yqbb7vN5e7mBRixqLknPwcPHIh/f/16ZHOyc+a8THIU6bmJEvnX6KttisuSKpjSKfG8QRLxMMF5+E42E6CGAtyccF/AWtz8PKNhS2sCkzRk0ZyYhJfjm1ta8Ojjj2FpT88pT37MxYD1gAfPPe88/GjjwwRoOZWAlPOUkgD1UbqKEuwRhvQwzx18lg9NLOETTHoSXDTKbC7EMCzGJxV2RdduUl3LfPIs3kjCdSaTJqU8yFPad939HQErQ799qvNiC6do4kJE0jevu3VTUyyOTQ9vRIVG4UpHpCxNXJiU8/KuSj6KNIsMvR66Lj8NVDyBAJPNCUjRiKWlLG7RrRWzrFyWdC/Fgw//GBddrE6mtnzaqbyB0zT3fHhsdBQP3XsfxkZGlBsSFSr1GI6f9pLT8l7O0WQTeXIxSm2UuMkcjSrRkqBXKCkteSW1FP/LoNPBpCZL6XposE8+ywNAZow42/PhBtBSpL7M3rv9+efx2+eeo0S99VTQcNSq/CoBi5pzLJcsbkKkn+W9ABa35UjYUvmBeIeeZT24+rpr8bWbbkIoHB6CQ4Pdp8PzmYA16F44R1nrJ5jT/m7rVvz19TecPJaqFsDlakXxWYCJNCt89mgDbWluVvx0D7mjTU248qqrsO7225BgksS2Q4NNfhaWzwW4AbicDTzB3jtJ4HsHBvDmzp0YPHQYhVKRbi6oKFIgOKGFBAhpQb4Pkt8r+s7B5VdcgWvWrhWJyk+SH2w2zuDPX2cEuAH4Gl42sK933w0ePowZhu9JHpWmyM8y3ZvwOMoz4r7+foLtc4cmNdAnjf/33+lOA14k7/4VdDkW/iV0Dk6RMARH9QOfR/Wf1v4D3Fe7Fu3OpbsAAAAASUVORK5CYII=",hd=re.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ll=re.createContext({}),vc=re.createContext(null),jl=typeof document<"u",hp=jl?re.useLayoutEffect:re.useEffect,pd=re.createContext({strict:!1}),yc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),pp="framerAppearId",md="data-"+yc(pp);function mp(e,t,r,i){const{visualElement:s}=re.useContext(Ll),p=re.useContext(pd),g=re.useContext(vc),S=re.useContext(hd).reducedMotion,m=re.useRef();i=i||p.renderer,!m.current&&i&&(m.current=i(e,{visualState:t,parent:s,props:r,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:S}));const b=m.current;re.useInsertionEffect(()=>{b&&b.update(r,g)});const A=re.useRef(!!(r[md]&&!window.HandoffComplete));return hp(()=>{b&&(b.render(),A.current&&b.animationState&&b.animationState.animateChanges())}),re.useEffect(()=>{b&&(b.updateFeatures(),!A.current&&b.animationState&&b.animationState.animateChanges(),A.current&&(A.current=!1,window.HandoffComplete=!0))}),b}function as(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gp(e,t,r){return re.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):as(r)&&(r.current=i))},[t])}function ba(e){return typeof e=="string"||Array.isArray(e)}function Bl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const bc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xc=["initial",...bc];function Vl(e){return Bl(e.animate)||xc.some(t=>ba(e[t]))}function gd(e){return!!(Vl(e)||e.variants)}function vp(e,t){if(Vl(e)){const{initial:r,animate:i}=e;return{initial:r===!1||ba(r)?r:void 0,animate:ba(i)?i:void 0}}return e.inherit!==!1?t:{}}function yp(e){const{initial:t,animate:r}=vp(e,re.useContext(Ll));return re.useMemo(()=>({initial:t,animate:r}),[Wc(t),Wc(r)])}function Wc(e){return Array.isArray(e)?e.join(" "):e}const Uc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},xa={};for(const e in Uc)xa[e]={isEnabled:t=>Uc[e].some(r=>!!t[r])};function bp(e){for(const t in e)xa[t]={...xa[t],...e[t]}}const vd=re.createContext({}),yd=re.createContext({}),xp=Symbol.for("motionComponentSymbol");function Sp({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:s}){e&&bp(e);function p(S,m){let b;const A={...re.useContext(hd),...S,layoutId:wp(S)},{isStatic:w}=A,D=yp(S),L=i(S,w);if(!w&&jl){D.visualElement=mp(s,L,A,t);const H=re.useContext(yd),Y=re.useContext(pd).strict;D.visualElement&&(b=D.visualElement.loadFeatures(A,Y,e,H))}return be.createElement(Ll.Provider,{value:D},b&&D.visualElement?be.createElement(b,{visualElement:D.visualElement,...A}):null,r(s,S,gp(L,D.visualElement,m),L,w,D.visualElement))}const g=re.forwardRef(p);return g[xp]=s,g}function wp({layoutId:e}){const t=re.useContext(vd).id;return t&&e!==void 0?t+"-"+e:e}function kp(e){function t(i,s={}){return Sp(e(i,s))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(i,s)=>(r.has(s)||r.set(s,t(s)),r.get(s))})}const Tp=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Sc(e){return typeof e!="string"||e.includes("-")?!1:!!(Tp.indexOf(e)>-1||/[A-Z]/.test(e))}const El={};function Cp(e){Object.assign(El,e)}const wa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ai=new Set(wa);function bd(e,{layout:t,layoutId:r}){return ai.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!El[e]||e==="opacity")}const Ut=e=>!!(e&&e.getVelocity),Ep={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Rp=wa.length;function Pp(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,s){let p="";for(let g=0;g<Rp;g++){const S=wa[g];if(e[S]!==void 0){const m=Ep[S]||S;p+=`${m}(${e[S]}) `}}return t&&!e.z&&(p+="translateZ(0)"),p=p.trim(),s?p=s(e,i?"":p):r&&i&&(p="none"),p}const xd=e=>t=>typeof t=="string"&&t.startsWith(e),Sd=xd("--"),ec=xd("var(--"),Ap=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Ip=(e,t)=>t&&typeof e=="number"?t.transform(e):e,ho=(e,t,r)=>Math.min(Math.max(r,e),t),li={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ma={...li,transform:e=>ho(0,1,e)},ml={...li,default:1},ga=e=>Math.round(e*1e5)/1e5,zl=/(-)?([\d]*\.?[\d])+/g,wd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Mp=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ka(e){return typeof e=="string"}const Ta=e=>({test:t=>ka(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),lo=Ta("deg"),Qn=Ta("%"),me=Ta("px"),Dp=Ta("vh"),Op=Ta("vw"),Nc={...Qn,parse:e=>Qn.parse(e)/100,transform:e=>Qn.transform(e*100)},Hc={...li,transform:Math.round},kd={borderWidth:me,borderTopWidth:me,borderRightWidth:me,borderBottomWidth:me,borderLeftWidth:me,borderRadius:me,radius:me,borderTopLeftRadius:me,borderTopRightRadius:me,borderBottomRightRadius:me,borderBottomLeftRadius:me,width:me,maxWidth:me,height:me,maxHeight:me,size:me,top:me,right:me,bottom:me,left:me,padding:me,paddingTop:me,paddingRight:me,paddingBottom:me,paddingLeft:me,margin:me,marginTop:me,marginRight:me,marginBottom:me,marginLeft:me,rotate:lo,rotateX:lo,rotateY:lo,rotateZ:lo,scale:ml,scaleX:ml,scaleY:ml,scaleZ:ml,skew:lo,skewX:lo,skewY:lo,distance:me,translateX:me,translateY:me,translateZ:me,x:me,y:me,z:me,perspective:me,transformPerspective:me,opacity:ma,originX:Nc,originY:Nc,originZ:me,zIndex:Hc,fillOpacity:ma,strokeOpacity:ma,numOctaves:Hc};function wc(e,t,r,i){const{style:s,vars:p,transform:g,transformOrigin:S}=e;let m=!1,b=!1,A=!0;for(const w in t){const D=t[w];if(Sd(w)){p[w]=D;continue}const L=kd[w],H=Ip(D,L);if(ai.has(w)){if(m=!0,g[w]=H,!A)continue;D!==(L.default||0)&&(A=!1)}else w.startsWith("origin")?(b=!0,S[w]=H):s[w]=H}if(t.transform||(m||i?s.transform=Pp(e.transform,r,A,i):s.transform&&(s.transform="none")),b){const{originX:w="50%",originY:D="50%",originZ:L=0}=S;s.transformOrigin=`${w} ${D} ${L}`}}const kc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Td(e,t,r){for(const i in t)!Ut(t[i])&&!bd(i,r)&&(e[i]=t[i])}function Fp({transformTemplate:e},t,r){return re.useMemo(()=>{const i=kc();return wc(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}function _p(e,t,r){const i=e.style||{},s={};return Td(s,i,e),Object.assign(s,Fp(e,t,r)),e.transformValues?e.transformValues(s):s}function Lp(e,t,r){const i={},s=_p(e,t,r);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const jp=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||jp.has(e)}let Cd=e=>!Rl(e);function Bp(e){e&&(Cd=t=>t.startsWith("on")?!Rl(t):e(t))}try{Bp(require("@emotion/is-prop-valid").default)}catch{}function Vp(e,t,r){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||(Cd(s)||r===!0&&Rl(s)||!t&&!Rl(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}function $c(e,t,r){return typeof e=="string"?e:me.transform(t+r*e)}function zp(e,t,r){const i=$c(t,e.x,e.width),s=$c(r,e.y,e.height);return`${i} ${s}`}const Wp={offset:"stroke-dashoffset",array:"stroke-dasharray"},Up={offset:"strokeDashoffset",array:"strokeDasharray"};function Np(e,t,r=1,i=0,s=!0){e.pathLength=1;const p=s?Wp:Up;e[p.offset]=me.transform(-i);const g=me.transform(t),S=me.transform(r);e[p.array]=`${g} ${S}`}function Tc(e,{attrX:t,attrY:r,attrScale:i,originX:s,originY:p,pathLength:g,pathSpacing:S=1,pathOffset:m=0,...b},A,w,D){if(wc(e,b,A,D),w){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:L,style:H,dimensions:Y}=e;L.transform&&(Y&&(H.transform=L.transform),delete L.transform),Y&&(s!==void 0||p!==void 0||H.transform)&&(H.transformOrigin=zp(Y,s!==void 0?s:.5,p!==void 0?p:.5)),t!==void 0&&(L.x=t),r!==void 0&&(L.y=r),i!==void 0&&(L.scale=i),g!==void 0&&Np(L,g,S,m,!1)}const Ed=()=>({...kc(),attrs:{}}),Cc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Hp(e,t,r,i){const s=re.useMemo(()=>{const p=Ed();return Tc(p,t,{enableHardwareAcceleration:!1},Cc(i),e.transformTemplate),{...p.attrs,style:{...p.style}}},[t]);if(e.style){const p={};Td(p,e.style,e),s.style={...p,...s.style}}return s}function $p(e=!1){return(r,i,s,{latestValues:p},g)=>{const m=(Sc(r)?Hp:Lp)(i,p,g,r),A={...Vp(i,typeof r=="string",e),...m,ref:s},{children:w}=i,D=re.useMemo(()=>Ut(w)?w.get():w,[w]);return re.createElement(r,{...A,children:D})}}function Rd(e,{style:t,vars:r},i,s){Object.assign(e.style,t,s&&s.getProjectionStyles(i));for(const p in r)e.style.setProperty(p,r[p])}const Pd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ad(e,t,r,i){Rd(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(Pd.has(s)?s:yc(s),t.attrs[s])}function Ec(e,t){const{style:r}=e,i={};for(const s in r)(Ut(r[s])||t.style&&Ut(t.style[s])||bd(s,e))&&(i[s]=r[s]);return i}function Id(e,t){const r=Ec(e,t);for(const i in e)if(Ut(e[i])||Ut(t[i])){const s=wa.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function Rc(e,t,r,i={},s={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),t}function Yp(e){const t=re.useRef(null);return t.current===null&&(t.current=e()),t.current}const Pl=e=>Array.isArray(e),Gp=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Xp=e=>Pl(e)?e[e.length-1]||0:e;function kl(e){const t=Ut(e)?e.get():e;return Gp(t)?t.toValue():t}function Zp({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,p){const g={latestValues:Jp(i,s,p,e),renderState:t()};return r&&(g.mount=S=>r(i,S,g)),g}const Md=e=>(t,r)=>{const i=re.useContext(Ll),s=re.useContext(vc),p=()=>Zp(e,t,i,s);return r?p():Yp(p)};function Jp(e,t,r,i){const s={},p=i(e,{});for(const D in p)s[D]=kl(p[D]);let{initial:g,animate:S}=e;const m=Vl(e),b=gd(e);t&&b&&!m&&e.inherit!==!1&&(g===void 0&&(g=t.initial),S===void 0&&(S=t.animate));let A=r?r.initial===!1:!1;A=A||g===!1;const w=A?S:g;return w&&typeof w!="boolean"&&!Bl(w)&&(Array.isArray(w)?w:[w]).forEach(L=>{const H=Rc(e,L);if(!H)return;const{transitionEnd:Y,transition:B,...F}=H;for(const Z in F){let X=F[Z];if(Array.isArray(X)){const ee=A?X.length-1:0;X=X[ee]}X!==null&&(s[Z]=X)}for(const Z in Y)s[Z]=Y[Z]}),s}const Xe=e=>e;class Yc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Qp(e){let t=new Yc,r=new Yc,i=0,s=!1,p=!1;const g=new WeakSet,S={schedule:(m,b=!1,A=!1)=>{const w=A&&s,D=w?t:r;return b&&g.add(m),D.add(m)&&w&&s&&(i=t.order.length),m},cancel:m=>{r.remove(m),g.delete(m)},process:m=>{if(s){p=!0;return}if(s=!0,[t,r]=[r,t],r.clear(),i=t.order.length,i)for(let b=0;b<i;b++){const A=t.order[b];A(m),g.has(A)&&(S.schedule(A),e())}s=!1,p&&(p=!1,S.process(m))}};return S}const gl=["prepare","read","update","preRender","render","postRender"],Kp=40;function qp(e,t){let r=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},p=gl.reduce((w,D)=>(w[D]=Qp(()=>r=!0),w),{}),g=w=>p[w].process(s),S=()=>{const w=performance.now();r=!1,s.delta=i?1e3/60:Math.max(Math.min(w-s.timestamp,Kp),1),s.timestamp=w,s.isProcessing=!0,gl.forEach(g),s.isProcessing=!1,r&&t&&(i=!1,e(S))},m=()=>{r=!0,i=!0,s.isProcessing||e(S)};return{schedule:gl.reduce((w,D)=>{const L=p[D];return w[D]=(H,Y=!1,B=!1)=>(r||m(),L.schedule(H,Y,B)),w},{}),cancel:w=>gl.forEach(D=>p[D].cancel(w)),state:s,steps:p}}const{schedule:Be,cancel:Dr,state:mt,steps:ju}=qp(typeof requestAnimationFrame<"u"?requestAnimationFrame:Xe,!0),em={useVisualState:Md({scrapeMotionValuesFromProps:Id,createRenderState:Ed,onMount:(e,t,{renderState:r,latestValues:i})=>{Be.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Be.render(()=>{Tc(r,i,{enableHardwareAcceleration:!1},Cc(t.tagName),e.transformTemplate),Ad(t,r)})}})},tm={useVisualState:Md({scrapeMotionValuesFromProps:Ec,createRenderState:kc})};function nm(e,{forwardMotionProps:t=!1},r,i){return{...Sc(e)?em:tm,preloadedFeatures:r,useRender:$p(t),createVisualElement:i,Component:e}}function Ar(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}const Dd=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Wl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const rm=e=>t=>Dd(t)&&e(t,Wl(t));function Ir(e,t,r,i){return Ar(e,t,rm(r),i)}const om=(e,t)=>r=>t(e(r)),co=(...e)=>e.reduce(om);function Od(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Gc=Od("dragHorizontal"),Xc=Od("dragVertical");function Fd(e){let t=!1;if(e==="y")t=Xc();else if(e==="x")t=Gc();else{const r=Gc(),i=Xc();r&&i?t=()=>{r(),i()}:(r&&r(),i&&i())}return t}function _d(){const e=Fd(!0);return e?(e(),!1):!0}class mo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Zc(e,t){const r="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),s=(p,g)=>{if(p.pointerType==="touch"||_d())return;const S=e.getProps();e.animationState&&S.whileHover&&e.animationState.setActive("whileHover",t),S[i]&&Be.update(()=>S[i](p,g))};return Ir(e.current,r,s,{passive:!e.getProps()[i]})}class im extends mo{mount(){this.unmount=co(Zc(this.node,!0),Zc(this.node,!1))}unmount(){}}class sm extends mo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=co(Ar(this.node.current,"focus",()=>this.onFocus()),Ar(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ld=(e,t)=>t?e===t?!0:Ld(e,t.parentElement):!1;function Bu(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Wl(r))}class am extends mo{constructor(){super(...arguments),this.removeStartListeners=Xe,this.removeEndListeners=Xe,this.removeAccessibleListeners=Xe,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),p=Ir(window,"pointerup",(S,m)=>{if(!this.checkPressEnd())return;const{onTap:b,onTapCancel:A,globalTapTarget:w}=this.node.getProps();Be.update(()=>{!w&&!Ld(this.node.current,S.target)?A&&A(S,m):b&&b(S,m)})},{passive:!(i.onTap||i.onPointerUp)}),g=Ir(window,"pointercancel",(S,m)=>this.cancelPress(S,m),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=co(p,g),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=p=>{if(p.key!=="Enter"||this.isPressing)return;const g=S=>{S.key!=="Enter"||!this.checkPressEnd()||Bu("up",(m,b)=>{const{onTap:A}=this.node.getProps();A&&Be.update(()=>A(m,b))})};this.removeEndListeners(),this.removeEndListeners=Ar(this.node.current,"keyup",g),Bu("down",(S,m)=>{this.startPress(S,m)})},r=Ar(this.node.current,"keydown",t),i=()=>{this.isPressing&&Bu("cancel",(p,g)=>this.cancelPress(p,g))},s=Ar(this.node.current,"blur",i);this.removeAccessibleListeners=co(r,s)}}startPress(t,r){this.isPressing=!0;const{onTapStart:i,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&Be.update(()=>i(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!_d()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&Be.update(()=>i(t,r))}mount(){const t=this.node.getProps(),r=Ir(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Ar(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=co(r,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const tc=new WeakMap,Vu=new WeakMap,lm=e=>{const t=tc.get(e.target);t&&t(e)},um=e=>{e.forEach(lm)};function cm({root:e,...t}){const r=e||document;Vu.has(r)||Vu.set(r,{});const i=Vu.get(r),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(um,{root:e,...t})),i[s]}function fm(e,t,r){const i=cm(t);return tc.set(e,r),i.observe(e),()=>{tc.delete(e),i.unobserve(e)}}const dm={some:0,all:1};class hm extends mo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:s="some",once:p}=t,g={root:r?r.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:dm[s]},S=m=>{const{isIntersecting:b}=m;if(this.isInView===b||(this.isInView=b,p&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);const{onViewportEnter:A,onViewportLeave:w}=this.node.getProps(),D=b?A:w;D&&D(m)};return fm(this.node.current,g,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(pm(t,r))&&this.startObserver()}unmount(){}}function pm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const mm={inView:{Feature:hm},tap:{Feature:am},focus:{Feature:sm},hover:{Feature:im}};function jd(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function gm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.get()),t}function vm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.getVelocity()),t}function Ul(e,t,r){const i=e.getProps();return Rc(i,t,r!==void 0?r:i.custom,gm(e),vm(e))}let Ca=Xe,On=Xe;process.env.NODE_ENV!=="production"&&(Ca=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},On=(e,t)=>{if(!e)throw new Error(t)});const fo=e=>e*1e3,Mr=e=>e/1e3,ym={current:!1},Bd=e=>Array.isArray(e)&&typeof e[0]=="number";function Vd(e){return!!(!e||typeof e=="string"&&zd[e]||Bd(e)||Array.isArray(e)&&e.every(Vd))}const pa=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,zd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pa([0,.65,.55,1]),circOut:pa([.55,0,1,.45]),backIn:pa([.31,.01,.66,-.59]),backOut:pa([.33,1.53,.69,.99])};function Wd(e){if(e)return Bd(e)?pa(e):Array.isArray(e)?e.map(Wd):zd[e]}function bm(e,t,r,{delay:i=0,duration:s,repeat:p=0,repeatType:g="loop",ease:S,times:m}={}){const b={[t]:r};m&&(b.offset=m);const A=Wd(S);return Array.isArray(A)&&(b.easing=A),e.animate(b,{delay:i,duration:s,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:p+1,direction:g==="reverse"?"alternate":"normal"})}function xm(e,{repeat:t,repeatType:r="loop"}){const i=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[i]}const Ud=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Sm=1e-7,wm=12;function km(e,t,r,i,s){let p,g,S=0;do g=t+(r-t)/2,p=Ud(g,i,s)-e,p>0?r=g:t=g;while(Math.abs(p)>Sm&&++S<wm);return g}function Ea(e,t,r,i){if(e===t&&r===i)return Xe;const s=p=>km(p,0,1,e,r);return p=>p===0||p===1?p:Ud(s(p),t,i)}const Tm=Ea(.42,0,1,1),Cm=Ea(0,0,.58,1),Nd=Ea(.42,0,.58,1),Em=e=>Array.isArray(e)&&typeof e[0]!="number",Hd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$d=e=>t=>1-e(1-t),Pc=e=>1-Math.sin(Math.acos(e)),Yd=$d(Pc),Rm=Hd(Pc),Gd=Ea(.33,1.53,.69,.99),Ac=$d(Gd),Pm=Hd(Ac),Am=e=>(e*=2)<1?.5*Ac(e):.5*(2-Math.pow(2,-10*(e-1))),Jc={linear:Xe,easeIn:Tm,easeInOut:Nd,easeOut:Cm,circIn:Pc,circInOut:Rm,circOut:Yd,backIn:Ac,backInOut:Pm,backOut:Gd,anticipate:Am},Qc=e=>{if(Array.isArray(e)){On(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,i,s]=e;return Ea(t,r,i,s)}else if(typeof e=="string")return On(Jc[e]!==void 0,`Invalid easing type '${e}'`),Jc[e];return e},Ic=(e,t)=>r=>!!(ka(r)&&Mp.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Xd=(e,t,r)=>i=>{if(!ka(i))return i;const[s,p,g,S]=i.match(zl);return{[e]:parseFloat(s),[t]:parseFloat(p),[r]:parseFloat(g),alpha:S!==void 0?parseFloat(S):1}},Im=e=>ho(0,255,e),zu={...li,transform:e=>Math.round(Im(e))},ii={test:Ic("rgb","red"),parse:Xd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+zu.transform(e)+", "+zu.transform(t)+", "+zu.transform(r)+", "+ga(ma.transform(i))+")"};function Mm(e){let t="",r="",i="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,i+=i,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const nc={test:Ic("#"),parse:Mm,transform:ii.transform},ls={test:Ic("hsl","hue"),parse:Xd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Qn.transform(ga(t))+", "+Qn.transform(ga(r))+", "+ga(ma.transform(i))+")"},Rt={test:e=>ii.test(e)||nc.test(e)||ls.test(e),parse:e=>ii.test(e)?ii.parse(e):ls.test(e)?ls.parse(e):nc.parse(e),transform:e=>ka(e)?e:e.hasOwnProperty("red")?ii.transform(e):ls.transform(e)},He=(e,t,r)=>-r*e+r*t+e;function Wu(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Dm({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let s=0,p=0,g=0;if(!t)s=p=g=r;else{const S=r<.5?r*(1+t):r+t-r*t,m=2*r-S;s=Wu(m,S,e+1/3),p=Wu(m,S,e),g=Wu(m,S,e-1/3)}return{red:Math.round(s*255),green:Math.round(p*255),blue:Math.round(g*255),alpha:i}}const Uu=(e,t,r)=>{const i=e*e;return Math.sqrt(Math.max(0,r*(t*t-i)+i))},Om=[nc,ii,ls],Fm=e=>Om.find(t=>t.test(e));function Kc(e){const t=Fm(e);On(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ls&&(r=Dm(r)),r}const Zd=(e,t)=>{const r=Kc(e),i=Kc(t),s={...r};return p=>(s.red=Uu(r.red,i.red,p),s.green=Uu(r.green,i.green,p),s.blue=Uu(r.blue,i.blue,p),s.alpha=He(r.alpha,i.alpha,p),ii.transform(s))};function _m(e){var t,r;return isNaN(e)&&ka(e)&&(((t=e.match(zl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(wd))===null||r===void 0?void 0:r.length)||0)>0}const Jd={regex:Ap,countKey:"Vars",token:"${v}",parse:Xe},Qd={regex:wd,countKey:"Colors",token:"${c}",parse:Rt.parse},Kd={regex:zl,countKey:"Numbers",token:"${n}",parse:li.parse};function Nu(e,{regex:t,countKey:r,token:i,parse:s}){const p=e.tokenised.match(t);p&&(e["num"+r]=p.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...p.map(s)))}function Al(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Nu(r,Jd),Nu(r,Qd),Nu(r,Kd),r}function qd(e){return Al(e).values}function eh(e){const{values:t,numColors:r,numVars:i,tokenised:s}=Al(e),p=t.length;return g=>{let S=s;for(let m=0;m<p;m++)m<i?S=S.replace(Jd.token,g[m]):m<i+r?S=S.replace(Qd.token,Rt.transform(g[m])):S=S.replace(Kd.token,ga(g[m]));return S}}const Lm=e=>typeof e=="number"?0:e;function jm(e){const t=qd(e);return eh(e)(t.map(Lm))}const po={test:_m,parse:qd,createTransformer:eh,getAnimatableNone:jm},th=(e,t)=>r=>`${r>0?t:e}`;function nh(e,t){return typeof e=="number"?r=>He(e,t,r):Rt.test(e)?Zd(e,t):e.startsWith("var(")?th(e,t):oh(e,t)}const rh=(e,t)=>{const r=[...e],i=r.length,s=e.map((p,g)=>nh(p,t[g]));return p=>{for(let g=0;g<i;g++)r[g]=s[g](p);return r}},Bm=(e,t)=>{const r={...e,...t},i={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(i[s]=nh(e[s],t[s]));return s=>{for(const p in i)r[p]=i[p](s);return r}},oh=(e,t)=>{const r=po.createTransformer(t),i=Al(e),s=Al(t);return i.numVars===s.numVars&&i.numColors===s.numColors&&i.numNumbers>=s.numNumbers?co(rh(i.values,s.values),r):(Ca(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),th(e,t))},Sa=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},qc=(e,t)=>r=>He(e,t,r);function Vm(e){return typeof e=="number"?qc:typeof e=="string"?Rt.test(e)?Zd:oh:Array.isArray(e)?rh:typeof e=="object"?Bm:qc}function zm(e,t,r){const i=[],s=r||Vm(e[0]),p=e.length-1;for(let g=0;g<p;g++){let S=s(e[g],e[g+1]);if(t){const m=Array.isArray(t)?t[g]||Xe:t;S=co(m,S)}i.push(S)}return i}function ih(e,t,{clamp:r=!0,ease:i,mixer:s}={}){const p=e.length;if(On(p===t.length,"Both input and output ranges must be the same length"),p===1)return()=>t[0];e[0]>e[p-1]&&(e=[...e].reverse(),t=[...t].reverse());const g=zm(t,i,s),S=g.length,m=b=>{let A=0;if(S>1)for(;A<e.length-2&&!(b<e[A+1]);A++);const w=Sa(e[A],e[A+1],b);return g[A](w)};return r?b=>m(ho(e[0],e[p-1],b)):m}function Wm(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const s=Sa(0,t,i);e.push(He(r,1,s))}}function Um(e){const t=[0];return Wm(t,e.length-1),t}function Nm(e,t){return e.map(r=>r*t)}function Hm(e,t){return e.map(()=>t||Nd).splice(0,e.length-1)}function Il({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const s=Em(i)?i.map(Qc):Qc(i),p={done:!1,value:t[0]},g=Nm(r&&r.length===t.length?r:Um(t),e),S=ih(g,t,{ease:Array.isArray(s)?s:Hm(t,s)});return{calculatedDuration:e,next:m=>(p.value=S(m),p.done=m>=e,p)}}function sh(e,t){return t?e*(1e3/t):0}const $m=5;function ah(e,t,r){const i=Math.max(t-$m,0);return sh(r-e(i),t-i)}const Hu=.001,Ym=.01,ef=10,Gm=.05,Xm=1;function Zm({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let s,p;Ca(e<=fo(ef),"Spring duration must be 10 seconds or less");let g=1-t;g=ho(Gm,Xm,g),e=ho(Ym,ef,Mr(e)),g<1?(s=b=>{const A=b*g,w=A*e,D=A-r,L=rc(b,g),H=Math.exp(-w);return Hu-D/L*H},p=b=>{const w=b*g*e,D=w*r+r,L=Math.pow(g,2)*Math.pow(b,2)*e,H=Math.exp(-w),Y=rc(Math.pow(b,2),g);return(-s(b)+Hu>0?-1:1)*((D-L)*H)/Y}):(s=b=>{const A=Math.exp(-b*e),w=(b-r)*e+1;return-Hu+A*w},p=b=>{const A=Math.exp(-b*e),w=(r-b)*(e*e);return A*w});const S=5/e,m=Qm(s,p,S);if(e=fo(e),isNaN(m))return{stiffness:100,damping:10,duration:e};{const b=Math.pow(m,2)*i;return{stiffness:b,damping:g*2*Math.sqrt(i*b),duration:e}}}const Jm=12;function Qm(e,t,r){let i=r;for(let s=1;s<Jm;s++)i=i-e(i)/t(i);return i}function rc(e,t){return e*Math.sqrt(1-t*t)}const Km=["duration","bounce"],qm=["stiffness","damping","mass"];function tf(e,t){return t.some(r=>e[r]!==void 0)}function eg(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tf(e,qm)&&tf(e,Km)){const r=Zm(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function lh({keyframes:e,restDelta:t,restSpeed:r,...i}){const s=e[0],p=e[e.length-1],g={done:!1,value:s},{stiffness:S,damping:m,mass:b,duration:A,velocity:w,isResolvedFromDuration:D}=eg({...i,velocity:-Mr(i.velocity||0)}),L=w||0,H=m/(2*Math.sqrt(S*b)),Y=p-s,B=Mr(Math.sqrt(S/b)),F=Math.abs(Y)<5;r||(r=F?.01:2),t||(t=F?.005:.5);let Z;if(H<1){const X=rc(B,H);Z=ee=>{const ne=Math.exp(-H*B*ee);return p-ne*((L+H*B*Y)/X*Math.sin(X*ee)+Y*Math.cos(X*ee))}}else if(H===1)Z=X=>p-Math.exp(-B*X)*(Y+(L+B*Y)*X);else{const X=B*Math.sqrt(H*H-1);Z=ee=>{const ne=Math.exp(-H*B*ee),te=Math.min(X*ee,300);return p-ne*((L+H*B*Y)*Math.sinh(te)+X*Y*Math.cosh(te))/X}}return{calculatedDuration:D&&A||null,next:X=>{const ee=Z(X);if(D)g.done=X>=A;else{let ne=L;X!==0&&(H<1?ne=ah(Z,X,ee):ne=0);const te=Math.abs(ne)<=r,oe=Math.abs(p-ee)<=t;g.done=te&&oe}return g.value=g.done?p:ee,g}}}function nf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:p=500,modifyTarget:g,min:S,max:m,restDelta:b=.5,restSpeed:A}){const w=e[0],D={done:!1,value:w},L=le=>S!==void 0&&le<S||m!==void 0&&le>m,H=le=>S===void 0?m:m===void 0||Math.abs(S-le)<Math.abs(m-le)?S:m;let Y=r*t;const B=w+Y,F=g===void 0?B:g(B);F!==B&&(Y=F-w);const Z=le=>-Y*Math.exp(-le/i),X=le=>F+Z(le),ee=le=>{const ce=Z(le),Ue=X(le);D.done=Math.abs(ce)<=b,D.value=D.done?F:Ue};let ne,te;const oe=le=>{L(D.value)&&(ne=le,te=lh({keyframes:[D.value,H(D.value)],velocity:ah(X,le,D.value),damping:s,stiffness:p,restDelta:b,restSpeed:A}))};return oe(0),{calculatedDuration:null,next:le=>{let ce=!1;return!te&&ne===void 0&&(ce=!0,ee(le),oe(le)),ne!==void 0&&le>ne?te.next(le-ne):(!ce&&ee(le),D)}}}const tg=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Be.update(t,!0),stop:()=>Dr(t),now:()=>mt.isProcessing?mt.timestamp:performance.now()}},rf=2e4;function of(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<rf;)t+=r,i=e.next(t);return t>=rf?1/0:t}const ng={decay:nf,inertia:nf,tween:Il,keyframes:Il,spring:lh};function Ml({autoplay:e=!0,delay:t=0,driver:r=tg,keyframes:i,type:s="keyframes",repeat:p=0,repeatDelay:g=0,repeatType:S="loop",onPlay:m,onStop:b,onComplete:A,onUpdate:w,...D}){let L=1,H=!1,Y,B;const F=()=>{B=new Promise(pe=>{Y=pe})};F();let Z;const X=ng[s]||Il;let ee;X!==Il&&typeof i[0]!="number"&&(process.env.NODE_ENV!=="production"&&On(i.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${i}`),ee=ih([0,100],i,{clamp:!1}),i=[0,100]);const ne=X({...D,keyframes:i});let te;S==="mirror"&&(te=X({...D,keyframes:[...i].reverse(),velocity:-(D.velocity||0)}));let oe="idle",le=null,ce=null,Ue=null;ne.calculatedDuration===null&&p&&(ne.calculatedDuration=of(ne));const{calculatedDuration:$e}=ne;let Te=1/0,Ye=1/0;$e!==null&&(Te=$e+g,Ye=Te*(p+1)-g);let Re=0;const ht=pe=>{if(ce===null)return;L>0&&(ce=Math.min(ce,pe)),L<0&&(ce=Math.min(pe-Ye/L,ce)),le!==null?Re=le:Re=Math.round(pe-ce)*L;const ke=Re-t*(L>=0?1:-1),Ht=L>=0?ke<0:ke>Ye;Re=Math.max(ke,0),oe==="finished"&&le===null&&(Re=Ye);let gt=Re,Me=ne;if(p){const Ze=Math.min(Re,Ye)/Te;let st=Math.floor(Ze),De=Ze%1;!De&&Ze>=1&&(De=1),De===1&&st--,st=Math.min(st,p+1),!!(st%2)&&(S==="reverse"?(De=1-De,g&&(De-=g/Te)):S==="mirror"&&(Me=te)),gt=ho(0,1,De)*Te}const Ce=Ht?{done:!1,value:i[0]}:Me.next(gt);ee&&(Ce.value=ee(Ce.value));let{done:Pt}=Ce;!Ht&&$e!==null&&(Pt=L>=0?Re>=Ye:Re<=0);const $t=le===null&&(oe==="finished"||oe==="running"&&Pt);return w&&w(Ce.value),$t&&Qe(),Ce},Ie=()=>{Z&&Z.stop(),Z=void 0},it=()=>{oe="idle",Ie(),Y(),F(),ce=Ue=null},Qe=()=>{oe="finished",A&&A(),Ie(),Y()},Ve=()=>{if(H)return;Z||(Z=r(ht));const pe=Z.now();m&&m(),le!==null?ce=pe-le:(!ce||oe==="finished")&&(ce=pe),oe==="finished"&&F(),Ue=ce,le=null,oe="running",Z.start()};e&&Ve();const Nt={then(pe,ke){return B.then(pe,ke)},get time(){return Mr(Re)},set time(pe){pe=fo(pe),Re=pe,le!==null||!Z||L===0?le=pe:ce=Z.now()-pe/L},get duration(){const pe=ne.calculatedDuration===null?of(ne):ne.calculatedDuration;return Mr(pe)},get speed(){return L},set speed(pe){pe===L||!Z||(L=pe,Nt.time=Mr(Re))},get state(){return oe},play:Ve,pause:()=>{oe="paused",le=Re},stop:()=>{H=!0,oe!=="idle"&&(oe="idle",b&&b(),it())},cancel:()=>{Ue!==null&&ht(Ue),it()},complete:()=>{oe="finished"},sample:pe=>(ce=0,ht(pe))};return Nt}function rg(e){let t;return()=>(t===void 0&&(t=e()),t)}const og=rg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ig=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),vl=10,sg=2e4,ag=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Vd(t.ease);function lg(e,t,{onUpdate:r,onComplete:i,...s}){if(!(og()&&ig.has(t)&&!s.repeatDelay&&s.repeatType!=="mirror"&&s.damping!==0&&s.type!=="inertia"))return!1;let g=!1,S,m,b=!1;const A=()=>{m=new Promise(X=>{S=X})};A();let{keyframes:w,duration:D=300,ease:L,times:H}=s;if(ag(t,s)){const X=Ml({...s,repeat:0,delay:0});let ee={done:!1,value:w[0]};const ne=[];let te=0;for(;!ee.done&&te<sg;)ee=X.sample(te),ne.push(ee.value),te+=vl;H=void 0,w=ne,D=te-vl,L="linear"}const Y=bm(e.owner.current,t,w,{...s,duration:D,ease:L,times:H}),B=()=>{b=!1,Y.cancel()},F=()=>{b=!0,Be.update(B),S(),A()};return Y.onfinish=()=>{b||(e.set(xm(w,s)),i&&i(),F())},{then(X,ee){return m.then(X,ee)},attachTimeline(X){return Y.timeline=X,Y.onfinish=null,Xe},get time(){return Mr(Y.currentTime||0)},set time(X){Y.currentTime=fo(X)},get speed(){return Y.playbackRate},set speed(X){Y.playbackRate=X},get duration(){return Mr(D)},play:()=>{g||(Y.play(),Dr(B))},pause:()=>Y.pause(),stop:()=>{if(g=!0,Y.playState==="idle")return;const{currentTime:X}=Y;if(X){const ee=Ml({...s,autoplay:!1});e.setWithVelocity(ee.sample(X-vl).value,ee.sample(X).value,vl)}F()},complete:()=>{b||Y.finish()},cancel:F}}function ug({keyframes:e,delay:t,onUpdate:r,onComplete:i}){const s=()=>(r&&r(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Xe,pause:Xe,stop:Xe,then:p=>(p(),Promise.resolve()),cancel:Xe,complete:Xe});return t?Ml({keyframes:[0,1],duration:0,delay:t,onComplete:s}):s()}const cg={type:"spring",stiffness:500,damping:25,restSpeed:10},fg=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),dg={type:"keyframes",duration:.8},hg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pg=(e,{keyframes:t})=>t.length>2?dg:ai.has(e)?e.startsWith("scale")?fg(t[1]):cg:hg,oc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(po.test(t)||t==="0")&&!t.startsWith("url(")),mg=new Set(["brightness","contrast","saturate","opacity"]);function gg(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(zl)||[];if(!i)return e;const s=r.replace(i,"");let p=mg.has(t)?1:0;return i!==r&&(p*=100),t+"("+p+s+")"}const vg=/([a-z-]*)\(.*?\)/g,ic={...po,getAnimatableNone:e=>{const t=e.match(vg);return t?t.map(gg).join(" "):e}},yg={...kd,color:Rt,backgroundColor:Rt,outlineColor:Rt,fill:Rt,stroke:Rt,borderColor:Rt,borderTopColor:Rt,borderRightColor:Rt,borderBottomColor:Rt,borderLeftColor:Rt,filter:ic,WebkitFilter:ic},Mc=e=>yg[e];function uh(e,t){let r=Mc(e);return r!==ic&&(r=po),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const ch=e=>/^0[^.\s]+$/.test(e);function bg(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||ch(e)}function xg(e,t,r,i){const s=oc(t,r);let p;Array.isArray(r)?p=[...r]:p=[null,r];const g=i.from!==void 0?i.from:e.get();let S;const m=[];for(let b=0;b<p.length;b++)p[b]===null&&(p[b]=b===0?g:p[b-1]),bg(p[b])&&m.push(b),typeof p[b]=="string"&&p[b]!=="none"&&p[b]!=="0"&&(S=p[b]);if(s&&m.length&&S)for(let b=0;b<m.length;b++){const A=m[b];p[A]=uh(t,S)}return p}function Sg({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:s,repeat:p,repeatType:g,repeatDelay:S,from:m,elapsed:b,...A}){return!!Object.keys(A).length}function Dc(e,t){return e[t]||e.default||e}const wg={skipAnimations:!1},Oc=(e,t,r,i={})=>s=>{const p=Dc(i,e)||{},g=p.delay||i.delay||0;let{elapsed:S=0}=i;S=S-fo(g);const m=xg(t,e,r,p),b=m[0],A=m[m.length-1],w=oc(e,b),D=oc(e,A);Ca(w===D,`You are trying to animate ${e} from "${b}" to "${A}". ${b} is not an animatable value - to enable this animation set ${b} to a value animatable to ${A} via the \`style\` property.`);let L={keyframes:m,velocity:t.getVelocity(),ease:"easeOut",...p,delay:-S,onUpdate:H=>{t.set(H),p.onUpdate&&p.onUpdate(H)},onComplete:()=>{s(),p.onComplete&&p.onComplete()}};if(Sg(p)||(L={...L,...pg(e,L)}),L.duration&&(L.duration=fo(L.duration)),L.repeatDelay&&(L.repeatDelay=fo(L.repeatDelay)),!w||!D||ym.current||p.type===!1||wg.skipAnimations)return ug(L);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const H=lg(t,e,L);if(H)return H}return Ml(L)};function Dl(e){return!!(Ut(e)&&e.add)}const fh=e=>/^\-?\d*\.?\d+$/.test(e);function Fc(e,t){e.indexOf(t)===-1&&e.push(t)}function _c(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Lc{constructor(){this.subscriptions=[]}add(t){return Fc(this.subscriptions,t),()=>_c(this.subscriptions,t)}notify(t,r,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,i);else for(let p=0;p<s;p++){const g=this.subscriptions[p];g&&g(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const sf=new Set;function jc(e,t,r){e||sf.has(t)||(console.warn(t),r&&console.warn(r),sf.add(t))}const kg=e=>!isNaN(parseFloat(e));class Tg{constructor(t,r={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,s=!0)=>{this.prev=this.current,this.current=i;const{delta:p,timestamp:g}=mt;this.lastUpdated!==g&&(this.timeDelta=p,this.lastUpdated=g,Be.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Be.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=kg(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&jc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Lc);const i=this.events[t].add(r);return t==="change"?()=>{i(),Be.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,i){this.set(r),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?sh(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ds(e,t){return new Tg(e,t)}const dh=e=>t=>t.test(e),Cg={test:e=>e==="auto",parse:e=>e},hh=[li,me,Qn,lo,Op,Dp,Cg],fa=e=>hh.find(dh(e)),Eg=[...hh,Rt,po],Rg=e=>Eg.find(dh(e));function Pg(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ds(r))}function Ag(e,t){const r=Ul(e,t);let{transitionEnd:i={},transition:s={},...p}=r?e.makeTargetAnimatable(r,!1):{};p={...p,...i};for(const g in p){const S=Xp(p[g]);Pg(e,g,S)}}function Ig(e,t,r){var i,s;const p=Object.keys(t).filter(S=>!e.hasValue(S)),g=p.length;if(g)for(let S=0;S<g;S++){const m=p[S],b=t[m];let A=null;Array.isArray(b)&&(A=b[0]),A===null&&(A=(s=(i=r[m])!==null&&i!==void 0?i:e.readValue(m))!==null&&s!==void 0?s:t[m]),A!=null&&(typeof A=="string"&&(fh(A)||ch(A))?A=parseFloat(A):!Rg(A)&&po.test(b)&&(A=uh(m,b)),e.addValue(m,ds(A,{owner:e})),r[m]===void 0&&(r[m]=A),A!==null&&e.setBaseTarget(m,A))}}function Mg(e,t){return t?(t[e]||t.default||t).from:void 0}function Dg(e,t,r){const i={};for(const s in e){const p=Mg(s,t);if(p!==void 0)i[s]=p;else{const g=r.getValue(s);g&&(i[s]=g.get())}}return i}function Og({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function Fg(e,t){const r=e.get();if(Array.isArray(t)){for(let i=0;i<t.length;i++)if(t[i]!==r)return!0}else return r!==t}function ph(e,t,{delay:r=0,transitionOverride:i,type:s}={}){let{transition:p=e.getDefaultTransition(),transitionEnd:g,...S}=e.makeTargetAnimatable(t);const m=e.getValue("willChange");i&&(p=i);const b=[],A=s&&e.animationState&&e.animationState.getState()[s];for(const w in S){const D=e.getValue(w),L=S[w];if(!D||L===void 0||A&&Og(A,w))continue;const H={delay:r,elapsed:0,...Dc(p||{},w)};if(window.HandoffAppearAnimations){const F=e.getProps()[md];if(F){const Z=window.HandoffAppearAnimations(F,w,D,Be);Z!==null&&(H.elapsed=Z,H.isHandoff=!0)}}let Y=!H.isHandoff&&!Fg(D,L);if(H.type==="spring"&&(D.getVelocity()||H.velocity)&&(Y=!1),D.animation&&(Y=!1),Y)continue;D.start(Oc(w,D,L,e.shouldReduceMotion&&ai.has(w)?{type:!1}:H));const B=D.animation;Dl(m)&&(m.add(w),B.then(()=>m.remove(w))),b.push(B)}return g&&Promise.all(b).then(()=>{g&&Ag(e,g)}),b}function sc(e,t,r={}){const i=Ul(e,t,r.custom);let{transition:s=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(s=r.transitionOverride);const p=i?()=>Promise.all(ph(e,i,r)):()=>Promise.resolve(),g=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:b=0,staggerChildren:A,staggerDirection:w}=s;return _g(e,t,b+m,A,w,r)}:()=>Promise.resolve(),{when:S}=s;if(S){const[m,b]=S==="beforeChildren"?[p,g]:[g,p];return m().then(()=>b())}else return Promise.all([p(),g(r.delay)])}function _g(e,t,r=0,i=0,s=1,p){const g=[],S=(e.variantChildren.size-1)*i,m=s===1?(b=0)=>b*i:(b=0)=>S-b*i;return Array.from(e.variantChildren).sort(Lg).forEach((b,A)=>{b.notify("AnimationStart",t),g.push(sc(b,t,{...p,delay:r+m(A)}).then(()=>b.notify("AnimationComplete",t)))}),Promise.all(g)}function Lg(e,t){return e.sortNodePosition(t)}function jg(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(p=>sc(e,p,r));i=Promise.all(s)}else if(typeof t=="string")i=sc(e,t,r);else{const s=typeof t=="function"?Ul(e,t,r.custom):t;i=Promise.all(ph(e,s,r))}return i.then(()=>e.notify("AnimationComplete",t))}const Bg=[...bc].reverse(),Vg=bc.length;function zg(e){return t=>Promise.all(t.map(({animation:r,options:i})=>jg(e,r,i)))}function Wg(e){let t=zg(e);const r=Ng();let i=!0;const s=(m,b)=>{const A=Ul(e,b);if(A){const{transition:w,transitionEnd:D,...L}=A;m={...m,...L,...D}}return m};function p(m){t=m(e)}function g(m,b){const A=e.getProps(),w=e.getVariantContext(!0)||{},D=[],L=new Set;let H={},Y=1/0;for(let F=0;F<Vg;F++){const Z=Bg[F],X=r[Z],ee=A[Z]!==void 0?A[Z]:w[Z],ne=ba(ee),te=Z===b?X.isActive:null;te===!1&&(Y=F);let oe=ee===w[Z]&&ee!==A[Z]&&ne;if(oe&&i&&e.manuallyAnimateOnMount&&(oe=!1),X.protectedKeys={...H},!X.isActive&&te===null||!ee&&!X.prevProp||Bl(ee)||typeof ee=="boolean")continue;let ce=Ug(X.prevProp,ee)||Z===b&&X.isActive&&!oe&&ne||F>Y&&ne,Ue=!1;const $e=Array.isArray(ee)?ee:[ee];let Te=$e.reduce(s,{});te===!1&&(Te={});const{prevResolvedValues:Ye={}}=X,Re={...Ye,...Te},ht=Ie=>{ce=!0,L.has(Ie)&&(Ue=!0,L.delete(Ie)),X.needsAnimating[Ie]=!0};for(const Ie in Re){const it=Te[Ie],Qe=Ye[Ie];if(H.hasOwnProperty(Ie))continue;let Ve=!1;Pl(it)&&Pl(Qe)?Ve=!jd(it,Qe):Ve=it!==Qe,Ve?it!==void 0?ht(Ie):L.add(Ie):it!==void 0&&L.has(Ie)?ht(Ie):X.protectedKeys[Ie]=!0}X.prevProp=ee,X.prevResolvedValues=Te,X.isActive&&(H={...H,...Te}),i&&e.blockInitialAnimation&&(ce=!1),ce&&(!oe||Ue)&&D.push(...$e.map(Ie=>({animation:Ie,options:{type:Z,...m}})))}if(L.size){const F={};L.forEach(Z=>{const X=e.getBaseTarget(Z);X!==void 0&&(F[Z]=X)}),D.push({animation:F})}let B=!!D.length;return i&&(A.initial===!1||A.initial===A.animate)&&!e.manuallyAnimateOnMount&&(B=!1),i=!1,B?t(D):Promise.resolve()}function S(m,b,A){var w;if(r[m].isActive===b)return Promise.resolve();(w=e.variantChildren)===null||w===void 0||w.forEach(L=>{var H;return(H=L.animationState)===null||H===void 0?void 0:H.setActive(m,b)}),r[m].isActive=b;const D=g(A,m);for(const L in r)r[L].protectedKeys={};return D}return{animateChanges:g,setActive:S,setAnimateFunction:p,getState:()=>r}}function Ug(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!jd(t,e):!1}function ei(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ng(){return{animate:ei(!0),whileInView:ei(),whileHover:ei(),whileTap:ei(),whileDrag:ei(),whileFocus:ei(),exit:ei()}}class Hg extends mo{constructor(t){super(t),t.animationState||(t.animationState=Wg(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Bl(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let $g=0;class Yg extends mo{constructor(){super(...arguments),this.id=$g++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const p=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});r&&!t&&p.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Gg={animation:{Feature:Hg},exit:{Feature:Yg}},af=(e,t)=>Math.abs(e-t);function Xg(e,t){const r=af(e.x,t.x),i=af(e.y,t.y);return Math.sqrt(r**2+i**2)}class mh{constructor(t,r,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:p=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Yu(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,L=Xg(w.offset,{x:0,y:0})>=3;if(!D&&!L)return;const{point:H}=w,{timestamp:Y}=mt;this.history.push({...H,timestamp:Y});const{onStart:B,onMove:F}=this.handlers;D||(B&&B(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,w)},this.handlePointerMove=(w,D)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=$u(D,this.transformPagePoint),Be.update(this.updatePoint,!0)},this.handlePointerUp=(w,D)=>{this.end();const{onEnd:L,onSessionEnd:H,resumeAnimation:Y}=this.handlers;if(this.dragSnapToOrigin&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=Yu(w.type==="pointercancel"?this.lastMoveEventInfo:$u(D,this.transformPagePoint),this.history);this.startEvent&&L&&L(w,B),H&&H(w,B)},!Dd(t))return;this.dragSnapToOrigin=p,this.handlers=r,this.transformPagePoint=i,this.contextWindow=s||window;const g=Wl(t),S=$u(g,this.transformPagePoint),{point:m}=S,{timestamp:b}=mt;this.history=[{...m,timestamp:b}];const{onSessionStart:A}=r;A&&A(t,Yu(S,this.history)),this.removeListeners=co(Ir(this.contextWindow,"pointermove",this.handlePointerMove),Ir(this.contextWindow,"pointerup",this.handlePointerUp),Ir(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function $u(e,t){return t?{point:t(e.point)}:e}function lf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:lf(e,gh(t)),offset:lf(e,Zg(t)),velocity:Jg(t,.1)}}function Zg(e){return e[0]}function gh(e){return e[e.length-1]}function Jg(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const s=gh(e);for(;r>=0&&(i=e[r],!(s.timestamp-i.timestamp>fo(t)));)r--;if(!i)return{x:0,y:0};const p=Mr(s.timestamp-i.timestamp);if(p===0)return{x:0,y:0};const g={x:(s.x-i.x)/p,y:(s.y-i.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function en(e){return e.max-e.min}function ac(e,t=0,r=.01){return Math.abs(e-t)<=r}function uf(e,t,r,i=.5){e.origin=i,e.originPoint=He(t.min,t.max,e.origin),e.scale=en(r)/en(t),(ac(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=He(r.min,r.max,e.origin)-e.originPoint,(ac(e.translate)||isNaN(e.translate))&&(e.translate=0)}function va(e,t,r,i){uf(e.x,t.x,r.x,i?i.originX:void 0),uf(e.y,t.y,r.y,i?i.originY:void 0)}function cf(e,t,r){e.min=r.min+t.min,e.max=e.min+en(t)}function Qg(e,t,r){cf(e.x,t.x,r.x),cf(e.y,t.y,r.y)}function ff(e,t,r){e.min=t.min-r.min,e.max=e.min+en(t)}function ya(e,t,r){ff(e.x,t.x,r.x),ff(e.y,t.y,r.y)}function Kg(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?He(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?He(r,e,i.max):Math.min(e,r)),e}function df(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function qg(e,{top:t,left:r,bottom:i,right:s}){return{x:df(e.x,r,s),y:df(e.y,t,i)}}function hf(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function ev(e,t){return{x:hf(e.x,t.x),y:hf(e.y,t.y)}}function tv(e,t){let r=.5;const i=en(e),s=en(t);return s>i?r=Sa(t.min,t.max-i,e.min):i>s&&(r=Sa(e.min,e.max-s,t.min)),ho(0,1,r)}function nv(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const lc=.35;function rv(e=lc){return e===!1?e=0:e===!0&&(e=lc),{x:pf(e,"left","right"),y:pf(e,"top","bottom")}}function pf(e,t,r){return{min:mf(e,t),max:mf(e,r)}}function mf(e,t){return typeof e=="number"?e:e[t]||0}const gf=()=>({translate:0,scale:1,origin:0,originPoint:0}),us=()=>({x:gf(),y:gf()}),vf=()=>({min:0,max:0}),qe=()=>({x:vf(),y:vf()});function yn(e){return[e("x"),e("y")]}function vh({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function ov({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function iv(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function Gu(e){return e===void 0||e===1}function uc({scale:e,scaleX:t,scaleY:r}){return!Gu(e)||!Gu(t)||!Gu(r)}function ri(e){return uc(e)||yh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function yh(e){return yf(e.x)||yf(e.y)}function yf(e){return e&&e!=="0%"}function Ol(e,t,r){const i=e-r,s=t*i;return r+s}function bf(e,t,r,i,s){return s!==void 0&&(e=Ol(e,s,i)),Ol(e,r,i)+t}function cc(e,t=0,r=1,i,s){e.min=bf(e.min,t,r,i,s),e.max=bf(e.max,t,r,i,s)}function bh(e,{x:t,y:r}){cc(e.x,t.translate,t.scale,t.originPoint),cc(e.y,r.translate,r.scale,r.originPoint)}function sv(e,t,r,i=!1){const s=r.length;if(!s)return;t.x=t.y=1;let p,g;for(let S=0;S<s;S++){p=r[S],g=p.projectionDelta;const m=p.instance;m&&m.style&&m.style.display==="contents"||(i&&p.options.layoutScroll&&p.scroll&&p!==p.root&&cs(e,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),g&&(t.x*=g.x.scale,t.y*=g.y.scale,bh(e,g)),i&&ri(p.latestValues)&&cs(e,p.latestValues))}t.x=xf(t.x),t.y=xf(t.y)}function xf(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function uo(e,t){e.min=e.min+t,e.max=e.max+t}function Sf(e,t,[r,i,s]){const p=t[s]!==void 0?t[s]:.5,g=He(e.min,e.max,p);cc(e,t[r],t[i],g,t.scale)}const av=["x","scaleX","originX"],lv=["y","scaleY","originY"];function cs(e,t){Sf(e.x,t,av),Sf(e.y,t,lv)}function xh(e,t){return vh(iv(e.getBoundingClientRect(),t))}function uv(e,t,r){const i=xh(e,r),{scroll:s}=t;return s&&(uo(i.x,s.offset.x),uo(i.y,s.offset.y)),i}const Sh=({current:e})=>e?e.ownerDocument.defaultView:null,cv=new WeakMap;class fv{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=qe(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=A=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Wl(A,"page").point)},p=(A,w)=>{const{drag:D,dragPropagation:L,onDragStart:H}=this.getProps();if(D&&!L&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Fd(D),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yn(B=>{let F=this.getAxisMotionValue(B).get()||0;if(Qn.test(F)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const X=Z.layout.layoutBox[B];X&&(F=en(X)*(parseFloat(F)/100))}}this.originPoint[B]=F}),H&&Be.update(()=>H(A,w),!1,!0);const{animationState:Y}=this.visualElement;Y&&Y.setActive("whileDrag",!0)},g=(A,w)=>{const{dragPropagation:D,dragDirectionLock:L,onDirectionLock:H,onDrag:Y}=this.getProps();if(!D&&!this.openGlobalLock)return;const{offset:B}=w;if(L&&this.currentDirection===null){this.currentDirection=dv(B),this.currentDirection!==null&&H&&H(this.currentDirection);return}this.updateAxis("x",w.point,B),this.updateAxis("y",w.point,B),this.visualElement.render(),Y&&Y(A,w)},S=(A,w)=>this.stop(A,w),m=()=>yn(A=>{var w;return this.getAnimationState(A)==="paused"&&((w=this.getAxisMotionValue(A).animation)===null||w===void 0?void 0:w.play())}),{dragSnapToOrigin:b}=this.getProps();this.panSession=new mh(t,{onSessionStart:s,onStart:p,onMove:g,onSessionEnd:S,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:b,contextWindow:Sh(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:p}=this.getProps();p&&Be.update(()=>p(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,i){const{drag:s}=this.getProps();if(!i||!yl(t,s,this.currentDirection))return;const p=this.getAxisMotionValue(t);let g=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(g=Kg(g,this.constraints[t],this.elastic[t])),p.set(g)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,p=this.constraints;r&&as(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=qg(s.layoutBox,r):this.constraints=!1,this.elastic=rv(i),p!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&yn(g=>{this.getAxisMotionValue(g)&&(this.constraints[g]=nv(s.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!as(t))return!1;const i=t.current;On(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const p=uv(i,s.root,this.visualElement.getTransformPagePoint());let g=ev(s.layout.layoutBox,p);if(r){const S=r(ov(g));this.hasMutatedConstraints=!!S,S&&(g=vh(S))}return g}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:s,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:S}=this.getProps(),m=this.constraints||{},b=yn(A=>{if(!yl(A,r,this.currentDirection))return;let w=m&&m[A]||{};g&&(w={min:0,max:0});const D=s?200:1e6,L=s?40:1e7,H={type:"inertia",velocity:i?t[A]:0,bounceStiffness:D,bounceDamping:L,timeConstant:750,restDelta:1,restSpeed:10,...p,...w};return this.startAxisValueAnimation(A,H)});return Promise.all(b).then(S)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return i.start(Oc(t,i,0,r))}stopAnimation(){yn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){yn(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),s=i[r];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){yn(r=>{const{drag:i}=this.getProps();if(!yl(r,i,this.currentDirection))return;const{projection:s}=this.visualElement,p=this.getAxisMotionValue(r);if(s&&s.layout){const{min:g,max:S}=s.layout.layoutBox[r];p.set(t[r]-He(g,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!as(r)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};yn(g=>{const S=this.getAxisMotionValue(g);if(S){const m=S.get();s[g]=tv({min:m,max:m},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),yn(g=>{if(!yl(g,t,null))return;const S=this.getAxisMotionValue(g),{min:m,max:b}=this.constraints[g];S.set(He(m,b,s[g]))})}addListeners(){if(!this.visualElement.current)return;cv.set(this.visualElement,this);const t=this.visualElement.current,r=Ir(t,"pointerdown",m=>{const{drag:b,dragListener:A=!0}=this.getProps();b&&A&&this.start(m)}),i=()=>{const{dragConstraints:m}=this.getProps();as(m)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,p=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),i();const g=Ar(window,"resize",()=>this.scalePositionWithinConstraints()),S=s.addEventListener("didUpdate",({delta:m,hasLayoutChanged:b})=>{this.isDragging&&b&&(yn(A=>{const w=this.getAxisMotionValue(A);w&&(this.originPoint[A]+=m[A].translate,w.set(w.get()+m[A].translate))}),this.visualElement.render())});return()=>{g(),r(),p(),S&&S()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:p=!1,dragElastic:g=lc,dragMomentum:S=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:p,dragElastic:g,dragMomentum:S}}}function yl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function dv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class hv extends mo{constructor(t){super(t),this.removeGroupControls=Xe,this.removeListeners=Xe,this.controls=new fv(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Xe}unmount(){this.removeGroupControls(),this.removeListeners()}}const wf=e=>(t,r)=>{e&&Be.update(()=>e(t,r))};class pv extends mo{constructor(){super(...arguments),this.removePointerDownListener=Xe}onPointerDown(t){this.session=new mh(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sh(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:wf(t),onStart:wf(r),onMove:i,onEnd:(p,g)=>{delete this.session,s&&Be.update(()=>s(p,g))}}}mount(){this.removePointerDownListener=Ir(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function mv(){const e=re.useContext(vc);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,s=re.useId();return re.useEffect(()=>i(s),[]),!t&&r?[!1,()=>r&&r(s)]:[!0]}const Tl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const da={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(me.test(e))e=parseFloat(e);else return e;const r=kf(e,t.target.x),i=kf(e,t.target.y);return`${r}% ${i}%`}},gv={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,s=po.parse(e);if(s.length>5)return i;const p=po.createTransformer(e),g=typeof s[0]!="number"?1:0,S=r.x.scale*t.x,m=r.y.scale*t.y;s[0+g]/=S,s[1+g]/=m;const b=He(S,m,.5);return typeof s[2+g]=="number"&&(s[2+g]/=b),typeof s[3+g]=="number"&&(s[3+g]/=b),p(s)}};class vv extends re.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:s}=this.props,{projection:p}=t;Cp(yv),p&&(r.group&&r.group.add(p),i&&i.register&&s&&i.register(p),p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),Tl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:s,isPresent:p}=this.props,g=i.projection;return g&&(g.isPresent=p,s||t.layoutDependency!==r||r===void 0?g.willUpdate():this.safeToRemove(),t.isPresent!==p&&(p?g.promote():g.relegate()||Be.postRender(()=>{const S=g.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function wh(e){const[t,r]=mv(),i=re.useContext(vd);return re.createElement(vv,{...e,layoutGroup:i,switchLayoutGroup:re.useContext(yd),isPresent:t,safeToRemove:r})}const yv={borderRadius:{...da,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:da,borderTopRightRadius:da,borderBottomLeftRadius:da,borderBottomRightRadius:da,boxShadow:gv},kh=["TopLeft","TopRight","BottomLeft","BottomRight"],bv=kh.length,Tf=e=>typeof e=="string"?parseFloat(e):e,Cf=e=>typeof e=="number"||me.test(e);function xv(e,t,r,i,s,p){s?(e.opacity=He(0,r.opacity!==void 0?r.opacity:1,Sv(i)),e.opacityExit=He(t.opacity!==void 0?t.opacity:1,0,wv(i))):p&&(e.opacity=He(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let g=0;g<bv;g++){const S=`border${kh[g]}Radius`;let m=Ef(t,S),b=Ef(r,S);if(m===void 0&&b===void 0)continue;m||(m=0),b||(b=0),m===0||b===0||Cf(m)===Cf(b)?(e[S]=Math.max(He(Tf(m),Tf(b),i),0),(Qn.test(b)||Qn.test(m))&&(e[S]+="%")):e[S]=b}(t.rotate||r.rotate)&&(e.rotate=He(t.rotate||0,r.rotate||0,i))}function Ef(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Sv=Th(0,.5,Yd),wv=Th(.5,.95,Xe);function Th(e,t,r){return i=>i<e?0:i>t?1:r(Sa(e,t,i))}function Rf(e,t){e.min=t.min,e.max=t.max}function vn(e,t){Rf(e.x,t.x),Rf(e.y,t.y)}function Pf(e,t,r,i,s){return e-=t,e=Ol(e,1/r,i),s!==void 0&&(e=Ol(e,1/s,i)),e}function kv(e,t=0,r=1,i=.5,s,p=e,g=e){if(Qn.test(t)&&(t=parseFloat(t),t=He(g.min,g.max,t/100)-g.min),typeof t!="number")return;let S=He(p.min,p.max,i);e===p&&(S-=t),e.min=Pf(e.min,t,r,S,s),e.max=Pf(e.max,t,r,S,s)}function Af(e,t,[r,i,s],p,g){kv(e,t[r],t[i],t[s],t.scale,p,g)}const Tv=["x","scaleX","originX"],Cv=["y","scaleY","originY"];function If(e,t,r,i){Af(e.x,t,Tv,r?r.x:void 0,i?i.x:void 0),Af(e.y,t,Cv,r?r.y:void 0,i?i.y:void 0)}function Mf(e){return e.translate===0&&e.scale===1}function Ch(e){return Mf(e.x)&&Mf(e.y)}function Ev(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Eh(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Df(e){return en(e.x)/en(e.y)}class Rv{constructor(){this.members=[]}add(t){Fc(this.members,t),t.scheduleRender()}remove(t){if(_c(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(s=>t===s);if(r===0)return!1;let i;for(let s=r;s>=0;s--){const p=this.members[s];if(p.isPresent!==!1){i=p;break}}return i?(this.promote(i),!0):!1}promote(t,r){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:i}=t;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Of(e,t,r){let i="";const s=e.x.translate/t.x,p=e.y.translate/t.y;if((s||p)&&(i=`translate3d(${s}px, ${p}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:m,rotateX:b,rotateY:A}=r;m&&(i+=`rotate(${m}deg) `),b&&(i+=`rotateX(${b}deg) `),A&&(i+=`rotateY(${A}deg) `)}const g=e.x.scale*t.x,S=e.y.scale*t.y;return(g!==1||S!==1)&&(i+=`scale(${g}, ${S})`),i||"none"}const Pv=(e,t)=>e.depth-t.depth;class Av{constructor(){this.children=[],this.isDirty=!1}add(t){Fc(this.children,t),this.isDirty=!0}remove(t){_c(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Pv),this.isDirty=!1,this.children.forEach(t)}}function Iv(e,t){const r=performance.now(),i=({timestamp:s})=>{const p=s-r;p>=t&&(Dr(i),e(p-t))};return Be.read(i,!0),()=>Dr(i)}function Mv(e){window.MotionDebug&&window.MotionDebug.record(e)}function Dv(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Ov(e,t,r){const i=Ut(e)?e:ds(e);return i.start(Oc("",i,t,r)),i.animation}const Ff=["","X","Y","Z"],Fv={visibility:"hidden"},_f=1e3;let _v=0;const oi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Rh({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(g={},S=t==null?void 0:t()){this.id=_v++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,oi.totalNodes=oi.resolvedTargetDeltas=oi.recalculatedProjection=0,this.nodes.forEach(Bv),this.nodes.forEach(Nv),this.nodes.forEach(Hv),this.nodes.forEach(Vv),Mv(oi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new Av)}addEventListener(g,S){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new Lc),this.eventHandlers.get(g).add(S)}notifyListeners(g,...S){const m=this.eventHandlers.get(g);m&&m.notify(...S)}hasListeners(g){return this.eventHandlers.has(g)}mount(g,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Dv(g),this.instance=g;const{layoutId:m,layout:b,visualElement:A}=this.options;if(A&&!A.current&&A.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(b||m)&&(this.isLayoutDirty=!0),e){let w;const D=()=>this.root.updateBlockedByResize=!1;e(g,()=>{this.root.updateBlockedByResize=!0,w&&w(),w=Iv(D,250),Tl.hasAnimatedSinceResize&&(Tl.hasAnimatedSinceResize=!1,this.nodes.forEach(jf))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&A&&(m||b)&&this.addEventListener("didUpdate",({delta:w,hasLayoutChanged:D,hasRelativeTargetChanged:L,layout:H})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const Y=this.options.transition||A.getDefaultTransition()||Zv,{onLayoutAnimationStart:B,onLayoutAnimationComplete:F}=A.getProps(),Z=!this.targetLayout||!Eh(this.targetLayout,H)||L,X=!D&&L;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||X||D&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(w,X);const ee={...Dc(Y,"layout"),onPlay:B,onComplete:F};(A.shouldReduceMotion||this.options.layoutRoot)&&(ee.delay=0,ee.type=!1),this.startAnimation(ee)}else D||jf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=H})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach($v),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const w=this.path[A];w.shouldResetTransform=!0,w.updateScroll("snapshot"),w.options.layoutRoot&&w.willUpdate(!1)}const{layoutId:S,layout:m}=this.options;if(S===void 0&&!m)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Lf);return}this.isUpdating||this.nodes.forEach(Wv),this.isUpdating=!1,this.nodes.forEach(Uv),this.nodes.forEach(Lv),this.nodes.forEach(jv),this.clearAllSnapshots();const S=performance.now();mt.delta=ho(0,1e3/60,S-mt.timestamp),mt.timestamp=S,mt.isProcessing=!0,ju.update.process(mt),ju.preRender.process(mt),ju.render.process(mt),mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(zv),this.sharedNodes.forEach(Yv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=qe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:g,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!s)return;const g=this.isLayoutDirty||this.shouldResetTransform,S=this.projectionDelta&&!Ch(this.projectionDelta),m=this.getTransformTemplate(),b=m?m(this.latestValues,""):void 0,A=b!==this.prevTransformTemplateValue;g&&(S||ri(this.latestValues)||A)&&(s(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const S=this.measurePageBox();let m=this.removeElementScroll(S);return g&&(m=this.removeTransform(m)),Jv(m),{animationId:this.root.animationId,measuredBox:S,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:g}=this.options;if(!g)return qe();const S=g.measureViewportBox(),{scroll:m}=this.root;return m&&(uo(S.x,m.offset.x),uo(S.y,m.offset.y)),S}removeElementScroll(g){const S=qe();vn(S,g);for(let m=0;m<this.path.length;m++){const b=this.path[m],{scroll:A,options:w}=b;if(b!==this.root&&A&&w.layoutScroll){if(A.isRoot){vn(S,g);const{scroll:D}=this.root;D&&(uo(S.x,-D.offset.x),uo(S.y,-D.offset.y))}uo(S.x,A.offset.x),uo(S.y,A.offset.y)}}return S}applyTransform(g,S=!1){const m=qe();vn(m,g);for(let b=0;b<this.path.length;b++){const A=this.path[b];!S&&A.options.layoutScroll&&A.scroll&&A!==A.root&&cs(m,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),ri(A.latestValues)&&cs(m,A.latestValues)}return ri(this.latestValues)&&cs(m,this.latestValues),m}removeTransform(g){const S=qe();vn(S,g);for(let m=0;m<this.path.length;m++){const b=this.path[m];if(!b.instance||!ri(b.latestValues))continue;uc(b.latestValues)&&b.updateSnapshot();const A=qe(),w=b.measurePageBox();vn(A,w),If(S,b.latestValues,b.snapshot?b.snapshot.layoutBox:void 0,A)}return ri(this.latestValues)&&If(S,this.latestValues),S}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var S;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==m;if(!(g||b&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:w,layoutId:D}=this.options;if(!(!this.layout||!(w||D))){if(this.resolvedRelativeTargetAt=mt.timestamp,!this.targetDelta&&!this.relativeTarget){const L=this.getClosestProjectingParent();L&&L.layout&&this.animationProgress!==1?(this.relativeParent=L,this.forceRelativeParentToResolveTarget(),this.relativeTarget=qe(),this.relativeTargetOrigin=qe(),ya(this.relativeTargetOrigin,this.layout.layoutBox,L.layout.layoutBox),vn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=qe(),this.targetWithTransforms=qe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Qg(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):vn(this.target,this.layout.layoutBox),bh(this.target,this.targetDelta)):vn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const L=this.getClosestProjectingParent();L&&!!L.resumingFrom==!!this.resumingFrom&&!L.options.layoutScroll&&L.target&&this.animationProgress!==1?(this.relativeParent=L,this.forceRelativeParentToResolveTarget(),this.relativeTarget=qe(),this.relativeTargetOrigin=qe(),ya(this.relativeTargetOrigin,this.target,L.target),vn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}oi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||uc(this.parent.latestValues)||yh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var g;const S=this.getLead(),m=!!this.resumingFrom||this!==S;let b=!0;if((this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty)&&(b=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===mt.timestamp&&(b=!1),b)return;const{layout:A,layoutId:w}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||w))return;vn(this.layoutCorrected,this.layout.layoutBox);const D=this.treeScale.x,L=this.treeScale.y;sv(this.layoutCorrected,this.treeScale,this.path,m),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox);const{target:H}=S;if(!H){this.projectionTransform&&(this.projectionDelta=us(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=us(),this.projectionDeltaWithTransform=us());const Y=this.projectionTransform;va(this.projectionDelta,this.layoutCorrected,H,this.latestValues),this.projectionTransform=Of(this.projectionDelta,this.treeScale),(this.projectionTransform!==Y||this.treeScale.x!==D||this.treeScale.y!==L)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",H)),oi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),g){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(g,S=!1){const m=this.snapshot,b=m?m.latestValues:{},A={...this.latestValues},w=us();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const D=qe(),L=m?m.source:void 0,H=this.layout?this.layout.source:void 0,Y=L!==H,B=this.getStack(),F=!B||B.members.length<=1,Z=!!(Y&&!F&&this.options.crossfade===!0&&!this.path.some(Xv));this.animationProgress=0;let X;this.mixTargetDelta=ee=>{const ne=ee/1e3;Bf(w.x,g.x,ne),Bf(w.y,g.y,ne),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ya(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Gv(this.relativeTarget,this.relativeTargetOrigin,D,ne),X&&Ev(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=qe()),vn(X,this.relativeTarget)),Y&&(this.animationValues=A,xv(A,b,this.latestValues,ne,Z,F)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=ne},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Be.update(()=>{Tl.hasAnimatedSinceResize=!0,this.currentAnimation=Ov(0,_f,{...g,onUpdate:S=>{this.mixTargetDelta(S),g.onUpdate&&g.onUpdate(S)},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_f),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:S,target:m,layout:b,latestValues:A}=g;if(!(!S||!m||!b)){if(this!==g&&this.layout&&b&&Ph(this.options.animationType,this.layout.layoutBox,b.layoutBox)){m=this.target||qe();const w=en(this.layout.layoutBox.x);m.x.min=g.target.x.min,m.x.max=m.x.min+w;const D=en(this.layout.layoutBox.y);m.y.min=g.target.y.min,m.y.max=m.y.min+D}vn(S,m),cs(S,A),va(this.projectionDeltaWithTransform,this.layoutCorrected,S,A)}}registerSharedNode(g,S){this.sharedNodes.has(g)||this.sharedNodes.set(g,new Rv),this.sharedNodes.get(g).add(S);const b=S.options.initialPromotionConfig;S.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(S):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var g;const{layoutId:S}=this.options;return S?((g=this.getStack())===null||g===void 0?void 0:g.lead)||this:this}getPrevLead(){var g;const{layoutId:S}=this.options;return S?(g=this.getStack())===null||g===void 0?void 0:g.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:S,preserveFollowOpacity:m}={}){const b=this.getStack();b&&b.promote(this,m),g&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetRotation(){const{visualElement:g}=this.options;if(!g)return;let S=!1;const{latestValues:m}=g;if((m.rotate||m.rotateX||m.rotateY||m.rotateZ)&&(S=!0),!S)return;const b={};for(let A=0;A<Ff.length;A++){const w="rotate"+Ff[A];m[w]&&(b[w]=m[w],g.setStaticValue(w,0))}g.render();for(const A in b)g.setStaticValue(A,b[A]);g.scheduleRender()}getProjectionStyles(g){var S,m;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Fv;const b={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,b.opacity="",b.pointerEvents=kl(g==null?void 0:g.pointerEvents)||"",b.transform=A?A(this.latestValues,""):"none",b;const w=this.getLead();if(!this.projectionDelta||!this.layout||!w.target){const Y={};return this.options.layoutId&&(Y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,Y.pointerEvents=kl(g==null?void 0:g.pointerEvents)||""),this.hasProjected&&!ri(this.latestValues)&&(Y.transform=A?A({},""):"none",this.hasProjected=!1),Y}const D=w.animationValues||w.latestValues;this.applyTransformsToTarget(),b.transform=Of(this.projectionDeltaWithTransform,this.treeScale,D),A&&(b.transform=A(D,b.transform));const{x:L,y:H}=this.projectionDelta;b.transformOrigin=`${L.origin*100}% ${H.origin*100}% 0`,w.animationValues?b.opacity=w===this?(m=(S=D.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&m!==void 0?m:1:this.preserveOpacity?this.latestValues.opacity:D.opacityExit:b.opacity=w===this?D.opacity!==void 0?D.opacity:"":D.opacityExit!==void 0?D.opacityExit:0;for(const Y in El){if(D[Y]===void 0)continue;const{correct:B,applyTo:F}=El[Y],Z=b.transform==="none"?D[Y]:B(D[Y],w);if(F){const X=F.length;for(let ee=0;ee<X;ee++)b[F[ee]]=Z}else b[Y]=Z}return this.options.layoutId&&(b.pointerEvents=w===this?kl(g==null?void 0:g.pointerEvents)||"":"none"),b}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var S;return(S=g.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach(Lf),this.root.sharedNodes.clear()}}}function Lv(e){e.updateLayout()}function jv(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=e.layout,{animationType:p}=e.options,g=r.source!==e.layout.source;p==="size"?yn(w=>{const D=g?r.measuredBox[w]:r.layoutBox[w],L=en(D);D.min=i[w].min,D.max=D.min+L}):Ph(p,r.layoutBox,i)&&yn(w=>{const D=g?r.measuredBox[w]:r.layoutBox[w],L=en(i[w]);D.max=D.min+L,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[w].max=e.relativeTarget[w].min+L)});const S=us();va(S,i,r.layoutBox);const m=us();g?va(m,e.applyTransform(s,!0),r.measuredBox):va(m,i,r.layoutBox);const b=!Ch(S);let A=!1;if(!e.resumeFrom){const w=e.getClosestProjectingParent();if(w&&!w.resumeFrom){const{snapshot:D,layout:L}=w;if(D&&L){const H=qe();ya(H,r.layoutBox,D.layoutBox);const Y=qe();ya(Y,i,L.layoutBox),Eh(H,Y)||(A=!0),w.options.layoutRoot&&(e.relativeTarget=Y,e.relativeTargetOrigin=H,e.relativeParent=w)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:m,layoutDelta:S,hasLayoutChanged:b,hasRelativeTargetChanged:A})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function Bv(e){oi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Vv(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function zv(e){e.clearSnapshot()}function Lf(e){e.clearMeasurements()}function Wv(e){e.isLayoutDirty=!1}function Uv(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function jf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Nv(e){e.resolveTargetDelta()}function Hv(e){e.calcProjection()}function $v(e){e.resetRotation()}function Yv(e){e.removeLeadSnapshot()}function Bf(e,t,r){e.translate=He(t.translate,0,r),e.scale=He(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Vf(e,t,r,i){e.min=He(t.min,r.min,i),e.max=He(t.max,r.max,i)}function Gv(e,t,r,i){Vf(e.x,t.x,r.x,i),Vf(e.y,t.y,r.y,i)}function Xv(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Zv={duration:.45,ease:[.4,0,.1,1]},zf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Wf=zf("applewebkit/")&&!zf("chrome/")?Math.round:Xe;function Uf(e){e.min=Wf(e.min),e.max=Wf(e.max)}function Jv(e){Uf(e.x),Uf(e.y)}function Ph(e,t,r){return e==="position"||e==="preserve-aspect"&&!ac(Df(t),Df(r),.2)}const Qv=Rh({attachResizeListener:(e,t)=>Ar(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},Ah=Rh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new Qv({});e.mount(window),e.setOptions({layoutScroll:!0}),Xu.current=e}return Xu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Kv={pan:{Feature:pv},drag:{Feature:hv,ProjectionNode:Ah,MeasureLayout:wh}},qv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ey(e){const t=qv.exec(e);if(!t)return[,];const[,r,i]=t;return[r,i]}const ty=4;function fc(e,t,r=1){On(r<=ty,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,s]=ey(e);if(!i)return;const p=window.getComputedStyle(t).getPropertyValue(i);if(p){const g=p.trim();return fh(g)?parseFloat(g):g}else return ec(s)?fc(s,t,r+1):s}function ny(e,{...t},r){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(s=>{const p=s.get();if(!ec(p))return;const g=fc(p,i);g&&s.set(g)});for(const s in t){const p=t[s];if(!ec(p))continue;const g=fc(p,i);g&&(t[s]=g,r||(r={}),r[s]===void 0&&(r[s]=p))}return{target:t,transitionEnd:r}}const ry=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ih=e=>ry.has(e),oy=e=>Object.keys(e).some(Ih),bl=e=>e===li||e===me,Nf=(e,t)=>parseFloat(e.split(", ")[t]),Hf=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/);if(s)return Nf(s[1],t);{const p=i.match(/^matrix\((.+)\)$/);return p?Nf(p[1],e):0}},iy=new Set(["x","y","z"]),sy=wa.filter(e=>!iy.has(e));function ay(e){const t=[];return sy.forEach(r=>{const i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const hs={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Hf(4,13),y:Hf(5,14)};hs.translateX=hs.x;hs.translateY=hs.y;const ly=(e,t,r)=>{const i=t.measureViewportBox(),s=t.current,p=getComputedStyle(s),{display:g}=p,S={};g==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(b=>{S[b]=hs[b](i,p)}),t.render();const m=t.measureViewportBox();return r.forEach(b=>{const A=t.getValue(b);A&&A.jump(S[b]),e[b]=hs[b](m,p)}),e},uy=(e,t,r={},i={})=>{t={...t},i={...i};const s=Object.keys(t).filter(Ih);let p=[],g=!1;const S=[];if(s.forEach(m=>{const b=e.getValue(m);if(!e.hasValue(m))return;let A=r[m],w=fa(A);const D=t[m];let L;if(Pl(D)){const H=D.length,Y=D[0]===null?1:0;A=D[Y],w=fa(A);for(let B=Y;B<H&&D[B]!==null;B++)L?On(fa(D[B])===L,"All keyframes must be of the same type"):(L=fa(D[B]),On(L===w||bl(w)&&bl(L),"Keyframes must be of the same dimension as the current value"))}else L=fa(D);if(w!==L)if(bl(w)&&bl(L)){const H=b.get();typeof H=="string"&&b.set(parseFloat(H)),typeof D=="string"?t[m]=parseFloat(D):Array.isArray(D)&&L===me&&(t[m]=D.map(parseFloat))}else w!=null&&w.transform&&(L!=null&&L.transform)&&(A===0||D===0)?A===0?b.set(L.transform(A)):t[m]=w.transform(D):(g||(p=ay(e),g=!0),S.push(m),i[m]=i[m]!==void 0?i[m]:t[m],b.jump(D))}),S.length){const m=S.indexOf("height")>=0?window.pageYOffset:null,b=ly(t,e,S);return p.length&&p.forEach(([A,w])=>{e.getValue(A).set(w)}),e.render(),jl&&m!==null&&window.scrollTo({top:m}),{target:b,transitionEnd:i}}else return{target:t,transitionEnd:i}};function cy(e,t,r,i){return oy(t)?uy(e,t,r,i):{target:t,transitionEnd:i}}const fy=(e,t,r,i)=>{const s=ny(e,t,i);return t=s.target,i=s.transitionEnd,cy(e,t,r,i)},dc={current:null},Mh={current:!1};function dy(){if(Mh.current=!0,!!jl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dc.current=e.matches;e.addListener(t),t()}else dc.current=!1}function hy(e,t,r){const{willChange:i}=t;for(const s in t){const p=t[s],g=r[s];if(Ut(p))e.addValue(s,p),Dl(i)&&i.add(s),process.env.NODE_ENV==="development"&&jc(p.version==="10.18.0",`Attempting to mix Framer Motion versions ${p.version} with 10.18.0 may not work as expected.`);else if(Ut(g))e.addValue(s,ds(p,{owner:e})),Dl(i)&&i.remove(s);else if(g!==p)if(e.hasValue(s)){const S=e.getValue(s);!S.hasAnimated&&S.set(p)}else{const S=e.getStaticValue(s);e.addValue(s,ds(S!==void 0?S:p,{owner:e}))}}for(const s in r)t[s]===void 0&&e.removeValue(s);return t}const $f=new WeakMap,Dh=Object.keys(xa),py=Dh.length,Yf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],my=xc.length;class gy{constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:s,visualState:p},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Be.render(this.render,!1,!0);const{latestValues:S,renderState:m}=p;this.latestValues=S,this.baseTarget={...S},this.initialValues=r.initial?{...S}:{},this.renderState=m,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=g,this.isControllingVariants=Vl(r),this.isVariantNode=gd(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:b,...A}=this.scrapeMotionValuesFromProps(r,{});for(const w in A){const D=A[w];S[w]!==void 0&&Ut(D)&&(D.set(S[w],!1),Dl(b)&&b.add(w))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,$f.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),Mh.current||dy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:dc.current,process.env.NODE_ENV!=="production"&&jc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){$f.delete(this.current),this.projection&&this.projection.unmount(),Dr(this.notifyUpdate),Dr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const i=ai.has(t),s=r.on("change",g=>{this.latestValues[t]=g,this.props.onUpdate&&Be.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),p=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),p()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},i,s,p){let g,S;if(process.env.NODE_ENV!=="production"&&s&&i){const m="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?Ca(!1,m):On(!1,m)}for(let m=0;m<py;m++){const b=Dh[m],{isEnabled:A,Feature:w,ProjectionNode:D,MeasureLayout:L}=xa[b];D&&(g=D),A(r)&&(!this.features[b]&&w&&(this.features[b]=new w(this)),L&&(S=L))}if((this.type==="html"||this.type==="svg")&&!this.projection&&g){this.projection=new g(this.latestValues,this.parent&&this.parent.projection);const{layoutId:m,layout:b,drag:A,dragConstraints:w,layoutScroll:D,layoutRoot:L}=r;this.projection.setOptions({layoutId:m,layout:b,alwaysMeasureLayout:!!A||w&&as(w),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof b=="string"?b:"both",initialPromotionConfig:p,layoutScroll:D,layoutRoot:L})}return S}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):qe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<Yf.length;i++){const s=Yf[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const p=t["on"+s];p&&(this.propEventSubscriptions[s]=this.on(s,p))}this.prevMotionValues=hy(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const r={};for(let i=0;i<my;i++){const s=xc[i],p=this.props[s];(ba(p)||p===!1)&&(r[s]=p)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=ds(r,{owner:this}),this.addValue(t,i)),i}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:i}=this.props,s=typeof i=="string"||typeof i=="object"?(r=Rc(this.props,i))===null||r===void 0?void 0:r[t]:void 0;if(i&&s!==void 0)return s;const p=this.getBaseTargetFromProps(this.props,t);return p!==void 0&&!Ut(p)?p:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Lc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Oh extends gy{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...i},{transformValues:s},p){let g=Dg(i,t||{},this);if(s&&(r&&(r=s(r)),i&&(i=s(i)),g&&(g=s(g))),p){Ig(this,i,g);const S=fy(this,i,g,r);r=S.transitionEnd,i=S.target}return{transition:t,transitionEnd:r,...i}}}function vy(e){return window.getComputedStyle(e)}class yy extends Oh{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(ai.has(r)){const i=Mc(r);return i&&i.default||0}else{const i=vy(t),s=(Sd(r)?i.getPropertyValue(r):i[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return xh(t,r)}build(t,r,i,s){wc(t,r,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Ec(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ut(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,i,s){Rd(t,r,i,s)}}class by extends Oh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(ai.has(r)){const i=Mc(r);return i&&i.default||0}return r=Pd.has(r)?r:yc(r),t.getAttribute(r)}measureInstanceViewportBox(){return qe()}scrapeMotionValuesFromProps(t,r){return Id(t,r)}build(t,r,i,s){Tc(t,r,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,r,i,s){Ad(t,r,i,s)}mount(t){this.isSVGTag=Cc(t.tagName),super.mount(t)}}const xy=(e,t)=>Sc(e)?new by(t,{enableHardwareAcceleration:!1}):new yy(t,{enableHardwareAcceleration:!0}),Sy={layout:{ProjectionNode:Ah,MeasureLayout:wh}},wy={...Gg,...mm,...Kv,...Sy},Bc=kp((e,t)=>nm(e,t,wy,xy));function ky(){const[e,t]=re.useState("en"),[r,i]=re.useState(!1),s=re.useRef(null),p=S=>{t(S),i(!1)};re.useEffect(()=>{const S=m=>{s.current&&!s.current.contains(m.target)&&i(!1)};return document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[]);const g=[{code:"en",name:"English"}];return Q.jsxs("div",{className:"relative",ref:s,children:[Q.jsx("button",{onClick:()=>i(!r),className:"focus:outline-none flex items-center text-white",children:Q.jsx(Gf,{})}),r&&Q.jsx(Bc.div,{className:"absolute top-full right-0 mt-2 space-y-1 bg-white border border-gray-200 rounded shadow p-1",initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.1},children:g.map(S=>Q.jsxs("button",{onClick:()=>p(S.code),className:`flex items-center w-full px-4 py-2 text-left focus:outline-none rounded-[4px] ${e===S.code?"bg-blue-500 text-white":"bg-white text-black"} hover:bg-blue-500 hover:text-white`,children:[Q.jsx(Gf,{}),Q.jsx("span",{className:"ml-2 text-sm",children:S.name})]},S.code))})]})}function Gf(){return Q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 15",width:"40",height:"28.57",children:[Q.jsxs("defs",{children:[Q.jsxs("linearGradient",{id:"a",x1:"50%",x2:"50%",y1:"0%",y2:"100%",children:[Q.jsx("stop",{offset:"0%",stopColor:"#FFF"}),Q.jsx("stop",{offset:"100%",stopColor:"#F0F0F0"})]}),Q.jsxs("linearGradient",{id:"b",x1:"50%",x2:"50%",y1:"0%",y2:"100%",children:[Q.jsx("stop",{offset:"0%",stopColor:"#0A17A7"}),Q.jsx("stop",{offset:"100%",stopColor:"#030E88"})]}),Q.jsxs("linearGradient",{id:"c",x1:"50%",x2:"50%",y1:"0%",y2:"100%",children:[Q.jsx("stop",{offset:"0%",stopColor:"#E6273E"}),Q.jsx("stop",{offset:"100%",stopColor:"#CF152B"})]})]}),Q.jsxs("g",{fill:"none",fillRule:"evenodd",children:[Q.jsx("path",{fill:"url(#a)",d:"M0 0h21v15H0z"}),Q.jsx("path",{fill:"url(#b)",d:"M-.002 0h21v15h-21z"}),Q.jsx("path",{fill:"url(#a)",d:"M5.003 10H-.002V5h5.005L-2.082.22l1.118-1.657 8.962 6.045V-1h5v5.608l8.962-6.045L23.078.22 15.993 5h5.005v5h-5.005l7.085 4.78-1.118 1.657-8.962-6.045V16h-5v-5.608l-8.962 6.045-1.118-1.658L5.003 10z"}),Q.jsx("path",{fill:"#DB1F35",fillRule:"nonzero",d:"M14.136 4.958l9.5-6.25a.25.25 0 00-.275-.417l-9.5 6.25a.25.25 0 10.275.417zm.732 5.522l8.515 5.74a.25.25 0 10.28-.415l-8.516-5.74a.25.25 0 00-.279.415zM6.142 4.526L-2.74-1.461a.25.25 0 00-.28.415L5.863 4.94a.25.25 0 00.279-.414zm.685 5.469l-9.845 6.53a.25.25 0 10.276.416l9.846-6.529a.25.25 0 00-.277-.417z"}),Q.jsx("path",{fill:"url(#c)",d:"M-.002 9h9v6h3V9h9V6h-9V0h-3v6h-9z"})]})]})}function Ty({logo:e,user:t,baseUrl:r,style:i,classNames:s=""}){const p=e||"/public/assets/icons/logo-header.png";return Q.jsx("nav",{className:`${qt.navbar} ${s}`,style:i,children:Q.jsxs("div",{className:qt["navbar-container"],children:[Q.jsx("div",{className:qt["logo-container"],children:Q.jsx("img",{src:p,alt:"logo-header"})}),Q.jsxs("div",{className:qt["right-side-container"],children:[Q.jsx(ky,{}),Q.jsxs("div",{className:qt.userContainer,children:[Q.jsx("p",{className:qt.userFullName,children:`${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName}`}),Q.jsx(Cy,{baseUrl:r,avatarUrl:t==null?void 0:t.avatarUrl})]}),Q.jsx("span",{className:qt["cursor-pointer"],children:Q.jsx(ip,{})}),Q.jsx("span",{className:qt["cursor-pointer"],children:Q.jsx(op,{})})]})]})})}function Cy({avatarUrl:e,baseUrl:t}){const[r,i]=re.useState(!1),[s,p]=re.useState(!1),g=re.useRef(null),S=re.useRef(null),m=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${window.location.href}`};return re.useEffect(()=>{function b(A){A.target!==S.current&&A.target!==g.current&&i(!1)}return window.addEventListener("click",b),()=>window.removeEventListener("click",b)},[]),Q.jsxs(Q.Fragment,{children:[Q.jsxs("div",{className:qt.relative,children:[Q.jsx("img",{ref:g,onClick:()=>i(b=>!b),alt:"user avatar",className:qt.userAvatar,src:e||dp}),r&&Q.jsx("div",{ref:S,className:qt.avartarDropdownMenu,children:Q.jsxs("ul",{children:[Q.jsx("li",{className:qt["avatar-dropdown-item"],children:"Profile"}),Q.jsx("li",{onClick:()=>p(!0),className:qt["avatar-dropdown-item"],children:"Logout"})]})})]}),Q.jsx(dd,{isOpen:s,onClose:()=>p(!1),onConfirm:m})]})}var Ey=typeof global=="object"&&global&&global.Object===Object&&global;const Ry=Ey;var Py=typeof self=="object"&&self&&self.Object===Object&&self,Ay=Ry||Py||Function("return this")();const Fh=Ay;var Iy=Fh.Symbol;const Fl=Iy;var _h=Object.prototype,My=_h.hasOwnProperty,Dy=_h.toString,ha=Fl?Fl.toStringTag:void 0;function Oy(e){var t=My.call(e,ha),r=e[ha];try{e[ha]=void 0;var i=!0}catch{}var s=Dy.call(e);return i&&(t?e[ha]=r:delete e[ha]),s}var Fy=Object.prototype,_y=Fy.toString;function Ly(e){return _y.call(e)}var jy="[object Null]",By="[object Undefined]",Xf=Fl?Fl.toStringTag:void 0;function Vy(e){return e==null?e===void 0?By:jy:Xf&&Xf in Object(e)?Oy(e):Ly(e)}function zy(e){return e!=null&&typeof e=="object"}var Wy="[object Symbol]";function Uy(e){return typeof e=="symbol"||zy(e)&&Vy(e)==Wy}var Ny=/\s/;function Hy(e){for(var t=e.length;t--&&Ny.test(e.charAt(t)););return t}var $y=/^\s+/;function Yy(e){return e&&e.slice(0,Hy(e)+1).replace($y,"")}function _l(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Zf=0/0,Gy=/^[-+]0x[0-9a-f]+$/i,Xy=/^0b[01]+$/i,Zy=/^0o[0-7]+$/i,Jy=parseInt;function Jf(e){if(typeof e=="number")return e;if(Uy(e))return Zf;if(_l(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_l(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Yy(e);var r=Xy.test(e);return r||Zy.test(e)?Jy(e.slice(2),r?2:8):Gy.test(e)?Zf:+e}var Qy=function(){return Fh.Date.now()};const Zu=Qy;var Ky="Expected a function",qy=Math.max,eb=Math.min;function Cl(e,t,r){var i,s,p,g,S,m,b=0,A=!1,w=!1,D=!0;if(typeof e!="function")throw new TypeError(Ky);t=Jf(t)||0,_l(r)&&(A=!!r.leading,w="maxWait"in r,p=w?qy(Jf(r.maxWait)||0,t):p,D="trailing"in r?!!r.trailing:D);function L(te){var oe=i,le=s;return i=s=void 0,b=te,g=e.apply(le,oe),g}function H(te){return b=te,S=setTimeout(F,t),A?L(te):g}function Y(te){var oe=te-m,le=te-b,ce=t-oe;return w?eb(ce,p-le):ce}function B(te){var oe=te-m,le=te-b;return m===void 0||oe>=t||oe<0||w&&le>=p}function F(){var te=Zu();if(B(te))return Z(te);S=setTimeout(F,Y(te))}function Z(te){return S=void 0,D&&i?L(te):(i=s=void 0,g)}function X(){S!==void 0&&clearTimeout(S),b=0,i=m=s=S=void 0}function ee(){return S===void 0?g:Z(Zu())}function ne(){var te=Zu(),oe=B(te);if(i=arguments,s=this,m=te,oe){if(S===void 0)return H(m);if(w)return clearTimeout(S),S=setTimeout(F,t),L(m)}return S===void 0&&(S=setTimeout(F,t)),g}return ne.cancel=X,ne.flush=ee,ne}var tb="Expected a function";function nb(e,t,r){var i=!0,s=!0;if(typeof e!="function")throw new TypeError(tb);return _l(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),Cl(e,t,{leading:i,maxWait:t,trailing:s})}var rb=!!(typeof window<"u"&&window.document&&window.document.createElement),ob=rb;const Lh=he.getDefaultExportFromCjs(ob);var fs=function(){return fs=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var p in r)Object.prototype.hasOwnProperty.call(r,p)&&(t[p]=r[p])}return t},fs.apply(this,arguments)},ss=null,Qf=null;Lh&&window.addEventListener("resize",function(){Qf!==window.devicePixelRatio&&(Qf=window.devicePixelRatio,ss=null)});function Kf(){if(ss===null){if(typeof document>"u")return ss=0,ss;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),ss=r}return ss}function jh(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Bh(e){return!e||!e.ownerDocument?document:e.ownerDocument}var Vh=function(e){var t={},r=Array.prototype.reduce.call(e,function(i,s){var p=s.name.match(/data-simplebar-(.+)/);if(p){var g=p[1].replace(/\W+(.)/g,function(S,m){return m.toUpperCase()});switch(s.value){case"true":i[g]=!0;break;case"false":i[g]=!1;break;case void 0:i[g]=!0;break;default:i[g]=s.value}}return i},t);return r};function zh(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function Wh(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function Uh(e){return".".concat(e.split(" ").join("."))}var ib=Object.freeze({__proto__:null,getElementWindow:jh,getElementDocument:Bh,getOptions:Vh,addClasses:zh,removeClasses:Wh,classNamesToQuery:Uh}),io=jh,Ju=Bh,sb=Vh,so=zh,ao=Wh,Wt=Uh,xl=function(){function e(t,r){r===void 0&&(r={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var s=io(i.el);i.scrollXTicking||(s.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(s.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,so(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ao(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(so(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ao(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(s){i.mouseX=s.clientX,i.mouseY=s.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(s){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var p,g;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(p=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(g=i.isWithinBounds(i.axis.y.track.rect)),(p||g)&&(s.stopPropagation(),s.type==="pointerdown"&&s.pointerType!=="touch"&&(p&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(s,"x"):i.onTrackClick(s,"x")),g&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(s,"y"):i.onTrackClick(s,"y"))))}},this.drag=function(s){var p,g,S,m,b,A,w,D,L,H,Y;if(!(!i.draggedAxis||!i.contentWrapperEl)){var B,F=i.axis[i.draggedAxis].track,Z=(g=(p=F.rect)===null||p===void 0?void 0:p[i.axis[i.draggedAxis].sizeAttr])!==null&&g!==void 0?g:0,X=i.axis[i.draggedAxis].scrollbar,ee=(m=(S=i.contentWrapperEl)===null||S===void 0?void 0:S[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&m!==void 0?m:0,ne=parseInt((A=(b=i.elStyles)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:"0px",10);s.preventDefault(),s.stopPropagation(),i.draggedAxis==="y"?B=s.pageY:B=s.pageX;var te=B-((D=(w=F.rect)===null||w===void 0?void 0:w[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;te=i.draggedAxis==="x"&&i.isRtl?((H=(L=F.rect)===null||L===void 0?void 0:L[i.axis[i.draggedAxis].sizeAttr])!==null&&H!==void 0?H:0)-X.size-te:te;var oe=te/(Z-X.size),le=oe*(ee-ne);i.draggedAxis==="x"&&i.isRtl&&(le=!((Y=e.getRtlHelpers())===null||Y===void 0)&&Y.isScrollingToNegative?-le:le),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(s){var p=Ju(i.el),g=io(i.el);s.preventDefault(),s.stopPropagation(),ao(i.el,i.classNames.dragging),p.removeEventListener("mousemove",i.drag,!0),p.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=g.setTimeout(function(){p.removeEventListener("click",i.preventClick,!0),p.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(s){s.preventDefault(),s.stopPropagation()},this.el=t,this.options=fs(fs({},e.defaultOptions),r),this.classNames=fs(fs({},e.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=nb(this._onMouseMove,64),this.onWindowResize=Cl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Cl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Cl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=t.firstElementChild,i=r==null?void 0:r.firstElementChild;if(!i)return null;document.body.appendChild(r),r.scrollLeft=0;var s=e.getOffset(r),p=e.getOffset(i);r.scrollLeft=-999;var g=e.getOffset(i);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:s.left!==p.left,isScrollingToNegative:p.left!==g.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Kf()}catch{return Kf()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),i=Ju(t),s=io(t);return{top:r.top+(s.pageYOffset||i.documentElement.scrollTop),left:r.left+(s.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){Lh&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(Wt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Wt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Wt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Wt(this.classNames.offset)),this.maskEl=this.el.querySelector(Wt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Wt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Wt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Wt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Wt(this.classNames.track)).concat(Wt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Wt(this.classNames.track)).concat(Wt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Wt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(Wt(this.classNames.scrollbar)))||null,this.options.autoHide||(so(this.axis.x.scrollbar.el,this.classNames.visible),so(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,i=io(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var s=!1,p=i.ResizeObserver||ResizeObserver;this.resizeObserver=new p(function(){s&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){s=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=io(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,s=this.heightAutoObserverEl.offsetWidth<=1||r>0,p=this.contentWrapperEl.offsetWidth,g=this.elStyles.overflowX,S=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var m=this.contentEl.scrollHeight,b=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(r||b,"px"):"auto",this.placeholderEl.style.height="".concat(m,"px");var A=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&b>r,this.axis.y.isOverflowing=m>A,this.axis.x.isOverflowing=g==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=S==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var w=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&b>p-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&m>A-w,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var r,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var s=this.contentEl[this.axis[t].scrollSizeAttr],p=(i=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,g=p/s,S;return S=Math.max(~~(g*p),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(S=Math.min(S,this.options.scrollbarMaxSize)),S},e.prototype.positionScrollbar=function(t){var r,i,s;t===void 0&&(t="y");var p=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!p.el||!this.elStyles)){var g=this.contentWrapperEl[this.axis[t].scrollSizeAttr],S=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,m=parseInt(this.elStyles[this.axis[t].sizeAttr],10),b=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];b=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-b:b,t==="x"&&this.isRtl&&(b=!((s=e.getRtlHelpers())===null||s===void 0)&&s.isScrollingToNegative?b:-b);var A=b/(g-m),w=~~((S-p.size)*A);w=t==="x"&&this.isRtl?-w+(S-p.size):w,p.el.style.transform=t==="x"?"translate3d(".concat(w,"px, 0, 0)"):"translate3d(0, ".concat(w,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!r||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(so(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(ao(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),so(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?so(r.scrollbar.el,this.classNames.hover):ao(r.scrollbar.el,this.classNames.hover)):(ao(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),ao(this.axis[t].track.el,this.classNames.hover),ao(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var i;r===void 0&&(r="y");var s=Ju(this.el),p=io(this.el),g=this.axis[r].scrollbar,S=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=S-(((i=g.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])||0),this.draggedAxis=r,so(this.el,this.classNames.dragging),s.addEventListener("mousemove",this.drag,!0),s.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(s.addEventListener("click",this.preventClick,!0),s.addEventListener("dblclick",this.preventClick,!0)):(p.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var i=this,s,p,g,S;r===void 0&&(r="y");var m=this.axis[r];if(!(!this.options.clickOnTrack||!m.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var b=io(this.el);this.axis[r].scrollbar.rect=m.scrollbar.el.getBoundingClientRect();var A=this.axis[r].scrollbar,w=(p=(s=A.rect)===null||s===void 0?void 0:s[this.axis[r].offsetAttr])!==null&&p!==void 0?p:0,D=parseInt((S=(g=this.elStyles)===null||g===void 0?void 0:g[this.axis[r].sizeAttr])!==null&&S!==void 0?S:"0px",10),L=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],H=r==="y"?this.mouseY-w:this.mouseX-w,Y=H<0?-1:1,B=Y===-1?L-D:L+D,F=40,Z=function(){i.contentWrapperEl&&(Y===-1?L>B&&(L-=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=L,b.requestAnimationFrame(Z)):L<B&&(L+=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=L,b.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=io(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,r){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(s){return i.call(s,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=sb,e.helpers=ib,e}(),Kt=function(){return Kt=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var p in r)Object.prototype.hasOwnProperty.call(r,p)&&(t[p]=r[p])}return t},Kt.apply(this,arguments)};function ab(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}var Nh=be.forwardRef(function(e,t){var r=e.children,i=e.scrollableNodeProps,s=i===void 0?{}:i,p=ab(e,["children","scrollableNodeProps"]),g=be.useRef(),S=be.useRef(),m=be.useRef(),b={},A={};Object.keys(p).forEach(function(L){Object.prototype.hasOwnProperty.call(xl.defaultOptions,L)?b[L]=p[L]:A[L]=p[L]});var w=Kt(Kt({},xl.defaultOptions.classNames),b.classNames),D=Kt(Kt({},s),{className:"".concat(w.contentWrapper).concat(s.className?" ".concat(s.className):""),tabIndex:0,role:"region","aria-label":b.ariaLabel||xl.defaultOptions.ariaLabel});return be.useEffect(function(){var L;return S.current=D.ref?D.ref.current:S.current,g.current&&(L=new xl(g.current,Kt(Kt(Kt({},b),S.current&&{scrollableNode:S.current}),m.current&&{contentNode:m.current})),typeof t=="function"?t(L):t&&(t.current=L)),function(){L==null||L.unMount(),L=null,typeof t=="function"&&t(null)}},[]),be.createElement("div",Kt({"data-simplebar":"init",ref:g},A),be.createElement("div",{className:w.wrapper},be.createElement("div",{className:w.heightAutoObserverWrapperEl},be.createElement("div",{className:w.heightAutoObserverEl})),be.createElement("div",{className:w.mask},be.createElement("div",{className:w.offset},typeof r=="function"?r({scrollableNodeRef:S,scrollableNodeProps:Kt(Kt({},D),{ref:S}),contentNodeRef:m,contentNodeProps:{className:w.contentEl,ref:m}}):be.createElement("div",Kt({},D),be.createElement("div",{className:w.contentEl},r)))),be.createElement("div",{className:w.placeholder})),be.createElement("div",{className:"".concat(w.track," simplebar-horizontal")},be.createElement("div",{className:w.scrollbar})),be.createElement("div",{className:"".concat(w.track," simplebar-vertical")},be.createElement("div",{className:w.scrollbar})))});Nh.displayName="SimpleBar";function lb(e){const{children:t,parentRef:r,onlyChild:i}=e,[s,p]=re.useState({top:0,left:0});return re.useLayoutEffect(()=>{if(r.current){const g=r.current.getBoundingClientRect();p({top:g.top,left:g.left+g.width})}},[r]),i?t:fd.createPortal(Q.jsx(Bc.div,{style:{position:"fixed",top:s.top,left:s.left},children:t}),document.body)}var Vc={},Hh={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Hh);var ub=Hh.exports,Qu={};function cb(...e){return e.reduce((t,r)=>r==null?t:function(...s){t.apply(this,s),r.apply(this,s)},()=>{})}function fb(e,t=166){let r;function i(...s){const p=()=>{e.apply(this,s)};clearTimeout(r),r=setTimeout(p,t)}return i.clear=()=>{clearTimeout(r)},i}function db(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,i,s,p,g)=>{const S=s||"<<anonymous>>",m=g||i;return typeof r[i]<"u"?new Error(`The ${p} \`${m}\` of \`${S}\` is deprecated. ${t}`):null}}function hb(e,t){var r,i;return be.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(i=e.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function $h(e){return e&&e.ownerDocument||document}function pb(e){return $h(e).defaultView||window}function Yh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const mb=typeof window<"u"?be.useLayoutEffect:be.useEffect,Gh=mb;let qf=0;function gb(e){const[t,r]=be.useState(e),i=e||t;return be.useEffect(()=>{t==null&&(qf+=1,r(`mui-${qf}`))},[t]),i}const ed=be["useId".toString()];function vb(e){if(ed!==void 0){const t=ed();return e??t}return gb(e)}function yb(e,t,r,i,s){if(process.env.NODE_ENV==="production")return null;const p=s||t;return typeof e[t]<"u"?new Error(`The prop \`${p}\` is not supported. Please remove it.`):null}function bb({controlled:e,default:t,name:r,state:i="value"}){const{current:s}=be.useRef(e!==void 0),[p,g]=be.useState(t),S=s?e:p;if(process.env.NODE_ENV!=="production"){be.useEffect(()=>{s!==(e!==void 0)&&console.error([`MUI: A component is changing the ${s?"":"un"}controlled ${i} state of ${r} to be ${s?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
2
+ `))},[i,r,e]);const{current:b}=be.useRef(t);be.useEffect(()=>{!s&&b!==t&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
3
+ `))},[JSON.stringify(t)])}const m=be.useCallback(b=>{s||g(b)},[]);return[S,m]}function xb(e){const t=be.useRef(e);return Gh(()=>{t.current=e}),be.useRef((...r)=>(0,t.current)(...r)).current}function Sb(...e){return be.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Yh(r,t)})},e)}let Nl=!0,hc=!1,td;const wb={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function kb(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&wb[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Tb(e){e.metaKey||e.altKey||e.ctrlKey||(Nl=!0)}function Ku(){Nl=!1}function Cb(){this.visibilityState==="hidden"&&hc&&(Nl=!0)}function Eb(e){e.addEventListener("keydown",Tb,!0),e.addEventListener("mousedown",Ku,!0),e.addEventListener("pointerdown",Ku,!0),e.addEventListener("touchstart",Ku,!0),e.addEventListener("visibilitychange",Cb,!0)}function Rb(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Nl||kb(t)}function Pb(){const e=be.useCallback(s=>{s!=null&&Eb(s.ownerDocument)},[]),t=be.useRef(!1);function r(){return t.current?(hc=!0,window.clearTimeout(td),td=window.setTimeout(()=>{hc=!1},100),t.current=!1,!0):!1}function i(s){return Rb(s)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:r,ref:e}}function Ab(e){return he.generateUtilityClass("MuiSvgIcon",e)}he.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ib=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Mb=e=>{const{color:t,fontSize:r,classes:i}=e,s={root:["root",t!=="inherit"&&`color${he.capitalize(t)}`,`fontSize${he.capitalize(r)}`]};return he.composeClasses(s,Ab,i)},Db=he.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${he.capitalize(r.color)}`],t[`fontSize${he.capitalize(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,i,s,p,g,S,m,b,A,w,D,L,H;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(i=r.create)==null?void 0:i.call(r,"fill",{duration:(s=e.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((p=e.typography)==null||(g=p.pxToRem)==null?void 0:g.call(p,20))||"1.25rem",medium:((S=e.typography)==null||(m=S.pxToRem)==null?void 0:m.call(S,24))||"1.5rem",large:((b=e.typography)==null||(A=b.pxToRem)==null?void 0:A.call(b,35))||"2.1875rem"}[t.fontSize],color:(w=(D=(e.vars||e).palette)==null||(D=D[t.color])==null?void 0:D.main)!=null?w:{action:(L=(e.vars||e).palette)==null||(L=L.action)==null?void 0:L.active,disabled:(H=(e.vars||e).palette)==null||(H=H.action)==null?void 0:H.disabled,inherit:void 0}[t.color]}}),zc=be.forwardRef(function(t,r){const i=he.useThemeProps({props:t,name:"MuiSvgIcon"}),{children:s,className:p,color:g="inherit",component:S="svg",fontSize:m="medium",htmlColor:b,inheritViewBox:A=!1,titleAccess:w,viewBox:D="0 0 24 24"}=i,L=he._objectWithoutPropertiesLoose(i,Ib),H=be.isValidElement(s)&&s.type==="svg",Y=he._extends({},i,{color:g,component:S,fontSize:m,instanceFontSize:t.fontSize,inheritViewBox:A,viewBox:D,hasSvgAsChild:H}),B={};A||(B.viewBox=D);const F=Mb(Y);return Q.jsxs(Db,he._extends({as:S,className:he.clsx(F.root,p),focusable:"false",color:b,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:r},B,L,H&&s.props,{ownerState:Y,children:[H?s.props.children:s,w?Q.jsx("title",{children:w}):null]}))});process.env.NODE_ENV!=="production"&&(zc.propTypes={children:he.PropTypes.node,classes:he.PropTypes.object,className:he.PropTypes.string,color:he.PropTypes.oneOfType([he.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),he.PropTypes.string]),component:he.PropTypes.elementType,fontSize:he.PropTypes.oneOfType([he.PropTypes.oneOf(["inherit","large","medium","small"]),he.PropTypes.string]),htmlColor:he.PropTypes.string,inheritViewBox:he.PropTypes.bool,shapeRendering:he.PropTypes.string,sx:he.PropTypes.oneOfType([he.PropTypes.arrayOf(he.PropTypes.oneOfType([he.PropTypes.func,he.PropTypes.object,he.PropTypes.bool])),he.PropTypes.func,he.PropTypes.object]),titleAccess:he.PropTypes.string,viewBox:he.PropTypes.string});zc.muiName="SvgIcon";const nd=zc;function Ob(e,t){function r(i,s){return Q.jsx(nd,he._extends({"data-testid":`${t}Icon`,ref:s},i,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=nd.muiName,be.memo(be.forwardRef(r))}const Fb={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
4
+ `)),he.ClassNameGenerator.configure(e)}},_b=Object.freeze(Object.defineProperty({__proto__:null,capitalize:he.capitalize,createChainedFunction:cb,createSvgIcon:Ob,debounce:fb,deprecatedPropType:db,isMuiElement:hb,ownerDocument:$h,ownerWindow:pb,requirePropFactory:he.requirePropFactory,setRef:Yh,unstable_ClassNameGenerator:Fb,unstable_useEnhancedEffect:Gh,unstable_useId:vb,unsupportedProp:yb,useControlled:bb,useEventCallback:xb,useForkRef:Sb,useIsFocusVisible:Pb},Symbol.toStringTag,{value:"Module"})),Lb=he.getAugmentedNamespace(_b);var rd;function jb(){return rd||(rd=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Lb}(Qu)),Qu}var Bb=ub;Object.defineProperty(Vc,"__esModule",{value:!0});var Xh=Vc.default=void 0,Vb=Bb(jb()),zb=Q;Xh=Vc.default=(0,Vb.default)((0,zb.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");function Zh({item:e,level:t=0,...r}){var F;const{isActive:i,isCollapsed:s,expanded:p,toggleExpand:g}=r,S=`level-${t}`,m=s?"collapsed":"expanded",b=i(e.id)?"active":"",A=(Z,X=S)=>`${Z} ${X} ${m} ${b}`,w=!!((F=e.children)!=null&&F.length),[D,L]=re.useState(!1),H=re.useRef();function Y(Z){var te;const{level:X,hovered:ee,parentRef:ne}=Z;return!w||s&&X>=2&&!ee?null:Q.jsx(lb,{parentRef:ne,onlyChild:!s||s&&X<2,children:Q.jsx(Bc.div,{className:A("menu-item__dropdown",`level-${X}`),initial:{height:s?"auto":0},animate:{height:s||p(e.id)?"auto":0},transition:{duration:.2},children:(te=e.children)==null?void 0:te.map(oe=>re.createElement(Zh,{...r,key:oe.id,item:oe,level:X}))},+s)})}const B=w?"div":cd.Link;return Q.jsxs("div",{ref:H,className:A("menu-item__wrapper"),onMouseEnter:()=>s&&L(!0),onMouseLeave:()=>s&&L(!1),children:[Q.jsxs(B,{to:w?"#":e.path||"#",style:{paddingLeft:`${s?"0.5rem":`${t*1}rem`}`},className:A("menu-item__link"),onClick:Z=>{w&&(Z.preventDefault(),s||g(e.id))},children:[t!==0&&Q.jsx(Wb,{cls:A,item:e}),Q.jsx("span",{className:A("menu-item__label"),children:e.name}),w&&Q.jsx("div",{className:A("menu-item__icon-arrow__wrapper"),children:Q.jsx(Xh,{className:A(`menu-item__icon-arrow__icon ${p(e.id)?"open":"close"}`),fontSize:"small"})})]}),Y({level:t+1,hovered:D,parentRef:H})]},e.id)}function Wb({item:e,cls:t}){var p;const[r,i]=re.useState(!1),s=()=>{i(!0)};return Q.jsx("div",{className:t("menu-item__icon"),children:r?Q.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center"},children:(p=e.name.trim().at(0))==null?void 0:p.toUpperCase()}):Q.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:s})})}function od(e){for(;e.startsWith("/");)e=e.slice(1);return e}function Jh(e,t,r=[]){for(const i of e){if(console.log(i.path,t,i.path===t),od(i.path||"")===od(t))return[...r,i];if(i.children){const s=Jh(i.children,t,[...r,i]);if(s)return s}}return null}function Ub(e){return Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:Q.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const Nb=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
5
+ `;var ti={};/**
6
+ * @license React
7
+ * react-dom-server-legacy.browser.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */var id;function Hb(){if(id)return ti;id=1;var e=re;function t(u){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+u,C=1;C<arguments.length;C++)v+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+u+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[: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]*$/,s={},p={};function g(u){return r.call(p,u)?!0:r.call(s,u)?!1:i.test(u)?p[u]=!0:(s[u]=!0,!1)}function S(u,v,C,R,z,j,$){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=R,this.attributeNamespace=z,this.mustUseProperty=C,this.propertyName=u,this.type=v,this.sanitizeURL=j,this.removeEmptyString=$}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){m[u]=new S(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var v=u[0];m[v]=new S(v,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){m[u]=new S(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){m[u]=new S(u,2,!1,u,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(u){m[u]=new S(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){m[u]=new S(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){m[u]=new S(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){m[u]=new S(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){m[u]=new S(u,5,!1,u.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function A(u){return u[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(u){var v=u.replace(b,A);m[v]=new S(v,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var v=u.replace(b,A);m[v]=new S(v,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var v=u.replace(b,A);m[v]=new S(v,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){m[u]=new S(u,1,!1,u.toLowerCase(),null,!1,!1)}),m.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){m[u]=new S(u,1,!1,u.toLowerCase(),null,!0,!0)});var w={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},D=["Webkit","ms","Moz","O"];Object.keys(w).forEach(function(u){D.forEach(function(v){v=v+u.charAt(0).toUpperCase()+u.substring(1),w[v]=w[u]})});var L=/["'&<>]/;function H(u){if(typeof u=="boolean"||typeof u=="number")return""+u;u=""+u;var v=L.exec(u);if(v){var C="",R,z=0;for(R=v.index;R<u.length;R++){switch(u.charCodeAt(R)){case 34:v="&quot;";break;case 38:v="&amp;";break;case 39:v="&#x27;";break;case 60:v="&lt;";break;case 62:v="&gt;";break;default:continue}z!==R&&(C+=u.substring(z,R)),z=R+1,C+=v}u=z!==R?C+u.substring(z,R):C}return u}var Y=/([A-Z])/g,B=/^ms-/,F=Array.isArray;function Z(u,v){return{insertionMode:u,selectedValue:v}}function X(u,v,C){switch(v){case"select":return Z(1,C.value!=null?C.value:C.defaultValue);case"svg":return Z(2,null);case"math":return Z(3,null);case"foreignObject":return Z(1,null);case"table":return Z(4,null);case"thead":case"tbody":case"tfoot":return Z(5,null);case"colgroup":return Z(7,null);case"tr":return Z(6,null)}return 4<=u.insertionMode||u.insertionMode===0?Z(1,null):u}var ee=new Map;function ne(u,v,C){if(typeof C!="object")throw Error(t(62));v=!0;for(var R in C)if(r.call(C,R)){var z=C[R];if(z!=null&&typeof z!="boolean"&&z!==""){if(R.indexOf("--")===0){var j=H(R);z=H((""+z).trim())}else{j=R;var $=ee.get(j);$!==void 0||($=H(j.replace(Y,"-$1").toLowerCase().replace(B,"-ms-")),ee.set(j,$)),j=$,z=typeof z=="number"?z===0||r.call(w,R)?""+z:z+"px":H((""+z).trim())}v?(v=!1,u.push(' style="',j,":",z)):u.push(";",j,":",z)}}v||u.push('"')}function te(u,v,C,R){switch(C){case"style":ne(u,v,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N"){if(v=m.hasOwnProperty(C)?m[C]:null,v!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!v.acceptsBooleans)return}switch(C=v.attributeName,v.type){case 3:R&&u.push(" ",C,'=""');break;case 4:R===!0?u.push(" ",C,'=""'):R!==!1&&u.push(" ",C,'="',H(R),'"');break;case 5:isNaN(R)||u.push(" ",C,'="',H(R),'"');break;case 6:!isNaN(R)&&1<=R&&u.push(" ",C,'="',H(R),'"');break;default:v.sanitizeURL&&(R=""+R),u.push(" ",C,'="',H(R),'"')}}else if(g(C)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(v=C.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-")return}u.push(" ",C,'="',H(R),'"')}}}function oe(u,v,C){if(v!=null){if(C!=null)throw Error(t(60));if(typeof v!="object"||!("__html"in v))throw Error(t(61));v=v.__html,v!=null&&u.push(""+v)}}function le(u){var v="";return e.Children.forEach(u,function(C){C!=null&&(v+=C)}),v}function ce(u,v,C,R){u.push(Te(C));var z=C=null,j;for(j in v)if(r.call(v,j)){var $=v[j];if($!=null)switch(j){case"children":C=$;break;case"dangerouslySetInnerHTML":z=$;break;default:te(u,R,j,$)}}return u.push(">"),oe(u,z,C),typeof C=="string"?(u.push(H(C)),null):C}var Ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$e=new Map;function Te(u){var v=$e.get(u);if(v===void 0){if(!Ue.test(u))throw Error(t(65,u));v="<"+u,$e.set(u,v)}return v}function Ye(u,v,C,R,z){switch(v){case"select":u.push(Te("select"));var j=null,$=null;for(ue in C)if(r.call(C,ue)){var K=C[ue];if(K!=null)switch(ue){case"children":j=K;break;case"dangerouslySetInnerHTML":$=K;break;case"defaultValue":case"value":break;default:te(u,R,ue,K)}}return u.push(">"),oe(u,$,j),j;case"option":$=z.selectedValue,u.push(Te("option"));var se=K=null,fe=null,ue=null;for(j in C)if(r.call(C,j)){var xe=C[j];if(xe!=null)switch(j){case"children":K=xe;break;case"selected":fe=xe;break;case"dangerouslySetInnerHTML":ue=xe;break;case"value":se=xe;default:te(u,R,j,xe)}}if($!=null)if(C=se!==null?""+se:le(K),F($)){for(R=0;R<$.length;R++)if(""+$[R]===C){u.push(' selected=""');break}}else""+$===C&&u.push(' selected=""');else fe&&u.push(' selected=""');return u.push(">"),oe(u,ue,K),K;case"textarea":u.push(Te("textarea")),ue=$=j=null;for(K in C)if(r.call(C,K)&&(se=C[K],se!=null))switch(K){case"children":ue=se;break;case"value":j=se;break;case"defaultValue":$=se;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:te(u,R,K,se)}if(j===null&&$!==null&&(j=$),u.push(">"),ue!=null){if(j!=null)throw Error(t(92));if(F(ue)&&1<ue.length)throw Error(t(93));j=""+ue}return typeof j=="string"&&j[0]===`
14
+ `&&u.push(`
15
+ `),j!==null&&u.push(H(""+j)),null;case"input":u.push(Te("input")),se=ue=K=j=null;for($ in C)if(r.call(C,$)&&(fe=C[$],fe!=null))switch($){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":se=fe;break;case"defaultValue":K=fe;break;case"checked":ue=fe;break;case"value":j=fe;break;default:te(u,R,$,fe)}return ue!==null?te(u,R,"checked",ue):se!==null&&te(u,R,"checked",se),j!==null?te(u,R,"value",j):K!==null&&te(u,R,"value",K),u.push("/>"),null;case"menuitem":u.push(Te("menuitem"));for(var ut in C)if(r.call(C,ut)&&(j=C[ut],j!=null))switch(ut){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:te(u,R,ut,j)}return u.push(">"),null;case"title":u.push(Te("title")),j=null;for(xe in C)if(r.call(C,xe)&&($=C[xe],$!=null))switch(xe){case"children":j=$;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:te(u,R,xe,$)}return u.push(">"),j;case"listing":case"pre":u.push(Te(v)),$=j=null;for(se in C)if(r.call(C,se)&&(K=C[se],K!=null))switch(se){case"children":j=K;break;case"dangerouslySetInnerHTML":$=K;break;default:te(u,R,se,K)}if(u.push(">"),$!=null){if(j!=null)throw Error(t(60));if(typeof $!="object"||!("__html"in $))throw Error(t(61));C=$.__html,C!=null&&(typeof C=="string"&&0<C.length&&C[0]===`
16
+ `?u.push(`
17
+ `,C):u.push(""+C))}return typeof j=="string"&&j[0]===`
18
+ `&&u.push(`
19
+ `),j;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":u.push(Te(v));for(var tt in C)if(r.call(C,tt)&&(j=C[tt],j!=null))switch(tt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,v));default:te(u,R,tt,j)}return u.push("/>"),null;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 ce(u,C,v,R);case"html":return z.insertionMode===0&&u.push("<!DOCTYPE html>"),ce(u,C,v,R);default:if(v.indexOf("-")===-1&&typeof C.is!="string")return ce(u,C,v,R);u.push(Te(v)),$=j=null;for(fe in C)if(r.call(C,fe)&&(K=C[fe],K!=null))switch(fe){case"children":j=K;break;case"dangerouslySetInnerHTML":$=K;break;case"style":ne(u,R,K);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(fe)&&typeof K!="function"&&typeof K!="symbol"&&u.push(" ",fe,'="',H(K),'"')}return u.push(">"),oe(u,$,j),j}}function Re(u,v,C){if(u.push('<!--$?--><template id="'),C===null)throw Error(t(395));return u.push(C),u.push('"></template>')}function ht(u,v,C,R){switch(C.insertionMode){case 0:case 1:return u.push('<div hidden id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 2:return u.push('<svg aria-hidden="true" style="display:none" id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 3:return u.push('<math aria-hidden="true" style="display:none" id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 4:return u.push('<table hidden id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 5:return u.push('<table hidden><tbody id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 6:return u.push('<table hidden><tr id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 7:return u.push('<table hidden><colgroup id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');default:throw Error(t(397))}}function Ie(u,v){switch(v.insertionMode){case 0:case 1:return u.push("</div>");case 2:return u.push("</svg>");case 3:return u.push("</math>");case 4:return u.push("</table>");case 5:return u.push("</tbody></table>");case 6:return u.push("</tr></table>");case 7:return u.push("</colgroup></table>");default:throw Error(t(397))}}var it=/[<\u2028\u2029]/g;function Qe(u){return JSON.stringify(u).replace(it,function(v){switch(v){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Ve(u,v){return v=v===void 0?"":v,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:v+"P:",segmentPrefix:v+"S:",boundaryPrefix:v+"B:",idPrefix:v,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:u}}function Nt(u,v,C,R){return C.generateStaticMarkup?(u.push(H(v)),!1):(v===""?u=R:(R&&u.push("<!-- -->"),u.push(H(v)),u=!0),u)}var pe=Object.assign,ke=Symbol.for("react.element"),Ht=Symbol.for("react.portal"),gt=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),Ce=Symbol.for("react.profiler"),Pt=Symbol.for("react.provider"),$t=Symbol.for("react.context"),Ze=Symbol.for("react.forward_ref"),st=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),bn=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),et=Symbol.for("react.scope"),Fn=Symbol.for("react.debug_trace_mode"),xn=Symbol.for("react.legacy_hidden"),Or=Symbol.for("react.default_value"),vt=Symbol.iterator;function Sn(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case gt:return"Fragment";case Ht:return"Portal";case Ce:return"Profiler";case Me:return"StrictMode";case st:return"Suspense";case De:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case $t:return(u.displayName||"Context")+".Consumer";case Pt:return(u._context.displayName||"Context")+".Provider";case Ze:var v=u.render;return u=u.displayName,u||(u=v.displayName||v.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case bn:return v=u.displayName||null,v!==null?v:Sn(u.type)||"Memo";case Ge:v=u._payload,u=u._init;try{return Sn(u(v))}catch{}}return null}var wn={};function Fr(u,v){if(u=u.contextTypes,!u)return wn;var C={},R;for(R in u)C[R]=v[R];return C}var yt=null;function Ke(u,v){if(u!==v){u.context._currentValue2=u.parentValue,u=u.parent;var C=v.parent;if(u===null){if(C!==null)throw Error(t(401))}else{if(C===null)throw Error(t(401));Ke(u,C)}v.context._currentValue2=v.value}}function Ne(u){u.context._currentValue2=u.parentValue,u=u.parent,u!==null&&Ne(u)}function Kn(u){var v=u.parent;v!==null&&Kn(v),u.context._currentValue2=u.value}function qn(u,v){if(u.context._currentValue2=u.parentValue,u=u.parent,u===null)throw Error(t(402));u.depth===v.depth?Ke(u,v):qn(u,v)}function er(u,v){var C=v.parent;if(C===null)throw Error(t(402));u.depth===C.depth?Ke(u,C):er(u,C),v.context._currentValue2=v.value}function ze(u){var v=yt;v!==u&&(v===null?Kn(u):u===null?Ne(v):v.depth===u.depth?Ke(v,u):v.depth>u.depth?qn(v,u):er(v,u),yt=u)}var tr={isMounted:function(){return!1},enqueueSetState:function(u,v){u=u._reactInternals,u.queue!==null&&u.queue.push(v)},enqueueReplaceState:function(u,v){u=u._reactInternals,u.replace=!0,u.queue=[v]},enqueueForceUpdate:function(){}};function _r(u,v,C,R){var z=u.state!==void 0?u.state:null;u.updater=tr,u.props=C,u.state=z;var j={queue:[],replace:!1};u._reactInternals=j;var $=v.contextType;if(u.context=typeof $=="object"&&$!==null?$._currentValue2:R,$=v.getDerivedStateFromProps,typeof $=="function"&&($=$(C,z),z=$==null?z:pe({},z,$),u.state=z),typeof v.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function"))if(v=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),v!==u.state&&tr.enqueueReplaceState(u,u.state,null),j.queue!==null&&0<j.queue.length)if(v=j.queue,$=j.replace,j.queue=null,j.replace=!1,$&&v.length===1)u.state=v[0];else{for(j=$?v[0]:u.state,z=!0,$=$?1:0;$<v.length;$++){var K=v[$];K=typeof K=="function"?K.call(u,j,C,R):K,K!=null&&(z?(z=!1,j=pe({},j,K)):pe(j,K))}u.state=j}else j.queue=null}var Lr={id:1,overflow:""};function nr(u,v,C){var R=u.id;u=u.overflow;var z=32-_n(R)-1;R&=~(1<<z),C+=1;var j=32-_n(v)+z;if(30<j){var $=z-z%5;return j=(R&(1<<$)-1).toString(32),R>>=$,z-=$,{id:1<<32-_n(v)+z|C<<z|R,overflow:j+u}}return{id:1<<j|C<<z|R,overflow:u}}var _n=Math.clz32?Math.clz32:tn,go=Math.log,rr=Math.LN2;function tn(u){return u>>>=0,u===0?32:31-(go(u)/rr|0)|0}function or(u,v){return u===v&&(u!==0||1/u===1/v)||u!==u&&v!==v}var jr=typeof Object.is=="function"?Object.is:or,at=null,At=null,nn=null,we=null,rn=!1,Ln=!1,kn=0,It=null,jn=0;function Yt(){if(at===null)throw Error(t(321));return at}function Le(){if(0<jn)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function ir(){return we===null?nn===null?(rn=!1,nn=we=Le()):(rn=!0,we=nn):we.next===null?(rn=!1,we=we.next=Le()):(rn=!0,we=we.next),we}function sr(){At=at=null,Ln=!1,nn=null,jn=0,we=It=null}function Br(u,v){return typeof v=="function"?v(u):v}function We(u,v,C){if(at=Yt(),we=ir(),rn){var R=we.queue;if(v=R.dispatch,It!==null&&(C=It.get(R),C!==void 0)){It.delete(R),R=we.memoizedState;do R=u(R,C.action),C=C.next;while(C!==null);return we.memoizedState=R,[R,v]}return[we.memoizedState,v]}return u=u===Br?typeof v=="function"?v():v:C!==void 0?C(v):v,we.memoizedState=u,u=we.queue={last:null,dispatch:null},u=u.dispatch=vo.bind(null,at,u),[we.memoizedState,u]}function ar(u,v){if(at=Yt(),we=ir(),v=v===void 0?null:v,we!==null){var C=we.memoizedState;if(C!==null&&v!==null){var R=C[1];e:if(R===null)R=!1;else{for(var z=0;z<R.length&&z<v.length;z++)if(!jr(v[z],R[z])){R=!1;break e}R=!0}if(R)return C[0]}}return u=u(),we.memoizedState=[u,v],u}function vo(u,v,C){if(25<=jn)throw Error(t(301));if(u===at)if(Ln=!0,u={action:C,next:null},It===null&&(It=new Map),C=It.get(v),C===void 0)It.set(v,u);else{for(v=C;v.next!==null;)v=v.next;v.next=u}}function yo(){throw Error(t(394))}function Mt(){}var lr={readContext:function(u){return u._currentValue2},useContext:function(u){return Yt(),u._currentValue2},useMemo:ar,useReducer:We,useRef:function(u){at=Yt(),we=ir();var v=we.memoizedState;return v===null?(u={current:u},we.memoizedState=u):v},useState:function(u){return We(Br,u)},useInsertionEffect:Mt,useLayoutEffect:function(){},useCallback:function(u,v){return ar(function(){return u},v)},useImperativeHandle:Mt,useEffect:Mt,useDebugValue:Mt,useDeferredValue:function(u){return Yt(),u},useTransition:function(){return Yt(),[!1,yo]},useId:function(){var u=At.treeContext,v=u.overflow;u=u.id,u=(u&~(1<<32-_n(u)-1)).toString(32)+v;var C=Bn;if(C===null)throw Error(t(404));return v=kn++,u=":"+C.idPrefix+"R"+u,0<v&&(u+="H"+v.toString(32)),u+":"},useMutableSource:function(u,v){return Yt(),v(u._source)},useSyncExternalStore:function(u,v,C){if(C===void 0)throw Error(t(407));return C()}},Bn=null,ur=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tn(u){return console.error(u),null}function on(){}function bo(u,v,C,R,z,j,$,K,se){var fe=[],ue=new Set;return v={destination:null,responseState:v,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ue,pingedTasks:fe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?Tn:z,onAllReady:j===void 0?on:j,onShellReady:$===void 0?on:$,onShellError:K===void 0?on:K,onFatalError:se===void 0?on:se},C=Vn(v,0,null,C,!1,!1),C.parentFlushed=!0,u=cr(v,u,null,C,ue,wn,null,Lr),fe.push(u),v}function cr(u,v,C,R,z,j,$,K){u.allPendingTasks++,C===null?u.pendingRootTasks++:C.pendingTasks++;var se={node:v,ping:function(){var fe=u.pingedTasks;fe.push(se),fe.length===1&&lt(u)},blockedBoundary:C,blockedSegment:R,abortSet:z,legacyContext:j,context:$,treeContext:K};return z.add(se),se}function Vn(u,v,C,R,z,j){return{status:0,id:-1,index:v,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:C,lastPushedText:z,textEmbedded:j}}function sn(u,v){if(u=u.onError(v),u!=null&&typeof u!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof u+'" instead');return u}function Gt(u,v){var C=u.onShellError;C(v),C=u.onFatalError,C(v),u.destination!==null?(u.status=2,u.destination.destroy(v)):(u.status=1,u.fatalError=v)}function Dt(u,v,C,R,z){for(at={},At=v,kn=0,u=C(R,z);Ln;)Ln=!1,kn=0,jn+=1,we=null,u=C(R,z);return sr(),u}function Cn(u,v,C,R){var z=C.render(),j=R.childContextTypes;if(j!=null){var $=v.legacyContext;if(typeof C.getChildContext!="function")R=$;else{C=C.getChildContext();for(var K in C)if(!(K in j))throw Error(t(108,Sn(R)||"Unknown",K));R=pe({},$,C)}v.legacyContext=R,Fe(u,v,z),v.legacyContext=$}else Fe(u,v,z)}function En(u,v){if(u&&u.defaultProps){v=pe({},v),u=u.defaultProps;for(var C in u)v[C]===void 0&&(v[C]=u[C]);return v}return v}function pt(u,v,C,R,z){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){z=Fr(C,v.legacyContext);var j=C.contextType;j=new C(R,typeof j=="object"&&j!==null?j._currentValue2:z),_r(j,C,R,z),Cn(u,v,j,C)}else{j=Fr(C,v.legacyContext),z=Dt(u,v,C,R,j);var $=kn!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)_r(z,C,R,j),Cn(u,v,z,C);else if($){R=v.treeContext,v.treeContext=nr(R,1,0);try{Fe(u,v,z)}finally{v.treeContext=R}}else Fe(u,v,z)}else if(typeof C=="string"){switch(z=v.blockedSegment,j=Ye(z.chunks,C,R,u.responseState,z.formatContext),z.lastPushedText=!1,$=z.formatContext,z.formatContext=X($,C,R),bt(u,v,j),z.formatContext=$,C){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:z.chunks.push("</",C,">")}z.lastPushedText=!1}else{switch(C){case xn:case Fn:case Me:case Ce:case gt:Fe(u,v,R.children);return;case De:Fe(u,v,R.children);return;case et:throw Error(t(343));case st:e:{C=v.blockedBoundary,z=v.blockedSegment,j=R.fallback,R=R.children,$=new Set;var K={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:$,errorDigest:null},se=Vn(u,z.chunks.length,K,z.formatContext,!1,!1);z.children.push(se),z.lastPushedText=!1;var fe=Vn(u,0,null,z.formatContext,!1,!1);fe.parentFlushed=!0,v.blockedBoundary=K,v.blockedSegment=fe;try{if(bt(u,v,R),u.responseState.generateStaticMarkup||fe.lastPushedText&&fe.textEmbedded&&fe.chunks.push("<!-- -->"),fe.status=1,Ft(K,fe),K.pendingTasks===0)break e}catch(ue){fe.status=4,K.forceClientRender=!0,K.errorDigest=sn(u,ue)}finally{v.blockedBoundary=C,v.blockedSegment=z}v=cr(u,j,C,se,$,v.legacyContext,v.context,v.treeContext),u.pingedTasks.push(v)}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Ze:if(R=Dt(u,v,C.render,R,z),kn!==0){C=v.treeContext,v.treeContext=nr(C,1,0);try{Fe(u,v,R)}finally{v.treeContext=C}}else Fe(u,v,R);return;case bn:C=C.type,R=En(C,R),pt(u,v,C,R,z);return;case Pt:if(z=R.children,C=C._context,R=R.value,j=C._currentValue2,C._currentValue2=R,$=yt,yt=R={parent:$,depth:$===null?0:$.depth+1,context:C,parentValue:j,value:R},v.context=R,Fe(u,v,z),u=yt,u===null)throw Error(t(403));R=u.parentValue,u.context._currentValue2=R===Or?u.context._defaultValue:R,u=yt=u.parent,v.context=u;return;case $t:R=R.children,R=R(C._currentValue2),Fe(u,v,R);return;case Ge:z=C._init,C=z(C._payload),R=En(C,R),pt(u,v,C,R,void 0);return}throw Error(t(130,C==null?C:typeof C,""))}}function Fe(u,v,C){if(v.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case ke:pt(u,v,C.type,C.props,C.ref);return;case Ht:throw Error(t(257));case Ge:var R=C._init;C=R(C._payload),Fe(u,v,C);return}if(F(C)){Ot(u,v,C);return}if(C===null||typeof C!="object"?R=null:(R=vt&&C[vt]||C["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(C))){if(C=R.next(),!C.done){var z=[];do z.push(C.value),C=R.next();while(!C.done);Ot(u,v,z)}return}throw u=Object.prototype.toString.call(C),Error(t(31,u==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":u))}typeof C=="string"?(R=v.blockedSegment,R.lastPushedText=Nt(v.blockedSegment.chunks,C,u.responseState,R.lastPushedText)):typeof C=="number"&&(R=v.blockedSegment,R.lastPushedText=Nt(v.blockedSegment.chunks,""+C,u.responseState,R.lastPushedText))}function Ot(u,v,C){for(var R=C.length,z=0;z<R;z++){var j=v.treeContext;v.treeContext=nr(j,R,z);try{bt(u,v,C[z])}finally{v.treeContext=j}}}function bt(u,v,C){var R=v.blockedSegment.formatContext,z=v.legacyContext,j=v.context;try{return Fe(u,v,C)}catch(se){if(sr(),typeof se=="object"&&se!==null&&typeof se.then=="function"){C=se;var $=v.blockedSegment,K=Vn(u,$.chunks.length,null,$.formatContext,$.lastPushedText,!0);$.children.push(K),$.lastPushedText=!1,u=cr(u,v.node,v.blockedBoundary,K,v.abortSet,v.legacyContext,v.context,v.treeContext).ping,C.then(u,u),v.blockedSegment.formatContext=R,v.legacyContext=z,v.context=j,ze(j)}else throw v.blockedSegment.formatContext=R,v.legacyContext=z,v.context=j,ze(j),se}}function Je(u){var v=u.blockedBoundary;u=u.blockedSegment,u.status=3,_t(this,v,u)}function zn(u,v,C){var R=u.blockedBoundary;u.blockedSegment.status=3,R===null?(v.allPendingTasks--,v.status!==2&&(v.status=2,v.destination!==null&&v.destination.push(null))):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,u=C===void 0?Error(t(432)):C,R.errorDigest=v.onError(u),R.parentFlushed&&v.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(z){return zn(z,v,C)}),R.fallbackAbortableTasks.clear(),v.allPendingTasks--,v.allPendingTasks===0&&(R=v.onAllReady,R()))}function Ft(u,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null){var C=v.children[0];C.id=v.id,C.parentFlushed=!0,C.status===1&&Ft(u,C)}else u.completedSegments.push(v)}function _t(u,v,C){if(v===null){if(C.parentFlushed){if(u.completedRootSegment!==null)throw Error(t(389));u.completedRootSegment=C}u.pendingRootTasks--,u.pendingRootTasks===0&&(u.onShellError=on,v=u.onShellReady,v())}else v.pendingTasks--,v.forceClientRender||(v.pendingTasks===0?(C.parentFlushed&&C.status===1&&Ft(v,C),v.parentFlushed&&u.completedBoundaries.push(v),v.fallbackAbortableTasks.forEach(Je,u),v.fallbackAbortableTasks.clear()):C.parentFlushed&&C.status===1&&(Ft(v,C),v.completedSegments.length===1&&v.parentFlushed&&u.partialBoundaries.push(v)));u.allPendingTasks--,u.allPendingTasks===0&&(u=u.onAllReady,u())}function lt(u){if(u.status!==2){var v=yt,C=ur.current;ur.current=lr;var R=Bn;Bn=u.responseState;try{var z=u.pingedTasks,j;for(j=0;j<z.length;j++){var $=z[j],K=u,se=$.blockedSegment;if(se.status===0){ze($.context);try{Fe(K,$,$.node),K.responseState.generateStaticMarkup||se.lastPushedText&&se.textEmbedded&&se.chunks.push("<!-- -->"),$.abortSet.delete($),se.status=1,_t(K,$.blockedBoundary,se)}catch(nt){if(sr(),typeof nt=="object"&&nt!==null&&typeof nt.then=="function"){var fe=$.ping;nt.then(fe,fe)}else{$.abortSet.delete($),se.status=4;var ue=$.blockedBoundary,xe=nt,ut=sn(K,xe);if(ue===null?Gt(K,xe):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.errorDigest=ut,ue.parentFlushed&&K.clientRenderedBoundaries.push(ue))),K.allPendingTasks--,K.allPendingTasks===0){var tt=K.onAllReady;tt()}}}finally{}}}z.splice(0,j),u.destination!==null&&ln(u,u.destination)}catch(nt){sn(u,nt),Gt(u,nt)}finally{Bn=R,ur.current=C,C===lr&&ze(v)}}}function Xt(u,v,C){switch(C.parentFlushed=!0,C.status){case 0:var R=C.id=u.nextSegmentId++;return C.lastPushedText=!1,C.textEmbedded=!1,u=u.responseState,v.push('<template id="'),v.push(u.placeholderPrefix),u=R.toString(16),v.push(u),v.push('"></template>');case 1:C.status=2;var z=!0;R=C.chunks;var j=0;C=C.children;for(var $=0;$<C.length;$++){for(z=C[$];j<z.index;j++)v.push(R[j]);z=an(u,v,z)}for(;j<R.length-1;j++)v.push(R[j]);return j<R.length&&(z=v.push(R[j])),z;default:throw Error(t(390))}}function an(u,v,C){var R=C.boundary;if(R===null)return Xt(u,v,C);if(R.parentFlushed=!0,R.forceClientRender)return u.responseState.generateStaticMarkup||(R=R.errorDigest,v.push("<!--$!-->"),v.push("<template"),R&&(v.push(' data-dgst="'),R=H(R),v.push(R),v.push('"')),v.push("></template>")),Xt(u,v,C),u=u.responseState.generateStaticMarkup?!0:v.push("<!--/$-->"),u;if(0<R.pendingTasks){R.rootSegmentID=u.nextSegmentId++,0<R.completedSegments.length&&u.partialBoundaries.push(R);var z=u.responseState,j=z.nextSuspenseID++;return z=z.boundaryPrefix+j.toString(16),R=R.id=z,Re(v,u.responseState,R),Xt(u,v,C),v.push("<!--/$-->")}if(R.byteSize>u.progressiveChunkSize)return R.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(R),Re(v,u.responseState,R.id),Xt(u,v,C),v.push("<!--/$-->");if(u.responseState.generateStaticMarkup||v.push("<!--$-->"),C=R.completedSegments,C.length!==1)throw Error(t(391));return an(u,v,C[0]),u=u.responseState.generateStaticMarkup?!0:v.push("<!--/$-->"),u}function fr(u,v,C){return ht(v,u.responseState,C.formatContext,C.id),an(u,v,C),Ie(v,C.formatContext)}function dr(u,v,C){for(var R=C.completedSegments,z=0;z<R.length;z++)Wn(u,v,C,R[z]);if(R.length=0,u=u.responseState,R=C.id,C=C.rootSegmentID,v.push(u.startInlineScript),u.sentCompleteBoundaryFunction?v.push('$RC("'):(u.sentCompleteBoundaryFunction=!0,v.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),R===null)throw Error(t(395));return C=C.toString(16),v.push(R),v.push('","'),v.push(u.segmentPrefix),v.push(C),v.push('")<\/script>')}function Wn(u,v,C,R){if(R.status===2)return!0;var z=R.id;if(z===-1){if((R.id=C.rootSegmentID)===-1)throw Error(t(392));return fr(u,v,R)}return fr(u,v,R),u=u.responseState,v.push(u.startInlineScript),u.sentCompleteSegmentFunction?v.push('$RS("'):(u.sentCompleteSegmentFunction=!0,v.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),v.push(u.segmentPrefix),z=z.toString(16),v.push(z),v.push('","'),v.push(u.placeholderPrefix),v.push(z),v.push('")<\/script>')}function ln(u,v){try{var C=u.completedRootSegment;if(C!==null&&u.pendingRootTasks===0){an(u,v,C),u.completedRootSegment=null;var R=u.responseState.bootstrapChunks;for(C=0;C<R.length-1;C++)v.push(R[C]);C<R.length&&v.push(R[C])}var z=u.clientRenderedBoundaries,j;for(j=0;j<z.length;j++){var $=z[j];R=v;var K=u.responseState,se=$.id,fe=$.errorDigest,ue=$.errorMessage,xe=$.errorComponentStack;if(R.push(K.startInlineScript),K.sentClientRenderFunction?R.push('$RX("'):(K.sentClientRenderFunction=!0,R.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),se===null)throw Error(t(395));if(R.push(se),R.push('"'),fe||ue||xe){R.push(",");var ut=Qe(fe||"");R.push(ut)}if(ue||xe){R.push(",");var tt=Qe(ue||"");R.push(tt)}if(xe){R.push(",");var nt=Qe(xe);R.push(nt)}if(!R.push(")<\/script>")){u.destination=null,j++,z.splice(0,j);return}}z.splice(0,j);var Zt=u.completedBoundaries;for(j=0;j<Zt.length;j++)if(!dr(u,v,Zt[j])){u.destination=null,j++,Zt.splice(0,j);return}Zt.splice(0,j);var xt=u.partialBoundaries;for(j=0;j<xt.length;j++){var Hn=xt[j];e:{z=u,$=v;var un=Hn.completedSegments;for(K=0;K<un.length;K++)if(!Wn(z,$,Hn,un[K])){K++,un.splice(0,K);var Rn=!1;break e}un.splice(0,K),Rn=!0}if(!Rn){u.destination=null,j++,xt.splice(0,j);return}}xt.splice(0,j);var Jt=u.completedBoundaries;for(j=0;j<Jt.length;j++)if(!dr(u,v,Jt[j])){u.destination=null,j++,Jt.splice(0,j);return}Jt.splice(0,j)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&v.push(null)}}function hr(u,v){try{var C=u.abortableTasks;C.forEach(function(R){return zn(R,u,v)}),C.clear(),u.destination!==null&&ln(u,u.destination)}catch(R){sn(u,R),Gt(u,R)}}function Un(){}function Nn(u,v,C,R){var z=!1,j=null,$="",K={push:function(fe){return fe!==null&&($+=fe),!0},destroy:function(fe){z=!0,j=fe}},se=!1;if(u=bo(u,Ve(C,v?v.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Un,void 0,function(){se=!0},void 0,void 0),lt(u),hr(u,R),u.status===1)u.status=2,K.destroy(u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=K;try{ln(u,K)}catch(fe){sn(u,fe),Gt(u,fe)}}if(z)throw j;if(!se)throw Error(t(426));return $}return ti.renderToNodeStream=function(){throw Error(t(207))},ti.renderToStaticMarkup=function(u,v){return Nn(u,v,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ti.renderToStaticNodeStream=function(){throw Error(t(208))},ti.renderToString=function(u,v){return Nn(u,v,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ti.version="18.2.0",ti}var Sl={};/**
20
+ * @license React
21
+ * react-dom-server.browser.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */var sd;function $b(){if(sd)return Sl;sd=1;var e=re;function t(c){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+c,T=1;T<arguments.length;T++)y+="&args[]="+encodeURIComponent(arguments[T]);return"Minified React error #"+c+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function s(c,y){if(y.length!==0)if(512<y.length)0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),c.enqueue(y);else{var T=r.length-i;T<y.length&&(T===0?c.enqueue(r):(r.set(y.subarray(0,T),i),c.enqueue(r),y=y.subarray(T)),r=new Uint8Array(512),i=0),r.set(y,i),i+=y.length}}function p(c,y){return s(c,y),!0}function g(c){r&&0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var S=new TextEncoder;function m(c){return S.encode(c)}function b(c){return S.encode(c)}function A(c,y){typeof c.error=="function"?c.error(y):c.close()}var w=Object.prototype.hasOwnProperty,D=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,L={},H={};function Y(c){return w.call(H,c)?!0:w.call(L,c)?!1:D.test(c)?H[c]=!0:(L[c]=!0,!1)}function B(c,y,T,P,W,V,G){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=P,this.attributeNamespace=W,this.mustUseProperty=T,this.propertyName=c,this.type=y,this.sanitizeURL=V,this.removeEmptyString=G}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){F[c]=new B(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var y=c[0];F[y]=new B(y,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){F[c]=new B(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){F[c]=new B(c,2,!1,c,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(c){F[c]=new B(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){F[c]=new B(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){F[c]=new B(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){F[c]=new B(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){F[c]=new B(c,5,!1,c.toLowerCase(),null,!1,!1)});var Z=/[\-:]([a-z])/g;function X(c){return c[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(c){var y=c.replace(Z,X);F[y]=new B(y,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var y=c.replace(Z,X);F[y]=new B(y,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var y=c.replace(Z,X);F[y]=new B(y,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!1,!1)}),F.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!0,!0)});var ee={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},ne=["Webkit","ms","Moz","O"];Object.keys(ee).forEach(function(c){ne.forEach(function(y){y=y+c.charAt(0).toUpperCase()+c.substring(1),ee[y]=ee[c]})});var te=/["'&<>]/;function oe(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var y=te.exec(c);if(y){var T="",P,W=0;for(P=y.index;P<c.length;P++){switch(c.charCodeAt(P)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}W!==P&&(T+=c.substring(W,P)),W=P+1,T+=y}c=W!==P?T+c.substring(W,P):T}return c}var le=/([A-Z])/g,ce=/^ms-/,Ue=Array.isArray,$e=b("<script>"),Te=b("<\/script>"),Ye=b('<script src="'),Re=b('<script type="module" src="'),ht=b('" async=""><\/script>'),Ie=/(<\/|<)(s)(cript)/gi;function it(c,y,T,P){return""+y+(T==="s"?"\\u0073":"\\u0053")+P}function Qe(c,y,T,P,W){c=c===void 0?"":c,y=y===void 0?$e:b('<script nonce="'+oe(y)+'">');var V=[];if(T!==void 0&&V.push(y,m((""+T).replace(Ie,it)),Te),P!==void 0)for(T=0;T<P.length;T++)V.push(Ye,m(oe(P[T])),ht);if(W!==void 0)for(P=0;P<W.length;P++)V.push(Re,m(oe(W[P])),ht);return{bootstrapChunks:V,startInlineScript:y,placeholderPrefix:b(c+"P:"),segmentPrefix:b(c+"S:"),boundaryPrefix:c+"B:",idPrefix:c,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Ve(c,y){return{insertionMode:c,selectedValue:y}}function Nt(c){return Ve(c==="http://www.w3.org/2000/svg"?2:c==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function pe(c,y,T){switch(y){case"select":return Ve(1,T.value!=null?T.value:T.defaultValue);case"svg":return Ve(2,null);case"math":return Ve(3,null);case"foreignObject":return Ve(1,null);case"table":return Ve(4,null);case"thead":case"tbody":case"tfoot":return Ve(5,null);case"colgroup":return Ve(7,null);case"tr":return Ve(6,null)}return 4<=c.insertionMode||c.insertionMode===0?Ve(1,null):c}var ke=b("<!-- -->");function Ht(c,y,T,P){return y===""?P:(P&&c.push(ke),c.push(m(oe(y))),!0)}var gt=new Map,Me=b(' style="'),Ce=b(":"),Pt=b(";");function $t(c,y,T){if(typeof T!="object")throw Error(t(62));y=!0;for(var P in T)if(w.call(T,P)){var W=T[P];if(W!=null&&typeof W!="boolean"&&W!==""){if(P.indexOf("--")===0){var V=m(oe(P));W=m(oe((""+W).trim()))}else{V=P;var G=gt.get(V);G!==void 0||(G=b(oe(V.replace(le,"-$1").toLowerCase().replace(ce,"-ms-"))),gt.set(V,G)),V=G,W=typeof W=="number"?W===0||w.call(ee,P)?m(""+W):m(W+"px"):m(oe((""+W).trim()))}y?(y=!1,c.push(Me,V,Ce,W)):c.push(Pt,V,Ce,W)}}y||c.push(De)}var Ze=b(" "),st=b('="'),De=b('"'),bn=b('=""');function Ge(c,y,T,P){switch(T){case"style":$t(c,y,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){if(y=F.hasOwnProperty(T)?F[T]:null,y!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(T=m(y.attributeName),y.type){case 3:P&&c.push(Ze,T,bn);break;case 4:P===!0?c.push(Ze,T,bn):P!==!1&&c.push(Ze,T,st,m(oe(P)),De);break;case 5:isNaN(P)||c.push(Ze,T,st,m(oe(P)),De);break;case 6:!isNaN(P)&&1<=P&&c.push(Ze,T,st,m(oe(P)),De);break;default:y.sanitizeURL&&(P=""+P),c.push(Ze,T,st,m(oe(P)),De)}}else if(Y(T)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(y=T.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}c.push(Ze,m(T),st,m(oe(P)),De)}}}var et=b(">"),Fn=b("/>");function xn(c,y,T){if(y!=null){if(T!=null)throw Error(t(60));if(typeof y!="object"||!("__html"in y))throw Error(t(61));y=y.__html,y!=null&&c.push(m(""+y))}}function Or(c){var y="";return e.Children.forEach(c,function(T){T!=null&&(y+=T)}),y}var vt=b(' selected=""');function Sn(c,y,T,P){c.push(Ke(T));var W=T=null,V;for(V in y)if(w.call(y,V)){var G=y[V];if(G!=null)switch(V){case"children":T=G;break;case"dangerouslySetInnerHTML":W=G;break;default:Ge(c,P,V,G)}}return c.push(et),xn(c,W,T),typeof T=="string"?(c.push(m(oe(T))),null):T}var wn=b(`
28
+ `),Fr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt=new Map;function Ke(c){var y=yt.get(c);if(y===void 0){if(!Fr.test(c))throw Error(t(65,c));y=b("<"+c),yt.set(c,y)}return y}var Ne=b("<!DOCTYPE html>");function Kn(c,y,T,P,W){switch(y){case"select":c.push(Ke("select"));var V=null,G=null;for(ve in T)if(w.call(T,ve)){var q=T[ve];if(q!=null)switch(ve){case"children":V=q;break;case"dangerouslySetInnerHTML":G=q;break;case"defaultValue":case"value":break;default:Ge(c,P,ve,q)}}return c.push(et),xn(c,G,V),V;case"option":G=W.selectedValue,c.push(Ke("option"));var de=q=null,ye=null,ve=null;for(V in T)if(w.call(T,V)){var Ae=T[V];if(Ae!=null)switch(V){case"children":q=Ae;break;case"selected":ye=Ae;break;case"dangerouslySetInnerHTML":ve=Ae;break;case"value":de=Ae;default:Ge(c,P,V,Ae)}}if(G!=null)if(T=de!==null?""+de:Or(q),Ue(G)){for(P=0;P<G.length;P++)if(""+G[P]===T){c.push(vt);break}}else""+G===T&&c.push(vt);else ye&&c.push(vt);return c.push(et),xn(c,ve,q),q;case"textarea":c.push(Ke("textarea")),ve=G=V=null;for(q in T)if(w.call(T,q)&&(de=T[q],de!=null))switch(q){case"children":ve=de;break;case"value":V=de;break;case"defaultValue":G=de;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Ge(c,P,q,de)}if(V===null&&G!==null&&(V=G),c.push(et),ve!=null){if(V!=null)throw Error(t(92));if(Ue(ve)&&1<ve.length)throw Error(t(93));V=""+ve}return typeof V=="string"&&V[0]===`
29
+ `&&c.push(wn),V!==null&&c.push(m(oe(""+V))),null;case"input":c.push(Ke("input")),de=ve=q=V=null;for(G in T)if(w.call(T,G)&&(ye=T[G],ye!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":de=ye;break;case"defaultValue":q=ye;break;case"checked":ve=ye;break;case"value":V=ye;break;default:Ge(c,P,G,ye)}return ve!==null?Ge(c,P,"checked",ve):de!==null&&Ge(c,P,"checked",de),V!==null?Ge(c,P,"value",V):q!==null&&Ge(c,P,"value",q),c.push(Fn),null;case"menuitem":c.push(Ke("menuitem"));for(var dt in T)if(w.call(T,dt)&&(V=T[dt],V!=null))switch(dt){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Ge(c,P,dt,V)}return c.push(et),null;case"title":c.push(Ke("title")),V=null;for(Ae in T)if(w.call(T,Ae)&&(G=T[Ae],G!=null))switch(Ae){case"children":V=G;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Ge(c,P,Ae,G)}return c.push(et),V;case"listing":case"pre":c.push(Ke(y)),G=V=null;for(de in T)if(w.call(T,de)&&(q=T[de],q!=null))switch(de){case"children":V=q;break;case"dangerouslySetInnerHTML":G=q;break;default:Ge(c,P,de,q)}if(c.push(et),G!=null){if(V!=null)throw Error(t(60));if(typeof G!="object"||!("__html"in G))throw Error(t(61));T=G.__html,T!=null&&(typeof T=="string"&&0<T.length&&T[0]===`
30
+ `?c.push(wn,m(T)):c.push(m(""+T)))}return typeof V=="string"&&V[0]===`
31
+ `&&c.push(wn),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":c.push(Ke(y));for(var wt in T)if(w.call(T,wt)&&(V=T[wt],V!=null))switch(wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:Ge(c,P,wt,V)}return c.push(Fn),null;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 Sn(c,T,y,P);case"html":return W.insertionMode===0&&c.push(Ne),Sn(c,T,y,P);default:if(y.indexOf("-")===-1&&typeof T.is!="string")return Sn(c,T,y,P);c.push(Ke(y)),G=V=null;for(ye in T)if(w.call(T,ye)&&(q=T[ye],q!=null))switch(ye){case"children":V=q;break;case"dangerouslySetInnerHTML":G=q;break;case"style":$t(c,P,q);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Y(ye)&&typeof q!="function"&&typeof q!="symbol"&&c.push(Ze,m(ye),st,m(oe(q)),De)}return c.push(et),xn(c,G,V),V}}var qn=b("</"),er=b(">"),ze=b('<template id="'),tr=b('"></template>'),_r=b("<!--$-->"),Lr=b('<!--$?--><template id="'),nr=b('"></template>'),_n=b("<!--$!-->"),go=b("<!--/$-->"),rr=b("<template"),tn=b('"'),or=b(' data-dgst="');b(' data-msg="'),b(' data-stck="');var jr=b("></template>");function at(c,y,T){if(s(c,Lr),T===null)throw Error(t(395));return s(c,T),p(c,nr)}var At=b('<div hidden id="'),nn=b('">'),we=b("</div>"),rn=b('<svg aria-hidden="true" style="display:none" id="'),Ln=b('">'),kn=b("</svg>"),It=b('<math aria-hidden="true" style="display:none" id="'),jn=b('">'),Yt=b("</math>"),Le=b('<table hidden id="'),ir=b('">'),sr=b("</table>"),Br=b('<table hidden><tbody id="'),We=b('">'),ar=b("</tbody></table>"),vo=b('<table hidden><tr id="'),yo=b('">'),Mt=b("</tr></table>"),lr=b('<table hidden><colgroup id="'),Bn=b('">'),ur=b("</colgroup></table>");function Tn(c,y,T,P){switch(T.insertionMode){case 0:case 1:return s(c,At),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,nn);case 2:return s(c,rn),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,Ln);case 3:return s(c,It),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,jn);case 4:return s(c,Le),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,ir);case 5:return s(c,Br),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,We);case 6:return s(c,vo),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,yo);case 7:return s(c,lr),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,Bn);default:throw Error(t(397))}}function on(c,y){switch(y.insertionMode){case 0:case 1:return p(c,we);case 2:return p(c,kn);case 3:return p(c,Yt);case 4:return p(c,sr);case 5:return p(c,ar);case 6:return p(c,Mt);case 7:return p(c,ur);default:throw Error(t(397))}}var bo=b('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),cr=b('$RS("'),Vn=b('","'),sn=b('")<\/script>'),Gt=b('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Dt=b('$RC("'),Cn=b('","'),En=b('")<\/script>'),pt=b('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Fe=b('$RX("'),Ot=b('"'),bt=b(")<\/script>"),Je=b(","),zn=/[<\u2028\u2029]/g;function Ft(c){return JSON.stringify(c).replace(zn,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var _t=Object.assign,lt=Symbol.for("react.element"),Xt=Symbol.for("react.portal"),an=Symbol.for("react.fragment"),fr=Symbol.for("react.strict_mode"),dr=Symbol.for("react.profiler"),Wn=Symbol.for("react.provider"),ln=Symbol.for("react.context"),hr=Symbol.for("react.forward_ref"),Un=Symbol.for("react.suspense"),Nn=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),R=Symbol.for("react.debug_trace_mode"),z=Symbol.for("react.legacy_hidden"),j=Symbol.for("react.default_value"),$=Symbol.iterator;function K(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case an:return"Fragment";case Xt:return"Portal";case dr:return"Profiler";case fr:return"StrictMode";case Un:return"Suspense";case Nn:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case ln:return(c.displayName||"Context")+".Consumer";case Wn:return(c._context.displayName||"Context")+".Provider";case hr:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case u:return y=c.displayName||null,y!==null?y:K(c.type)||"Memo";case v:y=c._payload,c=c._init;try{return K(c(y))}catch{}}return null}var se={};function fe(c,y){if(c=c.contextTypes,!c)return se;var T={},P;for(P in c)T[P]=y[P];return T}var ue=null;function xe(c,y){if(c!==y){c.context._currentValue=c.parentValue,c=c.parent;var T=y.parent;if(c===null){if(T!==null)throw Error(t(401))}else{if(T===null)throw Error(t(401));xe(c,T)}y.context._currentValue=y.value}}function ut(c){c.context._currentValue=c.parentValue,c=c.parent,c!==null&&ut(c)}function tt(c){var y=c.parent;y!==null&&tt(y),c.context._currentValue=c.value}function nt(c,y){if(c.context._currentValue=c.parentValue,c=c.parent,c===null)throw Error(t(402));c.depth===y.depth?xe(c,y):nt(c,y)}function Zt(c,y){var T=y.parent;if(T===null)throw Error(t(402));c.depth===T.depth?xe(c,T):Zt(c,T),y.context._currentValue=y.value}function xt(c){var y=ue;y!==c&&(y===null?tt(c):c===null?ut(y):y.depth===c.depth?xe(y,c):y.depth>c.depth?nt(y,c):Zt(y,c),ue=c)}var Hn={isMounted:function(){return!1},enqueueSetState:function(c,y){c=c._reactInternals,c.queue!==null&&c.queue.push(y)},enqueueReplaceState:function(c,y){c=c._reactInternals,c.replace=!0,c.queue=[y]},enqueueForceUpdate:function(){}};function un(c,y,T,P){var W=c.state!==void 0?c.state:null;c.updater=Hn,c.props=T,c.state=W;var V={queue:[],replace:!1};c._reactInternals=V;var G=y.contextType;if(c.context=typeof G=="object"&&G!==null?G._currentValue:P,G=y.getDerivedStateFromProps,typeof G=="function"&&(G=G(T,W),W=G==null?W:_t({},W,G),c.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(y=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&Hn.enqueueReplaceState(c,c.state,null),V.queue!==null&&0<V.queue.length)if(y=V.queue,G=V.replace,V.queue=null,V.replace=!1,G&&y.length===1)c.state=y[0];else{for(V=G?y[0]:c.state,W=!0,G=G?1:0;G<y.length;G++){var q=y[G];q=typeof q=="function"?q.call(c,V,T,P):q,q!=null&&(W?(W=!1,V=_t({},V,q)):_t(V,q))}c.state=V}else V.queue=null}var Rn={id:1,overflow:""};function Jt(c,y,T){var P=c.id;c=c.overflow;var W=32-pr(P)-1;P&=~(1<<W),T+=1;var V=32-pr(y)+W;if(30<V){var G=W-W%5;return V=(P&(1<<G)-1).toString(32),P>>=G,W-=G,{id:1<<32-pr(y)+W|T<<W|P,overflow:V+c}}return{id:1<<V|T<<W|P,overflow:c}}var pr=Math.clz32?Math.clz32:xo,ps=Math.log,ms=Math.LN2;function xo(c){return c>>>=0,c===0?32:31-(ps(c)/ms|0)|0}function gs(c,y){return c===y&&(c!==0||1/c===1/y)||c!==c&&y!==y}var So=typeof Object.is=="function"?Object.is:gs,Qt=null,mr=null,Vr=null,Pe=null,cn=!1,ct=!1,Pn=0,fn=null,zr=0;function dn(){if(Qt===null)throw Error(t(321));return Qt}function St(){if(0<zr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function wo(){return Pe===null?Vr===null?(cn=!1,Vr=Pe=St()):(cn=!0,Pe=Vr):Pe.next===null?(cn=!1,Pe=Pe.next=St()):(cn=!0,Pe=Pe.next),Pe}function ko(){mr=Qt=null,ct=!1,Vr=null,zr=0,Pe=fn=null}function ui(c,y){return typeof y=="function"?y(c):y}function ci(c,y,T){if(Qt=dn(),Pe=wo(),cn){var P=Pe.queue;if(y=P.dispatch,fn!==null&&(T=fn.get(P),T!==void 0)){fn.delete(P),P=Pe.memoizedState;do P=c(P,T.action),T=T.next;while(T!==null);return Pe.memoizedState=P,[P,y]}return[Pe.memoizedState,y]}return c=c===ui?typeof y=="function"?y():y:T!==void 0?T(y):y,Pe.memoizedState=c,c=Pe.queue={last:null,dispatch:null},c=c.dispatch=vs.bind(null,Qt,c),[Pe.memoizedState,c]}function fi(c,y){if(Qt=dn(),Pe=wo(),y=y===void 0?null:y,Pe!==null){var T=Pe.memoizedState;if(T!==null&&y!==null){var P=T[1];e:if(P===null)P=!1;else{for(var W=0;W<P.length&&W<y.length;W++)if(!So(y[W],P[W])){P=!1;break e}P=!0}if(P)return T[0]}}return c=c(),Pe.memoizedState=[c,y],c}function vs(c,y,T){if(25<=zr)throw Error(t(301));if(c===Qt)if(ct=!0,c={action:T,next:null},fn===null&&(fn=new Map),T=fn.get(y),T===void 0)fn.set(y,c);else{for(y=T;y.next!==null;)y=y.next;y.next=c}}function ys(){throw Error(t(394))}function Wr(){}var Ur={readContext:function(c){return c._currentValue},useContext:function(c){return dn(),c._currentValue},useMemo:fi,useReducer:ci,useRef:function(c){Qt=dn(),Pe=wo();var y=Pe.memoizedState;return y===null?(c={current:c},Pe.memoizedState=c):y},useState:function(c){return ci(ui,c)},useInsertionEffect:Wr,useLayoutEffect:function(){},useCallback:function(c,y){return fi(function(){return c},y)},useImperativeHandle:Wr,useEffect:Wr,useDebugValue:Wr,useDeferredValue:function(c){return dn(),c},useTransition:function(){return dn(),[!1,ys]},useId:function(){var c=mr.treeContext,y=c.overflow;c=c.id,c=(c&~(1<<32-pr(c)-1)).toString(32)+y;var T=Nr;if(T===null)throw Error(t(404));return y=Pn++,c=":"+T.idPrefix+"R"+c,0<y&&(c+="H"+y.toString(32)),c+":"},useMutableSource:function(c,y){return dn(),y(c._source)},useSyncExternalStore:function(c,y,T){if(T===void 0)throw Error(t(407));return T()}},Nr=null,gr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function bs(c){return console.error(c),null}function vr(){}function To(c,y,T,P,W,V,G,q,de){var ye=[],ve=new Set;return y={destination:null,responseState:y,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ve,pingedTasks:ye,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?bs:W,onAllReady:V===void 0?vr:V,onShellReady:G===void 0?vr:G,onShellError:q===void 0?vr:q,onFatalError:de===void 0?vr:de},T=$n(y,0,null,T,!1,!1),T.parentFlushed=!0,c=Co(y,c,null,T,ve,se,null,Rn),ye.push(c),y}function Co(c,y,T,P,W,V,G,q){c.allPendingTasks++,T===null?c.pendingRootTasks++:T.pendingTasks++;var de={node:y,ping:function(){var ye=c.pingedTasks;ye.push(de),ye.length===1&&vi(c)},blockedBoundary:T,blockedSegment:P,abortSet:W,legacyContext:V,context:G,treeContext:q};return W.add(de),de}function $n(c,y,T,P,W,V){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:T,lastPushedText:W,textEmbedded:V}}function Yn(c,y){if(c=c.onError(y),c!=null&&typeof c!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function Hr(c,y){var T=c.onShellError;T(y),T=c.onFatalError,T(y),c.destination!==null?(c.status=2,A(c.destination,y)):(c.status=1,c.fatalError=y)}function di(c,y,T,P,W){for(Qt={},mr=y,Pn=0,c=T(P,W);ct;)ct=!1,Pn=0,zr+=1,Pe=null,c=T(P,W);return ko(),c}function Eo(c,y,T,P){var W=T.render(),V=P.childContextTypes;if(V!=null){var G=y.legacyContext;if(typeof T.getChildContext!="function")P=G;else{T=T.getChildContext();for(var q in T)if(!(q in V))throw Error(t(108,K(P)||"Unknown",q));P=_t({},G,T)}y.legacyContext=P,ft(c,y,W),y.legacyContext=G}else ft(c,y,W)}function hi(c,y){if(c&&c.defaultProps){y=_t({},y),c=c.defaultProps;for(var T in c)y[T]===void 0&&(y[T]=c[T]);return y}return y}function $r(c,y,T,P,W){if(typeof T=="function")if(T.prototype&&T.prototype.isReactComponent){W=fe(T,y.legacyContext);var V=T.contextType;V=new T(P,typeof V=="object"&&V!==null?V._currentValue:W),un(V,T,P,W),Eo(c,y,V,T)}else{V=fe(T,y.legacyContext),W=di(c,y,T,P,V);var G=Pn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)un(W,T,P,V),Eo(c,y,W,T);else if(G){P=y.treeContext,y.treeContext=Jt(P,1,0);try{ft(c,y,W)}finally{y.treeContext=P}}else ft(c,y,W)}else if(typeof T=="string"){switch(W=y.blockedSegment,V=Kn(W.chunks,T,P,c.responseState,W.formatContext),W.lastPushedText=!1,G=W.formatContext,W.formatContext=pe(G,T,P),Yr(c,y,V),W.formatContext=G,T){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(qn,m(T),er)}W.lastPushedText=!1}else{switch(T){case z:case R:case fr:case dr:case an:ft(c,y,P.children);return;case Nn:ft(c,y,P.children);return;case C:throw Error(t(343));case Un:e:{T=y.blockedBoundary,W=y.blockedSegment,V=P.fallback,P=P.children,G=new Set;var q={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},de=$n(c,W.chunks.length,q,W.formatContext,!1,!1);W.children.push(de),W.lastPushedText=!1;var ye=$n(c,0,null,W.formatContext,!1,!1);ye.parentFlushed=!0,y.blockedBoundary=q,y.blockedSegment=ye;try{if(Yr(c,y,P),ye.lastPushedText&&ye.textEmbedded&&ye.chunks.push(ke),ye.status=1,Gr(q,ye),q.pendingTasks===0)break e}catch(ve){ye.status=4,q.forceClientRender=!0,q.errorDigest=Yn(c,ve)}finally{y.blockedBoundary=T,y.blockedSegment=W}y=Co(c,V,T,de,G,y.legacyContext,y.context,y.treeContext),c.pingedTasks.push(y)}return}if(typeof T=="object"&&T!==null)switch(T.$$typeof){case hr:if(P=di(c,y,T.render,P,W),Pn!==0){T=y.treeContext,y.treeContext=Jt(T,1,0);try{ft(c,y,P)}finally{y.treeContext=T}}else ft(c,y,P);return;case u:T=T.type,P=hi(T,P),$r(c,y,T,P,W);return;case Wn:if(W=P.children,T=T._context,P=P.value,V=T._currentValue,T._currentValue=P,G=ue,ue=P={parent:G,depth:G===null?0:G.depth+1,context:T,parentValue:V,value:P},y.context=P,ft(c,y,W),c=ue,c===null)throw Error(t(403));P=c.parentValue,c.context._currentValue=P===j?c.context._defaultValue:P,c=ue=c.parent,y.context=c;return;case ln:P=P.children,P=P(T._currentValue),ft(c,y,P);return;case v:W=T._init,T=W(T._payload),P=hi(T,P),$r(c,y,T,P,void 0);return}throw Error(t(130,T==null?T:typeof T,""))}}function ft(c,y,T){if(y.node=T,typeof T=="object"&&T!==null){switch(T.$$typeof){case lt:$r(c,y,T.type,T.props,T.ref);return;case Xt:throw Error(t(257));case v:var P=T._init;T=P(T._payload),ft(c,y,T);return}if(Ue(T)){pi(c,y,T);return}if(T===null||typeof T!="object"?P=null:(P=$&&T[$]||T["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(T))){if(T=P.next(),!T.done){var W=[];do W.push(T.value),T=P.next();while(!T.done);pi(c,y,W)}return}throw c=Object.prototype.toString.call(T),Error(t(31,c==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":c))}typeof T=="string"?(P=y.blockedSegment,P.lastPushedText=Ht(y.blockedSegment.chunks,T,c.responseState,P.lastPushedText)):typeof T=="number"&&(P=y.blockedSegment,P.lastPushedText=Ht(y.blockedSegment.chunks,""+T,c.responseState,P.lastPushedText))}function pi(c,y,T){for(var P=T.length,W=0;W<P;W++){var V=y.treeContext;y.treeContext=Jt(V,P,W);try{Yr(c,y,T[W])}finally{y.treeContext=V}}}function Yr(c,y,T){var P=y.blockedSegment.formatContext,W=y.legacyContext,V=y.context;try{return ft(c,y,T)}catch(de){if(ko(),typeof de=="object"&&de!==null&&typeof de.then=="function"){T=de;var G=y.blockedSegment,q=$n(c,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(q),G.lastPushedText=!1,c=Co(c,y.node,y.blockedBoundary,q,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,T.then(c,c),y.blockedSegment.formatContext=P,y.legacyContext=W,y.context=V,xt(V)}else throw y.blockedSegment.formatContext=P,y.legacyContext=W,y.context=V,xt(V),de}}function xs(c){var y=c.blockedBoundary;c=c.blockedSegment,c.status=3,gi(this,y,c)}function mi(c,y,T){var P=c.blockedBoundary;c.blockedSegment.status=3,P===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,c=T===void 0?Error(t(432)):T,P.errorDigest=y.onError(c),P.parentFlushed&&y.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(W){return mi(W,y,T)}),P.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(P=y.onAllReady,P()))}function Gr(c,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var T=y.children[0];T.id=y.id,T.parentFlushed=!0,T.status===1&&Gr(c,T)}else c.completedSegments.push(y)}function gi(c,y,T){if(y===null){if(T.parentFlushed){if(c.completedRootSegment!==null)throw Error(t(389));c.completedRootSegment=T}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=vr,y=c.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(T.parentFlushed&&T.status===1&&Gr(y,T),y.parentFlushed&&c.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(xs,c),y.fallbackAbortableTasks.clear()):T.parentFlushed&&T.status===1&&(Gr(y,T),y.completedSegments.length===1&&y.parentFlushed&&c.partialBoundaries.push(y)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function vi(c){if(c.status!==2){var y=ue,T=gr.current;gr.current=Ur;var P=Nr;Nr=c.responseState;try{var W=c.pingedTasks,V;for(V=0;V<W.length;V++){var G=W[V],q=c,de=G.blockedSegment;if(de.status===0){xt(G.context);try{ft(q,G,G.node),de.lastPushedText&&de.textEmbedded&&de.chunks.push(ke),G.abortSet.delete(G),de.status=1,gi(q,G.blockedBoundary,de)}catch(kt){if(ko(),typeof kt=="object"&&kt!==null&&typeof kt.then=="function"){var ye=G.ping;kt.then(ye,ye)}else{G.abortSet.delete(G),de.status=4;var ve=G.blockedBoundary,Ae=kt,dt=Yn(q,Ae);if(ve===null?Hr(q,Ae):(ve.pendingTasks--,ve.forceClientRender||(ve.forceClientRender=!0,ve.errorDigest=dt,ve.parentFlushed&&q.clientRenderedBoundaries.push(ve))),q.allPendingTasks--,q.allPendingTasks===0){var wt=q.onAllReady;wt()}}}finally{}}}W.splice(0,V),c.destination!==null&&Ro(c,c.destination)}catch(kt){Yn(c,kt),Hr(c,kt)}finally{Nr=P,gr.current=T,T===Ur&&xt(y)}}}function Xr(c,y,T){switch(T.parentFlushed=!0,T.status){case 0:var P=T.id=c.nextSegmentId++;return T.lastPushedText=!1,T.textEmbedded=!1,c=c.responseState,s(y,ze),s(y,c.placeholderPrefix),c=m(P.toString(16)),s(y,c),p(y,tr);case 1:T.status=2;var W=!0;P=T.chunks;var V=0;T=T.children;for(var G=0;G<T.length;G++){for(W=T[G];V<W.index;V++)s(y,P[V]);W=Zr(c,y,W)}for(;V<P.length-1;V++)s(y,P[V]);return V<P.length&&(W=p(y,P[V])),W;default:throw Error(t(390))}}function Zr(c,y,T){var P=T.boundary;if(P===null)return Xr(c,y,T);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,p(y,_n),s(y,rr),P&&(s(y,or),s(y,m(oe(P))),s(y,tn)),p(y,jr),Xr(c,y,T);else if(0<P.pendingTasks){P.rootSegmentID=c.nextSegmentId++,0<P.completedSegments.length&&c.partialBoundaries.push(P);var W=c.responseState,V=W.nextSuspenseID++;W=b(W.boundaryPrefix+V.toString(16)),P=P.id=W,at(y,c.responseState,P),Xr(c,y,T)}else if(P.byteSize>c.progressiveChunkSize)P.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(P),at(y,c.responseState,P.id),Xr(c,y,T);else{if(p(y,_r),T=P.completedSegments,T.length!==1)throw Error(t(391));Zr(c,y,T[0])}return p(y,go)}function yi(c,y,T){return Tn(y,c.responseState,T.formatContext,T.id),Zr(c,y,T),on(y,T.formatContext)}function bi(c,y,T){for(var P=T.completedSegments,W=0;W<P.length;W++)xi(c,y,T,P[W]);if(P.length=0,c=c.responseState,P=T.id,T=T.rootSegmentID,s(y,c.startInlineScript),c.sentCompleteBoundaryFunction?s(y,Dt):(c.sentCompleteBoundaryFunction=!0,s(y,Gt)),P===null)throw Error(t(395));return T=m(T.toString(16)),s(y,P),s(y,Cn),s(y,c.segmentPrefix),s(y,T),p(y,En)}function xi(c,y,T,P){if(P.status===2)return!0;var W=P.id;if(W===-1){if((P.id=T.rootSegmentID)===-1)throw Error(t(392));return yi(c,y,P)}return yi(c,y,P),c=c.responseState,s(y,c.startInlineScript),c.sentCompleteSegmentFunction?s(y,cr):(c.sentCompleteSegmentFunction=!0,s(y,bo)),s(y,c.segmentPrefix),W=m(W.toString(16)),s(y,W),s(y,Vn),s(y,c.placeholderPrefix),s(y,W),p(y,sn)}function Ro(c,y){r=new Uint8Array(512),i=0;try{var T=c.completedRootSegment;if(T!==null&&c.pendingRootTasks===0){Zr(c,y,T),c.completedRootSegment=null;var P=c.responseState.bootstrapChunks;for(T=0;T<P.length-1;T++)s(y,P[T]);T<P.length&&p(y,P[T])}var W=c.clientRenderedBoundaries,V;for(V=0;V<W.length;V++){var G=W[V];P=y;var q=c.responseState,de=G.id,ye=G.errorDigest,ve=G.errorMessage,Ae=G.errorComponentStack;if(s(P,q.startInlineScript),q.sentClientRenderFunction?s(P,Fe):(q.sentClientRenderFunction=!0,s(P,pt)),de===null)throw Error(t(395));s(P,de),s(P,Ot),(ye||ve||Ae)&&(s(P,Je),s(P,m(Ft(ye||"")))),(ve||Ae)&&(s(P,Je),s(P,m(Ft(ve||"")))),Ae&&(s(P,Je),s(P,m(Ft(Ae)))),p(P,bt)}W.splice(0,V);var dt=c.completedBoundaries;for(V=0;V<dt.length;V++)bi(c,y,dt[V]);dt.splice(0,V),g(y),r=new Uint8Array(512),i=0;var wt=c.partialBoundaries;for(V=0;V<wt.length;V++){var kt=wt[V];e:{W=c,G=y;var Jr=kt.completedSegments;for(q=0;q<Jr.length;q++)if(!xi(W,G,kt,Jr[q])){q++,Jr.splice(0,q);var wi=!1;break e}Jr.splice(0,q),wi=!0}if(!wi){c.destination=null,V++,wt.splice(0,V);return}}wt.splice(0,V);var Po=c.completedBoundaries;for(V=0;V<Po.length;V++)bi(c,y,Po[V]);Po.splice(0,V)}finally{g(y),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&y.close()}}function Si(c,y){try{var T=c.abortableTasks;T.forEach(function(P){return mi(P,c,y)}),T.clear(),c.destination!==null&&Ro(c,c.destination)}catch(P){Yn(c,P),Hr(c,P)}}return Sl.renderToReadableStream=function(c,y){return new Promise(function(T,P){var W,V,G=new Promise(function(ve,Ae){V=ve,W=Ae}),q=To(c,Qe(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Nt(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,V,function(){var ve=new ReadableStream({type:"bytes",pull:function(Ae){if(q.status===1)q.status=2,A(Ae,q.fatalError);else if(q.status!==2&&q.destination===null){q.destination=Ae;try{Ro(q,Ae)}catch(dt){Yn(q,dt),Hr(q,dt)}}},cancel:function(){Si(q)}},{highWaterMark:0});ve.allReady=G,T(ve)},function(ve){G.catch(function(){}),P(ve)},W);if(y&&y.signal){var de=y.signal,ye=function(){Si(q,de.reason),de.removeEventListener("abort",ye)};de.addEventListener("abort",ye)}vi(q)})},Sl.version="18.2.0",Sl}var ni={};/**
32
+ * @license React
33
+ * react-dom-server-legacy.browser.development.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */var ad;function Yb(){return ad||(ad=1,process.env.NODE_ENV!=="production"&&function(){var e=re,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];p("warn",n,f)}}function s(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];p("error",n,f)}}function p(n,a,f){{var h=r.ReactDebugCurrentFrame,k=h.getStackAddendum();k!==""&&(a+="%s",f=f.concat([k]));var I=f.map(function(O){return String(O)});I.unshift("Warning: "+a),Function.prototype.apply.call(console[n],console,I)}}function g(n){n()}function S(n){}function m(n,a){b(n,a)}function b(n,a){return n.push(a)}function A(n){}function w(n){n.push(null)}function D(n){return n}function L(n){return n}function H(n,a){n.destroy(a)}function Y(n){{var a=typeof Symbol=="function"&&Symbol.toStringTag,f=a&&n[Symbol.toStringTag]||n.constructor.name||"Object";return f}}function B(n){try{return F(n),!1}catch{return!0}}function F(n){return""+n}function Z(n,a){if(B(n))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",a,Y(n)),F(n)}function X(n,a){if(B(n))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",a,Y(n)),F(n)}function ee(n){if(B(n))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Y(n)),F(n)}var ne=Object.prototype.hasOwnProperty,te=0,oe=1,le=2,ce=3,Ue=4,$e=5,Te=6,Ye=":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",Re=Ye+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ht=new RegExp("^["+Ye+"]["+Re+"]*$"),Ie={},it={};function Qe(n){return ne.call(it,n)?!0:ne.call(Ie,n)?!1:ht.test(n)?(it[n]=!0,!0):(Ie[n]=!0,s("Invalid attribute name: `%s`",n),!1)}function Ve(n,a,f,h){if(f!==null&&f.type===te)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(h)return!1;if(f!==null)return!f.acceptsBooleans;var k=n.toLowerCase().slice(0,5);return k!=="data-"&&k!=="aria-"}default:return!1}}function Nt(n){return ke.hasOwnProperty(n)?ke[n]:null}function pe(n,a,f,h,k,I,O){this.acceptsBooleans=a===le||a===ce||a===Ue,this.attributeName=h,this.attributeNamespace=k,this.mustUseProperty=f,this.propertyName=n,this.type=a,this.sanitizeURL=I,this.removeEmptyString=O}var ke={},Ht=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ht.forEach(function(n){ke[n]=new pe(n,te,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0],f=n[1];ke[a]=new pe(a,oe,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ke[n]=new pe(n,le,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ke[n]=new pe(n,le,!1,n,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"].forEach(function(n){ke[n]=new pe(n,ce,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ke[n]=new pe(n,ce,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ke[n]=new pe(n,Ue,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ke[n]=new pe(n,Te,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ke[n]=new pe(n,$e,!1,n.toLowerCase(),null,!1,!1)});var gt=/[\-\:]([a-z])/g,Me=function(n){return n[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"].forEach(function(n){var a=n.replace(gt,Me);ke[a]=new pe(a,oe,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var a=n.replace(gt,Me);ke[a]=new pe(a,oe,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(gt,Me);ke[a]=new pe(a,oe,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ke[n]=new pe(n,oe,!1,n.toLowerCase(),null,!1,!1)});var Ce="xlinkHref";ke[Ce]=new pe("xlinkHref",oe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ke[n]=new pe(n,oe,!1,n.toLowerCase(),null,!0,!0)});var Pt={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};function $t(n,a){return n+a.charAt(0).toUpperCase()+a.substring(1)}var Ze=["Webkit","ms","Moz","O"];Object.keys(Pt).forEach(function(n){Ze.forEach(function(a){Pt[$t(a,n)]=Pt[n]})});var st={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function De(n,a){st[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function bn(n,a){if(n.indexOf("-")===-1)return typeof a.is=="string";switch(n){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 Ge={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},et={},Fn=new RegExp("^(aria)-["+Re+"]*$"),xn=new RegExp("^(aria)[A-Z]["+Re+"]*$");function Or(n,a){{if(ne.call(et,a)&&et[a])return!0;if(xn.test(a)){var f="aria-"+a.slice(4).toLowerCase(),h=Ge.hasOwnProperty(f)?f:null;if(h==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),et[a]=!0,!0;if(a!==h)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,h),et[a]=!0,!0}if(Fn.test(a)){var k=a.toLowerCase(),I=Ge.hasOwnProperty(k)?k:null;if(I==null)return et[a]=!0,!1;if(a!==I)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,I),et[a]=!0,!0}}return!0}function vt(n,a){{var f=[];for(var h in a){var k=Or(n,h);k||f.push(h)}var I=f.map(function(O){return"`"+O+"`"}).join(", ");f.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n):f.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n)}}function Sn(n,a){bn(n,a)||vt(n,a)}var wn=!1;function Fr(n,a){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;a!=null&&a.value===null&&!wn&&(wn=!0,n==="select"&&a.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var yt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ke=function(){};{var Ne={},Kn=/^on./,qn=/^on[^A-Z]/,er=new RegExp("^(aria)-["+Re+"]*$"),ze=new RegExp("^(aria)[A-Z]["+Re+"]*$");Ke=function(n,a,f,h){if(ne.call(Ne,a)&&Ne[a])return!0;var k=a.toLowerCase();if(k==="onfocusin"||k==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ne[a]=!0,!0;if(h!=null){var I=h.registrationNameDependencies,O=h.possibleRegistrationNames;if(I.hasOwnProperty(a))return!0;var U=O.hasOwnProperty(k)?O[k]:null;if(U!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",a,U),Ne[a]=!0,!0;if(Kn.test(a))return s("Unknown event handler property `%s`. It will be ignored.",a),Ne[a]=!0,!0}else if(Kn.test(a))return qn.test(a)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Ne[a]=!0,!0;if(er.test(a)||ze.test(a))return!0;if(k==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ne[a]=!0,!0;if(k==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ne[a]=!0,!0;if(k==="is"&&f!==null&&f!==void 0&&typeof f!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Ne[a]=!0,!0;if(typeof f=="number"&&isNaN(f))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Ne[a]=!0,!0;var J=Nt(a),ie=J!==null&&J.type===te;if(yt.hasOwnProperty(k)){var ae=yt[k];if(ae!==a)return s("Invalid DOM property `%s`. Did you mean `%s`?",a,ae),Ne[a]=!0,!0}else if(!ie&&a!==k)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,k),Ne[a]=!0,!0;return typeof f=="boolean"&&Ve(a,f,J,!1)?(f?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,a,a,f,a):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,a,a,f,a,a,a),Ne[a]=!0,!0):ie?!0:Ve(a,f,J,!1)?(Ne[a]=!0,!1):((f==="false"||f==="true")&&J!==null&&J.type===ce&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,a,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,f),Ne[a]=!0),!0)}}var tr=function(n,a,f){{var h=[];for(var k in a){var I=Ke(n,k,a[k],f);I||h.push(k)}var O=h.map(function(U){return"`"+U+"`"}).join(", ");h.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n):h.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n)}};function _r(n,a,f){bn(n,a)||tr(n,a,f)}var Lr=function(){};{var nr=/^(?:webkit|moz|o)[A-Z]/,_n=/^-ms-/,go=/-(.)/g,rr=/;\s*$/,tn={},or={},jr=!1,at=!1,At=function(n){return n.replace(go,function(a,f){return f.toUpperCase()})},nn=function(n){tn.hasOwnProperty(n)&&tn[n]||(tn[n]=!0,s("Unsupported style property %s. Did you mean %s?",n,At(n.replace(_n,"ms-"))))},we=function(n){tn.hasOwnProperty(n)&&tn[n]||(tn[n]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},rn=function(n,a){or.hasOwnProperty(a)&&or[a]||(or[a]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,a.replace(rr,"")))},Ln=function(n,a){jr||(jr=!0,s("`NaN` is an invalid value for the `%s` css style property.",n))},kn=function(n,a){at||(at=!0,s("`Infinity` is an invalid value for the `%s` css style property.",n))};Lr=function(n,a){n.indexOf("-")>-1?nn(n):nr.test(n)?we(n):rr.test(a)&&rn(n,a),typeof a=="number"&&(isNaN(a)?Ln(n,a):isFinite(a)||kn(n,a))}}var It=Lr,jn=/["'&<>]/;function Yt(n){ee(n);var a=""+n,f=jn.exec(a);if(!f)return a;var h,k="",I,O=0;for(I=f.index;I<a.length;I++){switch(a.charCodeAt(I)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#x27;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}O!==I&&(k+=a.substring(O,I)),O=I+1,k+=h}return O!==I?k+a.substring(O,I):k}function Le(n){return typeof n=="boolean"||typeof n=="number"?""+n:Yt(n)}var ir=/([A-Z])/g,sr=/^ms-/;function Br(n){return n.replace(ir,"-$1").toLowerCase().replace(sr,"-ms-")}var We=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ar=!1;function vo(n){!ar&&We.test(n)&&(ar=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var yo=Array.isArray;function Mt(n){return yo(n)}var lr="<script>",Bn="<\/script>",ur='<script src="',Tn='<script type="module" src="',on='" async=""><\/script>';function bo(n){return ee(n),(""+n).replace(cr,Vn)}var cr=/(<\/|<)(s)(cript)/gi,Vn=function(n,a,f,h){return""+a+(f==="s"?"\\u0073":"\\u0053")+h};function sn(n,a,f,h,k){var I=n===void 0?"":n,O=a===void 0?lr:'<script nonce="'+Le(a)+'">',U=[];if(f!==void 0&&U.push(O,bo(f),Bn),h!==void 0)for(var J=0;J<h.length;J++)U.push(ur,Le(h[J]),on);if(k!==void 0)for(var ie=0;ie<k.length;ie++)U.push(Tn,Le(k[ie]),on);return{bootstrapChunks:U,startInlineScript:O,placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Gt=0,Dt=1,Cn=2,En=3,pt=4,Fe=5,Ot=6,bt=7;function Je(n,a){return{insertionMode:n,selectedValue:a}}function zn(n,a,f){switch(a){case"select":return Je(Dt,f.value!=null?f.value:f.defaultValue);case"svg":return Je(Cn,null);case"math":return Je(En,null);case"foreignObject":return Je(Dt,null);case"table":return Je(pt,null);case"thead":case"tbody":case"tfoot":return Je(Fe,null);case"colgroup":return Je(bt,null);case"tr":return Je(Ot,null)}return n.insertionMode>=pt||n.insertionMode===Gt?Je(Dt,null):n}var Ft=null;function _t(n){var a=n.nextSuspenseID++;return n.boundaryPrefix+a.toString(16)}function lt(n,a,f){var h=n.idPrefix,k=":"+h+"R"+a;return f>0&&(k+="H"+f.toString(32)),k+":"}function Xt(n){return Le(n)}var an="<!-- -->";function fr(n,a,f,h){return a===""?h:(h&&n.push(an),n.push(Xt(a)),!0)}function dr(n,a,f,h){f&&h&&n.push(an)}var Wn=new Map;function ln(n){var a=Wn.get(n);if(a!==void 0)return a;var f=Le(Br(n));return Wn.set(n,f),f}var hr=' style="',Un=":",Nn=";";function u(n,a,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var h=!0;for(var k in f)if(ne.call(f,k)){var I=f[k];if(!(I==null||typeof I=="boolean"||I==="")){var O=void 0,U=void 0,J=k.indexOf("--")===0;J?(O=Le(k),X(I,k),U=Le((""+I).trim())):(It(k,I),O=ln(k),typeof I=="number"?I!==0&&!ne.call(Pt,k)?U=I+"px":U=""+I:(X(I,k),U=Le((""+I).trim()))),h?(h=!1,n.push(hr,O,Un,U)):n.push(Nn,O,Un,U)}}h||n.push(R)}var v=" ",C='="',R='"',z='=""';function j(n,a,f,h){switch(f){case"style":{u(n,a,h);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var k=Nt(f);if(k!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}var I=k.attributeName,O=I;switch(k.type){case ce:h&&n.push(v,O,z);return;case Ue:h===!0?n.push(v,O,z):h===!1||n.push(v,O,C,Le(h),R);return;case $e:isNaN(h)||n.push(v,O,C,Le(h),R);break;case Te:!isNaN(h)&&h>=1&&n.push(v,O,C,Le(h),R);break;default:k.sanitizeURL&&(Z(h,I),h=""+h,vo(h)),n.push(v,O,C,Le(h),R)}}else if(Qe(f)){switch(typeof h){case"function":case"symbol":return;case"boolean":{var U=f.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}n.push(v,f,C,Le(h),R)}}}var $=">",K="/>";function se(n,a,f){if(a!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof a!="object"||!("__html"in a))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var h=a.__html;h!=null&&(ee(h),n.push(""+h))}}var fe=!1,ue=!1,xe=!1,ut=!1,tt=!1,nt=!1,Zt=!1;function xt(n,a){{var f=n[a];if(f!=null){var h=Mt(f);n.multiple&&!h?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",a):!n.multiple&&h&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",a)}}}function Hn(n,a,f){De("select",a),xt(a,"value"),xt(a,"defaultValue"),a.value!==void 0&&a.defaultValue!==void 0&&!xe&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),xe=!0),n.push(ct("select"));var h=null,k=null;for(var I in a)if(ne.call(a,I)){var O=a[I];if(O==null)continue;switch(I){case"children":h=O;break;case"dangerouslySetInnerHTML":k=O;break;case"defaultValue":case"value":break;default:j(n,f,I,O);break}}return n.push($),se(n,k,h),h}function un(n){var a="";return e.Children.forEach(n,function(f){f!=null&&(a+=f,!tt&&typeof f!="string"&&typeof f!="number"&&(tt=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),a}var Rn=' selected=""';function Jt(n,a,f,h){var k=h.selectedValue;n.push(ct("option"));var I=null,O=null,U=null,J=null;for(var ie in a)if(ne.call(a,ie)){var ae=a[ie];if(ae==null)continue;switch(ie){case"children":I=ae;break;case"selected":U=ae,Zt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zt=!0);break;case"dangerouslySetInnerHTML":J=ae;break;case"value":O=ae;default:j(n,f,ie,ae);break}}if(k!=null){var ge;if(O!==null?(Z(O,"value"),ge=""+O):(J!==null&&(nt||(nt=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ge=un(I)),Mt(k))for(var Oe=0;Oe<k.length;Oe++){Z(k[Oe],"value");var ot=""+k[Oe];if(ot===ge){n.push(Rn);break}}else Z(k,"select.value"),""+k===ge&&n.push(Rn)}else U&&n.push(Rn);return n.push($),se(n,J,I),I}function pr(n,a,f){De("input",a),a.checked!==void 0&&a.defaultChecked!==void 0&&!ue&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),ue=!0),a.value!==void 0&&a.defaultValue!==void 0&&!fe&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),fe=!0),n.push(ct("input"));var h=null,k=null,I=null,O=null;for(var U in a)if(ne.call(a,U)){var J=a[U];if(J==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":O=J;break;case"defaultValue":k=J;break;case"checked":I=J;break;case"value":h=J;break;default:j(n,f,U,J);break}}return I!==null?j(n,f,"checked",I):O!==null&&j(n,f,"checked",O),h!==null?j(n,f,"value",h):k!==null&&j(n,f,"value",k),n.push(K),null}function ps(n,a,f){De("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!ut&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ut=!0),n.push(ct("textarea"));var h=null,k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":I=U;break;case"value":h=U;break;case"defaultValue":k=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:j(n,f,O,U);break}}if(h===null&&k!==null&&(h=k),n.push($),I!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),h!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Mt(I)){if(I.length>1)throw new Error("<textarea> can only have at most one child.");ee(I[0]),h=""+I[0]}ee(I),h=""+I}return typeof h=="string"&&h[0]===`
40
+ `&&n.push(mr),h!==null&&(Z(h,"value"),n.push(Xt(""+h))),null}function ms(n,a,f,h){n.push(ct(f));for(var k in a)if(ne.call(a,k)){var I=a[k];if(I==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error(f+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:j(n,h,k,I);break}}return n.push(K),null}function xo(n,a,f){n.push(ct("menuitem"));for(var h in a)if(ne.call(a,h)){var k=a[h];if(k==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:j(n,f,h,k);break}}return n.push($),null}function gs(n,a,f){n.push(ct("title"));var h=null;for(var k in a)if(ne.call(a,k)){var I=a[k];if(I==null)continue;switch(k){case"children":h=I;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:j(n,f,k,I);break}}n.push($);{var O=Array.isArray(h)&&h.length<2?h[0]||null:h;Array.isArray(h)&&h.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&O.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&typeof O!="string"&&typeof O!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return h}function So(n,a,f,h){n.push(ct(f));var k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}return n.push($),se(n,I,k),typeof k=="string"?(n.push(Xt(k)),null):k}function Qt(n,a,f,h){n.push(ct(f));var k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;case"style":u(n,h,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Qe(O)&&typeof U!="function"&&typeof U!="symbol"&&n.push(v,O,C,Le(U),R);break}}return n.push($),se(n,I,k),k}var mr=`
41
+ `;function Vr(n,a,f,h){n.push(ct(f));var k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}if(n.push($),I!=null){if(k!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof I!="object"||!("__html"in I))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var J=I.__html;J!=null&&(typeof J=="string"&&J.length>0&&J[0]===`
42
+ `?n.push(mr,J):(ee(J),n.push(""+J)))}return typeof k=="string"&&k[0]===`
43
+ `&&n.push(mr),k}var Pe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,cn=new Map;function ct(n){var a=cn.get(n);if(a===void 0){if(!Pe.test(n))throw new Error("Invalid tag: "+n);a="<"+n,cn.set(n,a)}return a}var Pn="<!DOCTYPE html>";function fn(n,a,f,h,k){switch(Sn(a,f),Fr(a,f),_r(a,f,null),!f.suppressContentEditableWarning&&f.contentEditable&&f.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),k.insertionMode!==Cn&&k.insertionMode!==En&&a.indexOf("-")===-1&&typeof f.is!="string"&&a.toLowerCase()!==a&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),a){case"select":return Hn(n,f,h);case"option":return Jt(n,f,h,k);case"textarea":return ps(n,f,h);case"input":return pr(n,f,h);case"menuitem":return xo(n,f,h);case"title":return gs(n,f,h);case"listing":case"pre":return Vr(n,f,a,h);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ms(n,f,a,h);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 So(n,f,a,h);case"html":return k.insertionMode===Gt&&n.push(Pn),So(n,f,a,h);default:return a.indexOf("-")===-1&&typeof f.is!="string"?So(n,f,a,h):Qt(n,f,a,h)}}var zr="</",dn=">";function St(n,a,f){switch(a){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(zr,a,dn)}}function wo(n,a){for(var f=a.bootstrapChunks,h=0;h<f.length-1;h++)m(n,f[h]);return h<f.length?b(n,f[h]):!0}var ko='<template id="',ui='"></template>';function ci(n,a,f){m(n,ko),m(n,a.placeholderPrefix);var h=f.toString(16);return m(n,h),b(n,ui)}var fi="<!--$-->",vs='<!--$?--><template id="',ys='"></template>',Wr="<!--$!-->",Ur="<!--/$-->",Nr="<template",gr='"',bs=' data-dgst="',vr=' data-msg="',To=' data-stck="',Co="></template>";function $n(n,a){return b(n,fi)}function Yn(n,a,f){if(m(n,vs),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(n,f),b(n,ys)}function Hr(n,a,f,h,k){var I;return I=b(n,Wr),m(n,Nr),f&&(m(n,bs),m(n,Le(f)),m(n,gr)),h&&(m(n,vr),m(n,Le(h)),m(n,gr)),k&&(m(n,To),m(n,Le(k)),m(n,gr)),I=b(n,Co),I}function di(n,a){return b(n,Ur)}function Eo(n,a){return b(n,Ur)}function hi(n,a){return b(n,Ur)}var $r='<div hidden id="',ft='">',pi="</div>",Yr='<svg aria-hidden="true" style="display:none" id="',xs='">',mi="</svg>",Gr='<math aria-hidden="true" style="display:none" id="',gi='">',vi="</math>",Xr='<table hidden id="',Zr='">',yi="</table>",bi='<table hidden><tbody id="',xi='">',Ro="</tbody></table>",Si='<table hidden><tr id="',c='">',y="</tr></table>",T='<table hidden><colgroup id="',P='">',W="</colgroup></table>";function V(n,a,f,h){switch(f.insertionMode){case Gt:case Dt:return m(n,$r),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,ft);case Cn:return m(n,Yr),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,xs);case En:return m(n,Gr),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,gi);case pt:return m(n,Xr),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,Zr);case Fe:return m(n,bi),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,xi);case Ot:return m(n,Si),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,c);case bt:return m(n,T),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function G(n,a){switch(a.insertionMode){case Gt:case Dt:return b(n,pi);case Cn:return b(n,mi);case En:return b(n,vi);case pt:return b(n,yi);case Fe:return b(n,Ro);case Ot:return b(n,y);case bt:return b(n,W);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var q="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",de='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ye='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ve=q+';$RS("',Ae='$RS("',dt='","',wt='")<\/script>';function kt(n,a,f){m(n,a.startInlineScript),a.sentCompleteSegmentFunction?m(n,Ae):(a.sentCompleteSegmentFunction=!0,m(n,ve)),m(n,a.segmentPrefix);var h=f.toString(16);return m(n,h),m(n,dt),m(n,a.placeholderPrefix),m(n,h),b(n,wt)}var Jr=de+';$RC("',wi='$RC("',Po='","',Hl='")<\/script>';function $l(n,a,f,h){if(m(n,a.startInlineScript),a.sentCompleteBoundaryFunction?m(n,wi):(a.sentCompleteBoundaryFunction=!0,m(n,Jr)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var k=h.toString(16);return m(n,f),m(n,Po),m(n,a.segmentPrefix),m(n,k),b(n,Hl)}var Yl=ye+';$RX("',Gl='$RX("',Xl='"',Zl=")<\/script>",Ss=",";function Jl(n,a,f,h,k,I){if(m(n,a.startInlineScript),a.sentClientRenderFunction?m(n,Gl):(a.sentClientRenderFunction=!0,m(n,Yl)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(n,f),m(n,Xl),(h||k||I)&&(m(n,Ss),m(n,ws(h||""))),(k||I)&&(m(n,Ss),m(n,ws(k||""))),I&&(m(n,Ss),m(n,ws(I))),b(n,Zl)}var Ql=/[<\u2028\u2029]/g;function ws(n){var a=JSON.stringify(n);return a.replace(Ql,function(f){switch(f){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Kl(n,a){var f=sn(a,void 0);return{bootstrapChunks:f.bootstrapChunks,startInlineScript:f.startInlineScript,placeholderPrefix:f.placeholderPrefix,segmentPrefix:f.segmentPrefix,boundaryPrefix:f.boundaryPrefix,idPrefix:f.idPrefix,nextSuspenseID:f.nextSuspenseID,sentCompleteSegmentFunction:f.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:f.sentCompleteBoundaryFunction,sentClientRenderFunction:f.sentClientRenderFunction,generateStaticMarkup:n}}function ks(){return{insertionMode:Dt,selectedValue:null}}function Ra(n,a,f,h){return f.generateStaticMarkup?(n.push(Le(a)),!1):fr(n,a,f,h)}function Pa(n,a,f,h){if(!a.generateStaticMarkup)return dr(n,a,f,h)}function Ts(n,a){return a.generateStaticMarkup?!0:$n(n)}function Lt(n,a,f,h,k){return a.generateStaticMarkup?!0:Hr(n,a,f,h,k)}function ql(n,a){return a.generateStaticMarkup?!0:di(n)}function Aa(n,a){return a.generateStaticMarkup?!0:hi(n)}var Tt=Object.assign,Ia=Symbol.for("react.element"),Cs=Symbol.for("react.portal"),ki=Symbol.for("react.fragment"),Ti=Symbol.for("react.strict_mode"),Ci=Symbol.for("react.profiler"),Ao=Symbol.for("react.provider"),Io=Symbol.for("react.context"),Mo=Symbol.for("react.forward_ref"),Qr=Symbol.for("react.suspense"),Es=Symbol.for("react.suspense_list"),Rs=Symbol.for("react.memo"),Ei=Symbol.for("react.lazy"),eu=Symbol.for("react.scope"),Ma=Symbol.for("react.debug_trace_mode"),tu=Symbol.for("react.legacy_hidden"),nu=Symbol.for("react.default_value"),Da=Symbol.iterator,Oa="@@iterator";function je(n){if(n===null||typeof n!="object")return null;var a=Da&&n[Da]||n[Oa];return typeof a=="function"?a:null}function Do(n,a,f){var h=n.displayName;if(h)return h;var k=a.displayName||a.name||"";return k!==""?f+"("+k+")":f}function Ps(n){return n.displayName||"Context"}function _e(n){if(n==null)return null;if(typeof n.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ki:return"Fragment";case Cs:return"Portal";case Ci:return"Profiler";case Ti:return"StrictMode";case Qr:return"Suspense";case Es:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Io:var a=n;return Ps(a)+".Consumer";case Ao:var f=n;return Ps(f._context)+".Provider";case Mo:return Do(n,n.render,"ForwardRef");case Rs:var h=n.displayName||null;return h!==null?h:_e(n.type)||"Memo";case Ei:{var k=n,I=k._payload,O=k._init;try{return _e(O(I))}catch{return null}}}return null}var Kr=0,As,Is,Ms,Ds,Os,Fa,_a;function Ri(){}Ri.__reactDisabledLog=!0;function Fs(){{if(Kr===0){As=console.log,Is=console.info,Ms=console.warn,Ds=console.error,Os=console.group,Fa=console.groupCollapsed,_a=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ri,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Kr++}}function Oo(){{if(Kr--,Kr===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Tt({},n,{value:As}),info:Tt({},n,{value:Is}),warn:Tt({},n,{value:Ms}),error:Tt({},n,{value:Ds}),group:Tt({},n,{value:Os}),groupCollapsed:Tt({},n,{value:Fa}),groupEnd:Tt({},n,{value:_a})})}Kr<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fo=r.ReactCurrentDispatcher,qr;function _o(n,a,f){{if(qr===void 0)try{throw Error()}catch(k){var h=k.stack.trim().match(/\n( *(at )?)/);qr=h&&h[1]||""}return`
44
+ `+qr+n}}var Lo=!1,Pi;{var La=typeof WeakMap=="function"?WeakMap:Map;Pi=new La}function _s(n,a){if(!n||Lo)return"";{var f=Pi.get(n);if(f!==void 0)return f}var h;Lo=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=Fo.current,Fo.current=null,Fs();try{if(a){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(zt){h=zt}Reflect.construct(n,[],O)}else{try{O.call()}catch(zt){h=zt}n.call(O.prototype)}}else{try{throw Error()}catch(zt){h=zt}n()}}catch(zt){if(zt&&h&&typeof zt.stack=="string"){for(var U=zt.stack.split(`
45
+ `),J=h.stack.split(`
46
+ `),ie=U.length-1,ae=J.length-1;ie>=1&&ae>=0&&U[ie]!==J[ae];)ae--;for(;ie>=1&&ae>=0;ie--,ae--)if(U[ie]!==J[ae]){if(ie!==1||ae!==1)do if(ie--,ae--,ae<0||U[ie]!==J[ae]){var ge=`
47
+ `+U[ie].replace(" at new "," at ");return n.displayName&&ge.includes("<anonymous>")&&(ge=ge.replace("<anonymous>",n.displayName)),typeof n=="function"&&Pi.set(n,ge),ge}while(ie>=1&&ae>=0);break}}}finally{Lo=!1,Fo.current=I,Oo(),Error.prepareStackTrace=k}var Oe=n?n.displayName||n.name:"",ot=Oe?_o(Oe):"";return typeof n=="function"&&Pi.set(n,ot),ot}function Ls(n,a,f){return _s(n,!0)}function js(n,a,f){return _s(n,!1)}function ja(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function eo(n,a,f){if(n==null)return"";if(typeof n=="function")return _s(n,ja(n));if(typeof n=="string")return _o(n);switch(n){case Qr:return _o("Suspense");case Es:return _o("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Mo:return js(n.render);case Rs:return eo(n.type,a,f);case Ei:{var h=n,k=h._payload,I=h._init;try{return eo(I(k),a,f)}catch{}}}return""}var Bs={},Ai=r.ReactDebugCurrentFrame;function yr(n){if(n){var a=n._owner,f=eo(n.type,n._source,a?a.type:null);Ai.setExtraStackFrame(f)}else Ai.setExtraStackFrame(null)}function Vs(n,a,f,h,k){{var I=Function.call.bind(ne);for(var O in n)if(I(n,O)){var U=void 0;try{if(typeof n[O]!="function"){var J=Error((h||"React class")+": "+f+" type `"+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[O]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw J.name="Invariant Violation",J}U=n[O](a,O,h,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){U=ie}U&&!(U instanceof Error)&&(yr(k),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",h||"React class",f,O,typeof U),yr(null)),U instanceof Error&&!(U.message in Bs)&&(Bs[U.message]=!0,yr(k),s("Failed %s type: %s",f,U.message),yr(null))}}}var zs;zs={};var Gn={};Object.freeze(Gn);function Ba(n,a){{var f=n.contextTypes;if(!f)return Gn;var h={};for(var k in f)h[k]=a[k];{var I=_e(n)||"Unknown";Vs(f,h,"context",I)}return h}}function br(n,a,f,h){{if(typeof n.getChildContext!="function"){{var k=_e(a)||"Unknown";zs[k]||(zs[k]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",k,k))}return f}var I=n.getChildContext();for(var O in I)if(!(O in h))throw new Error((_e(a)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var U=_e(a)||"Unknown";Vs(h,I,"child context",U)}return Tt({},f,I)}}var xr;xr={};var Ws=null,hn=null;function Ii(n){n.context._currentValue2=n.parentValue}function Mi(n){n.context._currentValue2=n.value}function jo(n,a){if(n!==a){Ii(n);var f=n.parent,h=a.parent;if(f===null){if(h!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(h===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");jo(f,h)}Mi(a)}}function Us(n){Ii(n);var a=n.parent;a!==null&&Us(a)}function Bo(n){var a=n.parent;a!==null&&Bo(a),Mi(n)}function Va(n,a){Ii(n);var f=n.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===a.depth?jo(f,a):Va(f,a)}function za(n,a){var f=a.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===f.depth?jo(n,f):za(n,f),Mi(a)}function Di(n){var a=hn,f=n;a!==f&&(a===null?Bo(f):f===null?Us(a):a.depth===f.depth?jo(a,f):a.depth>f.depth?Va(a,f):za(a,f),hn=f)}function Vo(n,a){var f;f=n._currentValue2,n._currentValue2=a,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==xr&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=xr;var h=hn,k={parent:h,depth:h===null?0:h.depth+1,context:n,parentValue:f,value:a};return hn=k,k}function Ns(n){var a=hn;if(a===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");a.context!==n&&s("The parent context is not the expected context. This is probably a bug in React.");{var f=a.parentValue;f===nu?a.context._currentValue2=a.context._defaultValue:a.context._currentValue2=f,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==xr&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=xr}return hn=a.parent}function ru(){return hn}function to(n){var a=n._currentValue2;return a}function Oi(n){return n._reactInternals}function Hs(n,a){n._reactInternals=a}var Fi={},_i={},zo,Li,no,Wo,ji,ro,Bi,Vi,zi;{zo=new Set,Li=new Set,no=new Set,Bi=new Set,Wo=new Set,Vi=new Set,zi=new Set;var Wa=new Set;ro=function(n,a){if(!(n===null||typeof n=="function")){var f=a+"_"+n;Wa.has(f)||(Wa.add(f),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,n))}},ji=function(n,a){if(a===void 0){var f=_e(n)||"Component";Wo.has(f)||(Wo.add(f),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}}}function Ua(n,a){{var f=n.constructor,h=f&&_e(f)||"ReactClass",k=h+"."+a;if(Fi[k])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
48
+
49
+ Please check the code for the %s component.`,a,a,h),Fi[k]=!0}}var Na={isMounted:function(n){return!1},enqueueSetState:function(n,a,f){var h=Oi(n);h.queue===null?Ua(n,"setState"):(h.queue.push(a),f!=null&&ro(f,"setState"))},enqueueReplaceState:function(n,a,f){var h=Oi(n);h.replace=!0,h.queue=[a],f!=null&&ro(f,"setState")},enqueueForceUpdate:function(n,a){var f=Oi(n);f.queue===null?Ua(n,"forceUpdate"):a!=null&&ro(a,"setState")}};function ou(n,a,f,h,k){var I=f(k,h);ji(a,I);var O=I==null?h:Tt({},h,I);return O}function iu(n,a,f){var h=Gn,k=n.contextType;if("contextType"in n){var I=k===null||k!==void 0&&k.$$typeof===Io&&k._context===void 0;if(!I&&!zi.has(n)){zi.add(n);var O="";k===void 0?O=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof k!="object"?O=" However, it is set to a "+typeof k+".":k.$$typeof===Ao?O=" Did you accidentally pass the Context.Provider instead?":k._context!==void 0?O=" Did you accidentally pass the Context.Consumer instead?":O=" However, it is set to an object with keys {"+Object.keys(k).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",_e(n)||"Component",O)}}typeof k=="object"&&k!==null?h=to(k):h=f;var U=new n(a,h);{if(typeof n.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var J=_e(n)||"Component";zo.has(J)||(zo.add(J),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,U.state===null?"null":"undefined",J))}if(typeof n.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var ie=null,ae=null,ge=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?ie="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(ie="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ae="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(ae="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?ge="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(ge="UNSAFE_componentWillUpdate"),ie!==null||ae!==null||ge!==null){var Oe=_e(n)||"Component",ot=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";no.has(Oe)||(no.add(Oe),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
50
+
51
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
52
+
53
+ The above lifecycles should be removed. Learn more about this warning here:
54
+ https://reactjs.org/link/unsafe-component-lifecycles`,Oe,ot,ie!==null?`
55
+ `+ie:"",ae!==null?`
56
+ `+ae:"",ge!==null?`
57
+ `+ge:""))}}}return U}function Ha(n,a,f){{var h=_e(a)||"Component",k=n.render;k||(a.prototype&&typeof a.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),n.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),n.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),a.contextType&&a.contextTypes&&!Vi.has(a)&&(Vi.add(a),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof n.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),a.prototype&&a.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",_e(a)||"A pure component"),typeof n.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof n.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof n.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof n.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var I=n.props!==f;n.props!==void 0&&I&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),n.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!Li.has(a)&&(Li.add(a),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",_e(a))),typeof n.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof a.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var O=n.state;O&&(typeof O!="object"||Mt(O))&&s("%s.state: must be set to an object or null",h),typeof n.getChildContext=="function"&&typeof a.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function su(n,a){var f=a.state;if(typeof a.componentWillMount=="function"){if(a.componentWillMount.__suppressDeprecationWarning!==!0){var h=_e(n)||"Unknown";_i[h]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
58
+
59
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
60
+
61
+ Please update the following components: %s`,h),_i[h]=!0)}a.componentWillMount()}typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),f!==a.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",_e(n)||"Component"),Na.enqueueReplaceState(a,a.state,null))}function au(n,a,f,h){if(n.queue!==null&&n.queue.length>0){var k=n.queue,I=n.replace;if(n.queue=null,n.replace=!1,I&&k.length===1)a.state=k[0];else{for(var O=I?k[0]:a.state,U=!0,J=I?1:0;J<k.length;J++){var ie=k[J],ae=typeof ie=="function"?ie.call(a,O,f,h):ie;ae!=null&&(U?(U=!1,O=Tt({},O,ae)):Tt(O,ae))}a.state=O}}else n.queue=null}function Wi(n,a,f,h){Ha(n,a,f);var k=n.state!==void 0?n.state:null;n.updater=Na,n.props=f,n.state=k;var I={queue:[],replace:!1};Hs(n,I);var O=a.contextType;if(typeof O=="object"&&O!==null?n.context=to(O):n.context=h,n.state===f){var U=_e(a)||"Component";Bi.has(U)||(Bi.add(U),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))}var J=a.getDerivedStateFromProps;typeof J=="function"&&(n.state=ou(n,a,J,k,f)),typeof a.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(su(a,n),au(I,n,f,h))}var Ui={id:1,overflow:""};function lu(n){var a=n.overflow,f=n.id,h=f&~uu(f);return h.toString(32)+a}function $s(n,a,f){var h=n.id,k=n.overflow,I=Ni(h)-1,O=h&~(1<<I),U=f+1,J=Ni(a)+I;if(J>30){var ie=I-I%5,ae=(1<<ie)-1,ge=(O&ae).toString(32),Oe=O>>ie,ot=I-ie,zt=Ni(a)+ot,dl=U<<ot,hl=dl|Oe,pl=ge+k;return{id:1<<zt|hl,overflow:pl}}else{var is=U<<I,ep=is|O,tp=k;return{id:1<<J|ep,overflow:tp}}}function Ni(n){return 32-cu(n)}function uu(n){return 1<<Ni(n)-1}var cu=Math.clz32?Math.clz32:An,fu=Math.log,du=Math.LN2;function An(n){var a=n>>>0;return a===0?32:31-(fu(a)/du|0)|0}function Ys(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var Hi=typeof Object.is=="function"?Object.is:Ys,Se=null,Sr=null,wr=null,Ee=null,jt=!1,kr=!1,$i=0,rt=null,In=0,Tr=25,pn=!1,Cr;function Mn(){if(Se===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
62
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
63
+ 2. You might be breaking the Rules of Hooks
64
+ 3. You might have more than one copy of React in the same app
65
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return pn&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Se}function hu(n,a){if(a===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Cr),!1;n.length!==a.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
66
+
67
+ Previous: %s
68
+ Incoming: %s`,Cr,"["+n.join(", ")+"]","["+a.join(", ")+"]");for(var f=0;f<a.length&&f<n.length;f++)if(!Hi(n[f],a[f]))return!1;return!0}function $a(){if(In>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Yi(){return Ee===null?wr===null?(jt=!1,wr=Ee=$a()):(jt=!0,Ee=wr):Ee.next===null?(jt=!1,Ee=Ee.next=$a()):(jt=!0,Ee=Ee.next),Ee}function Gs(n,a){Se=a,Sr=n,pn=!1,$i=0}function pu(n,a,f,h){for(;kr;)kr=!1,$i=0,In+=1,Ee=null,f=n(a,h);return Uo(),f}function Ya(){var n=$i!==0;return n}function Uo(){pn=!1,Se=null,Sr=null,kr=!1,wr=null,In=0,rt=null,Ee=null}function mu(n){return pn&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),to(n)}function Ga(n){return Cr="useContext",Mn(),to(n)}function Gi(n,a){return typeof a=="function"?a(n):a}function gu(n){return Cr="useState",Xa(Gi,n)}function Xa(n,a,f){if(n!==Gi&&(Cr="useReducer"),Se=Mn(),Ee=Yi(),jt){var h=Ee.queue,k=h.dispatch;if(rt!==null){var I=rt.get(h);if(I!==void 0){rt.delete(h);var O=Ee.memoizedState,U=I;do{var J=U.action;pn=!0,O=n(O,J),pn=!1,U=U.next}while(U!==null);return Ee.memoizedState=O,[O,k]}}return[Ee.memoizedState,k]}else{pn=!0;var ie;n===Gi?ie=typeof a=="function"?a():a:ie=f!==void 0?f(a):a,pn=!1,Ee.memoizedState=ie;var ae=Ee.queue={last:null,dispatch:null},ge=ae.dispatch=bu.bind(null,Se,ae);return[Ee.memoizedState,ge]}}function Za(n,a){Se=Mn(),Ee=Yi();var f=a===void 0?null:a;if(Ee!==null){var h=Ee.memoizedState;if(h!==null&&f!==null){var k=h[1];if(hu(f,k))return h[0]}}pn=!0;var I=n();return pn=!1,Ee.memoizedState=[I,f],I}function vu(n){Se=Mn(),Ee=Yi();var a=Ee.memoizedState;if(a===null){var f={current:n};return Object.seal(f),Ee.memoizedState=f,f}else return a}function yu(n,a){Cr="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function bu(n,a,f){if(In>=Tr)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===Se){kr=!0;var h={action:f,next:null};rt===null&&(rt=new Map);var k=rt.get(a);if(k===void 0)rt.set(a,h);else{for(var I=k;I.next!==null;)I=I.next;I.next=h}}}function xu(n,a){return Za(function(){return n},a)}function Su(n,a,f){return Mn(),a(n._source)}function wu(n,a,f){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return f()}function ku(n){return Mn(),n}function Xi(){throw new Error("startTransition cannot be called during server rendering.")}function Ja(){return Mn(),[!1,Xi]}function Xs(){var n=Sr,a=lu(n.treeContext),f=Ho;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var h=$i++;return lt(f,a,h)}function No(){}var Qa={readContext:mu,useContext:Ga,useMemo:Za,useReducer:Xa,useRef:vu,useState:gu,useInsertionEffect:No,useLayoutEffect:yu,useCallback:xu,useImperativeHandle:No,useEffect:No,useDebugValue:No,useDeferredValue:ku,useTransition:Ja,useId:Xs,useMutableSource:Su,useSyncExternalStore:wu},Ho=null;function Zi(n){Ho=n}function Zs(n){try{var a="",f=n;do{switch(f.tag){case 0:a+=_o(f.type,null,null);break;case 1:a+=js(f.type,null,null);break;case 2:a+=Ls(f.type,null,null);break}f=f.parent}while(f);return a}catch(h){return`
69
+ Error generating stack: `+h.message+`
70
+ `+h.stack}}var Xn=r.ReactCurrentDispatcher,Ji=r.ReactDebugCurrentFrame,Qi=0,Er=1,Ka=2,Js=3,Rr=4,Tu=0,qa=1,mn=2,Cu=12800;function Eu(n){return console.error(n),null}function $o(){}function Qs(n,a,f,h,k,I,O,U,J){var ie=[],ae=new Set,ge={destination:null,responseState:a,progressiveChunkSize:h===void 0?Cu:h,status:Tu,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ae,pingedTasks:ie,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:k===void 0?Eu:k,onAllReady:I===void 0?$o:I,onShellReady:O===void 0?$o:O,onShellError:U===void 0?$o:U,onFatalError:J===void 0?$o:J},Oe=Zn(ge,0,null,f,!1,!1);Oe.parentFlushed=!0;var ot=Yo(ge,n,null,Oe,ae,Gn,Ws,Ui);return ie.push(ot),ge}function Ki(n,a){var f=n.pingedTasks;f.push(a),f.length===1&&g(function(){return cl(n)})}function Dn(n,a){return{id:Ft,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null}}function Yo(n,a,f,h,k,I,O,U){n.allPendingTasks++,f===null?n.pendingRootTasks++:f.pendingTasks++;var J={node:a,ping:function(){return Ki(n,J)},blockedBoundary:f,blockedSegment:h,abortSet:k,legacyContext:I,context:O,treeContext:U};return J.componentStack=null,k.add(J),J}function Zn(n,a,f,h,k,I){return{status:Qi,id:-1,index:a,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:f,lastPushedText:k,textEmbedded:I}}var gn=null;function Ks(){return gn===null||gn.componentStack===null?"":Zs(gn.componentStack)}function Bt(n,a){n.componentStack={tag:0,parent:n.componentStack,type:a}}function oo(n,a){n.componentStack={tag:1,parent:n.componentStack,type:a}}function qs(n,a){n.componentStack={tag:2,parent:n.componentStack,type:a}}function Vt(n){n.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var Jn=null;function ea(n,a){{var f;typeof a=="string"?f=a:a&&typeof a.message=="string"?f=a.message:f=String(a);var h=Jn||Ks();Jn=null,n.errorMessage=f,n.errorComponentStack=h}}function Go(n,a){var f=n.onError(a);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function qi(n,a){var f=n.onShellError;f(a);var h=n.onFatalError;h(a),n.destination!==null?(n.status=mn,H(n.destination,a)):(n.status=qa,n.fatalError=a)}function el(n,a,f){Bt(a,"Suspense");var h=a.blockedBoundary,k=a.blockedSegment,I=f.fallback,O=f.children,U=new Set,J=Dn(n,U),ie=k.chunks.length,ae=Zn(n,ie,J,k.formatContext,!1,!1);k.children.push(ae),k.lastPushedText=!1;var ge=Zn(n,0,null,k.formatContext,!1,!1);ge.parentFlushed=!0,a.blockedBoundary=J,a.blockedSegment=ge;try{if(es(n,a,O),Pa(ge.chunks,n.responseState,ge.lastPushedText,ge.textEmbedded),ge.status=Er,Jo(J,ge),J.pendingTasks===0){Vt(a);return}}catch(ot){ge.status=Rr,J.forceClientRender=!0,J.errorDigest=Go(n,ot),ea(J,ot)}finally{a.blockedBoundary=h,a.blockedSegment=k}var Oe=Yo(n,I,h,ae,U,a.legacyContext,a.context,a.treeContext);Oe.componentStack=a.componentStack,n.pingedTasks.push(Oe),Vt(a)}function tl(n,a,f,h){Bt(a,f);var k=a.blockedSegment,I=fn(k.chunks,f,h,n.responseState,k.formatContext);k.lastPushedText=!1;var O=k.formatContext;k.formatContext=zn(O,f,h),es(n,a,I),k.formatContext=O,St(k.chunks,f),k.lastPushedText=!1,Vt(a)}function Ru(n){return n.prototype&&n.prototype.isReactComponent}function ta(n,a,f,h,k){var I={};Gs(a,I);var O=f(h,k);return pu(f,h,O,k)}function Xo(n,a,f,h,k){var I=f.render();f.props!==k&&(ia||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",_e(h)||"a component"),ia=!0);{var O=h.childContextTypes;if(O!=null){var U=a.legacyContext,J=br(f,h,U,O);a.legacyContext=J,Et(n,a,I),a.legacyContext=U;return}}Et(n,a,I)}function nl(n,a,f,h){qs(a,f);var k=Ba(f,a.legacyContext),I=iu(f,h,k);Wi(I,f,h,k),Xo(n,a,I,f,h),Vt(a)}var na={},Zo={},ra={},oa={},ia=!1,rl=!1,ol=!1,sa=!1;function Pu(n,a,f,h){var k;if(k=Ba(f,a.legacyContext),oo(a,f),f.prototype&&typeof f.prototype.render=="function"){var I=_e(f)||"Unknown";na[I]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",I,I),na[I]=!0)}var O=ta(n,a,f,h,k),U=Ya();if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var J=_e(f)||"Unknown";Zo[J]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",J,J,J),Zo[J]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var ie=_e(f)||"Unknown";Zo[ie]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ie,ie,ie),Zo[ie]=!0)}Wi(O,f,h,k),Xo(n,a,O,f,h)}else if(Au(f),U){var ae=a.treeContext,ge=1,Oe=0;a.treeContext=$s(ae,ge,Oe);try{Et(n,a,O)}finally{a.treeContext=ae}}else Et(n,a,O);Vt(a)}function Au(n){{if(n&&n.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),typeof n.getDerivedStateFromProps=="function"){var a=_e(n)||"Unknown";oa[a]||(s("%s: Function components do not support getDerivedStateFromProps.",a),oa[a]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var f=_e(n)||"Unknown";ra[f]||(s("%s: Function components do not support contextType.",f),ra[f]=!0)}}}function il(n,a){if(n&&n.defaultProps){var f=Tt({},a),h=n.defaultProps;for(var k in h)f[k]===void 0&&(f[k]=h[k]);return f}return a}function Iu(n,a,f,h,k){oo(a,f.render);var I=ta(n,a,f.render,h,k),O=Ya();if(O){var U=a.treeContext,J=1,ie=0;a.treeContext=$s(U,J,ie);try{Et(n,a,I)}finally{a.treeContext=U}}else Et(n,a,I);Vt(a)}function Mu(n,a,f,h,k){var I=f.type,O=il(I,h);la(n,a,I,O,k)}function aa(n,a,f,h){f._context===void 0?f!==f.Consumer&&(sa||(sa=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var k=h.children;typeof k!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var I=to(f),O=k(I);Et(n,a,O)}function Du(n,a,f,h){var k=f._context,I=h.value,O=h.children,U;U=a.context,a.context=Vo(k,I),Et(n,a,O),a.context=Ns(k),U!==a.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Ct(n,a,f,h,k){Bt(a,"Lazy");var I=f._payload,O=f._init,U=O(I),J=il(U,h);la(n,a,U,J,k),Vt(a)}function la(n,a,f,h,k){if(typeof f=="function")if(Ru(f)){nl(n,a,f,h);return}else{Pu(n,a,f,h);return}if(typeof f=="string"){tl(n,a,f,h);return}switch(f){case tu:case Ma:case Ti:case Ci:case ki:{Et(n,a,h.children);return}case Es:{Bt(a,"SuspenseList"),Et(n,a,h.children),Vt(a);return}case eu:throw new Error("ReactDOMServer does not yet support scope components.");case Qr:{el(n,a,h);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case Mo:{Iu(n,a,f,h,k);return}case Rs:{Mu(n,a,f,h,k);return}case Ao:{Du(n,a,f,h);return}case Io:{aa(n,a,f,h);return}case Ei:{Ct(n,a,f,h);return}}var I="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+I))}function sl(n,a){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(rl||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),rl=!0),n.entries===a&&(ol||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ol=!0)}function Et(n,a,f){try{return ua(n,a,f)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(Jn=Jn!==null?Jn:Ks()),h}}function ua(n,a,f){if(a.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Ia:{var h=f,k=h.type,I=h.props,O=h.ref;la(n,a,k,I,O);return}case Cs:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ei:{var U=f,J=U._payload,ie=U._init,ae;try{ae=ie(J)}catch(is){throw typeof is=="object"&&is!==null&&typeof is.then=="function"&&Bt(a,"Lazy"),is}Et(n,a,ae);return}}if(Mt(f)){al(n,a,f);return}var ge=je(f);if(ge){sl(f,ge);var Oe=ge.call(f);if(Oe){var ot=Oe.next();if(!ot.done){var zt=[];do zt.push(ot.value),ot=Oe.next();while(!ot.done);al(n,a,zt);return}return}}var dl=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(dl==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":dl)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var hl=a.blockedSegment;hl.lastPushedText=Ra(a.blockedSegment.chunks,f,n.responseState,hl.lastPushedText);return}if(typeof f=="number"){var pl=a.blockedSegment;pl.lastPushedText=Ra(a.blockedSegment.chunks,""+f,n.responseState,pl.lastPushedText);return}typeof f=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function al(n,a,f){for(var h=f.length,k=0;k<h;k++){var I=a.treeContext;a.treeContext=$s(I,h,k);try{es(n,a,f[k])}finally{a.treeContext=I}}}function Ou(n,a,f){var h=a.blockedSegment,k=h.chunks.length,I=Zn(n,k,null,h.formatContext,h.lastPushedText,!0);h.children.push(I),h.lastPushedText=!1;var O=Yo(n,a.node,a.blockedBoundary,I,a.abortSet,a.legacyContext,a.context,a.treeContext);a.componentStack!==null&&(O.componentStack=a.componentStack.parent);var U=O.ping;f.then(U,U)}function es(n,a,f){var h=a.blockedSegment.formatContext,k=a.legacyContext,I=a.context,O=null;O=a.componentStack;try{return Et(n,a,f)}catch(U){if(Uo(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Ou(n,a,U),a.blockedSegment.formatContext=h,a.legacyContext=k,a.context=I,Di(I),a.componentStack=O;return}else throw a.blockedSegment.formatContext=h,a.legacyContext=k,a.context=I,Di(I),a.componentStack=O,U}}function ts(n,a,f,h){var k=Go(n,h);if(a===null?qi(n,h):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,a.errorDigest=k,ea(a,h),a.parentFlushed&&n.clientRenderedBoundaries.push(a))),n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ll(n){var a=this,f=n.blockedBoundary,h=n.blockedSegment;h.status=Js,Qo(a,f,h)}function ul(n,a,f){var h=n.blockedBoundary,k=n.blockedSegment;if(k.status=Js,h===null)a.allPendingTasks--,a.status!==mn&&(a.status=mn,a.destination!==null&&w(a.destination));else{if(h.pendingTasks--,!h.forceClientRender){h.forceClientRender=!0;var I=f===void 0?new Error("The render was aborted by the server without a reason."):f;h.errorDigest=a.onError(I);{var O="The server did not finish this Suspense boundary: ";I&&typeof I.message=="string"?I=O+I.message:I=O+String(I);var U=gn;gn=n;try{ea(h,I)}finally{gn=U}}h.parentFlushed&&a.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(ie){return ul(ie,a,f)}),h.fallbackAbortableTasks.clear(),a.allPendingTasks--,a.allPendingTasks===0){var J=a.onAllReady;J()}}}function Jo(n,a){if(a.chunks.length===0&&a.children.length===1&&a.children[0].boundary===null){var f=a.children[0];f.id=a.id,f.parentFlushed=!0,f.status===Er&&Jo(n,f)}else{var h=n.completedSegments;h.push(a)}}function Qo(n,a,f){if(a===null){if(f.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=f}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=$o;var h=n.onShellReady;h()}}else if(a.pendingTasks--,!a.forceClientRender){if(a.pendingTasks===0)f.parentFlushed&&f.status===Er&&Jo(a,f),a.parentFlushed&&n.completedBoundaries.push(a),a.fallbackAbortableTasks.forEach(ll,n),a.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===Er){Jo(a,f);var k=a.completedSegments;k.length===1&&a.parentFlushed&&n.partialBoundaries.push(a)}}if(n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ns(n,a){var f=a.blockedSegment;if(f.status===Qi){Di(a.context);var h=null;h=gn,gn=a;try{Et(n,a,a.node),Pa(f.chunks,n.responseState,f.lastPushedText,f.textEmbedded),a.abortSet.delete(a),f.status=Er,Qo(n,a.blockedBoundary,f)}catch(I){if(Uo(),typeof I=="object"&&I!==null&&typeof I.then=="function"){var k=a.ping;I.then(k,k)}else a.abortSet.delete(a),f.status=Rr,ts(n,a.blockedBoundary,f,I)}finally{gn=h}}}function cl(n){if(n.status!==mn){var a=ru(),f=Xn.current;Xn.current=Qa;var h;h=Ji.getCurrentStack,Ji.getCurrentStack=Ks;var k=Ho;Zi(n.responseState);try{var I=n.pingedTasks,O;for(O=0;O<I.length;O++){var U=I[O];ns(n,U)}I.splice(0,O),n.destination!==null&&os(n,n.destination)}catch(J){Go(n,J),qi(n,J)}finally{Zi(k),Xn.current=f,Ji.getCurrentStack=h,f===Qa&&Di(a)}}}function Ko(n,a,f){switch(f.parentFlushed=!0,f.status){case Qi:{var h=f.id=n.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,ci(a,n.responseState,h)}case Er:{f.status=Ka;for(var k=!0,I=f.chunks,O=0,U=f.children,J=0;J<U.length;J++){for(var ie=U[J];O<ie.index;O++)m(a,I[O]);k=qo(n,a,ie)}for(;O<I.length-1;O++)m(a,I[O]);return O<I.length&&(k=b(a,I[O])),k}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function qo(n,a,f){var h=f.boundary;if(h===null)return Ko(n,a,f);if(h.parentFlushed=!0,h.forceClientRender)return Lt(a,n.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Ko(n,a,f),Aa(a,n.responseState);if(h.pendingTasks>0){h.rootSegmentID=n.nextSegmentId++,h.completedSegments.length>0&&n.partialBoundaries.push(h);var k=h.id=_t(n.responseState);return Yn(a,n.responseState,k),Ko(n,a,f),Eo(a,n.responseState)}else{if(h.byteSize>n.progressiveChunkSize)return h.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(h),Yn(a,n.responseState,h.id),Ko(n,a,f),Eo(a,n.responseState);Ts(a,n.responseState);var I=h.completedSegments;if(I.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var O=I[0];return qo(n,a,O),ql(a,n.responseState)}}function Fu(n,a,f){return Jl(a,n.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function ca(n,a,f){return V(a,n.responseState,f.formatContext,f.id),qo(n,a,f),G(a,f.formatContext)}function rs(n,a,f){for(var h=f.completedSegments,k=0;k<h.length;k++){var I=h[k];fl(n,a,f,I)}return h.length=0,$l(a,n.responseState,f.id,f.rootSegmentID)}function _u(n,a,f){for(var h=f.completedSegments,k=0;k<h.length;k++){var I=h[k];if(!fl(n,a,f,I))return k++,h.splice(0,k),!1}return h.splice(0,k),!0}function fl(n,a,f,h){if(h.status===Ka)return!0;var k=h.id;if(k===-1){var I=h.id=f.rootSegmentID;if(I===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return ca(n,a,h)}else return ca(n,a,h),kt(a,n.responseState,k)}function os(n,a){try{var f=n.completedRootSegment;f!==null&&n.pendingRootTasks===0&&(qo(n,a,f),n.completedRootSegment=null,wo(a,n.responseState));var h=n.clientRenderedBoundaries,k;for(k=0;k<h.length;k++){var I=h[k];if(!Fu(n,a,I)){n.destination=null,k++,h.splice(0,k);return}}h.splice(0,k);var O=n.completedBoundaries;for(k=0;k<O.length;k++){var U=O[k];if(!rs(n,a,U)){n.destination=null,k++,O.splice(0,k);return}}O.splice(0,k);var J=n.partialBoundaries;for(k=0;k<J.length;k++){var ie=J[k];if(!_u(n,a,ie)){n.destination=null,k++,J.splice(0,k);return}}J.splice(0,k);var ae=n.completedBoundaries;for(k=0;k<ae.length;k++){var ge=ae[k];if(!rs(n,a,ge)){n.destination=null,k++,ae.splice(0,k);return}}ae.splice(0,k)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),w(a))}}function Lu(n){g(function(){return cl(n)})}function o(n,a){if(n.status===qa){n.status=mn,H(a,n.fatalError);return}if(n.status!==mn&&n.destination===null){n.destination=a;try{os(n,a)}catch(f){Go(n,f),qi(n,f)}}}function l(n,a){try{var f=n.abortableTasks;f.forEach(function(h){return ul(h,n,a)}),f.clear(),n.destination!==null&&os(n,n.destination)}catch(h){Go(n,h),qi(n,h)}}function d(){}function x(n,a,f,h){var k=!1,I=null,O="",U={push:function(ge){return ge!==null&&(O+=ge),!0},destroy:function(ge){k=!0,I=ge}},J=!1;function ie(){J=!0}var ae=Qs(n,Kl(f,a?a.identifierPrefix:void 0),ks(),1/0,d,void 0,ie,void 0,void 0);if(Lu(ae),l(ae,h),o(ae,U),k)throw I;if(!J)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return O}function E(n,a){return x(n,a,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function M(n,a){return x(n,a,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function _(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function N(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}ni.renderToNodeStream=_,ni.renderToStaticMarkup=M,ni.renderToStaticNodeStream=N,ni.renderToString=E,ni.version=t}()),ni}var wl={};/**
71
+ * @license React
72
+ * react-dom-server.browser.development.js
73
+ *
74
+ * Copyright (c) Facebook, Inc. and its affiliates.
75
+ *
76
+ * This source code is licensed under the MIT license found in the
77
+ * LICENSE file in the root directory of this source tree.
78
+ */var ld;function Gb(){return ld||(ld=1,process.env.NODE_ENV!=="production"&&function(){var e=re,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),x=1;x<l;x++)d[x-1]=arguments[x];p("warn",o,d)}}function s(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),x=1;x<l;x++)d[x-1]=arguments[x];p("error",o,d)}}function p(o,l,d){{var x=r.ReactDebugCurrentFrame,E=x.getStackAddendum();E!==""&&(l+="%s",d=d.concat([E]));var M=d.map(function(_){return String(_)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}function g(o){o()}var S=512,m=null,b=0;function A(o){m=new Uint8Array(S),b=0}function w(o,l){if(l.length!==0){if(l.length>S){b>0&&(o.enqueue(new Uint8Array(m.buffer,0,b)),m=new Uint8Array(S),b=0),o.enqueue(l);return}var d=l,x=m.length-b;x<d.length&&(x===0?o.enqueue(m):(m.set(d.subarray(0,x),b),o.enqueue(m),d=d.subarray(x)),m=new Uint8Array(S),b=0),m.set(d,b),b+=d.length}}function D(o,l){return w(o,l),!0}function L(o){m&&b>0&&(o.enqueue(new Uint8Array(m.buffer,0,b)),m=null,b=0)}function H(o){o.close()}var Y=new TextEncoder;function B(o){return Y.encode(o)}function F(o){return Y.encode(o)}function Z(o,l){typeof o.error=="function"?o.error(l):o.close()}function X(o){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&o[Symbol.toStringTag]||o.constructor.name||"Object";return d}}function ee(o){try{return ne(o),!1}catch{return!0}}function ne(o){return""+o}function te(o,l){if(ee(o))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),ne(o)}function oe(o,l){if(ee(o))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),ne(o)}function le(o){if(ee(o))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",X(o)),ne(o)}var ce=Object.prototype.hasOwnProperty,Ue=0,$e=1,Te=2,Ye=3,Re=4,ht=5,Ie=6,it=":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",Qe=it+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ve=new RegExp("^["+it+"]["+Qe+"]*$"),Nt={},pe={};function ke(o){return ce.call(pe,o)?!0:ce.call(Nt,o)?!1:Ve.test(o)?(pe[o]=!0,!0):(Nt[o]=!0,s("Invalid attribute name: `%s`",o),!1)}function Ht(o,l,d,x){if(d!==null&&d.type===Ue)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(x)return!1;if(d!==null)return!d.acceptsBooleans;var E=o.toLowerCase().slice(0,5);return E!=="data-"&&E!=="aria-"}default:return!1}}function gt(o){return Ce.hasOwnProperty(o)?Ce[o]:null}function Me(o,l,d,x,E,M,_){this.acceptsBooleans=l===Te||l===Ye||l===Re,this.attributeName=x,this.attributeNamespace=E,this.mustUseProperty=d,this.propertyName=o,this.type=l,this.sanitizeURL=M,this.removeEmptyString=_}var Ce={},Pt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Pt.forEach(function(o){Ce[o]=new Me(o,Ue,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var l=o[0],d=o[1];Ce[l]=new Me(l,$e,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){Ce[o]=new Me(o,Te,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){Ce[o]=new Me(o,Te,!1,o,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"].forEach(function(o){Ce[o]=new Me(o,Ye,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){Ce[o]=new Me(o,Ye,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){Ce[o]=new Me(o,Re,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){Ce[o]=new Me(o,Ie,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){Ce[o]=new Me(o,ht,!1,o.toLowerCase(),null,!1,!1)});var $t=/[\-\:]([a-z])/g,Ze=function(o){return o[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"].forEach(function(o){var l=o.replace($t,Ze);Ce[l]=new Me(l,$e,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(o){var l=o.replace($t,Ze);Ce[l]=new Me(l,$e,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var l=o.replace($t,Ze);Ce[l]=new Me(l,$e,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){Ce[o]=new Me(o,$e,!1,o.toLowerCase(),null,!1,!1)});var st="xlinkHref";Ce[st]=new Me("xlinkHref",$e,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){Ce[o]=new Me(o,$e,!1,o.toLowerCase(),null,!0,!0)});var De={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};function bn(o,l){return o+l.charAt(0).toUpperCase()+l.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(De).forEach(function(o){Ge.forEach(function(l){De[bn(l,o)]=De[o]})});var et={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Fn(o,l){et[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function xn(o,l){if(o.indexOf("-")===-1)return typeof l.is=="string";switch(o){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 Or={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},vt={},Sn=new RegExp("^(aria)-["+Qe+"]*$"),wn=new RegExp("^(aria)[A-Z]["+Qe+"]*$");function Fr(o,l){{if(ce.call(vt,l)&&vt[l])return!0;if(wn.test(l)){var d="aria-"+l.slice(4).toLowerCase(),x=Or.hasOwnProperty(d)?d:null;if(x==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),vt[l]=!0,!0;if(l!==x)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,x),vt[l]=!0,!0}if(Sn.test(l)){var E=l.toLowerCase(),M=Or.hasOwnProperty(E)?E:null;if(M==null)return vt[l]=!0,!1;if(l!==M)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,M),vt[l]=!0,!0}}return!0}function yt(o,l){{var d=[];for(var x in l){var E=Fr(o,x);E||d.push(x)}var M=d.map(function(_){return"`"+_+"`"}).join(", ");d.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o):d.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o)}}function Ke(o,l){xn(o,l)||yt(o,l)}var Ne=!1;function Kn(o,l){{if(o!=="input"&&o!=="textarea"&&o!=="select")return;l!=null&&l.value===null&&!Ne&&(Ne=!0,o==="select"&&l.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",o):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",o))}}var qn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},er=function(){};{var ze={},tr=/^on./,_r=/^on[^A-Z]/,Lr=new RegExp("^(aria)-["+Qe+"]*$"),nr=new RegExp("^(aria)[A-Z]["+Qe+"]*$");er=function(o,l,d,x){if(ce.call(ze,l)&&ze[l])return!0;var E=l.toLowerCase();if(E==="onfocusin"||E==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ze[l]=!0,!0;if(x!=null){var M=x.registrationNameDependencies,_=x.possibleRegistrationNames;if(M.hasOwnProperty(l))return!0;var N=_.hasOwnProperty(E)?_[E]:null;if(N!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",l,N),ze[l]=!0,!0;if(tr.test(l))return s("Unknown event handler property `%s`. It will be ignored.",l),ze[l]=!0,!0}else if(tr.test(l))return _r.test(l)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),ze[l]=!0,!0;if(Lr.test(l)||nr.test(l))return!0;if(E==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ze[l]=!0,!0;if(E==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ze[l]=!0,!0;if(E==="is"&&d!==null&&d!==void 0&&typeof d!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),ze[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),ze[l]=!0,!0;var n=gt(l),a=n!==null&&n.type===Ue;if(qn.hasOwnProperty(E)){var f=qn[E];if(f!==l)return s("Invalid DOM property `%s`. Did you mean `%s`?",l,f),ze[l]=!0,!0}else if(!a&&l!==E)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,E),ze[l]=!0,!0;return typeof d=="boolean"&&Ht(l,d,n,!1)?(d?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),ze[l]=!0,!0):a?!0:Ht(l,d,n,!1)?(ze[l]=!0,!1):((d==="false"||d==="true")&&n!==null&&n.type===Ye&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),ze[l]=!0),!0)}}var _n=function(o,l,d){{var x=[];for(var E in l){var M=er(o,E,l[E],d);M||x.push(E)}var _=x.map(function(N){return"`"+N+"`"}).join(", ");x.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",_,o):x.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",_,o)}};function go(o,l,d){xn(o,l)||_n(o,l,d)}var rr=function(){};{var tn=/^(?:webkit|moz|o)[A-Z]/,or=/^-ms-/,jr=/-(.)/g,at=/;\s*$/,At={},nn={},we=!1,rn=!1,Ln=function(o){return o.replace(jr,function(l,d){return d.toUpperCase()})},kn=function(o){At.hasOwnProperty(o)&&At[o]||(At[o]=!0,s("Unsupported style property %s. Did you mean %s?",o,Ln(o.replace(or,"ms-"))))},It=function(o){At.hasOwnProperty(o)&&At[o]||(At[o]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1)))},jn=function(o,l){nn.hasOwnProperty(l)&&nn[l]||(nn[l]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,l.replace(at,"")))},Yt=function(o,l){we||(we=!0,s("`NaN` is an invalid value for the `%s` css style property.",o))},Le=function(o,l){rn||(rn=!0,s("`Infinity` is an invalid value for the `%s` css style property.",o))};rr=function(o,l){o.indexOf("-")>-1?kn(o):tn.test(o)?It(o):at.test(l)&&jn(o,l),typeof l=="number"&&(isNaN(l)?Yt(o,l):isFinite(l)||Le(o,l))}}var ir=rr,sr=/["'&<>]/;function Br(o){le(o);var l=""+o,d=sr.exec(l);if(!d)return l;var x,E="",M,_=0;for(M=d.index;M<l.length;M++){switch(l.charCodeAt(M)){case 34:x="&quot;";break;case 38:x="&amp;";break;case 39:x="&#x27;";break;case 60:x="&lt;";break;case 62:x="&gt;";break;default:continue}_!==M&&(E+=l.substring(_,M)),_=M+1,E+=x}return _!==M?E+l.substring(_,M):E}function We(o){return typeof o=="boolean"||typeof o=="number"?""+o:Br(o)}var ar=/([A-Z])/g,vo=/^ms-/;function yo(o){return o.replace(ar,"-$1").toLowerCase().replace(vo,"-ms-")}var Mt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,lr=!1;function Bn(o){!lr&&Mt.test(o)&&(lr=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(o)))}var ur=Array.isArray;function Tn(o){return ur(o)}var on=F("<script>"),bo=F("<\/script>"),cr=F('<script src="'),Vn=F('<script type="module" src="'),sn=F('" async=""><\/script>');function Gt(o){return le(o),(""+o).replace(Dt,Cn)}var Dt=/(<\/|<)(s)(cript)/gi,Cn=function(o,l,d,x){return""+l+(d==="s"?"\\u0073":"\\u0053")+x};function En(o,l,d,x,E){var M=o===void 0?"":o,_=l===void 0?on:F('<script nonce="'+We(l)+'">'),N=[];if(d!==void 0&&N.push(_,B(Gt(d)),bo),x!==void 0)for(var n=0;n<x.length;n++)N.push(cr,B(We(x[n])),sn);if(E!==void 0)for(var a=0;a<E.length;a++)N.push(Vn,B(We(E[a])),sn);return{bootstrapChunks:N,startInlineScript:_,placeholderPrefix:F(M+"P:"),segmentPrefix:F(M+"S:"),boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var pt=0,Fe=1,Ot=2,bt=3,Je=4,zn=5,Ft=6,_t=7;function lt(o,l){return{insertionMode:o,selectedValue:l}}function Xt(o){var l=o==="http://www.w3.org/2000/svg"?Ot:o==="http://www.w3.org/1998/Math/MathML"?bt:pt;return lt(l,null)}function an(o,l,d){switch(l){case"select":return lt(Fe,d.value!=null?d.value:d.defaultValue);case"svg":return lt(Ot,null);case"math":return lt(bt,null);case"foreignObject":return lt(Fe,null);case"table":return lt(Je,null);case"thead":case"tbody":case"tfoot":return lt(zn,null);case"colgroup":return lt(_t,null);case"tr":return lt(Ft,null)}return o.insertionMode>=Je||o.insertionMode===pt?lt(Fe,null):o}var fr=null;function dr(o){var l=o.nextSuspenseID++;return F(o.boundaryPrefix+l.toString(16))}function Wn(o,l,d){var x=o.idPrefix,E=":"+x+"R"+l;return d>0&&(E+="H"+d.toString(32)),E+":"}function ln(o){return We(o)}var hr=F("<!-- -->");function Un(o,l,d,x){return l===""?x:(x&&o.push(hr),o.push(B(ln(l))),!0)}function Nn(o,l,d,x){d&&x&&o.push(hr)}var u=new Map;function v(o){var l=u.get(o);if(l!==void 0)return l;var d=F(We(yo(o)));return u.set(o,d),d}var C=F(' style="'),R=F(":"),z=F(";");function j(o,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var x=!0;for(var E in d)if(ce.call(d,E)){var M=d[E];if(!(M==null||typeof M=="boolean"||M==="")){var _=void 0,N=void 0,n=E.indexOf("--")===0;n?(_=B(We(E)),oe(M,E),N=B(We((""+M).trim()))):(ir(E,M),_=v(E),typeof M=="number"?M!==0&&!ce.call(De,E)?N=B(M+"px"):N=B(""+M):(oe(M,E),N=B(We((""+M).trim())))),x?(x=!1,o.push(C,_,R,N)):o.push(z,_,R,N)}}x||o.push(se)}var $=F(" "),K=F('="'),se=F('"'),fe=F('=""');function ue(o,l,d,x){switch(d){case"style":{j(o,l,x);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var E=gt(d);if(E!==null){switch(typeof x){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}var M=E.attributeName,_=B(M);switch(E.type){case Ye:x&&o.push($,_,fe);return;case Re:x===!0?o.push($,_,fe):x===!1||o.push($,_,K,B(We(x)),se);return;case ht:isNaN(x)||o.push($,_,K,B(We(x)),se);break;case Ie:!isNaN(x)&&x>=1&&o.push($,_,K,B(We(x)),se);break;default:E.sanitizeURL&&(te(x,M),x=""+x,Bn(x)),o.push($,_,K,B(We(x)),se)}}else if(ke(d)){switch(typeof x){case"function":case"symbol":return;case"boolean":{var N=d.toLowerCase().slice(0,5);if(N!=="data-"&&N!=="aria-")return}}o.push($,B(d),K,B(We(x)),se)}}}var xe=F(">"),ut=F("/>");function tt(o,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var x=l.__html;x!=null&&(le(x),o.push(B(""+x)))}}var nt=!1,Zt=!1,xt=!1,Hn=!1,un=!1,Rn=!1,Jt=!1;function pr(o,l){{var d=o[l];if(d!=null){var x=Tn(d);o.multiple&&!x?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!o.multiple&&x&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function ps(o,l,d){Fn("select",l),pr(l,"value"),pr(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!xt&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),xt=!0),o.push(St("select"));var x=null,E=null;for(var M in l)if(ce.call(l,M)){var _=l[M];if(_==null)continue;switch(M){case"children":x=_;break;case"dangerouslySetInnerHTML":E=_;break;case"defaultValue":case"value":break;default:ue(o,d,M,_);break}}return o.push(xe),tt(o,E,x),x}function ms(o){var l="";return e.Children.forEach(o,function(d){d!=null&&(l+=d,!un&&typeof d!="string"&&typeof d!="number"&&(un=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var xo=F(' selected=""');function gs(o,l,d,x){var E=x.selectedValue;o.push(St("option"));var M=null,_=null,N=null,n=null;for(var a in l)if(ce.call(l,a)){var f=l[a];if(f==null)continue;switch(a){case"children":M=f;break;case"selected":N=f,Jt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Jt=!0);break;case"dangerouslySetInnerHTML":n=f;break;case"value":_=f;default:ue(o,d,a,f);break}}if(E!=null){var h;if(_!==null?(te(_,"value"),h=""+_):(n!==null&&(Rn||(Rn=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),h=ms(M)),Tn(E))for(var k=0;k<E.length;k++){te(E[k],"value");var I=""+E[k];if(I===h){o.push(xo);break}}else te(E,"select.value"),""+E===h&&o.push(xo)}else N&&o.push(xo);return o.push(xe),tt(o,n,M),M}function So(o,l,d){Fn("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Zt&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Zt=!0),l.value!==void 0&&l.defaultValue!==void 0&&!nt&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),nt=!0),o.push(St("input"));var x=null,E=null,M=null,_=null;for(var N in l)if(ce.call(l,N)){var n=l[N];if(n==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":_=n;break;case"defaultValue":E=n;break;case"checked":M=n;break;case"value":x=n;break;default:ue(o,d,N,n);break}}return M!==null?ue(o,d,"checked",M):_!==null&&ue(o,d,"checked",_),x!==null?ue(o,d,"value",x):E!==null&&ue(o,d,"value",E),o.push(ut),null}function Qt(o,l,d){Fn("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Hn&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Hn=!0),o.push(St("textarea"));var x=null,E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":M=N;break;case"value":x=N;break;case"defaultValue":E=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ue(o,d,_,N);break}}if(x===null&&E!==null&&(x=E),o.push(xe),M!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),x!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Tn(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");le(M[0]),x=""+M[0]}le(M),x=""+M}return typeof x=="string"&&x[0]===`
79
+ `&&o.push(Pn),x!==null&&(te(x,"value"),o.push(B(ln(""+x)))),null}function mr(o,l,d,x){o.push(St(d));for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ue(o,x,E,M);break}}return o.push(ut),null}function Vr(o,l,d){o.push(St("menuitem"));for(var x in l)if(ce.call(l,x)){var E=l[x];if(E==null)continue;switch(x){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ue(o,d,x,E);break}}return o.push(xe),null}function Pe(o,l,d){o.push(St("title"));var x=null;for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":x=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ue(o,d,E,M);break}}o.push(xe);{var _=Array.isArray(x)&&x.length<2?x[0]||null:x;Array.isArray(x)&&x.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):_!=null&&_.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):_!=null&&typeof _!="string"&&typeof _!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return x}function cn(o,l,d,x){o.push(St(d));var E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,x,_,N);break}}return o.push(xe),tt(o,M,E),typeof E=="string"?(o.push(B(ln(E))),null):E}function ct(o,l,d,x){o.push(St(d));var E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;case"style":j(o,x,N);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ke(_)&&typeof N!="function"&&typeof N!="symbol"&&o.push($,B(_),K,B(We(N)),se);break}}return o.push(xe),tt(o,M,E),E}var Pn=F(`
80
+ `);function fn(o,l,d,x){o.push(St(d));var E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,x,_,N);break}}if(o.push(xe),M!=null){if(E!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof M!="object"||!("__html"in M))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var n=M.__html;n!=null&&(typeof n=="string"&&n.length>0&&n[0]===`
81
+ `?o.push(Pn,B(n)):(le(n),o.push(B(""+n))))}return typeof E=="string"&&E[0]===`
82
+ `&&o.push(Pn),E}var zr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,dn=new Map;function St(o){var l=dn.get(o);if(l===void 0){if(!zr.test(o))throw new Error("Invalid tag: "+o);l=F("<"+o),dn.set(o,l)}return l}var wo=F("<!DOCTYPE html>");function ko(o,l,d,x,E){switch(Ke(l,d),Kn(l,d),go(l,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),E.insertionMode!==Ot&&E.insertionMode!==bt&&l.indexOf("-")===-1&&typeof d.is!="string"&&l.toLowerCase()!==l&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return ps(o,d,x);case"option":return gs(o,d,x,E);case"textarea":return Qt(o,d,x);case"input":return So(o,d,x);case"menuitem":return Vr(o,d,x);case"title":return Pe(o,d,x);case"listing":case"pre":return fn(o,d,l,x);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return mr(o,d,l,x);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 cn(o,d,l,x);case"html":return E.insertionMode===pt&&o.push(wo),cn(o,d,l,x);default:return l.indexOf("-")===-1&&typeof d.is!="string"?cn(o,d,l,x):ct(o,d,l,x)}}var ui=F("</"),ci=F(">");function fi(o,l,d){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.push(ui,B(l),ci)}}function vs(o,l){for(var d=l.bootstrapChunks,x=0;x<d.length-1;x++)w(o,d[x]);return x<d.length?D(o,d[x]):!0}var ys=F('<template id="'),Wr=F('"></template>');function Ur(o,l,d){w(o,ys),w(o,l.placeholderPrefix);var x=B(d.toString(16));return w(o,x),D(o,Wr)}var Nr=F("<!--$-->"),gr=F('<!--$?--><template id="'),bs=F('"></template>'),vr=F("<!--$!-->"),To=F("<!--/$-->"),Co=F("<template"),$n=F('"'),Yn=F(' data-dgst="'),Hr=F(' data-msg="'),di=F(' data-stck="'),Eo=F("></template>");function hi(o,l){return D(o,Nr)}function $r(o,l,d){if(w(o,gr),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(o,d),D(o,bs)}function ft(o,l,d,x,E){var M;return M=D(o,vr),w(o,Co),d&&(w(o,Yn),w(o,B(We(d))),w(o,$n)),x&&(w(o,Hr),w(o,B(We(x))),w(o,$n)),E&&(w(o,di),w(o,B(We(E))),w(o,$n)),M=D(o,Eo),M}function pi(o,l){return D(o,To)}function Yr(o,l){return D(o,To)}function xs(o,l){return D(o,To)}var mi=F('<div hidden id="'),Gr=F('">'),gi=F("</div>"),vi=F('<svg aria-hidden="true" style="display:none" id="'),Xr=F('">'),Zr=F("</svg>"),yi=F('<math aria-hidden="true" style="display:none" id="'),bi=F('">'),xi=F("</math>"),Ro=F('<table hidden id="'),Si=F('">'),c=F("</table>"),y=F('<table hidden><tbody id="'),T=F('">'),P=F("</tbody></table>"),W=F('<table hidden><tr id="'),V=F('">'),G=F("</tr></table>"),q=F('<table hidden><colgroup id="'),de=F('">'),ye=F("</colgroup></table>");function ve(o,l,d,x){switch(d.insertionMode){case pt:case Fe:return w(o,mi),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,Gr);case Ot:return w(o,vi),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,Xr);case bt:return w(o,yi),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,bi);case Je:return w(o,Ro),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,Si);case zn:return w(o,y),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,T);case Ft:return w(o,W),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,V);case _t:return w(o,q),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,de);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ae(o,l){switch(l.insertionMode){case pt:case Fe:return D(o,gi);case Ot:return D(o,Zr);case bt:return D(o,xi);case Je:return D(o,c);case zn:return D(o,P);case Ft:return D(o,G);case _t:return D(o,ye);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var dt="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",wt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',kt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Jr=F(dt+';$RS("'),wi=F('$RS("'),Po=F('","'),Hl=F('")<\/script>');function $l(o,l,d){w(o,l.startInlineScript),l.sentCompleteSegmentFunction?w(o,wi):(l.sentCompleteSegmentFunction=!0,w(o,Jr)),w(o,l.segmentPrefix);var x=B(d.toString(16));return w(o,x),w(o,Po),w(o,l.placeholderPrefix),w(o,x),D(o,Hl)}var Yl=F(wt+';$RC("'),Gl=F('$RC("'),Xl=F('","'),Zl=F('")<\/script>');function Ss(o,l,d,x){if(w(o,l.startInlineScript),l.sentCompleteBoundaryFunction?w(o,Gl):(l.sentCompleteBoundaryFunction=!0,w(o,Yl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var E=B(x.toString(16));return w(o,d),w(o,Xl),w(o,l.segmentPrefix),w(o,E),D(o,Zl)}var Jl=F(kt+';$RX("'),Ql=F('$RX("'),ws=F('"'),Kl=F(")<\/script>"),ks=F(",");function Ra(o,l,d,x,E,M){if(w(o,l.startInlineScript),l.sentClientRenderFunction?w(o,Ql):(l.sentClientRenderFunction=!0,w(o,Jl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(o,d),w(o,ws),(x||E||M)&&(w(o,ks),w(o,B(Ts(x||"")))),(E||M)&&(w(o,ks),w(o,B(Ts(E||"")))),M&&(w(o,ks),w(o,B(Ts(M)))),D(o,Kl)}var Pa=/[<\u2028\u2029]/g;function Ts(o){var l=JSON.stringify(o);return l.replace(Pa,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Lt=Object.assign,ql=Symbol.for("react.element"),Aa=Symbol.for("react.portal"),Tt=Symbol.for("react.fragment"),Ia=Symbol.for("react.strict_mode"),Cs=Symbol.for("react.profiler"),ki=Symbol.for("react.provider"),Ti=Symbol.for("react.context"),Ci=Symbol.for("react.forward_ref"),Ao=Symbol.for("react.suspense"),Io=Symbol.for("react.suspense_list"),Mo=Symbol.for("react.memo"),Qr=Symbol.for("react.lazy"),Es=Symbol.for("react.scope"),Rs=Symbol.for("react.debug_trace_mode"),Ei=Symbol.for("react.legacy_hidden"),eu=Symbol.for("react.default_value"),Ma=Symbol.iterator,tu="@@iterator";function nu(o){if(o===null||typeof o!="object")return null;var l=Ma&&o[Ma]||o[tu];return typeof l=="function"?l:null}function Da(o,l,d){var x=o.displayName;if(x)return x;var E=l.displayName||l.name||"";return E!==""?d+"("+E+")":d}function Oa(o){return o.displayName||"Context"}function je(o){if(o==null)return null;if(typeof o.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case Tt:return"Fragment";case Aa:return"Portal";case Cs:return"Profiler";case Ia:return"StrictMode";case Ao:return"Suspense";case Io:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Ti:var l=o;return Oa(l)+".Consumer";case ki:var d=o;return Oa(d._context)+".Provider";case Ci:return Da(o,o.render,"ForwardRef");case Mo:var x=o.displayName||null;return x!==null?x:je(o.type)||"Memo";case Qr:{var E=o,M=E._payload,_=E._init;try{return je(_(M))}catch{return null}}}return null}var Do=0,Ps,_e,Kr,As,Is,Ms,Ds;function Os(){}Os.__reactDisabledLog=!0;function Fa(){{if(Do===0){Ps=console.log,_e=console.info,Kr=console.warn,As=console.error,Is=console.group,Ms=console.groupCollapsed,Ds=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Os,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}Do++}}function _a(){{if(Do--,Do===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},o,{value:Ps}),info:Lt({},o,{value:_e}),warn:Lt({},o,{value:Kr}),error:Lt({},o,{value:As}),group:Lt({},o,{value:Is}),groupCollapsed:Lt({},o,{value:Ms}),groupEnd:Lt({},o,{value:Ds})})}Do<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ri=r.ReactCurrentDispatcher,Fs;function Oo(o,l,d){{if(Fs===void 0)try{throw Error()}catch(E){var x=E.stack.trim().match(/\n( *(at )?)/);Fs=x&&x[1]||""}return`
83
+ `+Fs+o}}var Fo=!1,qr;{var _o=typeof WeakMap=="function"?WeakMap:Map;qr=new _o}function Lo(o,l){if(!o||Fo)return"";{var d=qr.get(o);if(d!==void 0)return d}var x;Fo=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=Ri.current,Ri.current=null,Fa();try{if(l){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(O){x=O}Reflect.construct(o,[],_)}else{try{_.call()}catch(O){x=O}o.call(_.prototype)}}else{try{throw Error()}catch(O){x=O}o()}}catch(O){if(O&&x&&typeof O.stack=="string"){for(var N=O.stack.split(`
84
+ `),n=x.stack.split(`
85
+ `),a=N.length-1,f=n.length-1;a>=1&&f>=0&&N[a]!==n[f];)f--;for(;a>=1&&f>=0;a--,f--)if(N[a]!==n[f]){if(a!==1||f!==1)do if(a--,f--,f<0||N[a]!==n[f]){var h=`
86
+ `+N[a].replace(" at new "," at ");return o.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",o.displayName)),typeof o=="function"&&qr.set(o,h),h}while(a>=1&&f>=0);break}}}finally{Fo=!1,Ri.current=M,_a(),Error.prepareStackTrace=E}var k=o?o.displayName||o.name:"",I=k?Oo(k):"";return typeof o=="function"&&qr.set(o,I),I}function Pi(o,l,d){return Lo(o,!0)}function La(o,l,d){return Lo(o,!1)}function _s(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function Ls(o,l,d){if(o==null)return"";if(typeof o=="function")return Lo(o,_s(o));if(typeof o=="string")return Oo(o);switch(o){case Ao:return Oo("Suspense");case Io:return Oo("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case Ci:return La(o.render);case Mo:return Ls(o.type,l,d);case Qr:{var x=o,E=x._payload,M=x._init;try{return Ls(M(E),l,d)}catch{}}}return""}var js={},ja=r.ReactDebugCurrentFrame;function eo(o){if(o){var l=o._owner,d=Ls(o.type,o._source,l?l.type:null);ja.setExtraStackFrame(d)}else ja.setExtraStackFrame(null)}function Bs(o,l,d,x,E){{var M=Function.call.bind(ce);for(var _ in o)if(M(o,_)){var N=void 0;try{if(typeof o[_]!="function"){var n=Error((x||"React class")+": "+d+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw n.name="Invariant Violation",n}N=o[_](l,_,x,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(a){N=a}N&&!(N instanceof Error)&&(eo(E),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",x||"React class",d,_,typeof N),eo(null)),N instanceof Error&&!(N.message in js)&&(js[N.message]=!0,eo(E),s("Failed %s type: %s",d,N.message),eo(null))}}}var Ai;Ai={};var yr={};Object.freeze(yr);function Vs(o,l){{var d=o.contextTypes;if(!d)return yr;var x={};for(var E in d)x[E]=l[E];{var M=je(o)||"Unknown";Bs(d,x,"context",M)}return x}}function zs(o,l,d,x){{if(typeof o.getChildContext!="function"){{var E=je(l)||"Unknown";Ai[E]||(Ai[E]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",E,E))}return d}var M=o.getChildContext();for(var _ in M)if(!(_ in x))throw new Error((je(l)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var N=je(l)||"Unknown";Bs(x,M,"child context",N)}return Lt({},d,M)}}var Gn;Gn={};var Ba=null,br=null;function xr(o){o.context._currentValue=o.parentValue}function Ws(o){o.context._currentValue=o.value}function hn(o,l){if(o!==l){xr(o);var d=o.parent,x=l.parent;if(d===null){if(x!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(x===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");hn(d,x)}Ws(l)}}function Ii(o){xr(o);var l=o.parent;l!==null&&Ii(l)}function Mi(o){var l=o.parent;l!==null&&Mi(l),Ws(o)}function jo(o,l){xr(o);var d=o.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===l.depth?hn(d,l):jo(d,l)}function Us(o,l){var d=l.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===d.depth?hn(o,d):Us(o,d),Ws(l)}function Bo(o){var l=br,d=o;l!==d&&(l===null?Mi(d):d===null?Ii(l):l.depth===d.depth?hn(l,d):l.depth>d.depth?jo(l,d):Us(l,d),br=d)}function Va(o,l){var d;d=o._currentValue,o._currentValue=l,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Gn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Gn;var x=br,E={parent:x,depth:x===null?0:x.depth+1,context:o,parentValue:d,value:l};return br=E,E}function za(o){var l=br;if(l===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");l.context!==o&&s("The parent context is not the expected context. This is probably a bug in React.");{var d=l.parentValue;d===eu?l.context._currentValue=l.context._defaultValue:l.context._currentValue=d,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Gn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Gn}return br=l.parent}function Di(){return br}function Vo(o){var l=o._currentValue;return l}function Ns(o){return o._reactInternals}function ru(o,l){o._reactInternals=l}var to={},Oi={},Hs,Fi,_i,zo,Li,no,Wo,ji,ro;{Hs=new Set,Fi=new Set,_i=new Set,Wo=new Set,zo=new Set,ji=new Set,ro=new Set;var Bi=new Set;no=function(o,l){if(!(o===null||typeof o=="function")){var d=l+"_"+o;Bi.has(d)||(Bi.add(d),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l,o))}},Li=function(o,l){if(l===void 0){var d=je(o)||"Component";zo.has(d)||(zo.add(d),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function Vi(o,l){{var d=o.constructor,x=d&&je(d)||"ReactClass",E=x+"."+l;if(to[E])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
87
+
88
+ Please check the code for the %s component.`,l,l,x),to[E]=!0}}var zi={isMounted:function(o){return!1},enqueueSetState:function(o,l,d){var x=Ns(o);x.queue===null?Vi(o,"setState"):(x.queue.push(l),d!=null&&no(d,"setState"))},enqueueReplaceState:function(o,l,d){var x=Ns(o);x.replace=!0,x.queue=[l],d!=null&&no(d,"setState")},enqueueForceUpdate:function(o,l){var d=Ns(o);d.queue===null?Vi(o,"forceUpdate"):l!=null&&no(l,"setState")}};function Wa(o,l,d,x,E){var M=d(E,x);Li(l,M);var _=M==null?x:Lt({},x,M);return _}function Ua(o,l,d){var x=yr,E=o.contextType;if("contextType"in o){var M=E===null||E!==void 0&&E.$$typeof===Ti&&E._context===void 0;if(!M&&!ro.has(o)){ro.add(o);var _="";E===void 0?_=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof E!="object"?_=" However, it is set to a "+typeof E+".":E.$$typeof===ki?_=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",je(o)||"Component",_)}}typeof E=="object"&&E!==null?x=Vo(E):x=d;var N=new o(l,x);{if(typeof o.getDerivedStateFromProps=="function"&&(N.state===null||N.state===void 0)){var n=je(o)||"Component";Hs.has(n)||(Hs.add(n),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",n,N.state===null?"null":"undefined",n))}if(typeof o.getDerivedStateFromProps=="function"||typeof N.getSnapshotBeforeUpdate=="function"){var a=null,f=null,h=null;if(typeof N.componentWillMount=="function"&&N.componentWillMount.__suppressDeprecationWarning!==!0?a="componentWillMount":typeof N.UNSAFE_componentWillMount=="function"&&(a="UNSAFE_componentWillMount"),typeof N.componentWillReceiveProps=="function"&&N.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof N.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof N.componentWillUpdate=="function"&&N.componentWillUpdate.__suppressDeprecationWarning!==!0?h="componentWillUpdate":typeof N.UNSAFE_componentWillUpdate=="function"&&(h="UNSAFE_componentWillUpdate"),a!==null||f!==null||h!==null){var k=je(o)||"Component",I=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";_i.has(k)||(_i.add(k),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
89
+
90
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
91
+
92
+ The above lifecycles should be removed. Learn more about this warning here:
93
+ https://reactjs.org/link/unsafe-component-lifecycles`,k,I,a!==null?`
94
+ `+a:"",f!==null?`
95
+ `+f:"",h!==null?`
96
+ `+h:""))}}}return N}function Na(o,l,d){{var x=je(l)||"Component",E=o.render;E||(l.prototype&&typeof l.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",x):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",x)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",x),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",x),o.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",x),o.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",x),o.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",x),l.contextType&&l.contextTypes&&!ji.has(l)&&(ji.add(l),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",x)),typeof o.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",x),l.prototype&&l.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",je(l)||"A pure component"),typeof o.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",x),typeof o.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",x),typeof o.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",x),typeof o.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",x);var M=o.props!==d;o.props!==void 0&&M&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",x,x),o.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",x,x),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Fi.has(l)&&(Fi.add(l),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",je(l))),typeof o.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof o.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof l.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",x);var _=o.state;_&&(typeof _!="object"||Tn(_))&&s("%s.state: must be set to an object or null",x),typeof o.getChildContext=="function"&&typeof l.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",x)}}function ou(o,l){var d=l.state;if(typeof l.componentWillMount=="function"){if(l.componentWillMount.__suppressDeprecationWarning!==!0){var x=je(o)||"Unknown";Oi[x]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
97
+
98
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
99
+
100
+ Please update the following components: %s`,x),Oi[x]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",je(o)||"Component"),zi.enqueueReplaceState(l,l.state,null))}function iu(o,l,d,x){if(o.queue!==null&&o.queue.length>0){var E=o.queue,M=o.replace;if(o.queue=null,o.replace=!1,M&&E.length===1)l.state=E[0];else{for(var _=M?E[0]:l.state,N=!0,n=M?1:0;n<E.length;n++){var a=E[n],f=typeof a=="function"?a.call(l,_,d,x):a;f!=null&&(N?(N=!1,_=Lt({},_,f)):Lt(_,f))}l.state=_}}else o.queue=null}function Ha(o,l,d,x){Na(o,l,d);var E=o.state!==void 0?o.state:null;o.updater=zi,o.props=d,o.state=E;var M={queue:[],replace:!1};ru(o,M);var _=l.contextType;if(typeof _=="object"&&_!==null?o.context=Vo(_):o.context=x,o.state===d){var N=je(l)||"Component";Wo.has(N)||(Wo.add(N),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",N))}var n=l.getDerivedStateFromProps;typeof n=="function"&&(o.state=Wa(o,l,n,E,d)),typeof l.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(ou(l,o),iu(M,o,d,x))}var su={id:1,overflow:""};function au(o){var l=o.overflow,d=o.id,x=d&~lu(d);return x.toString(32)+l}function Wi(o,l,d){var x=o.id,E=o.overflow,M=Ui(x)-1,_=x&~(1<<M),N=d+1,n=Ui(l)+M;if(n>30){var a=M-M%5,f=(1<<a)-1,h=(_&f).toString(32),k=_>>a,I=M-a,O=Ui(l)+I,U=N<<I,J=U|k,ie=h+E;return{id:1<<O|J,overflow:ie}}else{var ae=N<<M,ge=ae|_,Oe=E;return{id:1<<n|ge,overflow:Oe}}}function Ui(o){return 32-$s(o)}function lu(o){return 1<<Ui(o)-1}var $s=Math.clz32?Math.clz32:cu,Ni=Math.log,uu=Math.LN2;function cu(o){var l=o>>>0;return l===0?32:31-(Ni(l)/uu|0)|0}function fu(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var du=typeof Object.is=="function"?Object.is:fu,An=null,Ys=null,Hi=null,Se=null,Sr=!1,wr=!1,Ee=0,jt=null,kr=0,$i=25,rt=!1,In;function Tr(){if(An===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
101
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
102
+ 2. You might be breaking the Rules of Hooks
103
+ 3. You might have more than one copy of React in the same app
104
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return rt&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),An}function pn(o,l){if(l===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",In),!1;o.length!==l.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
105
+
106
+ Previous: %s
107
+ Incoming: %s`,In,"["+o.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<o.length;d++)if(!du(o[d],l[d]))return!1;return!0}function Cr(){if(kr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Mn(){return Se===null?Hi===null?(Sr=!1,Hi=Se=Cr()):(Sr=!0,Se=Hi):Se.next===null?(Sr=!1,Se=Se.next=Cr()):(Sr=!0,Se=Se.next),Se}function hu(o,l){An=l,Ys=o,rt=!1,Ee=0}function $a(o,l,d,x){for(;wr;)wr=!1,Ee=0,kr+=1,Se=null,d=o(l,x);return Gs(),d}function Yi(){var o=Ee!==0;return o}function Gs(){rt=!1,An=null,Ys=null,wr=!1,Hi=null,kr=0,jt=null,Se=null}function pu(o){return rt&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(o)}function Ya(o){return In="useContext",Tr(),Vo(o)}function Uo(o,l){return typeof l=="function"?l(o):l}function mu(o){return In="useState",Ga(Uo,o)}function Ga(o,l,d){if(o!==Uo&&(In="useReducer"),An=Tr(),Se=Mn(),Sr){var x=Se.queue,E=x.dispatch;if(jt!==null){var M=jt.get(x);if(M!==void 0){jt.delete(x);var _=Se.memoizedState,N=M;do{var n=N.action;rt=!0,_=o(_,n),rt=!1,N=N.next}while(N!==null);return Se.memoizedState=_,[_,E]}}return[Se.memoizedState,E]}else{rt=!0;var a;o===Uo?a=typeof l=="function"?l():l:a=d!==void 0?d(l):l,rt=!1,Se.memoizedState=a;var f=Se.queue={last:null,dispatch:null},h=f.dispatch=Za.bind(null,An,f);return[Se.memoizedState,h]}}function Gi(o,l){An=Tr(),Se=Mn();var d=l===void 0?null:l;if(Se!==null){var x=Se.memoizedState;if(x!==null&&d!==null){var E=x[1];if(pn(d,E))return x[0]}}rt=!0;var M=o();return rt=!1,Se.memoizedState=[M,d],M}function gu(o){An=Tr(),Se=Mn();var l=Se.memoizedState;if(l===null){var d={current:o};return Object.seal(d),Se.memoizedState=d,d}else return l}function Xa(o,l){In="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Za(o,l,d){if(kr>=$i)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o===An){wr=!0;var x={action:d,next:null};jt===null&&(jt=new Map);var E=jt.get(l);if(E===void 0)jt.set(l,x);else{for(var M=E;M.next!==null;)M=M.next;M.next=x}}}function vu(o,l){return Gi(function(){return o},l)}function yu(o,l,d){return Tr(),l(o._source)}function bu(o,l,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function xu(o){return Tr(),o}function Su(){throw new Error("startTransition cannot be called during server rendering.")}function wu(){return Tr(),[!1,Su]}function ku(){var o=Ys,l=au(o.treeContext),d=Xs;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var x=Ee++;return Wn(d,l,x)}function Xi(){}var Ja={readContext:pu,useContext:Ya,useMemo:Gi,useReducer:Ga,useRef:gu,useState:mu,useInsertionEffect:Xi,useLayoutEffect:Xa,useCallback:vu,useImperativeHandle:Xi,useEffect:Xi,useDebugValue:Xi,useDeferredValue:xu,useTransition:wu,useId:ku,useMutableSource:yu,useSyncExternalStore:bu},Xs=null;function No(o){Xs=o}function Qa(o){try{var l="",d=o;do{switch(d.tag){case 0:l+=Oo(d.type,null,null);break;case 1:l+=La(d.type,null,null);break;case 2:l+=Pi(d.type,null,null);break}d=d.parent}while(d);return l}catch(x){return`
108
+ Error generating stack: `+x.message+`
109
+ `+x.stack}}var Ho=r.ReactCurrentDispatcher,Zi=r.ReactDebugCurrentFrame,Zs=0,Xn=1,Ji=2,Qi=3,Er=4,Ka=0,Js=1,Rr=2,Tu=12800;function qa(o){return console.error(o),null}function mn(){}function Cu(o,l,d,x,E,M,_,N,n){var a=[],f=new Set,h={destination:null,responseState:l,progressiveChunkSize:x===void 0?Tu:x,status:Ka,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:E===void 0?qa:E,onAllReady:M===void 0?mn:M,onShellReady:_===void 0?mn:_,onShellError:N===void 0?mn:N,onFatalError:n===void 0?mn:n},k=Ki(h,0,null,d,!1,!1);k.parentFlushed=!0;var I=Qs(h,o,null,k,f,yr,Ba,su);return a.push(I),h}function Eu(o,l){var d=o.pingedTasks;d.push(l),d.length===1&&g(function(){return Jo(o)})}function $o(o,l){return{id:fr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Qs(o,l,d,x,E,M,_,N){o.allPendingTasks++,d===null?o.pendingRootTasks++:d.pendingTasks++;var n={node:l,ping:function(){return Eu(o,n)},blockedBoundary:d,blockedSegment:x,abortSet:E,legacyContext:M,context:_,treeContext:N};return n.componentStack=null,E.add(n),n}function Ki(o,l,d,x,E,M){return{status:Zs,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:x,boundary:d,lastPushedText:E,textEmbedded:M}}var Dn=null;function Yo(){return Dn===null||Dn.componentStack===null?"":Qa(Dn.componentStack)}function Zn(o,l){o.componentStack={tag:0,parent:o.componentStack,type:l}}function gn(o,l){o.componentStack={tag:1,parent:o.componentStack,type:l}}function Ks(o,l){o.componentStack={tag:2,parent:o.componentStack,type:l}}function Bt(o){o.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):o.componentStack=o.componentStack.parent}var oo=null;function qs(o,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var x=oo||Yo();oo=null,o.errorMessage=d,o.errorComponentStack=x}}function Vt(o,l){var d=o.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Jn(o,l){var d=o.onShellError;d(l);var x=o.onFatalError;x(l),o.destination!==null?(o.status=Rr,Z(o.destination,l)):(o.status=Js,o.fatalError=l)}function ea(o,l,d){Zn(l,"Suspense");var x=l.blockedBoundary,E=l.blockedSegment,M=d.fallback,_=d.children,N=new Set,n=$o(o,N),a=E.chunks.length,f=Ki(o,a,n,E.formatContext,!1,!1);E.children.push(f),E.lastPushedText=!1;var h=Ki(o,0,null,E.formatContext,!1,!1);h.parentFlushed=!0,l.blockedBoundary=n,l.blockedSegment=h;try{if(ua(o,l,_),Nn(h.chunks,o.responseState,h.lastPushedText,h.textEmbedded),h.status=Xn,ts(n,h),n.pendingTasks===0){Bt(l);return}}catch(I){h.status=Er,n.forceClientRender=!0,n.errorDigest=Vt(o,I),qs(n,I)}finally{l.blockedBoundary=x,l.blockedSegment=E}var k=Qs(o,M,x,f,N,l.legacyContext,l.context,l.treeContext);k.componentStack=l.componentStack,o.pingedTasks.push(k),Bt(l)}function Go(o,l,d,x){Zn(l,d);var E=l.blockedSegment,M=ko(E.chunks,d,x,o.responseState,E.formatContext);E.lastPushedText=!1;var _=E.formatContext;E.formatContext=an(_,d,x),ua(o,l,M),E.formatContext=_,fi(E.chunks,d),E.lastPushedText=!1,Bt(l)}function qi(o){return o.prototype&&o.prototype.isReactComponent}function el(o,l,d,x,E){var M={};hu(l,M);var _=d(x,E);return $a(d,x,_,E)}function tl(o,l,d,x,E){var M=d.render();d.props!==E&&(Zo||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",je(x)||"a component"),Zo=!0);{var _=x.childContextTypes;if(_!=null){var N=l.legacyContext,n=zs(d,x,N,_);l.legacyContext=n,Ct(o,l,M),l.legacyContext=N;return}}Ct(o,l,M)}function Ru(o,l,d,x){Ks(l,d);var E=Vs(d,l.legacyContext),M=Ua(d,x,E);Ha(M,d,x,E),tl(o,l,M,d,x),Bt(l)}var ta={},Xo={},nl={},na={},Zo=!1,ra=!1,oa=!1,ia=!1;function rl(o,l,d,x){var E;if(E=Vs(d,l.legacyContext),gn(l,d),d.prototype&&typeof d.prototype.render=="function"){var M=je(d)||"Unknown";ta[M]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),ta[M]=!0)}var _=el(o,l,d,x,E),N=Yi();if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var n=je(d)||"Unknown";Xo[n]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",n,n,n),Xo[n]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var a=je(d)||"Unknown";Xo[a]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",a,a,a),Xo[a]=!0)}Ha(_,d,x,E),tl(o,l,_,d,x)}else if(ol(d),N){var f=l.treeContext,h=1,k=0;l.treeContext=Wi(f,h,k);try{Ct(o,l,_)}finally{l.treeContext=f}}else Ct(o,l,_);Bt(l)}function ol(o){{if(o&&o.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),typeof o.getDerivedStateFromProps=="function"){var l=je(o)||"Unknown";na[l]||(s("%s: Function components do not support getDerivedStateFromProps.",l),na[l]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var d=je(o)||"Unknown";nl[d]||(s("%s: Function components do not support contextType.",d),nl[d]=!0)}}}function sa(o,l){if(o&&o.defaultProps){var d=Lt({},l),x=o.defaultProps;for(var E in x)d[E]===void 0&&(d[E]=x[E]);return d}return l}function Pu(o,l,d,x,E){gn(l,d.render);var M=el(o,l,d.render,x,E),_=Yi();if(_){var N=l.treeContext,n=1,a=0;l.treeContext=Wi(N,n,a);try{Ct(o,l,M)}finally{l.treeContext=N}}else Ct(o,l,M);Bt(l)}function Au(o,l,d,x,E){var M=d.type,_=sa(M,x);aa(o,l,M,_,E)}function il(o,l,d,x){d._context===void 0?d!==d.Consumer&&(ia||(ia=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var E=x.children;typeof E!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var M=Vo(d),_=E(M);Ct(o,l,_)}function Iu(o,l,d,x){var E=d._context,M=x.value,_=x.children,N;N=l.context,l.context=Va(E,M),Ct(o,l,_),l.context=za(E),N!==l.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Mu(o,l,d,x,E){Zn(l,"Lazy");var M=d._payload,_=d._init,N=_(M),n=sa(N,x);aa(o,l,N,n,E),Bt(l)}function aa(o,l,d,x,E){if(typeof d=="function")if(qi(d)){Ru(o,l,d,x);return}else{rl(o,l,d,x);return}if(typeof d=="string"){Go(o,l,d,x);return}switch(d){case Ei:case Rs:case Ia:case Cs:case Tt:{Ct(o,l,x.children);return}case Io:{Zn(l,"SuspenseList"),Ct(o,l,x.children),Bt(l);return}case Es:throw new Error("ReactDOMServer does not yet support scope components.");case Ao:{ea(o,l,x);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Ci:{Pu(o,l,d,x,E);return}case Mo:{Au(o,l,d,x,E);return}case ki:{Iu(o,l,d,x);return}case Ti:{il(o,l,d,x);return}case Qr:{Mu(o,l,d,x);return}}var M="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+M))}function Du(o,l){typeof Symbol=="function"&&o[Symbol.toStringTag]==="Generator"&&(ra||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ra=!0),o.entries===l&&(oa||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),oa=!0)}function Ct(o,l,d){try{return la(o,l,d)}catch(x){throw typeof x=="object"&&x!==null&&typeof x.then=="function"||(oo=oo!==null?oo:Yo()),x}}function la(o,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case ql:{var x=d,E=x.type,M=x.props,_=x.ref;aa(o,l,E,M,_);return}case Aa:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qr:{var N=d,n=N._payload,a=N._init,f;try{f=a(n)}catch(ae){throw typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&Zn(l,"Lazy"),ae}Ct(o,l,f);return}}if(Tn(d)){sl(o,l,d);return}var h=nu(d);if(h){Du(d,h);var k=h.call(d);if(k){var I=k.next();if(!I.done){var O=[];do O.push(I.value),I=k.next();while(!I.done);sl(o,l,O);return}return}}var U=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var J=l.blockedSegment;J.lastPushedText=Un(l.blockedSegment.chunks,d,o.responseState,J.lastPushedText);return}if(typeof d=="number"){var ie=l.blockedSegment;ie.lastPushedText=Un(l.blockedSegment.chunks,""+d,o.responseState,ie.lastPushedText);return}typeof d=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function sl(o,l,d){for(var x=d.length,E=0;E<x;E++){var M=l.treeContext;l.treeContext=Wi(M,x,E);try{ua(o,l,d[E])}finally{l.treeContext=M}}}function Et(o,l,d){var x=l.blockedSegment,E=x.chunks.length,M=Ki(o,E,null,x.formatContext,x.lastPushedText,!0);x.children.push(M),x.lastPushedText=!1;var _=Qs(o,l.node,l.blockedBoundary,M,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(_.componentStack=l.componentStack.parent);var N=_.ping;d.then(N,N)}function ua(o,l,d){var x=l.blockedSegment.formatContext,E=l.legacyContext,M=l.context,_=null;_=l.componentStack;try{return Ct(o,l,d)}catch(N){if(Gs(),typeof N=="object"&&N!==null&&typeof N.then=="function"){Et(o,l,N),l.blockedSegment.formatContext=x,l.legacyContext=E,l.context=M,Bo(M),l.componentStack=_;return}else throw l.blockedSegment.formatContext=x,l.legacyContext=E,l.context=M,Bo(M),l.componentStack=_,N}}function al(o,l,d,x){var E=Vt(o,x);if(l===null?Jn(o,x):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=E,qs(l,x),l.parentFlushed&&o.clientRenderedBoundaries.push(l))),o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function Ou(o){var l=this,d=o.blockedBoundary,x=o.blockedSegment;x.status=Qi,ll(l,d,x)}function es(o,l,d){var x=o.blockedBoundary,E=o.blockedSegment;if(E.status=Qi,x===null)l.allPendingTasks--,l.status!==Rr&&(l.status=Rr,l.destination!==null&&H(l.destination));else{if(x.pendingTasks--,!x.forceClientRender){x.forceClientRender=!0;var M=d===void 0?new Error("The render was aborted by the server without a reason."):d;x.errorDigest=l.onError(M);{var _="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=_+M.message:M=_+String(M);var N=Dn;Dn=o;try{qs(x,M)}finally{Dn=N}}x.parentFlushed&&l.clientRenderedBoundaries.push(x)}if(x.fallbackAbortableTasks.forEach(function(a){return es(a,l,d)}),x.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var n=l.onAllReady;n()}}}function ts(o,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===Xn&&ts(o,d)}else{var x=o.completedSegments;x.push(l)}}function ll(o,l,d){if(l===null){if(d.parentFlushed){if(o.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");o.completedRootSegment=d}if(o.pendingRootTasks--,o.pendingRootTasks===0){o.onShellError=mn;var x=o.onShellReady;x()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===Xn&&ts(l,d),l.parentFlushed&&o.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(Ou,o),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===Xn){ts(l,d);var E=l.completedSegments;E.length===1&&l.parentFlushed&&o.partialBoundaries.push(l)}}if(o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function ul(o,l){var d=l.blockedSegment;if(d.status===Zs){Bo(l.context);var x=null;x=Dn,Dn=l;try{Ct(o,l,l.node),Nn(d.chunks,o.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=Xn,ll(o,l.blockedBoundary,d)}catch(M){if(Gs(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var E=l.ping;M.then(E,E)}else l.abortSet.delete(l),d.status=Er,al(o,l.blockedBoundary,d,M)}finally{Dn=x}}}function Jo(o){if(o.status!==Rr){var l=Di(),d=Ho.current;Ho.current=Ja;var x;x=Zi.getCurrentStack,Zi.getCurrentStack=Yo;var E=Xs;No(o.responseState);try{var M=o.pingedTasks,_;for(_=0;_<M.length;_++){var N=M[_];ul(o,N)}M.splice(0,_),o.destination!==null&&rs(o,o.destination)}catch(n){Vt(o,n),Jn(o,n)}finally{No(E),Ho.current=d,Zi.getCurrentStack=x,d===Ja&&Bo(l)}}}function Qo(o,l,d){switch(d.parentFlushed=!0,d.status){case Zs:{var x=d.id=o.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,Ur(l,o.responseState,x)}case Xn:{d.status=Ji;for(var E=!0,M=d.chunks,_=0,N=d.children,n=0;n<N.length;n++){for(var a=N[n];_<a.index;_++)w(l,M[_]);E=ns(o,l,a)}for(;_<M.length-1;_++)w(l,M[_]);return _<M.length&&(E=D(l,M[_])),E}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ns(o,l,d){var x=d.boundary;if(x===null)return Qo(o,l,d);if(x.parentFlushed=!0,x.forceClientRender)return ft(l,o.responseState,x.errorDigest,x.errorMessage,x.errorComponentStack),Qo(o,l,d),xs(l,o.responseState);if(x.pendingTasks>0){x.rootSegmentID=o.nextSegmentId++,x.completedSegments.length>0&&o.partialBoundaries.push(x);var E=x.id=dr(o.responseState);return $r(l,o.responseState,E),Qo(o,l,d),Yr(l,o.responseState)}else{if(x.byteSize>o.progressiveChunkSize)return x.rootSegmentID=o.nextSegmentId++,o.completedBoundaries.push(x),$r(l,o.responseState,x.id),Qo(o,l,d),Yr(l,o.responseState);hi(l,o.responseState);var M=x.completedSegments;if(M.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var _=M[0];return ns(o,l,_),pi(l,o.responseState)}}function cl(o,l,d){return Ra(l,o.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Ko(o,l,d){return ve(l,o.responseState,d.formatContext,d.id),ns(o,l,d),Ae(l,d.formatContext)}function qo(o,l,d){for(var x=d.completedSegments,E=0;E<x.length;E++){var M=x[E];ca(o,l,d,M)}return x.length=0,Ss(l,o.responseState,d.id,d.rootSegmentID)}function Fu(o,l,d){for(var x=d.completedSegments,E=0;E<x.length;E++){var M=x[E];if(!ca(o,l,d,M))return E++,x.splice(0,E),!1}return x.splice(0,E),!0}function ca(o,l,d,x){if(x.status===Ji)return!0;var E=x.id;if(E===-1){var M=x.id=d.rootSegmentID;if(M===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ko(o,l,x)}else return Ko(o,l,x),$l(l,o.responseState,E)}function rs(o,l){A();try{var d=o.completedRootSegment;d!==null&&o.pendingRootTasks===0&&(ns(o,l,d),o.completedRootSegment=null,vs(l,o.responseState));var x=o.clientRenderedBoundaries,E;for(E=0;E<x.length;E++){var M=x[E];cl(o,l,M)}x.splice(0,E);var _=o.completedBoundaries;for(E=0;E<_.length;E++){var N=_[E];qo(o,l,N)}_.splice(0,E),L(l),A(l);var n=o.partialBoundaries;for(E=0;E<n.length;E++){var a=n[E];if(!Fu(o,l,a)){o.destination=null,E++,n.splice(0,E);return}}n.splice(0,E);var f=o.completedBoundaries;for(E=0;E<f.length;E++){var h=f[E];qo(o,l,h)}f.splice(0,E)}finally{L(l),o.allPendingTasks===0&&o.pingedTasks.length===0&&o.clientRenderedBoundaries.length===0&&o.completedBoundaries.length===0&&(o.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),H(l))}}function _u(o){g(function(){return Jo(o)})}function fl(o,l){if(o.status===Js){o.status=Rr,Z(l,o.fatalError);return}if(o.status!==Rr&&o.destination===null){o.destination=l;try{rs(o,l)}catch(d){Vt(o,d),Jn(o,d)}}}function os(o,l){try{var d=o.abortableTasks;d.forEach(function(x){return es(x,o,l)}),d.clear(),o.destination!==null&&rs(o,o.destination)}catch(x){Vt(o,x),Jn(o,x)}}function Lu(o,l){return new Promise(function(d,x){var E,M,_=new Promise(function(k,I){M=k,E=I});function N(){var k=new ReadableStream({type:"bytes",pull:function(I){fl(a,I)},cancel:function(I){os(a)}},{highWaterMark:0});k.allReady=_,d(k)}function n(k){_.catch(function(){}),x(k)}var a=Cu(o,En(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),Xt(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,M,N,n,E);if(l&&l.signal){var f=l.signal,h=function(){os(a,f.reason),f.removeEventListener("abort",h)};f.addEventListener("abort",h)}_u(a)})}wl.renderToReadableStream=Lu,wl.version=t}()),wl}var si,pc;process.env.NODE_ENV==="production"?(si=Hb(),pc=$b()):(si=Yb(),pc=Gb());si.version;var Xb=si.renderToString;si.renderToStaticMarkup;si.renderToNodeStream;si.renderToStaticNodeStream;pc.renderToReadableStream;var Zb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qh(e,t){return e(t={exports:{}},t.exports),t.exports}var Jb=Qh(function(e){(function(t){var r=function(B,F,Z){if(!m(F)||A(F)||w(F)||D(F)||S(F))return F;var X,ee=0,ne=0;if(b(F))for(X=[],ne=F.length;ee<ne;ee++)X.push(r(B,F[ee],Z));else for(var te in X={},F)Object.prototype.hasOwnProperty.call(F,te)&&(X[B(te,Z)]=r(B,F[te],Z));return X},i=function(B){return L(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(F,Z){return Z?Z.toUpperCase():""})).substr(0,1).toLowerCase()+B.substr(1)},s=function(B){var F=i(B);return F.substr(0,1).toUpperCase()+F.substr(1)},p=function(B,F){return function(Z,X){var ee=(X=X||{}).separator||"_",ne=X.split||/(?=[A-Z])/;return Z.split(ne).join(ee)}(B,F).toLowerCase()},g=Object.prototype.toString,S=function(B){return typeof B=="function"},m=function(B){return B===Object(B)},b=function(B){return g.call(B)=="[object Array]"},A=function(B){return g.call(B)=="[object Date]"},w=function(B){return g.call(B)=="[object RegExp]"},D=function(B){return g.call(B)=="[object Boolean]"},L=function(B){return(B-=0)==B},H=function(B,F){var Z=F&&"process"in F?F.process:F;return typeof Z!="function"?B:function(X,ee){return Z(X,B,ee)}},Y={camelize:i,decamelize:p,pascalize:s,depascalize:p,camelizeKeys:function(B,F){return r(H(i,F),B)},decamelizeKeys:function(B,F){return r(H(p,F),B,F)},pascalizeKeys:function(B,F){return r(H(s,F),B)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=Y:t.humps=Y})(Zb)}).decamelize,Qb=function(e){if(Array.isArray(e))return e},Kb=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,s=!1,p=void 0;try{for(var g,S=e[Symbol.iterator]();!(i=(g=S.next()).done)&&(r.push(g.value),!t||r.length!==t);i=!0);}catch(m){s=!0,p=m}finally{try{i||S.return==null||S.return()}finally{if(s)throw p}}return r}},ud=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i},qb=function(e,t){if(e){if(typeof e=="string")return ud(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ud(e,t):void 0}},e0=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
110
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},t0=function(e,t){return Qb(e)||Kb(e,t)||qb(e,t)||e0()},Kh=Qh(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(r[p]=s[p])}return r},t.apply(this,arguments)}e.exports=t}),n0=function(e,t){if(e==null)return{};var r,i,s={},p=Object.keys(e);for(i=0;i<p.length;i++)r=p[i],t.indexOf(r)>=0||(s[r]=e[r]);return s},qh=function(e,t){if(e==null)return{};var r,i,s=n0(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(i=0;i<p.length;i++)r=p[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},r0=re.createContext(null);function mc(e){var t=e.children,r=qh(e,["children"]);return typeof t!="string"&&(t=Xb(t)),re.createElement("template",Kh({},r,{dangerouslySetInnerHTML:{__html:t}}))}function gc(e){var t=e.root,r=e.children;return fd.createPortal(r,t)}function o0(e){var t=re.forwardRef(function(r,i){var s,p,g=r.mode,S=r.delegatesFocus,m=r.styleSheets,b=r.ssr,A=r.children,w=qh(r,["mode","delegatesFocus","styleSheets","ssr","children"]),D=(p=re.useRef((s=i)&&s.current),re.useEffect(function(){s&&(s.current=p.current)},[s]),p),L=re.useState(null),H=t0(L,2),Y=H[0],B=H[1],F="node_".concat(g).concat(S);return re.useLayoutEffect(function(){if(D.current)try{if(typeof i=="function"&&i(D.current),b){var Z=D.current.shadowRoot;return void B(Z)}var X=D.current.attachShadow({mode:g,delegatesFocus:S});m.length>0&&(X.adoptedStyleSheets=m),B(X)}catch(ee){(function(ne){var te=ne.error,oe=ne.styleSheets,le=ne.root;switch(te.name){case"NotSupportedError":oe.length>0&&(le.adoptedStyleSheets=oe);break;default:throw te}})({error:ee,styleSheets:m,root:Y})}},[i,D,m]),re.createElement(re.Fragment,null,re.createElement(e.tag,Kh({key:F,ref:D},w),(Y||b)&&re.createElement(r0.Provider,{value:Y},b?re.createElement(mc,{shadowroot:g,shadowrootmode:g},e.render({root:Y,ssr:b,children:A})):re.createElement(gc,{root:Y},e.render({root:Y,ssr:b,children:A})))))});return t.propTypes={mode:he.PropTypes.oneOf(["open","closed"]),delegatesFocus:he.PropTypes.bool,styleSheets:he.PropTypes.arrayOf(he.PropTypes.instanceOf(globalThis.CSSStyleSheet)),ssr:he.PropTypes.bool,children:he.PropTypes.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}mc.propTypes={children:he.PropTypes.oneOfType([he.PropTypes.string,he.PropTypes.node])},mc.defaultProps={children:""},gc.propTypes={root:he.PropTypes.object.isRequired,children:he.PropTypes.node},gc.defaultProps={children:null};var qu=new Map;function i0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,s){var p=Jb(s,{separator:"-"}),g="".concat(t,"-").concat(p);return qu.has(g)||qu.set(g,o0({tag:p,render:r})),qu.get(g)}})}var s0=i0();const a0=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:TT Firs Neue Trl,sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
111
+ `;function l0({children:e,styles:t=[]}){return Q.jsxs(s0.div,{children:[[a0,...t].map((r,i)=>Q.jsx("style",{type:"text/css",children:r},i)),e]})}function u0(){return Q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[Q.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.27V4.23C22 2.64 21.36 2 19.77 2h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"}),Q.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function c0(){return Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:Q.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"})})}const f0=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:.5rem;padding-right:12px}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;color:#85858a}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(90deg)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
112
+ `;function d0(e){return Q.jsx(l0,{styles:[Nb,f0],children:Q.jsx(h0,{...e})})}function h0(e){const{baseUrl:t,menuPath:r,logout:i}=e,s=cd.useLocation(),[p,g]=re.useState([]),[S,m]=re.useState(!1),b=(Jh(p,s.pathname)||[]).filter(Z=>Z.parentKey!==0),[A,w]=re.useState({}),D=Z=>{w({...A,[Z]:!A[Z]})},L=()=>{m(!S)};re.useEffect(()=>{(async()=>{const X=t+(r||"/global-menu-config/api/v1/menu-items/user"),ee=await np.get(X,{withCredentials:!0}).then(te=>te.data),ne={};ee.forEach(te=>{te.children&&(ne[te.id]=!0)}),w(ne),g(ee.map(te=>({...te,parentKey:0})))})()},[t,r]);const[H,Y]=re.useState(!1),B=S?"collapsed":"expanded",F=Z=>`${Z} ${B}`;return Q.jsxs("div",{className:F("side-bar"),children:[Q.jsx("div",{className:F("side-bar__wrapper-toggle-btn"),children:Q.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:L,children:S?Q.jsx(u0,{}):Q.jsx(c0,{})})}),Q.jsx(Nh,{className:F("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:p.map(Z=>{const X=ee=>b.some(ne=>ne.id===ee);return Q.jsx(Zh,{item:Z,isActive:X,isCollapsed:S,expanded:ee=>A[ee],toggleExpand:D},Z.id)})}),Q.jsxs("div",{className:F("side-bar__wrap-btn-logout"),children:[Q.jsxs("button",{className:F("side-bar__logout-btn"),onClick:()=>Y(!0),children:[Q.jsx(Ub,{}),Q.jsx("span",{className:F("side-bar__logout-btn__text"),children:"Logout"})]}),Q.jsx(dd,{isOpen:H,onClose:()=>Y(!1),onConfirm:i})]})]})}exports.GlobalMenu=d0;exports.TopBar=Ty;