@ukpc-lib/react 0.0.6 → 0.0.8

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,111 @@
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"),Es=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 R=mo(P),go="_avartarDropdownMenu_1jszk_13",yo="_navbar_1jszk_31",vo="_userContainer_1jszk_68",xo="_userFullName_1jszk_74",bo="_userAvatar_1jszk_81",To="_relative_1jszk_89",U={"avatar-dropdown-item":"_avatar-dropdown-item_1jszk_1",avartarDropdownMenu:go,navbar:yo,"navbar-container":"_navbar-container_1jszk_42","logo-container":"_logo-container_1jszk_50","right-side-container":"_right-side-container_1jszk_59",userContainer:vo,userFullName:xo,userAvatar:bo,relative:To,"cursor-pointer":"_cursor-pointer_1jszk_93"};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 Ls({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:`${U.navbar} ${i}`,style:s,children:v.jsxs("div",{className:U["navbar-container"],children:[v.jsx("div",{className:U["logo-container"],children:v.jsx("img",{src:r,alt:"logo-header"})}),v.jsxs("div",{className:U["right-side-container"],children:[v.jsxs("div",{className:U.userContainer,children:[v.jsx("p",{className:U.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:U["cursor-pointer"],children:v.jsx(Po,{})}),v.jsx("span",{className:U["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.href}`};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:U.relative,children:[v.jsx("img",{ref:o,onClick:()=>s(c=>!c),alt:"user avatar",className:U.userAvatar,src:t||So}),n&&v.jsx("div",{ref:a,className:U.avartarDropdownMenu,children:v.jsxs("ul",{children:[v.jsx("li",{className:U["avatar-dropdown-item"],children:"Profile"}),v.jsx("li",{onClick:()=>r(!0),className:U["avatar-dropdown-item"],children:"Logout"})]})})]}),v.jsx(Ls,{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 jo(t,e){var n,s;return R.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 Ro(t){return Is(t).defaultView||window}function Os(t,e){typeof t=="function"?t(e):t&&(t.current=e)}const ko=typeof window<"u"?R.useLayoutEffect:R.useEffect,Fs=ko;let Pn=0;function Eo(t){const[e,n]=R.useState(t),s=t||e;return R.useEffect(()=>{e==null&&(Pn+=1,n(`mui-${Pn}`))},[e]),s}const wn=R["useId".toString()];function Lo(t){if(wn!==void 0){const e=wn();return t??e}return Eo(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}=R.useRef(t!==void 0),[r,o]=R.useState(e),a=i?t:r;if(process.env.NODE_ENV!=="production"){R.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}=R.useRef(e);R.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=R.useCallback(c=>{i||o(c)},[]);return[a,l]}function Oo(t){const e=R.useRef(t);return Fs(()=>{e.current=t}),R.useRef((...n)=>(0,e.current)(...n)).current}function Fo(...t){return R.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=R.useCallback(i=>{i!=null&&Wo(i.ownerDocument)},[]),e=R.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=R.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=R.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,R.memo(R.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:jo,ownerDocument:Is,ownerWindow:Ro,requirePropFactory:C.requirePropFactory,setRef:Os,unstable_ClassNameGenerator:Qo,unstable_useEnhancedEffect:Fs,unstable_useId:Lo,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 R.createElement(re.Provider,{value:h},c&&h.visualElement?R.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},Rt={...mt,transform:t=>rt(0,1,t)},Gt={...mt,default:1},kt=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)},jn={...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:Rt,originX:Dn,originY:Dn,originZ:w,zIndex:jn,fillOpacity:Rt,strokeOpacity:Rt,numOctaves:jn};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 jr({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 Rr(t,e,n){const s=t.style||{},i={};return Js(i,s,t),Object.assign(i,jr(t,e,n)),t.transformValues?t.transformValues(i):i}function kr(t,e,n){const s={},i=Rr(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 Er=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")||Er.has(t)}let ti=t=>!Zt(t);function Lr(t){t&&(ti=e=>e.startsWith("on")?!Zt(e):t(e))}try{Lr(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 Rn(t,e,n){return typeof t=="string"?t:w.transform(e+n*t)}function Ir(t,e,n){const s=Rn(e,t.x,t.width),i=Rn(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:kr)(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 L=t=>t;class kn{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 kn,n=new kn,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:L,!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 En=li("dragHorizontal"),Ln=li("dragVertical");function ci(t){let e=!1;if(t==="y")e=Ln();else if(t==="x")e=En();else{const n=En(),s=Ln();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=L,this.removeEndListeners=L,this.removeAccessibleListeners=L,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 je=new WeakMap,ve=new WeakMap,ia=t=>{const e=je.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 je.set(t,n),s.observe(t),()=>{je.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=L,q=L;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 jt=([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:jt([0,.65,.55,1]),circOut:jt([.55,0,1,.45]),backIn:jt([.31,.01,.66,-.59]),backOut:jt([.33,1.53,.69,.99])};function gi(t){if(t)return di(t)?jt(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 L;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:L,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)+", "+kt(Rt.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 Re={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(kt(e))+", "+H.transform(kt(n))+", "+kt(Rt.transform(s))+")"},N={test:t=>dt.test(t)||Re.test(t)||bt.test(t),parse:t=>dt.test(t)?dt.parse(t):bt.test(t)?bt.parse(t):Re.parse(t),transform:t=>Nt(t)?t:t.hasOwnProperty("red")?dt.transform(t):bt.transform(t)},k=(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=[Re,dt,bt],ja=t=>Da.find(e=>e.test(t));function Fn(t){const e=ja(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=k(n.alpha,s.alpha,r),dt.transform(i))};function Ra(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:L},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,kt(o[l]));return a}}const ka=t=>typeof t=="number"?0:t;function Ea(t){const e=Mi(t);return Di(t)(e.map(ka))}const at={test:Ra,parse:Mi,createTransformer:Di,getAnimatableNone:Ea},ji=(t,e)=>n=>`${n>0?e:t}`;function Ri(t,e){return typeof t=="number"?n=>k(t,e,n):N.test(t)?Si(t,e):t.startsWith("var(")?ji(t,e):Ei(t,e)}const ki=(t,e)=>{const n=[...t],s=n.length,i=t.map((r,o)=>Ri(r,e[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}},La=(t,e)=>{const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=Ri(t[i],e[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}},Ei=(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(ki(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.`),ji(t,e))},Ot=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Nn=(t,e)=>n=>k(t,e,n);function Ba(t){return typeof t=="number"?Nn:typeof t=="string"?N.test(t)?Si:Ei:Array.isArray(t)?ki:typeof t=="object"?La: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]||L:e;a=it(l,a)}s.push(a)}return s}function Li(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(k(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=Li(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=ke(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=ke(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 ke(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=ke(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 E=y(A),K=g(A);h.done=Math.abs(E)<=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 E=!1;return!V&&S===void 0&&(E=!0,b(A),D(A)),S!==void 0&&A>S?V.next(A-S):(!E&&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(j=>{m=j})};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=Li([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,E=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=j=>{if(E===null)return;d>0&&(E=Math.min(E,j)),d<0&&(E=Math.min(j-Y/d,E)),A!==null?F=A:F=Math.round(j-E)*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(),E=K=null},Ct=()=>{D="finished",u&&u(),I(),m()},vt=()=>{if(p)return;y||(y=n(yt));const j=y.now();l&&l(),A!==null?E=j-A:(!E||D==="finished")&&(E=j),D==="finished"&&T(),K=E,A=null,D="running",y.start()};t&&vt();const yn={then(j,At){return x.then(j,At)},get time(){return J(F)},set time(j){j=ot(j),F=j,A!==null||!y||d===0?A=j:E=y.now()-j/d},get duration(){const j=S.calculatedDuration===null?Gn(S):S.calculatedDuration;return J(j)},get speed(){return d},set speed(j){j===d||!y||(d=j,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:j=>(E=0,yt(j))};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,L},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:L,pause:L,stop:L,then:r=>(r(),Promise.resolve()),cancel:L,complete:L});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,Ee=(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,Le={...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:Le,WebkitFilter:Le},cn=t=>pl[t];function Fi(t,e){let n=cn(t);return n!==Le&&(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=Ee(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=Ee(t,c),h=Ee(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 jl(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&&!jl(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 Rl(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 Rl(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(kl).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 kl(t,e){return t.sortNodePosition(e)}function El(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 Ll=[...Xe].reverse(),Bl=Xe.length;function Il(t){return e=>Promise.all(e.map(({animation:n,options:s})=>El(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=Ll[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 E=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=>{E=!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&&(E=!1),E&&(!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 z(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=k(e.min,e.max,t.origin),t.scale=z(n)/z(e),(Ie(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=k(n.min,n.max,t.origin)-t.originPoint,(Ie(t.translate)||isNaN(t.translate))&&(t.translate=0)}function Et(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+z(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+z(e)}function Lt(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?k(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?k(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=z(t),i=z(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 G(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=k(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),G(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=z(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=()=>G(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&&G(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=G(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(){G(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){G(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){G(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]-k(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};G(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(),G(o=>{if(!Ht(o,e,null))return;const a=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];a.set(k(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&&(G(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=L,this.removeListeners=L,this.controls=new ac(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||L}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=L}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=k(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=k(0,n.opacity!==void 0?n.opacity:1,yc(s)),t.opacityExit=k(e.opacity!==void 0?e.opacity:1,0,vc(s))):r&&(t.opacity=k(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(k(cs(l),cs(c),s),0),(H.test(c)||H.test(l))&&(t[a]+="%")):t[a]=c}(e.rotate||n.rotate)&&(t.rotate=k(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,L);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 W(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=k(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=k(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 z(t.x)/z(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"],jc={visibility:"hidden"},bs=1e3;let Rc=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=Rc++,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(Lc),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(kc),this.nodes.forEach(Ec),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();W(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){W(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();W(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();W(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();W(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(),Lt(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),W(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):W(this.target,this.layout.layoutBox),Ki(this.target,this.targetDelta)):W(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(),Lt(this.relativeTargetOrigin,this.target,d.target),W(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;W(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;Et(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&&(Lt(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()),W(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=z(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=z(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}W(a,l),Pt(a,u),Et(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 jc;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 kc(t){t.updateLayout()}function Ec(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"?G(f=>{const h=o?n.measuredBox[f]:n.layoutBox[f],d=z(h);h.min=s[f].min,h.max=h.min+d}):so(r,n.layoutBox,s)&&G(f=>{const h=o?n.measuredBox[f]:n.layoutBox[f],d=z(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();Et(a,s,n.layoutBox);const l=Tt();o?Et(l,t.applyTransform(i,!0),n.measuredBox):Et(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();Lt(p,n.layoutBox,h.layoutBox);const m=B();Lt(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 Lc(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=k(e.translate,0,n),t.scale=k(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ss(t,e,n,s){t.min=k(e.min,n.min,s),t.max=k(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:L;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 js=new WeakMap,ao=Object.keys(It),uu=ao.length,Rs=["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,js.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(){js.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<Rs.length;s++){const i=Rs[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 ks(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),ks(s.path||"")===ks(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=Es.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.href}`},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(Ls,{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(Es.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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("react/jsx-runtime"),oe=require("react"),Jf=require("react-dom"),vn=require("../index-bdfc5a2d.cjs"),Qf=require("react-router-dom"),Bh=require("axios");function Vh(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 Qe=Vh(oe);var Ko={};/**
2
+ * @license React
3
+ * react-dom-server-legacy.browser.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Oc;function zh(){if(Oc)return Ko;Oc=1;var e=oe;function t(u){for(var g="https://reactjs.org/docs/error-decoder.html?invariant="+u,C=1;C<arguments.length;C++)g+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+u+"; visit "+g+" 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={},m={};function y(u){return r.call(m,u)?!0:r.call(s,u)?!1:i.test(u)?m[u]=!0:(s[u]=!0,!1)}function S(u,g,C,R,z,j,H){this.acceptsBooleans=g===2||g===3||g===4,this.attributeName=R,this.attributeNamespace=z,this.mustUseProperty=C,this.propertyName=u,this.type=g,this.sanitizeURL=j,this.removeEmptyString=H}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){p[u]=new S(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var g=u[0];p[g]=new S(g,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){p[u]=new S(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){p[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){p[u]=new S(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){p[u]=new S(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){p[u]=new S(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){p[u]=new S(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){p[u]=new S(u,5,!1,u.toLowerCase(),null,!1,!1)});var x=/[\-:]([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 g=u.replace(x,A);p[g]=new S(g,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){p[u]=new S(u,1,!1,u.toLowerCase(),null,!1,!1)}),p.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){p[u]=new S(u,1,!1,u.toLowerCase(),null,!0,!0)});var T={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(T).forEach(function(u){D.forEach(function(g){g=g+u.charAt(0).toUpperCase()+u.substring(1),T[g]=T[u]})});var _=/["'&<>]/;function $(u){if(typeof u=="boolean"||typeof u=="number")return""+u;u=""+u;var g=_.exec(u);if(g){var C="",R,z=0;for(R=g.index;R<u.length;R++){switch(u.charCodeAt(R)){case 34:g="&quot;";break;case 38:g="&amp;";break;case 39:g="&#x27;";break;case 60:g="&lt;";break;case 62:g="&gt;";break;default:continue}z!==R&&(C+=u.substring(z,R)),z=R+1,C+=g}u=z!==R?C+u.substring(z,R):C}return u}var G=/([A-Z])/g,B=/^ms-/,F=Array.isArray;function Z(u,g){return{insertionMode:u,selectedValue:g}}function X(u,g,C){switch(g){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 q=new Map;function te(u,g,C){if(typeof C!="object")throw Error(t(62));g=!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=$(R);z=$((""+z).trim())}else{j=R;var H=q.get(j);H!==void 0||(H=$(j.replace(G,"-$1").toLowerCase().replace(B,"-ms-")),q.set(j,H)),j=H,z=typeof z=="number"?z===0||r.call(T,R)?""+z:z+"px":$((""+z).trim())}g?(g=!1,u.push(' style="',j,":",z)):u.push(";",j,":",z)}}g||u.push('"')}function ee(u,g,C,R){switch(C){case"style":te(u,g,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(g=p.hasOwnProperty(C)?p[C]:null,g!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}switch(C=g.attributeName,g.type){case 3:R&&u.push(" ",C,'=""');break;case 4:R===!0?u.push(" ",C,'=""'):R!==!1&&u.push(" ",C,'="',$(R),'"');break;case 5:isNaN(R)||u.push(" ",C,'="',$(R),'"');break;case 6:!isNaN(R)&&1<=R&&u.push(" ",C,'="',$(R),'"');break;default:g.sanitizeURL&&(R=""+R),u.push(" ",C,'="',$(R),'"')}}else if(y(C)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(g=C.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-")return}u.push(" ",C,'="',$(R),'"')}}}function re(u,g,C){if(g!=null){if(C!=null)throw Error(t(60));if(typeof g!="object"||!("__html"in g))throw Error(t(61));g=g.__html,g!=null&&u.push(""+g)}}function le(u){var g="";return e.Children.forEach(u,function(C){C!=null&&(g+=C)}),g}function ce(u,g,C,R){u.push(we(C));var z=C=null,j;for(j in g)if(r.call(g,j)){var H=g[j];if(H!=null)switch(j){case"children":C=H;break;case"dangerouslySetInnerHTML":z=H;break;default:ee(u,R,j,H)}}return u.push(">"),re(u,z,C),typeof C=="string"?(u.push($(C)),null):C}var ze=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ne=new Map;function we(u){var g=Ne.get(u);if(g===void 0){if(!ze.test(u))throw Error(t(65,u));g="<"+u,Ne.set(u,g)}return g}function He(u,g,C,R,z){switch(g){case"select":u.push(we("select"));var j=null,H=null;for(ue in C)if(r.call(C,ue)){var Q=C[ue];if(Q!=null)switch(ue){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;case"defaultValue":case"value":break;default:ee(u,R,ue,Q)}}return u.push(">"),re(u,H,j),j;case"option":H=z.selectedValue,u.push(we("option"));var ae=Q=null,fe=null,ue=null;for(j in C)if(r.call(C,j)){var ye=C[j];if(ye!=null)switch(j){case"children":Q=ye;break;case"selected":fe=ye;break;case"dangerouslySetInnerHTML":ue=ye;break;case"value":ae=ye;default:ee(u,R,j,ye)}}if(H!=null)if(C=ae!==null?""+ae:le(Q),F(H)){for(R=0;R<H.length;R++)if(""+H[R]===C){u.push(' selected=""');break}}else""+H===C&&u.push(' selected=""');else fe&&u.push(' selected=""');return u.push(">"),re(u,ue,Q),Q;case"textarea":u.push(we("textarea")),ue=H=j=null;for(Q in C)if(r.call(C,Q)&&(ae=C[Q],ae!=null))switch(Q){case"children":ue=ae;break;case"value":j=ae;break;case"defaultValue":H=ae;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:ee(u,R,Q,ae)}if(j===null&&H!==null&&(j=H),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]===`
10
+ `&&u.push(`
11
+ `),j!==null&&u.push($(""+j)),null;case"input":u.push(we("input")),ae=ue=Q=j=null;for(H in C)if(r.call(C,H)&&(fe=C[H],fe!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ae=fe;break;case"defaultValue":Q=fe;break;case"checked":ue=fe;break;case"value":j=fe;break;default:ee(u,R,H,fe)}return ue!==null?ee(u,R,"checked",ue):ae!==null&&ee(u,R,"checked",ae),j!==null?ee(u,R,"value",j):Q!==null&&ee(u,R,"value",Q),u.push("/>"),null;case"menuitem":u.push(we("menuitem"));for(var lt in C)if(r.call(C,lt)&&(j=C[lt],j!=null))switch(lt){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:ee(u,R,lt,j)}return u.push(">"),null;case"title":u.push(we("title")),j=null;for(ye in C)if(r.call(C,ye)&&(H=C[ye],H!=null))switch(ye){case"children":j=H;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:ee(u,R,ye,H)}return u.push(">"),j;case"listing":case"pre":u.push(we(g)),H=j=null;for(ae in C)if(r.call(C,ae)&&(Q=C[ae],Q!=null))switch(ae){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;default:ee(u,R,ae,Q)}if(u.push(">"),H!=null){if(j!=null)throw Error(t(60));if(typeof H!="object"||!("__html"in H))throw Error(t(61));C=H.__html,C!=null&&(typeof C=="string"&&0<C.length&&C[0]===`
12
+ `?u.push(`
13
+ `,C):u.push(""+C))}return typeof j=="string"&&j[0]===`
14
+ `&&u.push(`
15
+ `),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(we(g));for(var et in C)if(r.call(C,et)&&(j=C[et],j!=null))switch(et){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,g));default:ee(u,R,et,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,g,R);case"html":return z.insertionMode===0&&u.push("<!DOCTYPE html>"),ce(u,C,g,R);default:if(g.indexOf("-")===-1&&typeof C.is!="string")return ce(u,C,g,R);u.push(we(g)),H=j=null;for(fe in C)if(r.call(C,fe)&&(Q=C[fe],Q!=null))switch(fe){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;case"style":te(u,R,Q);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(fe)&&typeof Q!="function"&&typeof Q!="symbol"&&u.push(" ",fe,'="',$(Q),'"')}return u.push(">"),re(u,H,j),j}}function Ce(u,g,C){if(u.push('<!--$?--><template id="'),C===null)throw Error(t(395));return u.push(C),u.push('"></template>')}function dt(u,g,C,R){switch(C.insertionMode){case 0:case 1:return u.push('<div hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 2:return u.push('<svg aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 3:return u.push('<math aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 4:return u.push('<table hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 5:return u.push('<table hidden><tbody id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 6:return u.push('<table hidden><tr id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 7:return u.push('<table hidden><colgroup id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');default:throw Error(t(397))}}function Pe(u,g){switch(g.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 ot=/[<\u2028\u2029]/g;function Ze(u){return JSON.stringify(u).replace(ot,function(g){switch(g){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 je(u,g){return g=g===void 0?"":g,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:g+"P:",segmentPrefix:g+"S:",boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:u}}function Ut(u,g,C,R){return C.generateStaticMarkup?(u.push($(g)),!1):(g===""?u=R:(R&&u.push("<!-- -->"),u.push($(g)),u=!0),u)}var he=Object.assign,Se=Symbol.for("react.element"),Nt=Symbol.for("react.portal"),mt=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),ke=Symbol.for("react.profiler"),Rt=Symbol.for("react.provider"),Ht=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),it=Symbol.for("react.suspense"),Ie=Symbol.for("react.suspense_list"),yn=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),qe=Symbol.for("react.scope"),On=Symbol.for("react.debug_trace_mode"),bn=Symbol.for("react.legacy_hidden"),Mr=Symbol.for("react.default_value"),gt=Symbol.iterator;function xn(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 mt:return"Fragment";case Nt:return"Portal";case ke:return"Profiler";case Ae:return"StrictMode";case it:return"Suspense";case Ie:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case Ht:return(u.displayName||"Context")+".Consumer";case Rt:return(u._context.displayName||"Context")+".Provider";case Ge:var g=u.render;return u=u.displayName,u||(u=g.displayName||g.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case yn:return g=u.displayName||null,g!==null?g:xn(u.type)||"Memo";case $e:g=u._payload,u=u._init;try{return xn(u(g))}catch{}}return null}var Sn={};function Dr(u,g){if(u=u.contextTypes,!u)return Sn;var C={},R;for(R in u)C[R]=g[R];return C}var vt=null;function Je(u,g){if(u!==g){u.context._currentValue2=u.parentValue,u=u.parent;var C=g.parent;if(u===null){if(C!==null)throw Error(t(401))}else{if(C===null)throw Error(t(401));Je(u,C)}g.context._currentValue2=g.value}}function We(u){u.context._currentValue2=u.parentValue,u=u.parent,u!==null&&We(u)}function Qn(u){var g=u.parent;g!==null&&Qn(g),u.context._currentValue2=u.value}function Kn(u,g){if(u.context._currentValue2=u.parentValue,u=u.parent,u===null)throw Error(t(402));u.depth===g.depth?Je(u,g):Kn(u,g)}function qn(u,g){var C=g.parent;if(C===null)throw Error(t(402));u.depth===C.depth?Je(u,C):qn(u,C),g.context._currentValue2=g.value}function Be(u){var g=vt;g!==u&&(g===null?Qn(u):u===null?We(g):g.depth===u.depth?Je(g,u):g.depth>u.depth?Kn(g,u):qn(g,u),vt=u)}var er={isMounted:function(){return!1},enqueueSetState:function(u,g){u=u._reactInternals,u.queue!==null&&u.queue.push(g)},enqueueReplaceState:function(u,g){u=u._reactInternals,u.replace=!0,u.queue=[g]},enqueueForceUpdate:function(){}};function Or(u,g,C,R){var z=u.state!==void 0?u.state:null;u.updater=er,u.props=C,u.state=z;var j={queue:[],replace:!1};u._reactInternals=j;var H=g.contextType;if(u.context=typeof H=="object"&&H!==null?H._currentValue2:R,H=g.getDerivedStateFromProps,typeof H=="function"&&(H=H(C,z),z=H==null?z:he({},z,H),u.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function"))if(g=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),g!==u.state&&er.enqueueReplaceState(u,u.state,null),j.queue!==null&&0<j.queue.length)if(g=j.queue,H=j.replace,j.queue=null,j.replace=!1,H&&g.length===1)u.state=g[0];else{for(j=H?g[0]:u.state,z=!0,H=H?1:0;H<g.length;H++){var Q=g[H];Q=typeof Q=="function"?Q.call(u,j,C,R):Q,Q!=null&&(z?(z=!1,j=he({},j,Q)):he(j,Q))}u.state=j}else j.queue=null}var Fr={id:1,overflow:""};function tr(u,g,C){var R=u.id;u=u.overflow;var z=32-Fn(R)-1;R&=~(1<<z),C+=1;var j=32-Fn(g)+z;if(30<j){var H=z-z%5;return j=(R&(1<<H)-1).toString(32),R>>=H,z-=H,{id:1<<32-Fn(g)+z|C<<z|R,overflow:j+u}}return{id:1<<j|C<<z|R,overflow:u}}var Fn=Math.clz32?Math.clz32:qt,po=Math.log,nr=Math.LN2;function qt(u){return u>>>=0,u===0?32:31-(po(u)/nr|0)|0}function rr(u,g){return u===g&&(u!==0||1/u===1/g)||u!==u&&g!==g}var Lr=typeof Object.is=="function"?Object.is:rr,at=null,Pt=null,en=null,xe=null,tn=!1,Ln=!1,wn=0,At=null,_n=0;function $t(){if(at===null)throw Error(t(321));return at}function Fe(){if(0<_n)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function or(){return xe===null?en===null?(tn=!1,en=xe=Fe()):(tn=!0,xe=en):xe.next===null?(tn=!1,xe=xe.next=Fe()):(tn=!0,xe=xe.next),xe}function ir(){Pt=at=null,Ln=!1,en=null,_n=0,xe=At=null}function _r(u,g){return typeof g=="function"?g(u):g}function Ve(u,g,C){if(at=$t(),xe=or(),tn){var R=xe.queue;if(g=R.dispatch,At!==null&&(C=At.get(R),C!==void 0)){At.delete(R),R=xe.memoizedState;do R=u(R,C.action),C=C.next;while(C!==null);return xe.memoizedState=R,[R,g]}return[xe.memoizedState,g]}return u=u===_r?typeof g=="function"?g():g:C!==void 0?C(g):g,xe.memoizedState=u,u=xe.queue={last:null,dispatch:null},u=u.dispatch=mo.bind(null,at,u),[xe.memoizedState,u]}function ar(u,g){if(at=$t(),xe=or(),g=g===void 0?null:g,xe!==null){var C=xe.memoizedState;if(C!==null&&g!==null){var R=C[1];e:if(R===null)R=!1;else{for(var z=0;z<R.length&&z<g.length;z++)if(!Lr(g[z],R[z])){R=!1;break e}R=!0}if(R)return C[0]}}return u=u(),xe.memoizedState=[u,g],u}function mo(u,g,C){if(25<=_n)throw Error(t(301));if(u===at)if(Ln=!0,u={action:C,next:null},At===null&&(At=new Map),C=At.get(g),C===void 0)At.set(g,u);else{for(g=C;g.next!==null;)g=g.next;g.next=u}}function go(){throw Error(t(394))}function It(){}var sr={readContext:function(u){return u._currentValue2},useContext:function(u){return $t(),u._currentValue2},useMemo:ar,useReducer:Ve,useRef:function(u){at=$t(),xe=or();var g=xe.memoizedState;return g===null?(u={current:u},xe.memoizedState=u):g},useState:function(u){return Ve(_r,u)},useInsertionEffect:It,useLayoutEffect:function(){},useCallback:function(u,g){return ar(function(){return u},g)},useImperativeHandle:It,useEffect:It,useDebugValue:It,useDeferredValue:function(u){return $t(),u},useTransition:function(){return $t(),[!1,go]},useId:function(){var u=Pt.treeContext,g=u.overflow;u=u.id,u=(u&~(1<<32-Fn(u)-1)).toString(32)+g;var C=jn;if(C===null)throw Error(t(404));return g=wn++,u=":"+C.idPrefix+"R"+u,0<g&&(u+="H"+g.toString(32)),u+":"},useMutableSource:function(u,g){return $t(),g(u._source)},useSyncExternalStore:function(u,g,C){if(C===void 0)throw Error(t(407));return C()}},jn=null,lr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function kn(u){return console.error(u),null}function nn(){}function vo(u,g,C,R,z,j,H,Q,ae){var fe=[],ue=new Set;return g={destination:null,responseState:g,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?kn:z,onAllReady:j===void 0?nn:j,onShellReady:H===void 0?nn:H,onShellError:Q===void 0?nn:Q,onFatalError:ae===void 0?nn:ae},C=Bn(g,0,null,C,!1,!1),C.parentFlushed=!0,u=ur(g,u,null,C,ue,Sn,null,Fr),fe.push(u),g}function ur(u,g,C,R,z,j,H,Q){u.allPendingTasks++,C===null?u.pendingRootTasks++:C.pendingTasks++;var ae={node:g,ping:function(){var fe=u.pingedTasks;fe.push(ae),fe.length===1&&st(u)},blockedBoundary:C,blockedSegment:R,abortSet:z,legacyContext:j,context:H,treeContext:Q};return z.add(ae),ae}function Bn(u,g,C,R,z,j){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:C,lastPushedText:z,textEmbedded:j}}function rn(u,g){if(u=u.onError(g),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 Yt(u,g){var C=u.onShellError;C(g),C=u.onFatalError,C(g),u.destination!==null?(u.status=2,u.destination.destroy(g)):(u.status=1,u.fatalError=g)}function Mt(u,g,C,R,z){for(at={},Pt=g,wn=0,u=C(R,z);Ln;)Ln=!1,wn=0,_n+=1,xe=null,u=C(R,z);return ir(),u}function Tn(u,g,C,R){var z=C.render(),j=R.childContextTypes;if(j!=null){var H=g.legacyContext;if(typeof C.getChildContext!="function")R=H;else{C=C.getChildContext();for(var Q in C)if(!(Q in j))throw Error(t(108,xn(R)||"Unknown",Q));R=he({},H,C)}g.legacyContext=R,De(u,g,z),g.legacyContext=H}else De(u,g,z)}function Cn(u,g){if(u&&u.defaultProps){g=he({},g),u=u.defaultProps;for(var C in u)g[C]===void 0&&(g[C]=u[C]);return g}return g}function ht(u,g,C,R,z){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){z=Dr(C,g.legacyContext);var j=C.contextType;j=new C(R,typeof j=="object"&&j!==null?j._currentValue2:z),Or(j,C,R,z),Tn(u,g,j,C)}else{j=Dr(C,g.legacyContext),z=Mt(u,g,C,R,j);var H=wn!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Or(z,C,R,j),Tn(u,g,z,C);else if(H){R=g.treeContext,g.treeContext=tr(R,1,0);try{De(u,g,z)}finally{g.treeContext=R}}else De(u,g,z)}else if(typeof C=="string"){switch(z=g.blockedSegment,j=He(z.chunks,C,R,u.responseState,z.formatContext),z.lastPushedText=!1,H=z.formatContext,z.formatContext=X(H,C,R),yt(u,g,j),z.formatContext=H,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 bn:case On:case Ae:case ke:case mt:De(u,g,R.children);return;case Ie:De(u,g,R.children);return;case qe:throw Error(t(343));case it:e:{C=g.blockedBoundary,z=g.blockedSegment,j=R.fallback,R=R.children,H=new Set;var Q={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:H,errorDigest:null},ae=Bn(u,z.chunks.length,Q,z.formatContext,!1,!1);z.children.push(ae),z.lastPushedText=!1;var fe=Bn(u,0,null,z.formatContext,!1,!1);fe.parentFlushed=!0,g.blockedBoundary=Q,g.blockedSegment=fe;try{if(yt(u,g,R),u.responseState.generateStaticMarkup||fe.lastPushedText&&fe.textEmbedded&&fe.chunks.push("<!-- -->"),fe.status=1,Ot(Q,fe),Q.pendingTasks===0)break e}catch(ue){fe.status=4,Q.forceClientRender=!0,Q.errorDigest=rn(u,ue)}finally{g.blockedBoundary=C,g.blockedSegment=z}g=ur(u,j,C,ae,H,g.legacyContext,g.context,g.treeContext),u.pingedTasks.push(g)}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Ge:if(R=Mt(u,g,C.render,R,z),wn!==0){C=g.treeContext,g.treeContext=tr(C,1,0);try{De(u,g,R)}finally{g.treeContext=C}}else De(u,g,R);return;case yn:C=C.type,R=Cn(C,R),ht(u,g,C,R,z);return;case Rt:if(z=R.children,C=C._context,R=R.value,j=C._currentValue2,C._currentValue2=R,H=vt,vt=R={parent:H,depth:H===null?0:H.depth+1,context:C,parentValue:j,value:R},g.context=R,De(u,g,z),u=vt,u===null)throw Error(t(403));R=u.parentValue,u.context._currentValue2=R===Mr?u.context._defaultValue:R,u=vt=u.parent,g.context=u;return;case Ht:R=R.children,R=R(C._currentValue2),De(u,g,R);return;case $e:z=C._init,C=z(C._payload),R=Cn(C,R),ht(u,g,C,R,void 0);return}throw Error(t(130,C==null?C:typeof C,""))}}function De(u,g,C){if(g.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case Se:ht(u,g,C.type,C.props,C.ref);return;case Nt:throw Error(t(257));case $e:var R=C._init;C=R(C._payload),De(u,g,C);return}if(F(C)){Dt(u,g,C);return}if(C===null||typeof C!="object"?R=null:(R=gt&&C[gt]||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);Dt(u,g,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=g.blockedSegment,R.lastPushedText=Ut(g.blockedSegment.chunks,C,u.responseState,R.lastPushedText)):typeof C=="number"&&(R=g.blockedSegment,R.lastPushedText=Ut(g.blockedSegment.chunks,""+C,u.responseState,R.lastPushedText))}function Dt(u,g,C){for(var R=C.length,z=0;z<R;z++){var j=g.treeContext;g.treeContext=tr(j,R,z);try{yt(u,g,C[z])}finally{g.treeContext=j}}}function yt(u,g,C){var R=g.blockedSegment.formatContext,z=g.legacyContext,j=g.context;try{return De(u,g,C)}catch(ae){if(ir(),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"){C=ae;var H=g.blockedSegment,Q=Bn(u,H.chunks.length,null,H.formatContext,H.lastPushedText,!0);H.children.push(Q),H.lastPushedText=!1,u=ur(u,g.node,g.blockedBoundary,Q,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,C.then(u,u),g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=j,Be(j)}else throw g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=j,Be(j),ae}}function Xe(u){var g=u.blockedBoundary;u=u.blockedSegment,u.status=3,Ft(this,g,u)}function Vn(u,g,C){var R=u.blockedBoundary;u.blockedSegment.status=3,R===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.push(null))):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,u=C===void 0?Error(t(432)):C,R.errorDigest=g.onError(u),R.parentFlushed&&g.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(z){return Vn(z,g,C)}),R.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(R=g.onAllReady,R()))}function Ot(u,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var C=g.children[0];C.id=g.id,C.parentFlushed=!0,C.status===1&&Ot(u,C)}else u.completedSegments.push(g)}function Ft(u,g,C){if(g===null){if(C.parentFlushed){if(u.completedRootSegment!==null)throw Error(t(389));u.completedRootSegment=C}u.pendingRootTasks--,u.pendingRootTasks===0&&(u.onShellError=nn,g=u.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(C.parentFlushed&&C.status===1&&Ot(g,C),g.parentFlushed&&u.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(Xe,u),g.fallbackAbortableTasks.clear()):C.parentFlushed&&C.status===1&&(Ot(g,C),g.completedSegments.length===1&&g.parentFlushed&&u.partialBoundaries.push(g)));u.allPendingTasks--,u.allPendingTasks===0&&(u=u.onAllReady,u())}function st(u){if(u.status!==2){var g=vt,C=lr.current;lr.current=sr;var R=jn;jn=u.responseState;try{var z=u.pingedTasks,j;for(j=0;j<z.length;j++){var H=z[j],Q=u,ae=H.blockedSegment;if(ae.status===0){Be(H.context);try{De(Q,H,H.node),Q.responseState.generateStaticMarkup||ae.lastPushedText&&ae.textEmbedded&&ae.chunks.push("<!-- -->"),H.abortSet.delete(H),ae.status=1,Ft(Q,H.blockedBoundary,ae)}catch(tt){if(ir(),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"){var fe=H.ping;tt.then(fe,fe)}else{H.abortSet.delete(H),ae.status=4;var ue=H.blockedBoundary,ye=tt,lt=rn(Q,ye);if(ue===null?Yt(Q,ye):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.errorDigest=lt,ue.parentFlushed&&Q.clientRenderedBoundaries.push(ue))),Q.allPendingTasks--,Q.allPendingTasks===0){var et=Q.onAllReady;et()}}}finally{}}}z.splice(0,j),u.destination!==null&&an(u,u.destination)}catch(tt){rn(u,tt),Yt(u,tt)}finally{jn=R,lr.current=C,C===sr&&Be(g)}}}function Gt(u,g,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,g.push('<template id="'),g.push(u.placeholderPrefix),u=R.toString(16),g.push(u),g.push('"></template>');case 1:C.status=2;var z=!0;R=C.chunks;var j=0;C=C.children;for(var H=0;H<C.length;H++){for(z=C[H];j<z.index;j++)g.push(R[j]);z=on(u,g,z)}for(;j<R.length-1;j++)g.push(R[j]);return j<R.length&&(z=g.push(R[j])),z;default:throw Error(t(390))}}function on(u,g,C){var R=C.boundary;if(R===null)return Gt(u,g,C);if(R.parentFlushed=!0,R.forceClientRender)return u.responseState.generateStaticMarkup||(R=R.errorDigest,g.push("<!--$!-->"),g.push("<template"),R&&(g.push(' data-dgst="'),R=$(R),g.push(R),g.push('"')),g.push("></template>")),Gt(u,g,C),u=u.responseState.generateStaticMarkup?!0:g.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,Ce(g,u.responseState,R),Gt(u,g,C),g.push("<!--/$-->")}if(R.byteSize>u.progressiveChunkSize)return R.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(R),Ce(g,u.responseState,R.id),Gt(u,g,C),g.push("<!--/$-->");if(u.responseState.generateStaticMarkup||g.push("<!--$-->"),C=R.completedSegments,C.length!==1)throw Error(t(391));return on(u,g,C[0]),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u}function cr(u,g,C){return dt(g,u.responseState,C.formatContext,C.id),on(u,g,C),Pe(g,C.formatContext)}function fr(u,g,C){for(var R=C.completedSegments,z=0;z<R.length;z++)zn(u,g,C,R[z]);if(R.length=0,u=u.responseState,R=C.id,C=C.rootSegmentID,g.push(u.startInlineScript),u.sentCompleteBoundaryFunction?g.push('$RC("'):(u.sentCompleteBoundaryFunction=!0,g.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),g.push(R),g.push('","'),g.push(u.segmentPrefix),g.push(C),g.push('")<\/script>')}function zn(u,g,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 cr(u,g,R)}return cr(u,g,R),u=u.responseState,g.push(u.startInlineScript),u.sentCompleteSegmentFunction?g.push('$RS("'):(u.sentCompleteSegmentFunction=!0,g.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("')),g.push(u.segmentPrefix),z=z.toString(16),g.push(z),g.push('","'),g.push(u.placeholderPrefix),g.push(z),g.push('")<\/script>')}function an(u,g){try{var C=u.completedRootSegment;if(C!==null&&u.pendingRootTasks===0){on(u,g,C),u.completedRootSegment=null;var R=u.responseState.bootstrapChunks;for(C=0;C<R.length-1;C++)g.push(R[C]);C<R.length&&g.push(R[C])}var z=u.clientRenderedBoundaries,j;for(j=0;j<z.length;j++){var H=z[j];R=g;var Q=u.responseState,ae=H.id,fe=H.errorDigest,ue=H.errorMessage,ye=H.errorComponentStack;if(R.push(Q.startInlineScript),Q.sentClientRenderFunction?R.push('$RX("'):(Q.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("')),ae===null)throw Error(t(395));if(R.push(ae),R.push('"'),fe||ue||ye){R.push(",");var lt=Ze(fe||"");R.push(lt)}if(ue||ye){R.push(",");var et=Ze(ue||"");R.push(et)}if(ye){R.push(",");var tt=Ze(ye);R.push(tt)}if(!R.push(")<\/script>")){u.destination=null,j++,z.splice(0,j);return}}z.splice(0,j);var Xt=u.completedBoundaries;for(j=0;j<Xt.length;j++)if(!fr(u,g,Xt[j])){u.destination=null,j++,Xt.splice(0,j);return}Xt.splice(0,j);var bt=u.partialBoundaries;for(j=0;j<bt.length;j++){var Nn=bt[j];e:{z=u,H=g;var sn=Nn.completedSegments;for(Q=0;Q<sn.length;Q++)if(!zn(z,H,Nn,sn[Q])){Q++,sn.splice(0,Q);var En=!1;break e}sn.splice(0,Q),En=!0}if(!En){u.destination=null,j++,bt.splice(0,j);return}}bt.splice(0,j);var Zt=u.completedBoundaries;for(j=0;j<Zt.length;j++)if(!fr(u,g,Zt[j])){u.destination=null,j++,Zt.splice(0,j);return}Zt.splice(0,j)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&g.push(null)}}function dr(u,g){try{var C=u.abortableTasks;C.forEach(function(R){return Vn(R,u,g)}),C.clear(),u.destination!==null&&an(u,u.destination)}catch(R){rn(u,R),Yt(u,R)}}function Wn(){}function Un(u,g,C,R){var z=!1,j=null,H="",Q={push:function(fe){return fe!==null&&(H+=fe),!0},destroy:function(fe){z=!0,j=fe}},ae=!1;if(u=vo(u,je(C,g?g.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wn,void 0,function(){ae=!0},void 0,void 0),st(u),dr(u,R),u.status===1)u.status=2,Q.destroy(u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=Q;try{an(u,Q)}catch(fe){rn(u,fe),Yt(u,fe)}}if(z)throw j;if(!ae)throw Error(t(426));return H}return Ko.renderToNodeStream=function(){throw Error(t(207))},Ko.renderToStaticMarkup=function(u,g){return Un(u,g,!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')},Ko.renderToStaticNodeStream=function(){throw Error(t(208))},Ko.renderToString=function(u,g){return Un(u,g,!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')},Ko.version="18.2.0",Ko}var hl={};/**
16
+ * @license React
17
+ * react-dom-server.browser.production.min.js
18
+ *
19
+ * Copyright (c) Facebook, Inc. and its affiliates.
20
+ *
21
+ * This source code is licensed under the MIT license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */var Fc;function Wh(){if(Fc)return hl;Fc=1;var e=oe;function t(c){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+c,k=1;k<arguments.length;k++)v+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+c+"; visit "+v+" 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,v){if(v.length!==0)if(512<v.length)0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),c.enqueue(v);else{var k=r.length-i;k<v.length&&(k===0?c.enqueue(r):(r.set(v.subarray(0,k),i),c.enqueue(r),v=v.subarray(k)),r=new Uint8Array(512),i=0),r.set(v,i),i+=v.length}}function m(c,v){return s(c,v),!0}function y(c){r&&0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var S=new TextEncoder;function p(c){return S.encode(c)}function x(c){return S.encode(c)}function A(c,v){typeof c.error=="function"?c.error(v):c.close()}var T=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]*$/,_={},$={};function G(c){return T.call($,c)?!0:T.call(_,c)?!1:D.test(c)?$[c]=!0:(_[c]=!0,!1)}function B(c,v,k,P,W,V,Y){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=P,this.attributeNamespace=W,this.mustUseProperty=k,this.propertyName=c,this.type=v,this.sanitizeURL=V,this.removeEmptyString=Y}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 v=c[0];F[v]=new B(v,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 v=c.replace(Z,X);F[v]=new B(v,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,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 q={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},te=["Webkit","ms","Moz","O"];Object.keys(q).forEach(function(c){te.forEach(function(v){v=v+c.charAt(0).toUpperCase()+c.substring(1),q[v]=q[c]})});var ee=/["'&<>]/;function re(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var v=ee.exec(c);if(v){var k="",P,W=0;for(P=v.index;P<c.length;P++){switch(c.charCodeAt(P)){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}W!==P&&(k+=c.substring(W,P)),W=P+1,k+=v}c=W!==P?k+c.substring(W,P):k}return c}var le=/([A-Z])/g,ce=/^ms-/,ze=Array.isArray,Ne=x("<script>"),we=x("<\/script>"),He=x('<script src="'),Ce=x('<script type="module" src="'),dt=x('" async=""><\/script>'),Pe=/(<\/|<)(s)(cript)/gi;function ot(c,v,k,P){return""+v+(k==="s"?"\\u0073":"\\u0053")+P}function Ze(c,v,k,P,W){c=c===void 0?"":c,v=v===void 0?Ne:x('<script nonce="'+re(v)+'">');var V=[];if(k!==void 0&&V.push(v,p((""+k).replace(Pe,ot)),we),P!==void 0)for(k=0;k<P.length;k++)V.push(He,p(re(P[k])),dt);if(W!==void 0)for(P=0;P<W.length;P++)V.push(Ce,p(re(W[P])),dt);return{bootstrapChunks:V,startInlineScript:v,placeholderPrefix:x(c+"P:"),segmentPrefix:x(c+"S:"),boundaryPrefix:c+"B:",idPrefix:c,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function je(c,v){return{insertionMode:c,selectedValue:v}}function Ut(c){return je(c==="http://www.w3.org/2000/svg"?2:c==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function he(c,v,k){switch(v){case"select":return je(1,k.value!=null?k.value:k.defaultValue);case"svg":return je(2,null);case"math":return je(3,null);case"foreignObject":return je(1,null);case"table":return je(4,null);case"thead":case"tbody":case"tfoot":return je(5,null);case"colgroup":return je(7,null);case"tr":return je(6,null)}return 4<=c.insertionMode||c.insertionMode===0?je(1,null):c}var Se=x("<!-- -->");function Nt(c,v,k,P){return v===""?P:(P&&c.push(Se),c.push(p(re(v))),!0)}var mt=new Map,Ae=x(' style="'),ke=x(":"),Rt=x(";");function Ht(c,v,k){if(typeof k!="object")throw Error(t(62));v=!0;for(var P in k)if(T.call(k,P)){var W=k[P];if(W!=null&&typeof W!="boolean"&&W!==""){if(P.indexOf("--")===0){var V=p(re(P));W=p(re((""+W).trim()))}else{V=P;var Y=mt.get(V);Y!==void 0||(Y=x(re(V.replace(le,"-$1").toLowerCase().replace(ce,"-ms-"))),mt.set(V,Y)),V=Y,W=typeof W=="number"?W===0||T.call(q,P)?p(""+W):p(W+"px"):p(re((""+W).trim()))}v?(v=!1,c.push(Ae,V,ke,W)):c.push(Rt,V,ke,W)}}v||c.push(Ie)}var Ge=x(" "),it=x('="'),Ie=x('"'),yn=x('=""');function $e(c,v,k,P){switch(k){case"style":Ht(c,v,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<k.length)||k[0]!=="o"&&k[0]!=="O"||k[1]!=="n"&&k[1]!=="N"){if(v=F.hasOwnProperty(k)?F[k]:null,v!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!v.acceptsBooleans)return}switch(k=p(v.attributeName),v.type){case 3:P&&c.push(Ge,k,yn);break;case 4:P===!0?c.push(Ge,k,yn):P!==!1&&c.push(Ge,k,it,p(re(P)),Ie);break;case 5:isNaN(P)||c.push(Ge,k,it,p(re(P)),Ie);break;case 6:!isNaN(P)&&1<=P&&c.push(Ge,k,it,p(re(P)),Ie);break;default:v.sanitizeURL&&(P=""+P),c.push(Ge,k,it,p(re(P)),Ie)}}else if(G(k)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(v=k.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-")return}c.push(Ge,p(k),it,p(re(P)),Ie)}}}var qe=x(">"),On=x("/>");function bn(c,v,k){if(v!=null){if(k!=null)throw Error(t(60));if(typeof v!="object"||!("__html"in v))throw Error(t(61));v=v.__html,v!=null&&c.push(p(""+v))}}function Mr(c){var v="";return e.Children.forEach(c,function(k){k!=null&&(v+=k)}),v}var gt=x(' selected=""');function xn(c,v,k,P){c.push(Je(k));var W=k=null,V;for(V in v)if(T.call(v,V)){var Y=v[V];if(Y!=null)switch(V){case"children":k=Y;break;case"dangerouslySetInnerHTML":W=Y;break;default:$e(c,P,V,Y)}}return c.push(qe),bn(c,W,k),typeof k=="string"?(c.push(p(re(k))),null):k}var Sn=x(`
24
+ `),Dr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,vt=new Map;function Je(c){var v=vt.get(c);if(v===void 0){if(!Dr.test(c))throw Error(t(65,c));v=x("<"+c),vt.set(c,v)}return v}var We=x("<!DOCTYPE html>");function Qn(c,v,k,P,W){switch(v){case"select":c.push(Je("select"));var V=null,Y=null;for(ge in k)if(T.call(k,ge)){var K=k[ge];if(K!=null)switch(ge){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;case"defaultValue":case"value":break;default:$e(c,P,ge,K)}}return c.push(qe),bn(c,Y,V),V;case"option":Y=W.selectedValue,c.push(Je("option"));var de=K=null,ve=null,ge=null;for(V in k)if(T.call(k,V)){var Re=k[V];if(Re!=null)switch(V){case"children":K=Re;break;case"selected":ve=Re;break;case"dangerouslySetInnerHTML":ge=Re;break;case"value":de=Re;default:$e(c,P,V,Re)}}if(Y!=null)if(k=de!==null?""+de:Mr(K),ze(Y)){for(P=0;P<Y.length;P++)if(""+Y[P]===k){c.push(gt);break}}else""+Y===k&&c.push(gt);else ve&&c.push(gt);return c.push(qe),bn(c,ge,K),K;case"textarea":c.push(Je("textarea")),ge=Y=V=null;for(K in k)if(T.call(k,K)&&(de=k[K],de!=null))switch(K){case"children":ge=de;break;case"value":V=de;break;case"defaultValue":Y=de;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:$e(c,P,K,de)}if(V===null&&Y!==null&&(V=Y),c.push(qe),ge!=null){if(V!=null)throw Error(t(92));if(ze(ge)&&1<ge.length)throw Error(t(93));V=""+ge}return typeof V=="string"&&V[0]===`
25
+ `&&c.push(Sn),V!==null&&c.push(p(re(""+V))),null;case"input":c.push(Je("input")),de=ge=K=V=null;for(Y in k)if(T.call(k,Y)&&(ve=k[Y],ve!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":de=ve;break;case"defaultValue":K=ve;break;case"checked":ge=ve;break;case"value":V=ve;break;default:$e(c,P,Y,ve)}return ge!==null?$e(c,P,"checked",ge):de!==null&&$e(c,P,"checked",de),V!==null?$e(c,P,"value",V):K!==null&&$e(c,P,"value",K),c.push(On),null;case"menuitem":c.push(Je("menuitem"));for(var ft in k)if(T.call(k,ft)&&(V=k[ft],V!=null))switch(ft){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:$e(c,P,ft,V)}return c.push(qe),null;case"title":c.push(Je("title")),V=null;for(Re in k)if(T.call(k,Re)&&(Y=k[Re],Y!=null))switch(Re){case"children":V=Y;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:$e(c,P,Re,Y)}return c.push(qe),V;case"listing":case"pre":c.push(Je(v)),Y=V=null;for(de in k)if(T.call(k,de)&&(K=k[de],K!=null))switch(de){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;default:$e(c,P,de,K)}if(c.push(qe),Y!=null){if(V!=null)throw Error(t(60));if(typeof Y!="object"||!("__html"in Y))throw Error(t(61));k=Y.__html,k!=null&&(typeof k=="string"&&0<k.length&&k[0]===`
26
+ `?c.push(Sn,p(k)):c.push(p(""+k)))}return typeof V=="string"&&V[0]===`
27
+ `&&c.push(Sn),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(Je(v));for(var St in k)if(T.call(k,St)&&(V=k[St],V!=null))switch(St){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,v));default:$e(c,P,St,V)}return c.push(On),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 xn(c,k,v,P);case"html":return W.insertionMode===0&&c.push(We),xn(c,k,v,P);default:if(v.indexOf("-")===-1&&typeof k.is!="string")return xn(c,k,v,P);c.push(Je(v)),Y=V=null;for(ve in k)if(T.call(k,ve)&&(K=k[ve],K!=null))switch(ve){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;case"style":Ht(c,P,K);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:G(ve)&&typeof K!="function"&&typeof K!="symbol"&&c.push(Ge,p(ve),it,p(re(K)),Ie)}return c.push(qe),bn(c,Y,V),V}}var Kn=x("</"),qn=x(">"),Be=x('<template id="'),er=x('"></template>'),Or=x("<!--$-->"),Fr=x('<!--$?--><template id="'),tr=x('"></template>'),Fn=x("<!--$!-->"),po=x("<!--/$-->"),nr=x("<template"),qt=x('"'),rr=x(' data-dgst="');x(' data-msg="'),x(' data-stck="');var Lr=x("></template>");function at(c,v,k){if(s(c,Fr),k===null)throw Error(t(395));return s(c,k),m(c,tr)}var Pt=x('<div hidden id="'),en=x('">'),xe=x("</div>"),tn=x('<svg aria-hidden="true" style="display:none" id="'),Ln=x('">'),wn=x("</svg>"),At=x('<math aria-hidden="true" style="display:none" id="'),_n=x('">'),$t=x("</math>"),Fe=x('<table hidden id="'),or=x('">'),ir=x("</table>"),_r=x('<table hidden><tbody id="'),Ve=x('">'),ar=x("</tbody></table>"),mo=x('<table hidden><tr id="'),go=x('">'),It=x("</tr></table>"),sr=x('<table hidden><colgroup id="'),jn=x('">'),lr=x("</colgroup></table>");function kn(c,v,k,P){switch(k.insertionMode){case 0:case 1:return s(c,Pt),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,en);case 2:return s(c,tn),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,Ln);case 3:return s(c,At),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,_n);case 4:return s(c,Fe),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,or);case 5:return s(c,_r),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,Ve);case 6:return s(c,mo),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,go);case 7:return s(c,sr),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,jn);default:throw Error(t(397))}}function nn(c,v){switch(v.insertionMode){case 0:case 1:return m(c,xe);case 2:return m(c,wn);case 3:return m(c,$t);case 4:return m(c,ir);case 5:return m(c,ar);case 6:return m(c,It);case 7:return m(c,lr);default:throw Error(t(397))}}var vo=x('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("'),ur=x('$RS("'),Bn=x('","'),rn=x('")<\/script>'),Yt=x('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("'),Mt=x('$RC("'),Tn=x('","'),Cn=x('")<\/script>'),ht=x('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("'),De=x('$RX("'),Dt=x('"'),yt=x(")<\/script>"),Xe=x(","),Vn=/[<\u2028\u2029]/g;function Ot(c){return JSON.stringify(c).replace(Vn,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")}})}var Ft=Object.assign,st=Symbol.for("react.element"),Gt=Symbol.for("react.portal"),on=Symbol.for("react.fragment"),cr=Symbol.for("react.strict_mode"),fr=Symbol.for("react.profiler"),zn=Symbol.for("react.provider"),an=Symbol.for("react.context"),dr=Symbol.for("react.forward_ref"),Wn=Symbol.for("react.suspense"),Un=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),g=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"),H=Symbol.iterator;function Q(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 on:return"Fragment";case Gt:return"Portal";case fr:return"Profiler";case cr:return"StrictMode";case Wn:return"Suspense";case Un:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case an:return(c.displayName||"Context")+".Consumer";case zn:return(c._context.displayName||"Context")+".Provider";case dr:var v=c.render;return c=c.displayName,c||(c=v.displayName||v.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case u:return v=c.displayName||null,v!==null?v:Q(c.type)||"Memo";case g:v=c._payload,c=c._init;try{return Q(c(v))}catch{}}return null}var ae={};function fe(c,v){if(c=c.contextTypes,!c)return ae;var k={},P;for(P in c)k[P]=v[P];return k}var ue=null;function ye(c,v){if(c!==v){c.context._currentValue=c.parentValue,c=c.parent;var k=v.parent;if(c===null){if(k!==null)throw Error(t(401))}else{if(k===null)throw Error(t(401));ye(c,k)}v.context._currentValue=v.value}}function lt(c){c.context._currentValue=c.parentValue,c=c.parent,c!==null&&lt(c)}function et(c){var v=c.parent;v!==null&&et(v),c.context._currentValue=c.value}function tt(c,v){if(c.context._currentValue=c.parentValue,c=c.parent,c===null)throw Error(t(402));c.depth===v.depth?ye(c,v):tt(c,v)}function Xt(c,v){var k=v.parent;if(k===null)throw Error(t(402));c.depth===k.depth?ye(c,k):Xt(c,k),v.context._currentValue=v.value}function bt(c){var v=ue;v!==c&&(v===null?et(c):c===null?lt(v):v.depth===c.depth?ye(v,c):v.depth>c.depth?tt(v,c):Xt(v,c),ue=c)}var Nn={isMounted:function(){return!1},enqueueSetState:function(c,v){c=c._reactInternals,c.queue!==null&&c.queue.push(v)},enqueueReplaceState:function(c,v){c=c._reactInternals,c.replace=!0,c.queue=[v]},enqueueForceUpdate:function(){}};function sn(c,v,k,P){var W=c.state!==void 0?c.state:null;c.updater=Nn,c.props=k,c.state=W;var V={queue:[],replace:!1};c._reactInternals=V;var Y=v.contextType;if(c.context=typeof Y=="object"&&Y!==null?Y._currentValue:P,Y=v.getDerivedStateFromProps,typeof Y=="function"&&(Y=Y(k,W),W=Y==null?W:Ft({},W,Y),c.state=W),typeof v.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(v=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),v!==c.state&&Nn.enqueueReplaceState(c,c.state,null),V.queue!==null&&0<V.queue.length)if(v=V.queue,Y=V.replace,V.queue=null,V.replace=!1,Y&&v.length===1)c.state=v[0];else{for(V=Y?v[0]:c.state,W=!0,Y=Y?1:0;Y<v.length;Y++){var K=v[Y];K=typeof K=="function"?K.call(c,V,k,P):K,K!=null&&(W?(W=!1,V=Ft({},V,K)):Ft(V,K))}c.state=V}else V.queue=null}var En={id:1,overflow:""};function Zt(c,v,k){var P=c.id;c=c.overflow;var W=32-hr(P)-1;P&=~(1<<W),k+=1;var V=32-hr(v)+W;if(30<V){var Y=W-W%5;return V=(P&(1<<Y)-1).toString(32),P>>=Y,W-=Y,{id:1<<32-hr(v)+W|k<<W|P,overflow:V+c}}return{id:1<<V|k<<W|P,overflow:c}}var hr=Math.clz32?Math.clz32:yo,da=Math.log,ha=Math.LN2;function yo(c){return c>>>=0,c===0?32:31-(da(c)/ha|0)|0}function pa(c,v){return c===v&&(c!==0||1/c===1/v)||c!==c&&v!==v}var bo=typeof Object.is=="function"?Object.is:pa,Jt=null,pr=null,jr=null,Ee=null,ln=!1,ut=!1,Rn=0,un=null,Br=0;function cn(){if(Jt===null)throw Error(t(321));return Jt}function xt(){if(0<Br)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function xo(){return Ee===null?jr===null?(ln=!1,jr=Ee=xt()):(ln=!0,Ee=jr):Ee.next===null?(ln=!1,Ee=Ee.next=xt()):(ln=!0,Ee=Ee.next),Ee}function So(){pr=Jt=null,ut=!1,jr=null,Br=0,Ee=un=null}function si(c,v){return typeof v=="function"?v(c):v}function li(c,v,k){if(Jt=cn(),Ee=xo(),ln){var P=Ee.queue;if(v=P.dispatch,un!==null&&(k=un.get(P),k!==void 0)){un.delete(P),P=Ee.memoizedState;do P=c(P,k.action),k=k.next;while(k!==null);return Ee.memoizedState=P,[P,v]}return[Ee.memoizedState,v]}return c=c===si?typeof v=="function"?v():v:k!==void 0?k(v):v,Ee.memoizedState=c,c=Ee.queue={last:null,dispatch:null},c=c.dispatch=ma.bind(null,Jt,c),[Ee.memoizedState,c]}function ui(c,v){if(Jt=cn(),Ee=xo(),v=v===void 0?null:v,Ee!==null){var k=Ee.memoizedState;if(k!==null&&v!==null){var P=k[1];e:if(P===null)P=!1;else{for(var W=0;W<P.length&&W<v.length;W++)if(!bo(v[W],P[W])){P=!1;break e}P=!0}if(P)return k[0]}}return c=c(),Ee.memoizedState=[c,v],c}function ma(c,v,k){if(25<=Br)throw Error(t(301));if(c===Jt)if(ut=!0,c={action:k,next:null},un===null&&(un=new Map),k=un.get(v),k===void 0)un.set(v,c);else{for(v=k;v.next!==null;)v=v.next;v.next=c}}function ga(){throw Error(t(394))}function Vr(){}var zr={readContext:function(c){return c._currentValue},useContext:function(c){return cn(),c._currentValue},useMemo:ui,useReducer:li,useRef:function(c){Jt=cn(),Ee=xo();var v=Ee.memoizedState;return v===null?(c={current:c},Ee.memoizedState=c):v},useState:function(c){return li(si,c)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(c,v){return ui(function(){return c},v)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(c){return cn(),c},useTransition:function(){return cn(),[!1,ga]},useId:function(){var c=pr.treeContext,v=c.overflow;c=c.id,c=(c&~(1<<32-hr(c)-1)).toString(32)+v;var k=Wr;if(k===null)throw Error(t(404));return v=Rn++,c=":"+k.idPrefix+"R"+c,0<v&&(c+="H"+v.toString(32)),c+":"},useMutableSource:function(c,v){return cn(),v(c._source)},useSyncExternalStore:function(c,v,k){if(k===void 0)throw Error(t(407));return k()}},Wr=null,mr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function va(c){return console.error(c),null}function gr(){}function wo(c,v,k,P,W,V,Y,K,de){var ve=[],ge=new Set;return v={destination:null,responseState:v,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ge,pingedTasks:ve,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?va:W,onAllReady:V===void 0?gr:V,onShellReady:Y===void 0?gr:Y,onShellError:K===void 0?gr:K,onFatalError:de===void 0?gr:de},k=Hn(v,0,null,k,!1,!1),k.parentFlushed=!0,c=ko(v,c,null,k,ge,ae,null,En),ve.push(c),v}function ko(c,v,k,P,W,V,Y,K){c.allPendingTasks++,k===null?c.pendingRootTasks++:k.pendingTasks++;var de={node:v,ping:function(){var ve=c.pingedTasks;ve.push(de),ve.length===1&&mi(c)},blockedBoundary:k,blockedSegment:P,abortSet:W,legacyContext:V,context:Y,treeContext:K};return W.add(de),de}function Hn(c,v,k,P,W,V){return{status:0,id:-1,index:v,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:k,lastPushedText:W,textEmbedded:V}}function $n(c,v){if(c=c.onError(v),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 Ur(c,v){var k=c.onShellError;k(v),k=c.onFatalError,k(v),c.destination!==null?(c.status=2,A(c.destination,v)):(c.status=1,c.fatalError=v)}function ci(c,v,k,P,W){for(Jt={},pr=v,Rn=0,c=k(P,W);ut;)ut=!1,Rn=0,Br+=1,Ee=null,c=k(P,W);return So(),c}function To(c,v,k,P){var W=k.render(),V=P.childContextTypes;if(V!=null){var Y=v.legacyContext;if(typeof k.getChildContext!="function")P=Y;else{k=k.getChildContext();for(var K in k)if(!(K in V))throw Error(t(108,Q(P)||"Unknown",K));P=Ft({},Y,k)}v.legacyContext=P,ct(c,v,W),v.legacyContext=Y}else ct(c,v,W)}function fi(c,v){if(c&&c.defaultProps){v=Ft({},v),c=c.defaultProps;for(var k in c)v[k]===void 0&&(v[k]=c[k]);return v}return v}function Nr(c,v,k,P,W){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){W=fe(k,v.legacyContext);var V=k.contextType;V=new k(P,typeof V=="object"&&V!==null?V._currentValue:W),sn(V,k,P,W),To(c,v,V,k)}else{V=fe(k,v.legacyContext),W=ci(c,v,k,P,V);var Y=Rn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)sn(W,k,P,V),To(c,v,W,k);else if(Y){P=v.treeContext,v.treeContext=Zt(P,1,0);try{ct(c,v,W)}finally{v.treeContext=P}}else ct(c,v,W)}else if(typeof k=="string"){switch(W=v.blockedSegment,V=Qn(W.chunks,k,P,c.responseState,W.formatContext),W.lastPushedText=!1,Y=W.formatContext,W.formatContext=he(Y,k,P),Hr(c,v,V),W.formatContext=Y,k){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(Kn,p(k),qn)}W.lastPushedText=!1}else{switch(k){case z:case R:case cr:case fr:case on:ct(c,v,P.children);return;case Un:ct(c,v,P.children);return;case C:throw Error(t(343));case Wn:e:{k=v.blockedBoundary,W=v.blockedSegment,V=P.fallback,P=P.children,Y=new Set;var K={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Y,errorDigest:null},de=Hn(c,W.chunks.length,K,W.formatContext,!1,!1);W.children.push(de),W.lastPushedText=!1;var ve=Hn(c,0,null,W.formatContext,!1,!1);ve.parentFlushed=!0,v.blockedBoundary=K,v.blockedSegment=ve;try{if(Hr(c,v,P),ve.lastPushedText&&ve.textEmbedded&&ve.chunks.push(Se),ve.status=1,$r(K,ve),K.pendingTasks===0)break e}catch(ge){ve.status=4,K.forceClientRender=!0,K.errorDigest=$n(c,ge)}finally{v.blockedBoundary=k,v.blockedSegment=W}v=ko(c,V,k,de,Y,v.legacyContext,v.context,v.treeContext),c.pingedTasks.push(v)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case dr:if(P=ci(c,v,k.render,P,W),Rn!==0){k=v.treeContext,v.treeContext=Zt(k,1,0);try{ct(c,v,P)}finally{v.treeContext=k}}else ct(c,v,P);return;case u:k=k.type,P=fi(k,P),Nr(c,v,k,P,W);return;case zn:if(W=P.children,k=k._context,P=P.value,V=k._currentValue,k._currentValue=P,Y=ue,ue=P={parent:Y,depth:Y===null?0:Y.depth+1,context:k,parentValue:V,value:P},v.context=P,ct(c,v,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,v.context=c;return;case an:P=P.children,P=P(k._currentValue),ct(c,v,P);return;case g:W=k._init,k=W(k._payload),P=fi(k,P),Nr(c,v,k,P,void 0);return}throw Error(t(130,k==null?k:typeof k,""))}}function ct(c,v,k){if(v.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case st:Nr(c,v,k.type,k.props,k.ref);return;case Gt:throw Error(t(257));case g:var P=k._init;k=P(k._payload),ct(c,v,k);return}if(ze(k)){di(c,v,k);return}if(k===null||typeof k!="object"?P=null:(P=H&&k[H]||k["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(k))){if(k=P.next(),!k.done){var W=[];do W.push(k.value),k=P.next();while(!k.done);di(c,v,W)}return}throw c=Object.prototype.toString.call(k),Error(t(31,c==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":c))}typeof k=="string"?(P=v.blockedSegment,P.lastPushedText=Nt(v.blockedSegment.chunks,k,c.responseState,P.lastPushedText)):typeof k=="number"&&(P=v.blockedSegment,P.lastPushedText=Nt(v.blockedSegment.chunks,""+k,c.responseState,P.lastPushedText))}function di(c,v,k){for(var P=k.length,W=0;W<P;W++){var V=v.treeContext;v.treeContext=Zt(V,P,W);try{Hr(c,v,k[W])}finally{v.treeContext=V}}}function Hr(c,v,k){var P=v.blockedSegment.formatContext,W=v.legacyContext,V=v.context;try{return ct(c,v,k)}catch(de){if(So(),typeof de=="object"&&de!==null&&typeof de.then=="function"){k=de;var Y=v.blockedSegment,K=Hn(c,Y.chunks.length,null,Y.formatContext,Y.lastPushedText,!0);Y.children.push(K),Y.lastPushedText=!1,c=ko(c,v.node,v.blockedBoundary,K,v.abortSet,v.legacyContext,v.context,v.treeContext).ping,k.then(c,c),v.blockedSegment.formatContext=P,v.legacyContext=W,v.context=V,bt(V)}else throw v.blockedSegment.formatContext=P,v.legacyContext=W,v.context=V,bt(V),de}}function ya(c){var v=c.blockedBoundary;c=c.blockedSegment,c.status=3,pi(this,v,c)}function hi(c,v,k){var P=c.blockedBoundary;c.blockedSegment.status=3,P===null?(v.allPendingTasks--,v.status!==2&&(v.status=2,v.destination!==null&&v.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,c=k===void 0?Error(t(432)):k,P.errorDigest=v.onError(c),P.parentFlushed&&v.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(W){return hi(W,v,k)}),P.fallbackAbortableTasks.clear(),v.allPendingTasks--,v.allPendingTasks===0&&(P=v.onAllReady,P()))}function $r(c,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null){var k=v.children[0];k.id=v.id,k.parentFlushed=!0,k.status===1&&$r(c,k)}else c.completedSegments.push(v)}function pi(c,v,k){if(v===null){if(k.parentFlushed){if(c.completedRootSegment!==null)throw Error(t(389));c.completedRootSegment=k}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=gr,v=c.onShellReady,v())}else v.pendingTasks--,v.forceClientRender||(v.pendingTasks===0?(k.parentFlushed&&k.status===1&&$r(v,k),v.parentFlushed&&c.completedBoundaries.push(v),v.fallbackAbortableTasks.forEach(ya,c),v.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&($r(v,k),v.completedSegments.length===1&&v.parentFlushed&&c.partialBoundaries.push(v)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function mi(c){if(c.status!==2){var v=ue,k=mr.current;mr.current=zr;var P=Wr;Wr=c.responseState;try{var W=c.pingedTasks,V;for(V=0;V<W.length;V++){var Y=W[V],K=c,de=Y.blockedSegment;if(de.status===0){bt(Y.context);try{ct(K,Y,Y.node),de.lastPushedText&&de.textEmbedded&&de.chunks.push(Se),Y.abortSet.delete(Y),de.status=1,pi(K,Y.blockedBoundary,de)}catch(wt){if(So(),typeof wt=="object"&&wt!==null&&typeof wt.then=="function"){var ve=Y.ping;wt.then(ve,ve)}else{Y.abortSet.delete(Y),de.status=4;var ge=Y.blockedBoundary,Re=wt,ft=$n(K,Re);if(ge===null?Ur(K,Re):(ge.pendingTasks--,ge.forceClientRender||(ge.forceClientRender=!0,ge.errorDigest=ft,ge.parentFlushed&&K.clientRenderedBoundaries.push(ge))),K.allPendingTasks--,K.allPendingTasks===0){var St=K.onAllReady;St()}}}finally{}}}W.splice(0,V),c.destination!==null&&Co(c,c.destination)}catch(wt){$n(c,wt),Ur(c,wt)}finally{Wr=P,mr.current=k,k===zr&&bt(v)}}}function Yr(c,v,k){switch(k.parentFlushed=!0,k.status){case 0:var P=k.id=c.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,c=c.responseState,s(v,Be),s(v,c.placeholderPrefix),c=p(P.toString(16)),s(v,c),m(v,er);case 1:k.status=2;var W=!0;P=k.chunks;var V=0;k=k.children;for(var Y=0;Y<k.length;Y++){for(W=k[Y];V<W.index;V++)s(v,P[V]);W=Gr(c,v,W)}for(;V<P.length-1;V++)s(v,P[V]);return V<P.length&&(W=m(v,P[V])),W;default:throw Error(t(390))}}function Gr(c,v,k){var P=k.boundary;if(P===null)return Yr(c,v,k);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,m(v,Fn),s(v,nr),P&&(s(v,rr),s(v,p(re(P))),s(v,qt)),m(v,Lr),Yr(c,v,k);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=x(W.boundaryPrefix+V.toString(16)),P=P.id=W,at(v,c.responseState,P),Yr(c,v,k)}else if(P.byteSize>c.progressiveChunkSize)P.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(P),at(v,c.responseState,P.id),Yr(c,v,k);else{if(m(v,Or),k=P.completedSegments,k.length!==1)throw Error(t(391));Gr(c,v,k[0])}return m(v,po)}function gi(c,v,k){return kn(v,c.responseState,k.formatContext,k.id),Gr(c,v,k),nn(v,k.formatContext)}function vi(c,v,k){for(var P=k.completedSegments,W=0;W<P.length;W++)yi(c,v,k,P[W]);if(P.length=0,c=c.responseState,P=k.id,k=k.rootSegmentID,s(v,c.startInlineScript),c.sentCompleteBoundaryFunction?s(v,Mt):(c.sentCompleteBoundaryFunction=!0,s(v,Yt)),P===null)throw Error(t(395));return k=p(k.toString(16)),s(v,P),s(v,Tn),s(v,c.segmentPrefix),s(v,k),m(v,Cn)}function yi(c,v,k,P){if(P.status===2)return!0;var W=P.id;if(W===-1){if((P.id=k.rootSegmentID)===-1)throw Error(t(392));return gi(c,v,P)}return gi(c,v,P),c=c.responseState,s(v,c.startInlineScript),c.sentCompleteSegmentFunction?s(v,ur):(c.sentCompleteSegmentFunction=!0,s(v,vo)),s(v,c.segmentPrefix),W=p(W.toString(16)),s(v,W),s(v,Bn),s(v,c.placeholderPrefix),s(v,W),m(v,rn)}function Co(c,v){r=new Uint8Array(512),i=0;try{var k=c.completedRootSegment;if(k!==null&&c.pendingRootTasks===0){Gr(c,v,k),c.completedRootSegment=null;var P=c.responseState.bootstrapChunks;for(k=0;k<P.length-1;k++)s(v,P[k]);k<P.length&&m(v,P[k])}var W=c.clientRenderedBoundaries,V;for(V=0;V<W.length;V++){var Y=W[V];P=v;var K=c.responseState,de=Y.id,ve=Y.errorDigest,ge=Y.errorMessage,Re=Y.errorComponentStack;if(s(P,K.startInlineScript),K.sentClientRenderFunction?s(P,De):(K.sentClientRenderFunction=!0,s(P,ht)),de===null)throw Error(t(395));s(P,de),s(P,Dt),(ve||ge||Re)&&(s(P,Xe),s(P,p(Ot(ve||"")))),(ge||Re)&&(s(P,Xe),s(P,p(Ot(ge||"")))),Re&&(s(P,Xe),s(P,p(Ot(Re)))),m(P,yt)}W.splice(0,V);var ft=c.completedBoundaries;for(V=0;V<ft.length;V++)vi(c,v,ft[V]);ft.splice(0,V),y(v),r=new Uint8Array(512),i=0;var St=c.partialBoundaries;for(V=0;V<St.length;V++){var wt=St[V];e:{W=c,Y=v;var Xr=wt.completedSegments;for(K=0;K<Xr.length;K++)if(!yi(W,Y,wt,Xr[K])){K++,Xr.splice(0,K);var xi=!1;break e}Xr.splice(0,K),xi=!0}if(!xi){c.destination=null,V++,St.splice(0,V);return}}St.splice(0,V);var Eo=c.completedBoundaries;for(V=0;V<Eo.length;V++)vi(c,v,Eo[V]);Eo.splice(0,V)}finally{y(v),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&v.close()}}function bi(c,v){try{var k=c.abortableTasks;k.forEach(function(P){return hi(P,c,v)}),k.clear(),c.destination!==null&&Co(c,c.destination)}catch(P){$n(c,P),Ur(c,P)}}return hl.renderToReadableStream=function(c,v){return new Promise(function(k,P){var W,V,Y=new Promise(function(ge,Re){V=ge,W=Re}),K=wo(c,Ze(v?v.identifierPrefix:void 0,v?v.nonce:void 0,v?v.bootstrapScriptContent:void 0,v?v.bootstrapScripts:void 0,v?v.bootstrapModules:void 0),Ut(v?v.namespaceURI:void 0),v?v.progressiveChunkSize:void 0,v?v.onError:void 0,V,function(){var ge=new ReadableStream({type:"bytes",pull:function(Re){if(K.status===1)K.status=2,A(Re,K.fatalError);else if(K.status!==2&&K.destination===null){K.destination=Re;try{Co(K,Re)}catch(ft){$n(K,ft),Ur(K,ft)}}},cancel:function(){bi(K)}},{highWaterMark:0});ge.allReady=Y,k(ge)},function(ge){Y.catch(function(){}),P(ge)},W);if(v&&v.signal){var de=v.signal,ve=function(){bi(K,de.reason),de.removeEventListener("abort",ve)};de.addEventListener("abort",ve)}mi(K)})},hl.version="18.2.0",hl}var qo={};/**
28
+ * @license React
29
+ * react-dom-server-legacy.browser.development.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */var Lc;function Uh(){return Lc||(Lc=1,process.env.NODE_ENV!=="production"&&function(){var e=oe,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];m("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];m("error",n,f)}}function m(n,a,f){{var h=r.ReactDebugCurrentFrame,w=h.getStackAddendum();w!==""&&(a+="%s",f=f.concat([w]));var I=f.map(function(O){return String(O)});I.unshift("Warning: "+a),Function.prototype.apply.call(console[n],console,I)}}function y(n){n()}function S(n){}function p(n,a){x(n,a)}function x(n,a){return n.push(a)}function A(n){}function T(n){n.push(null)}function D(n){return n}function _(n){return n}function $(n,a){n.destroy(a)}function G(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,G(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,G(n)),F(n)}function q(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.",G(n)),F(n)}var te=Object.prototype.hasOwnProperty,ee=0,re=1,le=2,ce=3,ze=4,Ne=5,we=6,He=":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",Ce=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dt=new RegExp("^["+He+"]["+Ce+"]*$"),Pe={},ot={};function Ze(n){return te.call(ot,n)?!0:te.call(Pe,n)?!1:dt.test(n)?(ot[n]=!0,!0):(Pe[n]=!0,s("Invalid attribute name: `%s`",n),!1)}function je(n,a,f,h){if(f!==null&&f.type===ee)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(h)return!1;if(f!==null)return!f.acceptsBooleans;var w=n.toLowerCase().slice(0,5);return w!=="data-"&&w!=="aria-"}default:return!1}}function Ut(n){return Se.hasOwnProperty(n)?Se[n]:null}function he(n,a,f,h,w,I,O){this.acceptsBooleans=a===le||a===ce||a===ze,this.attributeName=h,this.attributeNamespace=w,this.mustUseProperty=f,this.propertyName=n,this.type=a,this.sanitizeURL=I,this.removeEmptyString=O}var Se={},Nt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Nt.forEach(function(n){Se[n]=new he(n,ee,!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];Se[a]=new he(a,re,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){Se[n]=new he(n,le,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Se[n]=new he(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){Se[n]=new he(n,ce,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){Se[n]=new he(n,ce,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){Se[n]=new he(n,ze,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){Se[n]=new he(n,we,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){Se[n]=new he(n,Ne,!1,n.toLowerCase(),null,!1,!1)});var mt=/[\-\:]([a-z])/g,Ae=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(mt,Ae);Se[a]=new he(a,re,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){Se[n]=new he(n,re,!1,n.toLowerCase(),null,!1,!1)});var ke="xlinkHref";Se[ke]=new he("xlinkHref",re,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){Se[n]=new he(n,re,!1,n.toLowerCase(),null,!0,!0)});var Rt={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 Ht(n,a){return n+a.charAt(0).toUpperCase()+a.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(Rt).forEach(function(n){Ge.forEach(function(a){Rt[Ht(a,n)]=Rt[n]})});var it={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ie(n,a){it[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 yn(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 $e={"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},qe={},On=new RegExp("^(aria)-["+Ce+"]*$"),bn=new RegExp("^(aria)[A-Z]["+Ce+"]*$");function Mr(n,a){{if(te.call(qe,a)&&qe[a])return!0;if(bn.test(a)){var f="aria-"+a.slice(4).toLowerCase(),h=$e.hasOwnProperty(f)?f:null;if(h==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),qe[a]=!0,!0;if(a!==h)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,h),qe[a]=!0,!0}if(On.test(a)){var w=a.toLowerCase(),I=$e.hasOwnProperty(w)?w:null;if(I==null)return qe[a]=!0,!1;if(a!==I)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,I),qe[a]=!0,!0}}return!0}function gt(n,a){{var f=[];for(var h in a){var w=Mr(n,h);w||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 xn(n,a){yn(n,a)||gt(n,a)}var Sn=!1;function Dr(n,a){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;a!=null&&a.value===null&&!Sn&&(Sn=!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 vt={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"},Je=function(){};{var We={},Qn=/^on./,Kn=/^on[^A-Z]/,qn=new RegExp("^(aria)-["+Ce+"]*$"),Be=new RegExp("^(aria)[A-Z]["+Ce+"]*$");Je=function(n,a,f,h){if(te.call(We,a)&&We[a])return!0;var w=a.toLowerCase();if(w==="onfocusin"||w==="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."),We[a]=!0,!0;if(h!=null){var I=h.registrationNameDependencies,O=h.possibleRegistrationNames;if(I.hasOwnProperty(a))return!0;var U=O.hasOwnProperty(w)?O[w]:null;if(U!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",a,U),We[a]=!0,!0;if(Qn.test(a))return s("Unknown event handler property `%s`. It will be ignored.",a),We[a]=!0,!0}else if(Qn.test(a))return Kn.test(a)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),We[a]=!0,!0;if(qn.test(a)||Be.test(a))return!0;if(w==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),We[a]=!0,!0;if(w==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),We[a]=!0,!0;if(w==="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),We[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),We[a]=!0,!0;var J=Ut(a),ie=J!==null&&J.type===ee;if(vt.hasOwnProperty(w)){var se=vt[w];if(se!==a)return s("Invalid DOM property `%s`. Did you mean `%s`?",a,se),We[a]=!0,!0}else if(!ie&&a!==w)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,w),We[a]=!0,!0;return typeof f=="boolean"&&je(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),We[a]=!0,!0):ie?!0:je(a,f,J,!1)?(We[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),We[a]=!0),!0)}}var er=function(n,a,f){{var h=[];for(var w in a){var I=Je(n,w,a[w],f);I||h.push(w)}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 Or(n,a,f){yn(n,a)||er(n,a,f)}var Fr=function(){};{var tr=/^(?:webkit|moz|o)[A-Z]/,Fn=/^-ms-/,po=/-(.)/g,nr=/;\s*$/,qt={},rr={},Lr=!1,at=!1,Pt=function(n){return n.replace(po,function(a,f){return f.toUpperCase()})},en=function(n){qt.hasOwnProperty(n)&&qt[n]||(qt[n]=!0,s("Unsupported style property %s. Did you mean %s?",n,Pt(n.replace(Fn,"ms-"))))},xe=function(n){qt.hasOwnProperty(n)&&qt[n]||(qt[n]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},tn=function(n,a){rr.hasOwnProperty(a)&&rr[a]||(rr[a]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,a.replace(nr,"")))},Ln=function(n,a){Lr||(Lr=!0,s("`NaN` is an invalid value for the `%s` css style property.",n))},wn=function(n,a){at||(at=!0,s("`Infinity` is an invalid value for the `%s` css style property.",n))};Fr=function(n,a){n.indexOf("-")>-1?en(n):tr.test(n)?xe(n):nr.test(a)&&tn(n,a),typeof a=="number"&&(isNaN(a)?Ln(n,a):isFinite(a)||wn(n,a))}}var At=Fr,_n=/["'&<>]/;function $t(n){q(n);var a=""+n,f=_n.exec(a);if(!f)return a;var h,w="",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&&(w+=a.substring(O,I)),O=I+1,w+=h}return O!==I?w+a.substring(O,I):w}function Fe(n){return typeof n=="boolean"||typeof n=="number"?""+n:$t(n)}var or=/([A-Z])/g,ir=/^ms-/;function _r(n){return n.replace(or,"-$1").toLowerCase().replace(ir,"-ms-")}var Ve=/^[\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 mo(n){!ar&&Ve.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 go=Array.isArray;function It(n){return go(n)}var sr="<script>",jn="<\/script>",lr='<script src="',kn='<script type="module" src="',nn='" async=""><\/script>';function vo(n){return q(n),(""+n).replace(ur,Bn)}var ur=/(<\/|<)(s)(cript)/gi,Bn=function(n,a,f,h){return""+a+(f==="s"?"\\u0073":"\\u0053")+h};function rn(n,a,f,h,w){var I=n===void 0?"":n,O=a===void 0?sr:'<script nonce="'+Fe(a)+'">',U=[];if(f!==void 0&&U.push(O,vo(f),jn),h!==void 0)for(var J=0;J<h.length;J++)U.push(lr,Fe(h[J]),nn);if(w!==void 0)for(var ie=0;ie<w.length;ie++)U.push(kn,Fe(w[ie]),nn);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 Yt=0,Mt=1,Tn=2,Cn=3,ht=4,De=5,Dt=6,yt=7;function Xe(n,a){return{insertionMode:n,selectedValue:a}}function Vn(n,a,f){switch(a){case"select":return Xe(Mt,f.value!=null?f.value:f.defaultValue);case"svg":return Xe(Tn,null);case"math":return Xe(Cn,null);case"foreignObject":return Xe(Mt,null);case"table":return Xe(ht,null);case"thead":case"tbody":case"tfoot":return Xe(De,null);case"colgroup":return Xe(yt,null);case"tr":return Xe(Dt,null)}return n.insertionMode>=ht||n.insertionMode===Yt?Xe(Mt,null):n}var Ot=null;function Ft(n){var a=n.nextSuspenseID++;return n.boundaryPrefix+a.toString(16)}function st(n,a,f){var h=n.idPrefix,w=":"+h+"R"+a;return f>0&&(w+="H"+f.toString(32)),w+":"}function Gt(n){return Fe(n)}var on="<!-- -->";function cr(n,a,f,h){return a===""?h:(h&&n.push(on),n.push(Gt(a)),!0)}function fr(n,a,f,h){f&&h&&n.push(on)}var zn=new Map;function an(n){var a=zn.get(n);if(a!==void 0)return a;var f=Fe(_r(n));return zn.set(n,f),f}var dr=' style="',Wn=":",Un=";";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 w in f)if(te.call(f,w)){var I=f[w];if(!(I==null||typeof I=="boolean"||I==="")){var O=void 0,U=void 0,J=w.indexOf("--")===0;J?(O=Fe(w),X(I,w),U=Fe((""+I).trim())):(At(w,I),O=an(w),typeof I=="number"?I!==0&&!te.call(Rt,w)?U=I+"px":U=""+I:(X(I,w),U=Fe((""+I).trim()))),h?(h=!1,n.push(dr,O,Wn,U)):n.push(Un,O,Wn,U)}}h||n.push(R)}var g=" ",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 w=Ut(f);if(w!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!w.acceptsBooleans)return}var I=w.attributeName,O=I;switch(w.type){case ce:h&&n.push(g,O,z);return;case ze:h===!0?n.push(g,O,z):h===!1||n.push(g,O,C,Fe(h),R);return;case Ne:isNaN(h)||n.push(g,O,C,Fe(h),R);break;case we:!isNaN(h)&&h>=1&&n.push(g,O,C,Fe(h),R);break;default:w.sanitizeURL&&(Z(h,I),h=""+h,mo(h)),n.push(g,O,C,Fe(h),R)}}else if(Ze(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(g,f,C,Fe(h),R)}}}var H=">",Q="/>";function ae(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&&(q(h),n.push(""+h))}}var fe=!1,ue=!1,ye=!1,lt=!1,et=!1,tt=!1,Xt=!1;function bt(n,a){{var f=n[a];if(f!=null){var h=It(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 Nn(n,a,f){Ie("select",a),bt(a,"value"),bt(a,"defaultValue"),a.value!==void 0&&a.defaultValue!==void 0&&!ye&&(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"),ye=!0),n.push(ut("select"));var h=null,w=null;for(var I in a)if(te.call(a,I)){var O=a[I];if(O==null)continue;switch(I){case"children":h=O;break;case"dangerouslySetInnerHTML":w=O;break;case"defaultValue":case"value":break;default:j(n,f,I,O);break}}return n.push(H),ae(n,w,h),h}function sn(n){var a="";return e.Children.forEach(n,function(f){f!=null&&(a+=f,!et&&typeof f!="string"&&typeof f!="number"&&(et=!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 En=' selected=""';function Zt(n,a,f,h){var w=h.selectedValue;n.push(ut("option"));var I=null,O=null,U=null,J=null;for(var ie in a)if(te.call(a,ie)){var se=a[ie];if(se==null)continue;switch(ie){case"children":I=se;break;case"selected":U=se,Xt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Xt=!0);break;case"dangerouslySetInnerHTML":J=se;break;case"value":O=se;default:j(n,f,ie,se);break}}if(w!=null){var me;if(O!==null?(Z(O,"value"),me=""+O):(J!==null&&(tt||(tt=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),me=sn(I)),It(w))for(var Me=0;Me<w.length;Me++){Z(w[Me],"value");var rt=""+w[Me];if(rt===me){n.push(En);break}}else Z(w,"select.value"),""+w===me&&n.push(En)}else U&&n.push(En);return n.push(H),ae(n,J,I),I}function hr(n,a,f){Ie("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(ut("input"));var h=null,w=null,I=null,O=null;for(var U in a)if(te.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":w=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):w!==null&&j(n,f,"value",w),n.push(Q),null}function da(n,a,f){Ie("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!lt&&(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"),lt=!0),n.push(ut("textarea"));var h=null,w=null,I=null;for(var O in a)if(te.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":w=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:j(n,f,O,U);break}}if(h===null&&w!==null&&(h=w),n.push(H),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(It(I)){if(I.length>1)throw new Error("<textarea> can only have at most one child.");q(I[0]),h=""+I[0]}q(I),h=""+I}return typeof h=="string"&&h[0]===`
36
+ `&&n.push(pr),h!==null&&(Z(h,"value"),n.push(Gt(""+h))),null}function ha(n,a,f,h){n.push(ut(f));for(var w in a)if(te.call(a,w)){var I=a[w];if(I==null)continue;switch(w){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,w,I);break}}return n.push(Q),null}function yo(n,a,f){n.push(ut("menuitem"));for(var h in a)if(te.call(a,h)){var w=a[h];if(w==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:j(n,f,h,w);break}}return n.push(H),null}function pa(n,a,f){n.push(ut("title"));var h=null;for(var w in a)if(te.call(a,w)){var I=a[w];if(I==null)continue;switch(w){case"children":h=I;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:j(n,f,w,I);break}}n.push(H);{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 bo(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}return n.push(H),ae(n,I,w),typeof w=="string"?(n.push(Gt(w)),null):w}function Jt(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;case"style":u(n,h,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ze(O)&&typeof U!="function"&&typeof U!="symbol"&&n.push(g,O,C,Fe(U),R);break}}return n.push(H),ae(n,I,w),w}var pr=`
37
+ `;function jr(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}if(n.push(H),I!=null){if(w!=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]===`
38
+ `?n.push(pr,J):(q(J),n.push(""+J)))}return typeof w=="string"&&w[0]===`
39
+ `&&n.push(pr),w}var Ee=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ln=new Map;function ut(n){var a=ln.get(n);if(a===void 0){if(!Ee.test(n))throw new Error("Invalid tag: "+n);a="<"+n,ln.set(n,a)}return a}var Rn="<!DOCTYPE html>";function un(n,a,f,h,w){switch(xn(a,f),Dr(a,f),Or(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."),w.insertionMode!==Tn&&w.insertionMode!==Cn&&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 Nn(n,f,h);case"option":return Zt(n,f,h,w);case"textarea":return da(n,f,h);case"input":return hr(n,f,h);case"menuitem":return yo(n,f,h);case"title":return pa(n,f,h);case"listing":case"pre":return jr(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 ha(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 bo(n,f,a,h);case"html":return w.insertionMode===Yt&&n.push(Rn),bo(n,f,a,h);default:return a.indexOf("-")===-1&&typeof f.is!="string"?bo(n,f,a,h):Jt(n,f,a,h)}}var Br="</",cn=">";function xt(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(Br,a,cn)}}function xo(n,a){for(var f=a.bootstrapChunks,h=0;h<f.length-1;h++)p(n,f[h]);return h<f.length?x(n,f[h]):!0}var So='<template id="',si='"></template>';function li(n,a,f){p(n,So),p(n,a.placeholderPrefix);var h=f.toString(16);return p(n,h),x(n,si)}var ui="<!--$-->",ma='<!--$?--><template id="',ga='"></template>',Vr="<!--$!-->",zr="<!--/$-->",Wr="<template",mr='"',va=' data-dgst="',gr=' data-msg="',wo=' data-stck="',ko="></template>";function Hn(n,a){return x(n,ui)}function $n(n,a,f){if(p(n,ma),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return p(n,f),x(n,ga)}function Ur(n,a,f,h,w){var I;return I=x(n,Vr),p(n,Wr),f&&(p(n,va),p(n,Fe(f)),p(n,mr)),h&&(p(n,gr),p(n,Fe(h)),p(n,mr)),w&&(p(n,wo),p(n,Fe(w)),p(n,mr)),I=x(n,ko),I}function ci(n,a){return x(n,zr)}function To(n,a){return x(n,zr)}function fi(n,a){return x(n,zr)}var Nr='<div hidden id="',ct='">',di="</div>",Hr='<svg aria-hidden="true" style="display:none" id="',ya='">',hi="</svg>",$r='<math aria-hidden="true" style="display:none" id="',pi='">',mi="</math>",Yr='<table hidden id="',Gr='">',gi="</table>",vi='<table hidden><tbody id="',yi='">',Co="</tbody></table>",bi='<table hidden><tr id="',c='">',v="</tr></table>",k='<table hidden><colgroup id="',P='">',W="</colgroup></table>";function V(n,a,f,h){switch(f.insertionMode){case Yt:case Mt:return p(n,Nr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,ct);case Tn:return p(n,Hr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,ya);case Cn:return p(n,$r),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,pi);case ht:return p(n,Yr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,Gr);case De:return p(n,vi),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,yi);case Dt:return p(n,bi),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,c);case yt:return p(n,k),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Y(n,a){switch(a.insertionMode){case Yt:case Mt:return x(n,di);case Tn:return x(n,hi);case Cn:return x(n,mi);case ht:return x(n,gi);case De:return x(n,Co);case Dt:return x(n,v);case yt:return x(n,W);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var K="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()}}',ve='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())}',ge=K+';$RS("',Re='$RS("',ft='","',St='")<\/script>';function wt(n,a,f){p(n,a.startInlineScript),a.sentCompleteSegmentFunction?p(n,Re):(a.sentCompleteSegmentFunction=!0,p(n,ge)),p(n,a.segmentPrefix);var h=f.toString(16);return p(n,h),p(n,ft),p(n,a.placeholderPrefix),p(n,h),x(n,St)}var Xr=de+';$RC("',xi='$RC("',Eo='","',Wl='")<\/script>';function Ul(n,a,f,h){if(p(n,a.startInlineScript),a.sentCompleteBoundaryFunction?p(n,xi):(a.sentCompleteBoundaryFunction=!0,p(n,Xr)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var w=h.toString(16);return p(n,f),p(n,Eo),p(n,a.segmentPrefix),p(n,w),x(n,Wl)}var Nl=ve+';$RX("',Hl='$RX("',$l='"',Yl=")<\/script>",ba=",";function Gl(n,a,f,h,w,I){if(p(n,a.startInlineScript),a.sentClientRenderFunction?p(n,Hl):(a.sentClientRenderFunction=!0,p(n,Nl)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return p(n,f),p(n,$l),(h||w||I)&&(p(n,ba),p(n,xa(h||""))),(w||I)&&(p(n,ba),p(n,xa(w||""))),I&&(p(n,ba),p(n,xa(I))),x(n,Yl)}var Xl=/[<\u2028\u2029]/g;function xa(n){var a=JSON.stringify(n);return a.replace(Xl,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 Zl(n,a){var f=rn(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 Sa(){return{insertionMode:Mt,selectedValue:null}}function Cs(n,a,f,h){return f.generateStaticMarkup?(n.push(Fe(a)),!1):cr(n,a,f,h)}function Es(n,a,f,h){if(!a.generateStaticMarkup)return fr(n,a,f,h)}function wa(n,a){return a.generateStaticMarkup?!0:Hn(n)}function Lt(n,a,f,h,w){return a.generateStaticMarkup?!0:Ur(n,a,f,h,w)}function Jl(n,a){return a.generateStaticMarkup?!0:ci(n)}function Rs(n,a){return a.generateStaticMarkup?!0:fi(n)}var kt=Object.assign,Ps=Symbol.for("react.element"),ka=Symbol.for("react.portal"),Si=Symbol.for("react.fragment"),wi=Symbol.for("react.strict_mode"),ki=Symbol.for("react.profiler"),Ro=Symbol.for("react.provider"),Po=Symbol.for("react.context"),Ao=Symbol.for("react.forward_ref"),Zr=Symbol.for("react.suspense"),Ta=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),Ti=Symbol.for("react.lazy"),Ql=Symbol.for("react.scope"),As=Symbol.for("react.debug_trace_mode"),Kl=Symbol.for("react.legacy_hidden"),ql=Symbol.for("react.default_value"),Is=Symbol.iterator,Ms="@@iterator";function Le(n){if(n===null||typeof n!="object")return null;var a=Is&&n[Is]||n[Ms];return typeof a=="function"?a:null}function Io(n,a,f){var h=n.displayName;if(h)return h;var w=a.displayName||a.name||"";return w!==""?f+"("+w+")":f}function Ea(n){return n.displayName||"Context"}function Oe(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 Si:return"Fragment";case ka:return"Portal";case ki:return"Profiler";case wi:return"StrictMode";case Zr:return"Suspense";case Ta:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Po:var a=n;return Ea(a)+".Consumer";case Ro:var f=n;return Ea(f._context)+".Provider";case Ao:return Io(n,n.render,"ForwardRef");case Ca:var h=n.displayName||null;return h!==null?h:Oe(n.type)||"Memo";case Ti:{var w=n,I=w._payload,O=w._init;try{return Oe(O(I))}catch{return null}}}return null}var Jr=0,Ra,Pa,Aa,Ia,Ma,Ds,Os;function Ci(){}Ci.__reactDisabledLog=!0;function Da(){{if(Jr===0){Ra=console.log,Pa=console.info,Aa=console.warn,Ia=console.error,Ma=console.group,Ds=console.groupCollapsed,Os=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ci,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Jr++}}function Mo(){{if(Jr--,Jr===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:kt({},n,{value:Ra}),info:kt({},n,{value:Pa}),warn:kt({},n,{value:Aa}),error:kt({},n,{value:Ia}),group:kt({},n,{value:Ma}),groupCollapsed:kt({},n,{value:Ds}),groupEnd:kt({},n,{value:Os})})}Jr<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Do=r.ReactCurrentDispatcher,Qr;function Oo(n,a,f){{if(Qr===void 0)try{throw Error()}catch(w){var h=w.stack.trim().match(/\n( *(at )?)/);Qr=h&&h[1]||""}return`
40
+ `+Qr+n}}var Fo=!1,Ei;{var Fs=typeof WeakMap=="function"?WeakMap:Map;Ei=new Fs}function Oa(n,a){if(!n||Fo)return"";{var f=Ei.get(n);if(f!==void 0)return f}var h;Fo=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=Do.current,Do.current=null,Da();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(Vt){h=Vt}Reflect.construct(n,[],O)}else{try{O.call()}catch(Vt){h=Vt}n.call(O.prototype)}}else{try{throw Error()}catch(Vt){h=Vt}n()}}catch(Vt){if(Vt&&h&&typeof Vt.stack=="string"){for(var U=Vt.stack.split(`
41
+ `),J=h.stack.split(`
42
+ `),ie=U.length-1,se=J.length-1;ie>=1&&se>=0&&U[ie]!==J[se];)se--;for(;ie>=1&&se>=0;ie--,se--)if(U[ie]!==J[se]){if(ie!==1||se!==1)do if(ie--,se--,se<0||U[ie]!==J[se]){var me=`
43
+ `+U[ie].replace(" at new "," at ");return n.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",n.displayName)),typeof n=="function"&&Ei.set(n,me),me}while(ie>=1&&se>=0);break}}}finally{Fo=!1,Do.current=I,Mo(),Error.prepareStackTrace=w}var Me=n?n.displayName||n.name:"",rt=Me?Oo(Me):"";return typeof n=="function"&&Ei.set(n,rt),rt}function Fa(n,a,f){return Oa(n,!0)}function La(n,a,f){return Oa(n,!1)}function Ls(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function Kr(n,a,f){if(n==null)return"";if(typeof n=="function")return Oa(n,Ls(n));if(typeof n=="string")return Oo(n);switch(n){case Zr:return Oo("Suspense");case Ta:return Oo("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Ao:return La(n.render);case Ca:return Kr(n.type,a,f);case Ti:{var h=n,w=h._payload,I=h._init;try{return Kr(I(w),a,f)}catch{}}}return""}var _a={},Ri=r.ReactDebugCurrentFrame;function vr(n){if(n){var a=n._owner,f=Kr(n.type,n._source,a?a.type:null);Ri.setExtraStackFrame(f)}else Ri.setExtraStackFrame(null)}function ja(n,a,f,h,w){{var I=Function.call.bind(te);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)&&(vr(w),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),vr(null)),U instanceof Error&&!(U.message in _a)&&(_a[U.message]=!0,vr(w),s("Failed %s type: %s",f,U.message),vr(null))}}}var Ba;Ba={};var Yn={};Object.freeze(Yn);function _s(n,a){{var f=n.contextTypes;if(!f)return Yn;var h={};for(var w in f)h[w]=a[w];{var I=Oe(n)||"Unknown";ja(f,h,"context",I)}return h}}function yr(n,a,f,h){{if(typeof n.getChildContext!="function"){{var w=Oe(a)||"Unknown";Ba[w]||(Ba[w]=!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.",w,w))}return f}var I=n.getChildContext();for(var O in I)if(!(O in h))throw new Error((Oe(a)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var U=Oe(a)||"Unknown";ja(h,I,"child context",U)}return kt({},f,I)}}var br;br={};var Va=null,fn=null;function Pi(n){n.context._currentValue2=n.parentValue}function Ai(n){n.context._currentValue2=n.value}function Lo(n,a){if(n!==a){Pi(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.");Lo(f,h)}Ai(a)}}function za(n){Pi(n);var a=n.parent;a!==null&&za(a)}function _o(n){var a=n.parent;a!==null&&_o(a),Ai(n)}function js(n,a){Pi(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?Lo(f,a):js(f,a)}function Bs(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?Lo(n,f):Bs(n,f),Ai(a)}function Ii(n){var a=fn,f=n;a!==f&&(a===null?_o(f):f===null?za(a):a.depth===f.depth?Lo(a,f):a.depth>f.depth?js(a,f):Bs(a,f),fn=f)}function jo(n,a){var f;f=n._currentValue2,n._currentValue2=a,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==br&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=br;var h=fn,w={parent:h,depth:h===null?0:h.depth+1,context:n,parentValue:f,value:a};return fn=w,w}function Wa(n){var a=fn;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===ql?a.context._currentValue2=a.context._defaultValue:a.context._currentValue2=f,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==br&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=br}return fn=a.parent}function eu(){return fn}function qr(n){var a=n._currentValue2;return a}function Mi(n){return n._reactInternals}function Ua(n,a){n._reactInternals=a}var Di={},Oi={},Bo,Fi,eo,Vo,Li,to,_i,ji,Bi;{Bo=new Set,Fi=new Set,eo=new Set,_i=new Set,Vo=new Set,ji=new Set,Bi=new Set;var Vs=new Set;to=function(n,a){if(!(n===null||typeof n=="function")){var f=a+"_"+n;Vs.has(f)||(Vs.add(f),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,n))}},Li=function(n,a){if(a===void 0){var f=Oe(n)||"Component";Vo.has(f)||(Vo.add(f),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}}}function zs(n,a){{var f=n.constructor,h=f&&Oe(f)||"ReactClass",w=h+"."+a;if(Di[w])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.
44
+
45
+ Please check the code for the %s component.`,a,a,h),Di[w]=!0}}var Ws={isMounted:function(n){return!1},enqueueSetState:function(n,a,f){var h=Mi(n);h.queue===null?zs(n,"setState"):(h.queue.push(a),f!=null&&to(f,"setState"))},enqueueReplaceState:function(n,a,f){var h=Mi(n);h.replace=!0,h.queue=[a],f!=null&&to(f,"setState")},enqueueForceUpdate:function(n,a){var f=Mi(n);f.queue===null?zs(n,"forceUpdate"):a!=null&&to(a,"setState")}};function tu(n,a,f,h,w){var I=f(w,h);Li(a,I);var O=I==null?h:kt({},h,I);return O}function nu(n,a,f){var h=Yn,w=n.contextType;if("contextType"in n){var I=w===null||w!==void 0&&w.$$typeof===Po&&w._context===void 0;if(!I&&!Bi.has(n)){Bi.add(n);var O="";w===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 w!="object"?O=" However, it is set to a "+typeof w+".":w.$$typeof===Ro?O=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?O=" Did you accidentally pass the Context.Consumer instead?":O=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Oe(n)||"Component",O)}}typeof w=="object"&&w!==null?h=qr(w):h=f;var U=new n(a,h);{if(typeof n.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var J=Oe(n)||"Component";Bo.has(J)||(Bo.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,se=null,me=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?se="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(se="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?me="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(me="UNSAFE_componentWillUpdate"),ie!==null||se!==null||me!==null){var Me=Oe(n)||"Component",rt=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";eo.has(Me)||(eo.add(Me),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
46
+
47
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
48
+
49
+ The above lifecycles should be removed. Learn more about this warning here:
50
+ https://reactjs.org/link/unsafe-component-lifecycles`,Me,rt,ie!==null?`
51
+ `+ie:"",se!==null?`
52
+ `+se:"",me!==null?`
53
+ `+me:""))}}}return U}function Us(n,a,f){{var h=Oe(a)||"Component",w=n.render;w||(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&&!ji.has(a)&&(ji.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.",Oe(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"&&!Fi.has(a)&&(Fi.add(a),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Oe(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"||It(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 ru(n,a){var f=a.state;if(typeof a.componentWillMount=="function"){if(a.componentWillMount.__suppressDeprecationWarning!==!0){var h=Oe(n)||"Unknown";Oi[h]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
54
+
55
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
56
+
57
+ Please update the following components: %s`,h),Oi[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.",Oe(n)||"Component"),Ws.enqueueReplaceState(a,a.state,null))}function ou(n,a,f,h){if(n.queue!==null&&n.queue.length>0){var w=n.queue,I=n.replace;if(n.queue=null,n.replace=!1,I&&w.length===1)a.state=w[0];else{for(var O=I?w[0]:a.state,U=!0,J=I?1:0;J<w.length;J++){var ie=w[J],se=typeof ie=="function"?ie.call(a,O,f,h):ie;se!=null&&(U?(U=!1,O=kt({},O,se)):kt(O,se))}a.state=O}}else n.queue=null}function Vi(n,a,f,h){Us(n,a,f);var w=n.state!==void 0?n.state:null;n.updater=Ws,n.props=f,n.state=w;var I={queue:[],replace:!1};Ua(n,I);var O=a.contextType;if(typeof O=="object"&&O!==null?n.context=qr(O):n.context=h,n.state===f){var U=Oe(a)||"Component";_i.has(U)||(_i.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=tu(n,a,J,w,f)),typeof a.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(ru(a,n),ou(I,n,f,h))}var zi={id:1,overflow:""};function iu(n){var a=n.overflow,f=n.id,h=f&~au(f);return h.toString(32)+a}function Na(n,a,f){var h=n.id,w=n.overflow,I=Wi(h)-1,O=h&~(1<<I),U=f+1,J=Wi(a)+I;if(J>30){var ie=I-I%5,se=(1<<ie)-1,me=(O&se).toString(32),Me=O>>ie,rt=I-ie,Vt=Wi(a)+rt,cl=U<<rt,fl=cl|Me,dl=me+w;return{id:1<<Vt|fl,overflow:dl}}else{var ra=U<<I,_h=ra|O,jh=w;return{id:1<<J|_h,overflow:jh}}}function Wi(n){return 32-su(n)}function au(n){return 1<<Wi(n)-1}var su=Math.clz32?Math.clz32:Pn,lu=Math.log,uu=Math.LN2;function Pn(n){var a=n>>>0;return a===0?32:31-(lu(a)/uu|0)|0}function Ha(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var Ui=typeof Object.is=="function"?Object.is:Ha,be=null,xr=null,Sr=null,Te=null,_t=!1,wr=!1,Ni=0,nt=null,An=0,kr=25,dn=!1,Tr;function In(){if(be===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:
58
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
59
+ 2. You might be breaking the Rules of Hooks
60
+ 3. You might have more than one copy of React in the same app
61
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return dn&&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"),be}function cu(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.",Tr),!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.
62
+
63
+ Previous: %s
64
+ Incoming: %s`,Tr,"["+n.join(", ")+"]","["+a.join(", ")+"]");for(var f=0;f<a.length&&f<n.length;f++)if(!Ui(n[f],a[f]))return!1;return!0}function Ns(){if(An>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Hi(){return Te===null?Sr===null?(_t=!1,Sr=Te=Ns()):(_t=!0,Te=Sr):Te.next===null?(_t=!1,Te=Te.next=Ns()):(_t=!0,Te=Te.next),Te}function $a(n,a){be=a,xr=n,dn=!1,Ni=0}function fu(n,a,f,h){for(;wr;)wr=!1,Ni=0,An+=1,Te=null,f=n(a,h);return zo(),f}function Hs(){var n=Ni!==0;return n}function zo(){dn=!1,be=null,xr=null,wr=!1,Sr=null,An=0,nt=null,Te=null}function du(n){return dn&&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()."),qr(n)}function $s(n){return Tr="useContext",In(),qr(n)}function $i(n,a){return typeof a=="function"?a(n):a}function hu(n){return Tr="useState",Ys($i,n)}function Ys(n,a,f){if(n!==$i&&(Tr="useReducer"),be=In(),Te=Hi(),_t){var h=Te.queue,w=h.dispatch;if(nt!==null){var I=nt.get(h);if(I!==void 0){nt.delete(h);var O=Te.memoizedState,U=I;do{var J=U.action;dn=!0,O=n(O,J),dn=!1,U=U.next}while(U!==null);return Te.memoizedState=O,[O,w]}}return[Te.memoizedState,w]}else{dn=!0;var ie;n===$i?ie=typeof a=="function"?a():a:ie=f!==void 0?f(a):a,dn=!1,Te.memoizedState=ie;var se=Te.queue={last:null,dispatch:null},me=se.dispatch=gu.bind(null,be,se);return[Te.memoizedState,me]}}function Gs(n,a){be=In(),Te=Hi();var f=a===void 0?null:a;if(Te!==null){var h=Te.memoizedState;if(h!==null&&f!==null){var w=h[1];if(cu(f,w))return h[0]}}dn=!0;var I=n();return dn=!1,Te.memoizedState=[I,f],I}function pu(n){be=In(),Te=Hi();var a=Te.memoizedState;if(a===null){var f={current:n};return Object.seal(f),Te.memoizedState=f,f}else return a}function mu(n,a){Tr="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 gu(n,a,f){if(An>=kr)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===be){wr=!0;var h={action:f,next:null};nt===null&&(nt=new Map);var w=nt.get(a);if(w===void 0)nt.set(a,h);else{for(var I=w;I.next!==null;)I=I.next;I.next=h}}}function vu(n,a){return Gs(function(){return n},a)}function yu(n,a,f){return In(),a(n._source)}function bu(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 xu(n){return In(),n}function Yi(){throw new Error("startTransition cannot be called during server rendering.")}function Xs(){return In(),[!1,Yi]}function Ya(){var n=xr,a=iu(n.treeContext),f=Uo;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var h=Ni++;return st(f,a,h)}function Wo(){}var Zs={readContext:du,useContext:$s,useMemo:Gs,useReducer:Ys,useRef:pu,useState:hu,useInsertionEffect:Wo,useLayoutEffect:mu,useCallback:vu,useImperativeHandle:Wo,useEffect:Wo,useDebugValue:Wo,useDeferredValue:xu,useTransition:Xs,useId:Ya,useMutableSource:yu,useSyncExternalStore:bu},Uo=null;function Gi(n){Uo=n}function Ga(n){try{var a="",f=n;do{switch(f.tag){case 0:a+=Oo(f.type,null,null);break;case 1:a+=La(f.type,null,null);break;case 2:a+=Fa(f.type,null,null);break}f=f.parent}while(f);return a}catch(h){return`
65
+ Error generating stack: `+h.message+`
66
+ `+h.stack}}var Gn=r.ReactCurrentDispatcher,Xi=r.ReactDebugCurrentFrame,Zi=0,Cr=1,Js=2,Xa=3,Er=4,Su=0,Qs=1,hn=2,wu=12800;function ku(n){return console.error(n),null}function No(){}function Za(n,a,f,h,w,I,O,U,J){var ie=[],se=new Set,me={destination:null,responseState:a,progressiveChunkSize:h===void 0?wu:h,status:Su,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:se,pingedTasks:ie,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:w===void 0?ku:w,onAllReady:I===void 0?No:I,onShellReady:O===void 0?No:O,onShellError:U===void 0?No:U,onFatalError:J===void 0?No:J},Me=Xn(me,0,null,f,!1,!1);Me.parentFlushed=!0;var rt=Ho(me,n,null,Me,se,Yn,Va,zi);return ie.push(rt),me}function Ji(n,a){var f=n.pingedTasks;f.push(a),f.length===1&&y(function(){return ll(n)})}function Mn(n,a){return{id:Ot,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null}}function Ho(n,a,f,h,w,I,O,U){n.allPendingTasks++,f===null?n.pendingRootTasks++:f.pendingTasks++;var J={node:a,ping:function(){return Ji(n,J)},blockedBoundary:f,blockedSegment:h,abortSet:w,legacyContext:I,context:O,treeContext:U};return J.componentStack=null,w.add(J),J}function Xn(n,a,f,h,w,I){return{status:Zi,id:-1,index:a,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:f,lastPushedText:w,textEmbedded:I}}var pn=null;function Ja(){return pn===null||pn.componentStack===null?"":Ga(pn.componentStack)}function jt(n,a){n.componentStack={tag:0,parent:n.componentStack,type:a}}function no(n,a){n.componentStack={tag:1,parent:n.componentStack,type:a}}function Qa(n,a){n.componentStack={tag:2,parent:n.componentStack,type:a}}function Bt(n){n.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var Zn=null;function Ka(n,a){{var f;typeof a=="string"?f=a:a&&typeof a.message=="string"?f=a.message:f=String(a);var h=Zn||Ja();Zn=null,n.errorMessage=f,n.errorComponentStack=h}}function $o(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=hn,$(n.destination,a)):(n.status=Qs,n.fatalError=a)}function Ks(n,a,f){jt(a,"Suspense");var h=a.blockedBoundary,w=a.blockedSegment,I=f.fallback,O=f.children,U=new Set,J=Mn(n,U),ie=w.chunks.length,se=Xn(n,ie,J,w.formatContext,!1,!1);w.children.push(se),w.lastPushedText=!1;var me=Xn(n,0,null,w.formatContext,!1,!1);me.parentFlushed=!0,a.blockedBoundary=J,a.blockedSegment=me;try{if(Ki(n,a,O),Es(me.chunks,n.responseState,me.lastPushedText,me.textEmbedded),me.status=Cr,Xo(J,me),J.pendingTasks===0){Bt(a);return}}catch(rt){me.status=Er,J.forceClientRender=!0,J.errorDigest=$o(n,rt),Ka(J,rt)}finally{a.blockedBoundary=h,a.blockedSegment=w}var Me=Ho(n,I,h,se,U,a.legacyContext,a.context,a.treeContext);Me.componentStack=a.componentStack,n.pingedTasks.push(Me),Bt(a)}function qs(n,a,f,h){jt(a,f);var w=a.blockedSegment,I=un(w.chunks,f,h,n.responseState,w.formatContext);w.lastPushedText=!1;var O=w.formatContext;w.formatContext=Vn(O,f,h),Ki(n,a,I),w.formatContext=O,xt(w.chunks,f),w.lastPushedText=!1,Bt(a)}function Tu(n){return n.prototype&&n.prototype.isReactComponent}function qa(n,a,f,h,w){var I={};$a(a,I);var O=f(h,w);return fu(f,h,O,w)}function Yo(n,a,f,h,w){var I=f.render();f.props!==w&&(rs||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Oe(h)||"a component"),rs=!0);{var O=h.childContextTypes;if(O!=null){var U=a.legacyContext,J=yr(f,h,U,O);a.legacyContext=J,Ct(n,a,I),a.legacyContext=U;return}}Ct(n,a,I)}function el(n,a,f,h){Qa(a,f);var w=_s(f,a.legacyContext),I=nu(f,h,w);Vi(I,f,h,w),Yo(n,a,I,f,h),Bt(a)}var es={},Go={},ts={},ns={},rs=!1,tl=!1,nl=!1,os=!1;function Cu(n,a,f,h){var w;if(w=_s(f,a.legacyContext),no(a,f),f.prototype&&typeof f.prototype.render=="function"){var I=Oe(f)||"Unknown";es[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),es[I]=!0)}var O=qa(n,a,f,h,w),U=Hs();if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var J=Oe(f)||"Unknown";Go[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),Go[J]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var ie=Oe(f)||"Unknown";Go[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),Go[ie]=!0)}Vi(O,f,h,w),Yo(n,a,O,f,h)}else if(Eu(f),U){var se=a.treeContext,me=1,Me=0;a.treeContext=Na(se,me,Me);try{Ct(n,a,O)}finally{a.treeContext=se}}else Ct(n,a,O);Bt(a)}function Eu(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=Oe(n)||"Unknown";ns[a]||(s("%s: Function components do not support getDerivedStateFromProps.",a),ns[a]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var f=Oe(n)||"Unknown";ts[f]||(s("%s: Function components do not support contextType.",f),ts[f]=!0)}}}function rl(n,a){if(n&&n.defaultProps){var f=kt({},a),h=n.defaultProps;for(var w in h)f[w]===void 0&&(f[w]=h[w]);return f}return a}function Ru(n,a,f,h,w){no(a,f.render);var I=qa(n,a,f.render,h,w),O=Hs();if(O){var U=a.treeContext,J=1,ie=0;a.treeContext=Na(U,J,ie);try{Ct(n,a,I)}finally{a.treeContext=U}}else Ct(n,a,I);Bt(a)}function Pu(n,a,f,h,w){var I=f.type,O=rl(I,h);as(n,a,I,O,w)}function is(n,a,f,h){f._context===void 0?f!==f.Consumer&&(os||(os=!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 w=h.children;typeof w!="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=qr(f),O=w(I);Ct(n,a,O)}function Au(n,a,f,h){var w=f._context,I=h.value,O=h.children,U;U=a.context,a.context=jo(w,I),Ct(n,a,O),a.context=Wa(w),U!==a.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Tt(n,a,f,h,w){jt(a,"Lazy");var I=f._payload,O=f._init,U=O(I),J=rl(U,h);as(n,a,U,J,w),Bt(a)}function as(n,a,f,h,w){if(typeof f=="function")if(Tu(f)){el(n,a,f,h);return}else{Cu(n,a,f,h);return}if(typeof f=="string"){qs(n,a,f,h);return}switch(f){case Kl:case As:case wi:case ki:case Si:{Ct(n,a,h.children);return}case Ta:{jt(a,"SuspenseList"),Ct(n,a,h.children),Bt(a);return}case Ql:throw new Error("ReactDOMServer does not yet support scope components.");case Zr:{Ks(n,a,h);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case Ao:{Ru(n,a,f,h,w);return}case Ca:{Pu(n,a,f,h,w);return}case Ro:{Au(n,a,f,h);return}case Po:{is(n,a,f,h);return}case Ti:{Tt(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 ol(n,a){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(tl||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."),tl=!0),n.entries===a&&(nl||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),nl=!0)}function Ct(n,a,f){try{return ss(n,a,f)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(Zn=Zn!==null?Zn:Ja()),h}}function ss(n,a,f){if(a.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Ps:{var h=f,w=h.type,I=h.props,O=h.ref;as(n,a,w,I,O);return}case ka: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 Ti:{var U=f,J=U._payload,ie=U._init,se;try{se=ie(J)}catch(ra){throw typeof ra=="object"&&ra!==null&&typeof ra.then=="function"&&jt(a,"Lazy"),ra}Ct(n,a,se);return}}if(It(f)){il(n,a,f);return}var me=Le(f);if(me){ol(f,me);var Me=me.call(f);if(Me){var rt=Me.next();if(!rt.done){var Vt=[];do Vt.push(rt.value),rt=Me.next();while(!rt.done);il(n,a,Vt);return}return}}var cl=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(cl==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":cl)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var fl=a.blockedSegment;fl.lastPushedText=Cs(a.blockedSegment.chunks,f,n.responseState,fl.lastPushedText);return}if(typeof f=="number"){var dl=a.blockedSegment;dl.lastPushedText=Cs(a.blockedSegment.chunks,""+f,n.responseState,dl.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 il(n,a,f){for(var h=f.length,w=0;w<h;w++){var I=a.treeContext;a.treeContext=Na(I,h,w);try{Ki(n,a,f[w])}finally{a.treeContext=I}}}function Iu(n,a,f){var h=a.blockedSegment,w=h.chunks.length,I=Xn(n,w,null,h.formatContext,h.lastPushedText,!0);h.children.push(I),h.lastPushedText=!1;var O=Ho(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 Ki(n,a,f){var h=a.blockedSegment.formatContext,w=a.legacyContext,I=a.context,O=null;O=a.componentStack;try{return Ct(n,a,f)}catch(U){if(zo(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Iu(n,a,U),a.blockedSegment.formatContext=h,a.legacyContext=w,a.context=I,Ii(I),a.componentStack=O;return}else throw a.blockedSegment.formatContext=h,a.legacyContext=w,a.context=I,Ii(I),a.componentStack=O,U}}function qi(n,a,f,h){var w=$o(n,h);if(a===null?Qi(n,h):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,a.errorDigest=w,Ka(a,h),a.parentFlushed&&n.clientRenderedBoundaries.push(a))),n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function al(n){var a=this,f=n.blockedBoundary,h=n.blockedSegment;h.status=Xa,Zo(a,f,h)}function sl(n,a,f){var h=n.blockedBoundary,w=n.blockedSegment;if(w.status=Xa,h===null)a.allPendingTasks--,a.status!==hn&&(a.status=hn,a.destination!==null&&T(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=pn;pn=n;try{Ka(h,I)}finally{pn=U}}h.parentFlushed&&a.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(ie){return sl(ie,a,f)}),h.fallbackAbortableTasks.clear(),a.allPendingTasks--,a.allPendingTasks===0){var J=a.onAllReady;J()}}}function Xo(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===Cr&&Xo(n,f)}else{var h=n.completedSegments;h.push(a)}}function Zo(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=No;var h=n.onShellReady;h()}}else if(a.pendingTasks--,!a.forceClientRender){if(a.pendingTasks===0)f.parentFlushed&&f.status===Cr&&Xo(a,f),a.parentFlushed&&n.completedBoundaries.push(a),a.fallbackAbortableTasks.forEach(al,n),a.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===Cr){Xo(a,f);var w=a.completedSegments;w.length===1&&a.parentFlushed&&n.partialBoundaries.push(a)}}if(n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ea(n,a){var f=a.blockedSegment;if(f.status===Zi){Ii(a.context);var h=null;h=pn,pn=a;try{Ct(n,a,a.node),Es(f.chunks,n.responseState,f.lastPushedText,f.textEmbedded),a.abortSet.delete(a),f.status=Cr,Zo(n,a.blockedBoundary,f)}catch(I){if(zo(),typeof I=="object"&&I!==null&&typeof I.then=="function"){var w=a.ping;I.then(w,w)}else a.abortSet.delete(a),f.status=Er,qi(n,a.blockedBoundary,f,I)}finally{pn=h}}}function ll(n){if(n.status!==hn){var a=eu(),f=Gn.current;Gn.current=Zs;var h;h=Xi.getCurrentStack,Xi.getCurrentStack=Ja;var w=Uo;Gi(n.responseState);try{var I=n.pingedTasks,O;for(O=0;O<I.length;O++){var U=I[O];ea(n,U)}I.splice(0,O),n.destination!==null&&na(n,n.destination)}catch(J){$o(n,J),Qi(n,J)}finally{Gi(w),Gn.current=f,Xi.getCurrentStack=h,f===Zs&&Ii(a)}}}function Jo(n,a,f){switch(f.parentFlushed=!0,f.status){case Zi:{var h=f.id=n.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,li(a,n.responseState,h)}case Cr:{f.status=Js;for(var w=!0,I=f.chunks,O=0,U=f.children,J=0;J<U.length;J++){for(var ie=U[J];O<ie.index;O++)p(a,I[O]);w=Qo(n,a,ie)}for(;O<I.length-1;O++)p(a,I[O]);return O<I.length&&(w=x(a,I[O])),w}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 Jo(n,a,f);if(h.parentFlushed=!0,h.forceClientRender)return Lt(a,n.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Jo(n,a,f),Rs(a,n.responseState);if(h.pendingTasks>0){h.rootSegmentID=n.nextSegmentId++,h.completedSegments.length>0&&n.partialBoundaries.push(h);var w=h.id=Ft(n.responseState);return $n(a,n.responseState,w),Jo(n,a,f),To(a,n.responseState)}else{if(h.byteSize>n.progressiveChunkSize)return h.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(h),$n(a,n.responseState,h.id),Jo(n,a,f),To(a,n.responseState);wa(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),Jl(a,n.responseState)}}function Mu(n,a,f){return Gl(a,n.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function ls(n,a,f){return V(a,n.responseState,f.formatContext,f.id),Qo(n,a,f),Y(a,f.formatContext)}function ta(n,a,f){for(var h=f.completedSegments,w=0;w<h.length;w++){var I=h[w];ul(n,a,f,I)}return h.length=0,Ul(a,n.responseState,f.id,f.rootSegmentID)}function Du(n,a,f){for(var h=f.completedSegments,w=0;w<h.length;w++){var I=h[w];if(!ul(n,a,f,I))return w++,h.splice(0,w),!1}return h.splice(0,w),!0}function ul(n,a,f,h){if(h.status===Js)return!0;var w=h.id;if(w===-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 ls(n,a,h)}else return ls(n,a,h),wt(a,n.responseState,w)}function na(n,a){try{var f=n.completedRootSegment;f!==null&&n.pendingRootTasks===0&&(Qo(n,a,f),n.completedRootSegment=null,xo(a,n.responseState));var h=n.clientRenderedBoundaries,w;for(w=0;w<h.length;w++){var I=h[w];if(!Mu(n,a,I)){n.destination=null,w++,h.splice(0,w);return}}h.splice(0,w);var O=n.completedBoundaries;for(w=0;w<O.length;w++){var U=O[w];if(!ta(n,a,U)){n.destination=null,w++,O.splice(0,w);return}}O.splice(0,w);var J=n.partialBoundaries;for(w=0;w<J.length;w++){var ie=J[w];if(!Du(n,a,ie)){n.destination=null,w++,J.splice(0,w);return}}J.splice(0,w);var se=n.completedBoundaries;for(w=0;w<se.length;w++){var me=se[w];if(!ta(n,a,me)){n.destination=null,w++,se.splice(0,w);return}}se.splice(0,w)}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."),T(a))}}function Ou(n){y(function(){return ll(n)})}function o(n,a){if(n.status===Qs){n.status=hn,$(a,n.fatalError);return}if(n.status!==hn&&n.destination===null){n.destination=a;try{na(n,a)}catch(f){$o(n,f),Qi(n,f)}}}function l(n,a){try{var f=n.abortableTasks;f.forEach(function(h){return sl(h,n,a)}),f.clear(),n.destination!==null&&na(n,n.destination)}catch(h){$o(n,h),Qi(n,h)}}function d(){}function b(n,a,f,h){var w=!1,I=null,O="",U={push:function(me){return me!==null&&(O+=me),!0},destroy:function(me){w=!0,I=me}},J=!1;function ie(){J=!0}var se=Za(n,Zl(f,a?a.identifierPrefix:void 0),Sa(),1/0,d,void 0,ie,void 0,void 0);if(Ou(se),l(se,h),o(se,U),w)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 b(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 b(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 L(){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.")}qo.renderToNodeStream=L,qo.renderToStaticMarkup=M,qo.renderToStaticNodeStream=N,qo.renderToString=E,qo.version=t}()),qo}var pl={};/**
67
+ * @license React
68
+ * react-dom-server.browser.development.js
69
+ *
70
+ * Copyright (c) Facebook, Inc. and its affiliates.
71
+ *
72
+ * This source code is licensed under the MIT license found in the
73
+ * LICENSE file in the root directory of this source tree.
74
+ */var _c;function Nh(){return _c||(_c=1,process.env.NODE_ENV!=="production"&&function(){var e=oe,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),b=1;b<l;b++)d[b-1]=arguments[b];m("warn",o,d)}}function s(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),b=1;b<l;b++)d[b-1]=arguments[b];m("error",o,d)}}function m(o,l,d){{var b=r.ReactDebugCurrentFrame,E=b.getStackAddendum();E!==""&&(l+="%s",d=d.concat([E]));var M=d.map(function(L){return String(L)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}function y(o){o()}var S=512,p=null,x=0;function A(o){p=new Uint8Array(S),x=0}function T(o,l){if(l.length!==0){if(l.length>S){x>0&&(o.enqueue(new Uint8Array(p.buffer,0,x)),p=new Uint8Array(S),x=0),o.enqueue(l);return}var d=l,b=p.length-x;b<d.length&&(b===0?o.enqueue(p):(p.set(d.subarray(0,b),x),o.enqueue(p),d=d.subarray(b)),p=new Uint8Array(S),x=0),p.set(d,x),x+=d.length}}function D(o,l){return T(o,l),!0}function _(o){p&&x>0&&(o.enqueue(new Uint8Array(p.buffer,0,x)),p=null,x=0)}function $(o){o.close()}var G=new TextEncoder;function B(o){return G.encode(o)}function F(o){return G.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 q(o){try{return te(o),!1}catch{return!0}}function te(o){return""+o}function ee(o,l){if(q(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)),te(o)}function re(o,l){if(q(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)),te(o)}function le(o){if(q(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)),te(o)}var ce=Object.prototype.hasOwnProperty,ze=0,Ne=1,we=2,He=3,Ce=4,dt=5,Pe=6,ot=":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",Ze=ot+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",je=new RegExp("^["+ot+"]["+Ze+"]*$"),Ut={},he={};function Se(o){return ce.call(he,o)?!0:ce.call(Ut,o)?!1:je.test(o)?(he[o]=!0,!0):(Ut[o]=!0,s("Invalid attribute name: `%s`",o),!1)}function Nt(o,l,d,b){if(d!==null&&d.type===ze)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(b)return!1;if(d!==null)return!d.acceptsBooleans;var E=o.toLowerCase().slice(0,5);return E!=="data-"&&E!=="aria-"}default:return!1}}function mt(o){return ke.hasOwnProperty(o)?ke[o]:null}function Ae(o,l,d,b,E,M,L){this.acceptsBooleans=l===we||l===He||l===Ce,this.attributeName=b,this.attributeNamespace=E,this.mustUseProperty=d,this.propertyName=o,this.type=l,this.sanitizeURL=M,this.removeEmptyString=L}var ke={},Rt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Rt.forEach(function(o){ke[o]=new Ae(o,ze,!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];ke[l]=new Ae(l,Ne,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){ke[o]=new Ae(o,we,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){ke[o]=new Ae(o,we,!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){ke[o]=new Ae(o,He,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){ke[o]=new Ae(o,He,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){ke[o]=new Ae(o,Ce,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){ke[o]=new Ae(o,Pe,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){ke[o]=new Ae(o,dt,!1,o.toLowerCase(),null,!1,!1)});var Ht=/[\-\:]([a-z])/g,Ge=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(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){ke[o]=new Ae(o,Ne,!1,o.toLowerCase(),null,!1,!1)});var it="xlinkHref";ke[it]=new Ae("xlinkHref",Ne,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){ke[o]=new Ae(o,Ne,!1,o.toLowerCase(),null,!0,!0)});var Ie={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 yn(o,l){return o+l.charAt(0).toUpperCase()+l.substring(1)}var $e=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(o){$e.forEach(function(l){Ie[yn(l,o)]=Ie[o]})});var qe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function On(o,l){qe[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 bn(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 Mr={"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},gt={},xn=new RegExp("^(aria)-["+Ze+"]*$"),Sn=new RegExp("^(aria)[A-Z]["+Ze+"]*$");function Dr(o,l){{if(ce.call(gt,l)&&gt[l])return!0;if(Sn.test(l)){var d="aria-"+l.slice(4).toLowerCase(),b=Mr.hasOwnProperty(d)?d:null;if(b==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),gt[l]=!0,!0;if(l!==b)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,b),gt[l]=!0,!0}if(xn.test(l)){var E=l.toLowerCase(),M=Mr.hasOwnProperty(E)?E:null;if(M==null)return gt[l]=!0,!1;if(l!==M)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,M),gt[l]=!0,!0}}return!0}function vt(o,l){{var d=[];for(var b in l){var E=Dr(o,b);E||d.push(b)}var M=d.map(function(L){return"`"+L+"`"}).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 Je(o,l){bn(o,l)||vt(o,l)}var We=!1;function Qn(o,l){{if(o!=="input"&&o!=="textarea"&&o!=="select")return;l!=null&&l.value===null&&!We&&(We=!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 Kn={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"},qn=function(){};{var Be={},er=/^on./,Or=/^on[^A-Z]/,Fr=new RegExp("^(aria)-["+Ze+"]*$"),tr=new RegExp("^(aria)[A-Z]["+Ze+"]*$");qn=function(o,l,d,b){if(ce.call(Be,l)&&Be[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."),Be[l]=!0,!0;if(b!=null){var M=b.registrationNameDependencies,L=b.possibleRegistrationNames;if(M.hasOwnProperty(l))return!0;var N=L.hasOwnProperty(E)?L[E]:null;if(N!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",l,N),Be[l]=!0,!0;if(er.test(l))return s("Unknown event handler property `%s`. It will be ignored.",l),Be[l]=!0,!0}else if(er.test(l))return Or.test(l)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Be[l]=!0,!0;if(Fr.test(l)||tr.test(l))return!0;if(E==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Be[l]=!0,!0;if(E==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Be[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),Be[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),Be[l]=!0,!0;var n=mt(l),a=n!==null&&n.type===ze;if(Kn.hasOwnProperty(E)){var f=Kn[E];if(f!==l)return s("Invalid DOM property `%s`. Did you mean `%s`?",l,f),Be[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),Be[l]=!0,!0;return typeof d=="boolean"&&Nt(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),Be[l]=!0,!0):a?!0:Nt(l,d,n,!1)?(Be[l]=!0,!1):((d==="false"||d==="true")&&n!==null&&n.type===He&&(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),Be[l]=!0),!0)}}var Fn=function(o,l,d){{var b=[];for(var E in l){var M=qn(o,E,l[E],d);M||b.push(E)}var L=b.map(function(N){return"`"+N+"`"}).join(", ");b.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 ",L,o):b.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 ",L,o)}};function po(o,l,d){bn(o,l)||Fn(o,l,d)}var nr=function(){};{var qt=/^(?:webkit|moz|o)[A-Z]/,rr=/^-ms-/,Lr=/-(.)/g,at=/;\s*$/,Pt={},en={},xe=!1,tn=!1,Ln=function(o){return o.replace(Lr,function(l,d){return d.toUpperCase()})},wn=function(o){Pt.hasOwnProperty(o)&&Pt[o]||(Pt[o]=!0,s("Unsupported style property %s. Did you mean %s?",o,Ln(o.replace(rr,"ms-"))))},At=function(o){Pt.hasOwnProperty(o)&&Pt[o]||(Pt[o]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1)))},_n=function(o,l){en.hasOwnProperty(l)&&en[l]||(en[l]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,l.replace(at,"")))},$t=function(o,l){xe||(xe=!0,s("`NaN` is an invalid value for the `%s` css style property.",o))},Fe=function(o,l){tn||(tn=!0,s("`Infinity` is an invalid value for the `%s` css style property.",o))};nr=function(o,l){o.indexOf("-")>-1?wn(o):qt.test(o)?At(o):at.test(l)&&_n(o,l),typeof l=="number"&&(isNaN(l)?$t(o,l):isFinite(l)||Fe(o,l))}}var or=nr,ir=/["'&<>]/;function _r(o){le(o);var l=""+o,d=ir.exec(l);if(!d)return l;var b,E="",M,L=0;for(M=d.index;M<l.length;M++){switch(l.charCodeAt(M)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}L!==M&&(E+=l.substring(L,M)),L=M+1,E+=b}return L!==M?E+l.substring(L,M):E}function Ve(o){return typeof o=="boolean"||typeof o=="number"?""+o:_r(o)}var ar=/([A-Z])/g,mo=/^ms-/;function go(o){return o.replace(ar,"-$1").toLowerCase().replace(mo,"-ms-")}var It=/^[\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,sr=!1;function jn(o){!sr&&It.test(o)&&(sr=!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 lr=Array.isArray;function kn(o){return lr(o)}var nn=F("<script>"),vo=F("<\/script>"),ur=F('<script src="'),Bn=F('<script type="module" src="'),rn=F('" async=""><\/script>');function Yt(o){return le(o),(""+o).replace(Mt,Tn)}var Mt=/(<\/|<)(s)(cript)/gi,Tn=function(o,l,d,b){return""+l+(d==="s"?"\\u0073":"\\u0053")+b};function Cn(o,l,d,b,E){var M=o===void 0?"":o,L=l===void 0?nn:F('<script nonce="'+Ve(l)+'">'),N=[];if(d!==void 0&&N.push(L,B(Yt(d)),vo),b!==void 0)for(var n=0;n<b.length;n++)N.push(ur,B(Ve(b[n])),rn);if(E!==void 0)for(var a=0;a<E.length;a++)N.push(Bn,B(Ve(E[a])),rn);return{bootstrapChunks:N,startInlineScript:L,placeholderPrefix:F(M+"P:"),segmentPrefix:F(M+"S:"),boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ht=0,De=1,Dt=2,yt=3,Xe=4,Vn=5,Ot=6,Ft=7;function st(o,l){return{insertionMode:o,selectedValue:l}}function Gt(o){var l=o==="http://www.w3.org/2000/svg"?Dt:o==="http://www.w3.org/1998/Math/MathML"?yt:ht;return st(l,null)}function on(o,l,d){switch(l){case"select":return st(De,d.value!=null?d.value:d.defaultValue);case"svg":return st(Dt,null);case"math":return st(yt,null);case"foreignObject":return st(De,null);case"table":return st(Xe,null);case"thead":case"tbody":case"tfoot":return st(Vn,null);case"colgroup":return st(Ft,null);case"tr":return st(Ot,null)}return o.insertionMode>=Xe||o.insertionMode===ht?st(De,null):o}var cr=null;function fr(o){var l=o.nextSuspenseID++;return F(o.boundaryPrefix+l.toString(16))}function zn(o,l,d){var b=o.idPrefix,E=":"+b+"R"+l;return d>0&&(E+="H"+d.toString(32)),E+":"}function an(o){return Ve(o)}var dr=F("<!-- -->");function Wn(o,l,d,b){return l===""?b:(b&&o.push(dr),o.push(B(an(l))),!0)}function Un(o,l,d,b){d&&b&&o.push(dr)}var u=new Map;function g(o){var l=u.get(o);if(l!==void 0)return l;var d=F(Ve(go(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 b=!0;for(var E in d)if(ce.call(d,E)){var M=d[E];if(!(M==null||typeof M=="boolean"||M==="")){var L=void 0,N=void 0,n=E.indexOf("--")===0;n?(L=B(Ve(E)),re(M,E),N=B(Ve((""+M).trim()))):(or(E,M),L=g(E),typeof M=="number"?M!==0&&!ce.call(Ie,E)?N=B(M+"px"):N=B(""+M):(re(M,E),N=B(Ve((""+M).trim())))),b?(b=!1,o.push(C,L,R,N)):o.push(z,L,R,N)}}b||o.push(ae)}var H=F(" "),Q=F('="'),ae=F('"'),fe=F('=""');function ue(o,l,d,b){switch(d){case"style":{j(o,l,b);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=mt(d);if(E!==null){switch(typeof b){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}var M=E.attributeName,L=B(M);switch(E.type){case He:b&&o.push(H,L,fe);return;case Ce:b===!0?o.push(H,L,fe):b===!1||o.push(H,L,Q,B(Ve(b)),ae);return;case dt:isNaN(b)||o.push(H,L,Q,B(Ve(b)),ae);break;case Pe:!isNaN(b)&&b>=1&&o.push(H,L,Q,B(Ve(b)),ae);break;default:E.sanitizeURL&&(ee(b,M),b=""+b,jn(b)),o.push(H,L,Q,B(Ve(b)),ae)}}else if(Se(d)){switch(typeof b){case"function":case"symbol":return;case"boolean":{var N=d.toLowerCase().slice(0,5);if(N!=="data-"&&N!=="aria-")return}}o.push(H,B(d),Q,B(Ve(b)),ae)}}}var ye=F(">"),lt=F("/>");function et(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 b=l.__html;b!=null&&(le(b),o.push(B(""+b)))}}var tt=!1,Xt=!1,bt=!1,Nn=!1,sn=!1,En=!1,Zt=!1;function hr(o,l){{var d=o[l];if(d!=null){var b=kn(d);o.multiple&&!b?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!o.multiple&&b&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function da(o,l,d){On("select",l),hr(l,"value"),hr(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!bt&&(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"),bt=!0),o.push(xt("select"));var b=null,E=null;for(var M in l)if(ce.call(l,M)){var L=l[M];if(L==null)continue;switch(M){case"children":b=L;break;case"dangerouslySetInnerHTML":E=L;break;case"defaultValue":case"value":break;default:ue(o,d,M,L);break}}return o.push(ye),et(o,E,b),b}function ha(o){var l="";return e.Children.forEach(o,function(d){d!=null&&(l+=d,!sn&&typeof d!="string"&&typeof d!="number"&&(sn=!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 yo=F(' selected=""');function pa(o,l,d,b){var E=b.selectedValue;o.push(xt("option"));var M=null,L=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,Zt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zt=!0);break;case"dangerouslySetInnerHTML":n=f;break;case"value":L=f;default:ue(o,d,a,f);break}}if(E!=null){var h;if(L!==null?(ee(L,"value"),h=""+L):(n!==null&&(En||(En=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),h=ha(M)),kn(E))for(var w=0;w<E.length;w++){ee(E[w],"value");var I=""+E[w];if(I===h){o.push(yo);break}}else ee(E,"select.value"),""+E===h&&o.push(yo)}else N&&o.push(yo);return o.push(ye),et(o,n,M),M}function bo(o,l,d){On("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Xt&&(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),Xt=!0),l.value!==void 0&&l.defaultValue!==void 0&&!tt&&(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),tt=!0),o.push(xt("input"));var b=null,E=null,M=null,L=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":L=n;break;case"defaultValue":E=n;break;case"checked":M=n;break;case"value":b=n;break;default:ue(o,d,N,n);break}}return M!==null?ue(o,d,"checked",M):L!==null&&ue(o,d,"checked",L),b!==null?ue(o,d,"value",b):E!==null&&ue(o,d,"value",E),o.push(lt),null}function Jt(o,l,d){On("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Nn&&(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"),Nn=!0),o.push(xt("textarea"));var b=null,E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":M=N;break;case"value":b=N;break;case"defaultValue":E=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ue(o,d,L,N);break}}if(b===null&&E!==null&&(b=E),o.push(ye),M!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),b!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(kn(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");le(M[0]),b=""+M[0]}le(M),b=""+M}return typeof b=="string"&&b[0]===`
75
+ `&&o.push(Rn),b!==null&&(ee(b,"value"),o.push(B(an(""+b)))),null}function pr(o,l,d,b){o.push(xt(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,b,E,M);break}}return o.push(lt),null}function jr(o,l,d){o.push(xt("menuitem"));for(var b in l)if(ce.call(l,b)){var E=l[b];if(E==null)continue;switch(b){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ue(o,d,b,E);break}}return o.push(ye),null}function Ee(o,l,d){o.push(xt("title"));var b=null;for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":b=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ue(o,d,E,M);break}}o.push(ye);{var L=Array.isArray(b)&&b.length<2?b[0]||null:b;Array.isArray(b)&&b.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"):L!=null&&L.$$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"):L!=null&&typeof L!="string"&&typeof L!="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 b}function ln(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,b,L,N);break}}return o.push(ye),et(o,M,E),typeof E=="string"?(o.push(B(an(E))),null):E}function ut(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;case"style":j(o,b,N);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Se(L)&&typeof N!="function"&&typeof N!="symbol"&&o.push(H,B(L),Q,B(Ve(N)),ae);break}}return o.push(ye),et(o,M,E),E}var Rn=F(`
76
+ `);function un(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,b,L,N);break}}if(o.push(ye),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]===`
77
+ `?o.push(Rn,B(n)):(le(n),o.push(B(""+n))))}return typeof E=="string"&&E[0]===`
78
+ `&&o.push(Rn),E}var Br=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,cn=new Map;function xt(o){var l=cn.get(o);if(l===void 0){if(!Br.test(o))throw new Error("Invalid tag: "+o);l=F("<"+o),cn.set(o,l)}return l}var xo=F("<!DOCTYPE html>");function So(o,l,d,b,E){switch(Je(l,d),Qn(l,d),po(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!==Dt&&E.insertionMode!==yt&&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 da(o,d,b);case"option":return pa(o,d,b,E);case"textarea":return Jt(o,d,b);case"input":return bo(o,d,b);case"menuitem":return jr(o,d,b);case"title":return Ee(o,d,b);case"listing":case"pre":return un(o,d,l,b);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 pr(o,d,l,b);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 ln(o,d,l,b);case"html":return E.insertionMode===ht&&o.push(xo),ln(o,d,l,b);default:return l.indexOf("-")===-1&&typeof d.is!="string"?ln(o,d,l,b):ut(o,d,l,b)}}var si=F("</"),li=F(">");function ui(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(si,B(l),li)}}function ma(o,l){for(var d=l.bootstrapChunks,b=0;b<d.length-1;b++)T(o,d[b]);return b<d.length?D(o,d[b]):!0}var ga=F('<template id="'),Vr=F('"></template>');function zr(o,l,d){T(o,ga),T(o,l.placeholderPrefix);var b=B(d.toString(16));return T(o,b),D(o,Vr)}var Wr=F("<!--$-->"),mr=F('<!--$?--><template id="'),va=F('"></template>'),gr=F("<!--$!-->"),wo=F("<!--/$-->"),ko=F("<template"),Hn=F('"'),$n=F(' data-dgst="'),Ur=F(' data-msg="'),ci=F(' data-stck="'),To=F("></template>");function fi(o,l){return D(o,Wr)}function Nr(o,l,d){if(T(o,mr),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(o,d),D(o,va)}function ct(o,l,d,b,E){var M;return M=D(o,gr),T(o,ko),d&&(T(o,$n),T(o,B(Ve(d))),T(o,Hn)),b&&(T(o,Ur),T(o,B(Ve(b))),T(o,Hn)),E&&(T(o,ci),T(o,B(Ve(E))),T(o,Hn)),M=D(o,To),M}function di(o,l){return D(o,wo)}function Hr(o,l){return D(o,wo)}function ya(o,l){return D(o,wo)}var hi=F('<div hidden id="'),$r=F('">'),pi=F("</div>"),mi=F('<svg aria-hidden="true" style="display:none" id="'),Yr=F('">'),Gr=F("</svg>"),gi=F('<math aria-hidden="true" style="display:none" id="'),vi=F('">'),yi=F("</math>"),Co=F('<table hidden id="'),bi=F('">'),c=F("</table>"),v=F('<table hidden><tbody id="'),k=F('">'),P=F("</tbody></table>"),W=F('<table hidden><tr id="'),V=F('">'),Y=F("</tr></table>"),K=F('<table hidden><colgroup id="'),de=F('">'),ve=F("</colgroup></table>");function ge(o,l,d,b){switch(d.insertionMode){case ht:case De:return T(o,hi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,$r);case Dt:return T(o,mi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,Yr);case yt:return T(o,gi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,vi);case Xe:return T(o,Co),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,bi);case Vn:return T(o,v),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,k);case Ot:return T(o,W),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,V);case Ft:return T(o,K),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,de);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Re(o,l){switch(l.insertionMode){case ht:case De:return D(o,pi);case Dt:return D(o,Gr);case yt:return D(o,yi);case Xe:return D(o,c);case Vn:return D(o,P);case Ot:return D(o,Y);case Ft:return D(o,ve);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ft="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)}",St='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()}}',wt='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())}',Xr=F(ft+';$RS("'),xi=F('$RS("'),Eo=F('","'),Wl=F('")<\/script>');function Ul(o,l,d){T(o,l.startInlineScript),l.sentCompleteSegmentFunction?T(o,xi):(l.sentCompleteSegmentFunction=!0,T(o,Xr)),T(o,l.segmentPrefix);var b=B(d.toString(16));return T(o,b),T(o,Eo),T(o,l.placeholderPrefix),T(o,b),D(o,Wl)}var Nl=F(St+';$RC("'),Hl=F('$RC("'),$l=F('","'),Yl=F('")<\/script>');function ba(o,l,d,b){if(T(o,l.startInlineScript),l.sentCompleteBoundaryFunction?T(o,Hl):(l.sentCompleteBoundaryFunction=!0,T(o,Nl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var E=B(b.toString(16));return T(o,d),T(o,$l),T(o,l.segmentPrefix),T(o,E),D(o,Yl)}var Gl=F(wt+';$RX("'),Xl=F('$RX("'),xa=F('"'),Zl=F(")<\/script>"),Sa=F(",");function Cs(o,l,d,b,E,M){if(T(o,l.startInlineScript),l.sentClientRenderFunction?T(o,Xl):(l.sentClientRenderFunction=!0,T(o,Gl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(o,d),T(o,xa),(b||E||M)&&(T(o,Sa),T(o,B(wa(b||"")))),(E||M)&&(T(o,Sa),T(o,B(wa(E||"")))),M&&(T(o,Sa),T(o,B(wa(M)))),D(o,Zl)}var Es=/[<\u2028\u2029]/g;function wa(o){var l=JSON.stringify(o);return l.replace(Es,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,Jl=Symbol.for("react.element"),Rs=Symbol.for("react.portal"),kt=Symbol.for("react.fragment"),Ps=Symbol.for("react.strict_mode"),ka=Symbol.for("react.profiler"),Si=Symbol.for("react.provider"),wi=Symbol.for("react.context"),ki=Symbol.for("react.forward_ref"),Ro=Symbol.for("react.suspense"),Po=Symbol.for("react.suspense_list"),Ao=Symbol.for("react.memo"),Zr=Symbol.for("react.lazy"),Ta=Symbol.for("react.scope"),Ca=Symbol.for("react.debug_trace_mode"),Ti=Symbol.for("react.legacy_hidden"),Ql=Symbol.for("react.default_value"),As=Symbol.iterator,Kl="@@iterator";function ql(o){if(o===null||typeof o!="object")return null;var l=As&&o[As]||o[Kl];return typeof l=="function"?l:null}function Is(o,l,d){var b=o.displayName;if(b)return b;var E=l.displayName||l.name||"";return E!==""?d+"("+E+")":d}function Ms(o){return o.displayName||"Context"}function Le(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 kt:return"Fragment";case Rs:return"Portal";case ka:return"Profiler";case Ps:return"StrictMode";case Ro:return"Suspense";case Po:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case wi:var l=o;return Ms(l)+".Consumer";case Si:var d=o;return Ms(d._context)+".Provider";case ki:return Is(o,o.render,"ForwardRef");case Ao:var b=o.displayName||null;return b!==null?b:Le(o.type)||"Memo";case Zr:{var E=o,M=E._payload,L=E._init;try{return Le(L(M))}catch{return null}}}return null}var Io=0,Ea,Oe,Jr,Ra,Pa,Aa,Ia;function Ma(){}Ma.__reactDisabledLog=!0;function Ds(){{if(Io===0){Ea=console.log,Oe=console.info,Jr=console.warn,Ra=console.error,Pa=console.group,Aa=console.groupCollapsed,Ia=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Ma,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}Io++}}function Os(){{if(Io--,Io===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},o,{value:Ea}),info:Lt({},o,{value:Oe}),warn:Lt({},o,{value:Jr}),error:Lt({},o,{value:Ra}),group:Lt({},o,{value:Pa}),groupCollapsed:Lt({},o,{value:Aa}),groupEnd:Lt({},o,{value:Ia})})}Io<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ci=r.ReactCurrentDispatcher,Da;function Mo(o,l,d){{if(Da===void 0)try{throw Error()}catch(E){var b=E.stack.trim().match(/\n( *(at )?)/);Da=b&&b[1]||""}return`
79
+ `+Da+o}}var Do=!1,Qr;{var Oo=typeof WeakMap=="function"?WeakMap:Map;Qr=new Oo}function Fo(o,l){if(!o||Do)return"";{var d=Qr.get(o);if(d!==void 0)return d}var b;Do=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=Ci.current,Ci.current=null,Ds();try{if(l){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(O){b=O}Reflect.construct(o,[],L)}else{try{L.call()}catch(O){b=O}o.call(L.prototype)}}else{try{throw Error()}catch(O){b=O}o()}}catch(O){if(O&&b&&typeof O.stack=="string"){for(var N=O.stack.split(`
80
+ `),n=b.stack.split(`
81
+ `),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=`
82
+ `+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{Do=!1,Ci.current=M,Os(),Error.prepareStackTrace=E}var w=o?o.displayName||o.name:"",I=w?Mo(w):"";return typeof o=="function"&&Qr.set(o,I),I}function Ei(o,l,d){return Fo(o,!0)}function Fs(o,l,d){return Fo(o,!1)}function Oa(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function Fa(o,l,d){if(o==null)return"";if(typeof o=="function")return Fo(o,Oa(o));if(typeof o=="string")return Mo(o);switch(o){case Ro:return Mo("Suspense");case Po:return Mo("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case ki:return Fs(o.render);case Ao:return Fa(o.type,l,d);case Zr:{var b=o,E=b._payload,M=b._init;try{return Fa(M(E),l,d)}catch{}}}return""}var La={},Ls=r.ReactDebugCurrentFrame;function Kr(o){if(o){var l=o._owner,d=Fa(o.type,o._source,l?l.type:null);Ls.setExtraStackFrame(d)}else Ls.setExtraStackFrame(null)}function _a(o,l,d,b,E){{var M=Function.call.bind(ce);for(var L in o)if(M(o,L)){var N=void 0;try{if(typeof o[L]!="function"){var n=Error((b||"React class")+": "+d+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw n.name="Invariant Violation",n}N=o[L](l,L,b,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(a){N=a}N&&!(N instanceof Error)&&(Kr(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).",b||"React class",d,L,typeof N),Kr(null)),N instanceof Error&&!(N.message in La)&&(La[N.message]=!0,Kr(E),s("Failed %s type: %s",d,N.message),Kr(null))}}}var Ri;Ri={};var vr={};Object.freeze(vr);function ja(o,l){{var d=o.contextTypes;if(!d)return vr;var b={};for(var E in d)b[E]=l[E];{var M=Le(o)||"Unknown";_a(d,b,"context",M)}return b}}function Ba(o,l,d,b){{if(typeof o.getChildContext!="function"){{var E=Le(l)||"Unknown";Ri[E]||(Ri[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 L in M)if(!(L in b))throw new Error((Le(l)||"Unknown")+'.getChildContext(): key "'+L+'" is not defined in childContextTypes.');{var N=Le(l)||"Unknown";_a(b,M,"child context",N)}return Lt({},d,M)}}var Yn;Yn={};var _s=null,yr=null;function br(o){o.context._currentValue=o.parentValue}function Va(o){o.context._currentValue=o.value}function fn(o,l){if(o!==l){br(o);var d=o.parent,b=l.parent;if(d===null){if(b!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(b===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");fn(d,b)}Va(l)}}function Pi(o){br(o);var l=o.parent;l!==null&&Pi(l)}function Ai(o){var l=o.parent;l!==null&&Ai(l),Va(o)}function Lo(o,l){br(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?fn(d,l):Lo(d,l)}function za(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?fn(o,d):za(o,d),Va(l)}function _o(o){var l=yr,d=o;l!==d&&(l===null?Ai(d):d===null?Pi(l):l.depth===d.depth?fn(l,d):l.depth>d.depth?Lo(l,d):za(l,d),yr=d)}function js(o,l){var d;d=o._currentValue,o._currentValue=l,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Yn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Yn;var b=yr,E={parent:b,depth:b===null?0:b.depth+1,context:o,parentValue:d,value:l};return yr=E,E}function Bs(o){var l=yr;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===Ql?l.context._currentValue=l.context._defaultValue:l.context._currentValue=d,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Yn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Yn}return yr=l.parent}function Ii(){return yr}function jo(o){var l=o._currentValue;return l}function Wa(o){return o._reactInternals}function eu(o,l){o._reactInternals=l}var qr={},Mi={},Ua,Di,Oi,Bo,Fi,eo,Vo,Li,to;{Ua=new Set,Di=new Set,Oi=new Set,Vo=new Set,Bo=new Set,Li=new Set,to=new Set;var _i=new Set;eo=function(o,l){if(!(o===null||typeof o=="function")){var d=l+"_"+o;_i.has(d)||(_i.add(d),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l,o))}},Fi=function(o,l){if(l===void 0){var d=Le(o)||"Component";Bo.has(d)||(Bo.add(d),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function ji(o,l){{var d=o.constructor,b=d&&Le(d)||"ReactClass",E=b+"."+l;if(qr[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.
83
+
84
+ Please check the code for the %s component.`,l,l,b),qr[E]=!0}}var Bi={isMounted:function(o){return!1},enqueueSetState:function(o,l,d){var b=Wa(o);b.queue===null?ji(o,"setState"):(b.queue.push(l),d!=null&&eo(d,"setState"))},enqueueReplaceState:function(o,l,d){var b=Wa(o);b.replace=!0,b.queue=[l],d!=null&&eo(d,"setState")},enqueueForceUpdate:function(o,l){var d=Wa(o);d.queue===null?ji(o,"forceUpdate"):l!=null&&eo(l,"setState")}};function Vs(o,l,d,b,E){var M=d(E,b);Fi(l,M);var L=M==null?b:Lt({},b,M);return L}function zs(o,l,d){var b=vr,E=o.contextType;if("contextType"in o){var M=E===null||E!==void 0&&E.$$typeof===wi&&E._context===void 0;if(!M&&!to.has(o)){to.add(o);var L="";E===void 0?L=" 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"?L=" However, it is set to a "+typeof E+".":E.$$typeof===Si?L=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?L=" Did you accidentally pass the Context.Consumer instead?":L=" 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",Le(o)||"Component",L)}}typeof E=="object"&&E!==null?b=jo(E):b=d;var N=new o(l,b);{if(typeof o.getDerivedStateFromProps=="function"&&(N.state===null||N.state===void 0)){var n=Le(o)||"Component";Ua.has(n)||(Ua.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 w=Le(o)||"Component",I=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Oi.has(w)||(Oi.add(w),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
85
+
86
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
87
+
88
+ The above lifecycles should be removed. Learn more about this warning here:
89
+ https://reactjs.org/link/unsafe-component-lifecycles`,w,I,a!==null?`
90
+ `+a:"",f!==null?`
91
+ `+f:"",h!==null?`
92
+ `+h:""))}}}return N}function Ws(o,l,d){{var b=Le(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?",b):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",b)),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?",b),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.",b),o.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",b),o.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",b),o.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",b),l.contextType&&l.contextTypes&&!Li.has(l)&&(Li.add(l),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",b)),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.",b),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.",Le(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()?",b),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().",b),typeof o.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b),typeof o.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",b);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.",b,b),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.",b,b),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Di.has(l)&&(Di.add(l),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(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.",b),typeof o.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof l.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",b);var L=o.state;L&&(typeof L!="object"||kn(L))&&s("%s.state: must be set to an object or null",b),typeof o.getChildContext=="function"&&typeof l.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",b)}}function tu(o,l){var d=l.state;if(typeof l.componentWillMount=="function"){if(l.componentWillMount.__suppressDeprecationWarning!==!0){var b=Le(o)||"Unknown";Mi[b]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
93
+
94
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
95
+
96
+ Please update the following components: %s`,b),Mi[b]=!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.",Le(o)||"Component"),Bi.enqueueReplaceState(l,l.state,null))}function nu(o,l,d,b){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 L=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,L,d,b):a;f!=null&&(N?(N=!1,L=Lt({},L,f)):Lt(L,f))}l.state=L}}else o.queue=null}function Us(o,l,d,b){Ws(o,l,d);var E=o.state!==void 0?o.state:null;o.updater=Bi,o.props=d,o.state=E;var M={queue:[],replace:!1};eu(o,M);var L=l.contextType;if(typeof L=="object"&&L!==null?o.context=jo(L):o.context=b,o.state===d){var N=Le(l)||"Component";Vo.has(N)||(Vo.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=Vs(o,l,n,E,d)),typeof l.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(tu(l,o),nu(M,o,d,b))}var ru={id:1,overflow:""};function ou(o){var l=o.overflow,d=o.id,b=d&~iu(d);return b.toString(32)+l}function Vi(o,l,d){var b=o.id,E=o.overflow,M=zi(b)-1,L=b&~(1<<M),N=d+1,n=zi(l)+M;if(n>30){var a=M-M%5,f=(1<<a)-1,h=(L&f).toString(32),w=L>>a,I=M-a,O=zi(l)+I,U=N<<I,J=U|w,ie=h+E;return{id:1<<O|J,overflow:ie}}else{var se=N<<M,me=se|L,Me=E;return{id:1<<n|me,overflow:Me}}}function zi(o){return 32-Na(o)}function iu(o){return 1<<zi(o)-1}var Na=Math.clz32?Math.clz32:su,Wi=Math.log,au=Math.LN2;function su(o){var l=o>>>0;return l===0?32:31-(Wi(l)/au|0)|0}function lu(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var uu=typeof Object.is=="function"?Object.is:lu,Pn=null,Ha=null,Ui=null,be=null,xr=!1,Sr=!1,Te=0,_t=null,wr=0,Ni=25,nt=!1,An;function kr(){if(Pn===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:
97
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
98
+ 2. You might be breaking the Rules of Hooks
99
+ 3. You might have more than one copy of React in the same app
100
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return nt&&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"),Pn}function dn(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.",An),!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.
101
+
102
+ Previous: %s
103
+ Incoming: %s`,An,"["+o.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<o.length;d++)if(!uu(o[d],l[d]))return!1;return!0}function Tr(){if(wr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function In(){return be===null?Ui===null?(xr=!1,Ui=be=Tr()):(xr=!0,be=Ui):be.next===null?(xr=!1,be=be.next=Tr()):(xr=!0,be=be.next),be}function cu(o,l){Pn=l,Ha=o,nt=!1,Te=0}function Ns(o,l,d,b){for(;Sr;)Sr=!1,Te=0,wr+=1,be=null,d=o(l,b);return $a(),d}function Hi(){var o=Te!==0;return o}function $a(){nt=!1,Pn=null,Ha=null,Sr=!1,Ui=null,wr=0,_t=null,be=null}function fu(o){return nt&&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()."),jo(o)}function Hs(o){return An="useContext",kr(),jo(o)}function zo(o,l){return typeof l=="function"?l(o):l}function du(o){return An="useState",$s(zo,o)}function $s(o,l,d){if(o!==zo&&(An="useReducer"),Pn=kr(),be=In(),xr){var b=be.queue,E=b.dispatch;if(_t!==null){var M=_t.get(b);if(M!==void 0){_t.delete(b);var L=be.memoizedState,N=M;do{var n=N.action;nt=!0,L=o(L,n),nt=!1,N=N.next}while(N!==null);return be.memoizedState=L,[L,E]}}return[be.memoizedState,E]}else{nt=!0;var a;o===zo?a=typeof l=="function"?l():l:a=d!==void 0?d(l):l,nt=!1,be.memoizedState=a;var f=be.queue={last:null,dispatch:null},h=f.dispatch=Gs.bind(null,Pn,f);return[be.memoizedState,h]}}function $i(o,l){Pn=kr(),be=In();var d=l===void 0?null:l;if(be!==null){var b=be.memoizedState;if(b!==null&&d!==null){var E=b[1];if(dn(d,E))return b[0]}}nt=!0;var M=o();return nt=!1,be.memoizedState=[M,d],M}function hu(o){Pn=kr(),be=In();var l=be.memoizedState;if(l===null){var d={current:o};return Object.seal(d),be.memoizedState=d,d}else return l}function Ys(o,l){An="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 Gs(o,l,d){if(wr>=Ni)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o===Pn){Sr=!0;var b={action:d,next:null};_t===null&&(_t=new Map);var E=_t.get(l);if(E===void 0)_t.set(l,b);else{for(var M=E;M.next!==null;)M=M.next;M.next=b}}}function pu(o,l){return $i(function(){return o},l)}function mu(o,l,d){return kr(),l(o._source)}function gu(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 vu(o){return kr(),o}function yu(){throw new Error("startTransition cannot be called during server rendering.")}function bu(){return kr(),[!1,yu]}function xu(){var o=Ha,l=ou(o.treeContext),d=Ya;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var b=Te++;return zn(d,l,b)}function Yi(){}var Xs={readContext:fu,useContext:Hs,useMemo:$i,useReducer:$s,useRef:hu,useState:du,useInsertionEffect:Yi,useLayoutEffect:Ys,useCallback:pu,useImperativeHandle:Yi,useEffect:Yi,useDebugValue:Yi,useDeferredValue:vu,useTransition:bu,useId:xu,useMutableSource:mu,useSyncExternalStore:gu},Ya=null;function Wo(o){Ya=o}function Zs(o){try{var l="",d=o;do{switch(d.tag){case 0:l+=Mo(d.type,null,null);break;case 1:l+=Fs(d.type,null,null);break;case 2:l+=Ei(d.type,null,null);break}d=d.parent}while(d);return l}catch(b){return`
104
+ Error generating stack: `+b.message+`
105
+ `+b.stack}}var Uo=r.ReactCurrentDispatcher,Gi=r.ReactDebugCurrentFrame,Ga=0,Gn=1,Xi=2,Zi=3,Cr=4,Js=0,Xa=1,Er=2,Su=12800;function Qs(o){return console.error(o),null}function hn(){}function wu(o,l,d,b,E,M,L,N,n){var a=[],f=new Set,h={destination:null,responseState:l,progressiveChunkSize:b===void 0?Su:b,status:Js,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:E===void 0?Qs:E,onAllReady:M===void 0?hn:M,onShellReady:L===void 0?hn:L,onShellError:N===void 0?hn:N,onFatalError:n===void 0?hn:n},w=Ji(h,0,null,d,!1,!1);w.parentFlushed=!0;var I=Za(h,o,null,w,f,vr,_s,ru);return a.push(I),h}function ku(o,l){var d=o.pingedTasks;d.push(l),d.length===1&&y(function(){return Xo(o)})}function No(o,l){return{id:cr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Za(o,l,d,b,E,M,L,N){o.allPendingTasks++,d===null?o.pendingRootTasks++:d.pendingTasks++;var n={node:l,ping:function(){return ku(o,n)},blockedBoundary:d,blockedSegment:b,abortSet:E,legacyContext:M,context:L,treeContext:N};return n.componentStack=null,E.add(n),n}function Ji(o,l,d,b,E,M){return{status:Ga,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:b,boundary:d,lastPushedText:E,textEmbedded:M}}var Mn=null;function Ho(){return Mn===null||Mn.componentStack===null?"":Zs(Mn.componentStack)}function Xn(o,l){o.componentStack={tag:0,parent:o.componentStack,type:l}}function pn(o,l){o.componentStack={tag:1,parent:o.componentStack,type:l}}function Ja(o,l){o.componentStack={tag:2,parent:o.componentStack,type:l}}function jt(o){o.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):o.componentStack=o.componentStack.parent}var no=null;function Qa(o,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var b=no||Ho();no=null,o.errorMessage=d,o.errorComponentStack=b}}function Bt(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 Zn(o,l){var d=o.onShellError;d(l);var b=o.onFatalError;b(l),o.destination!==null?(o.status=Er,Z(o.destination,l)):(o.status=Xa,o.fatalError=l)}function Ka(o,l,d){Xn(l,"Suspense");var b=l.blockedBoundary,E=l.blockedSegment,M=d.fallback,L=d.children,N=new Set,n=No(o,N),a=E.chunks.length,f=Ji(o,a,n,E.formatContext,!1,!1);E.children.push(f),E.lastPushedText=!1;var h=Ji(o,0,null,E.formatContext,!1,!1);h.parentFlushed=!0,l.blockedBoundary=n,l.blockedSegment=h;try{if(ss(o,l,L),Un(h.chunks,o.responseState,h.lastPushedText,h.textEmbedded),h.status=Gn,qi(n,h),n.pendingTasks===0){jt(l);return}}catch(I){h.status=Cr,n.forceClientRender=!0,n.errorDigest=Bt(o,I),Qa(n,I)}finally{l.blockedBoundary=b,l.blockedSegment=E}var w=Za(o,M,b,f,N,l.legacyContext,l.context,l.treeContext);w.componentStack=l.componentStack,o.pingedTasks.push(w),jt(l)}function $o(o,l,d,b){Xn(l,d);var E=l.blockedSegment,M=So(E.chunks,d,b,o.responseState,E.formatContext);E.lastPushedText=!1;var L=E.formatContext;E.formatContext=on(L,d,b),ss(o,l,M),E.formatContext=L,ui(E.chunks,d),E.lastPushedText=!1,jt(l)}function Qi(o){return o.prototype&&o.prototype.isReactComponent}function Ks(o,l,d,b,E){var M={};cu(l,M);var L=d(b,E);return Ns(d,b,L,E)}function qs(o,l,d,b,E){var M=d.render();d.props!==E&&(Go||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Le(b)||"a component"),Go=!0);{var L=b.childContextTypes;if(L!=null){var N=l.legacyContext,n=Ba(d,b,N,L);l.legacyContext=n,Tt(o,l,M),l.legacyContext=N;return}}Tt(o,l,M)}function Tu(o,l,d,b){Ja(l,d);var E=ja(d,l.legacyContext),M=zs(d,b,E);Us(M,d,b,E),qs(o,l,M,d,b),jt(l)}var qa={},Yo={},el={},es={},Go=!1,ts=!1,ns=!1,rs=!1;function tl(o,l,d,b){var E;if(E=ja(d,l.legacyContext),pn(l,d),d.prototype&&typeof d.prototype.render=="function"){var M=Le(d)||"Unknown";qa[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),qa[M]=!0)}var L=Ks(o,l,d,b,E),N=Hi();if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){var n=Le(d)||"Unknown";Yo[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),Yo[n]=!0)}if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){{var a=Le(d)||"Unknown";Yo[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),Yo[a]=!0)}Us(L,d,b,E),qs(o,l,L,d,b)}else if(nl(d),N){var f=l.treeContext,h=1,w=0;l.treeContext=Vi(f,h,w);try{Tt(o,l,L)}finally{l.treeContext=f}}else Tt(o,l,L);jt(l)}function nl(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=Le(o)||"Unknown";es[l]||(s("%s: Function components do not support getDerivedStateFromProps.",l),es[l]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var d=Le(o)||"Unknown";el[d]||(s("%s: Function components do not support contextType.",d),el[d]=!0)}}}function os(o,l){if(o&&o.defaultProps){var d=Lt({},l),b=o.defaultProps;for(var E in b)d[E]===void 0&&(d[E]=b[E]);return d}return l}function Cu(o,l,d,b,E){pn(l,d.render);var M=Ks(o,l,d.render,b,E),L=Hi();if(L){var N=l.treeContext,n=1,a=0;l.treeContext=Vi(N,n,a);try{Tt(o,l,M)}finally{l.treeContext=N}}else Tt(o,l,M);jt(l)}function Eu(o,l,d,b,E){var M=d.type,L=os(M,b);is(o,l,M,L,E)}function rl(o,l,d,b){d._context===void 0?d!==d.Consumer&&(rs||(rs=!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=b.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=jo(d),L=E(M);Tt(o,l,L)}function Ru(o,l,d,b){var E=d._context,M=b.value,L=b.children,N;N=l.context,l.context=js(E,M),Tt(o,l,L),l.context=Bs(E),N!==l.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Pu(o,l,d,b,E){Xn(l,"Lazy");var M=d._payload,L=d._init,N=L(M),n=os(N,b);is(o,l,N,n,E),jt(l)}function is(o,l,d,b,E){if(typeof d=="function")if(Qi(d)){Tu(o,l,d,b);return}else{tl(o,l,d,b);return}if(typeof d=="string"){$o(o,l,d,b);return}switch(d){case Ti:case Ca:case Ps:case ka:case kt:{Tt(o,l,b.children);return}case Po:{Xn(l,"SuspenseList"),Tt(o,l,b.children),jt(l);return}case Ta:throw new Error("ReactDOMServer does not yet support scope components.");case Ro:{Ka(o,l,b);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case ki:{Cu(o,l,d,b,E);return}case Ao:{Eu(o,l,d,b,E);return}case Si:{Ru(o,l,d,b);return}case wi:{rl(o,l,d,b);return}case Zr:{Pu(o,l,d,b);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 Au(o,l){typeof Symbol=="function"&&o[Symbol.toStringTag]==="Generator"&&(ts||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."),ts=!0),o.entries===l&&(ns||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ns=!0)}function Tt(o,l,d){try{return as(o,l,d)}catch(b){throw typeof b=="object"&&b!==null&&typeof b.then=="function"||(no=no!==null?no:Ho()),b}}function as(o,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case Jl:{var b=d,E=b.type,M=b.props,L=b.ref;is(o,l,E,M,L);return}case Rs: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 Zr:{var N=d,n=N._payload,a=N._init,f;try{f=a(n)}catch(se){throw typeof se=="object"&&se!==null&&typeof se.then=="function"&&Xn(l,"Lazy"),se}Tt(o,l,f);return}}if(kn(d)){ol(o,l,d);return}var h=ql(d);if(h){Au(d,h);var w=h.call(d);if(w){var I=w.next();if(!I.done){var O=[];do O.push(I.value),I=w.next();while(!I.done);ol(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=Wn(l.blockedSegment.chunks,d,o.responseState,J.lastPushedText);return}if(typeof d=="number"){var ie=l.blockedSegment;ie.lastPushedText=Wn(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 ol(o,l,d){for(var b=d.length,E=0;E<b;E++){var M=l.treeContext;l.treeContext=Vi(M,b,E);try{ss(o,l,d[E])}finally{l.treeContext=M}}}function Ct(o,l,d){var b=l.blockedSegment,E=b.chunks.length,M=Ji(o,E,null,b.formatContext,b.lastPushedText,!0);b.children.push(M),b.lastPushedText=!1;var L=Za(o,l.node,l.blockedBoundary,M,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(L.componentStack=l.componentStack.parent);var N=L.ping;d.then(N,N)}function ss(o,l,d){var b=l.blockedSegment.formatContext,E=l.legacyContext,M=l.context,L=null;L=l.componentStack;try{return Tt(o,l,d)}catch(N){if($a(),typeof N=="object"&&N!==null&&typeof N.then=="function"){Ct(o,l,N),l.blockedSegment.formatContext=b,l.legacyContext=E,l.context=M,_o(M),l.componentStack=L;return}else throw l.blockedSegment.formatContext=b,l.legacyContext=E,l.context=M,_o(M),l.componentStack=L,N}}function il(o,l,d,b){var E=Bt(o,b);if(l===null?Zn(o,b):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=E,Qa(l,b),l.parentFlushed&&o.clientRenderedBoundaries.push(l))),o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function Iu(o){var l=this,d=o.blockedBoundary,b=o.blockedSegment;b.status=Zi,al(l,d,b)}function Ki(o,l,d){var b=o.blockedBoundary,E=o.blockedSegment;if(E.status=Zi,b===null)l.allPendingTasks--,l.status!==Er&&(l.status=Er,l.destination!==null&&$(l.destination));else{if(b.pendingTasks--,!b.forceClientRender){b.forceClientRender=!0;var M=d===void 0?new Error("The render was aborted by the server without a reason."):d;b.errorDigest=l.onError(M);{var L="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=L+M.message:M=L+String(M);var N=Mn;Mn=o;try{Qa(b,M)}finally{Mn=N}}b.parentFlushed&&l.clientRenderedBoundaries.push(b)}if(b.fallbackAbortableTasks.forEach(function(a){return Ki(a,l,d)}),b.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var n=l.onAllReady;n()}}}function qi(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===Gn&&qi(o,d)}else{var b=o.completedSegments;b.push(l)}}function al(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=hn;var b=o.onShellReady;b()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===Gn&&qi(l,d),l.parentFlushed&&o.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(Iu,o),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===Gn){qi(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 sl(o,l){var d=l.blockedSegment;if(d.status===Ga){_o(l.context);var b=null;b=Mn,Mn=l;try{Tt(o,l,l.node),Un(d.chunks,o.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=Gn,al(o,l.blockedBoundary,d)}catch(M){if($a(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var E=l.ping;M.then(E,E)}else l.abortSet.delete(l),d.status=Cr,il(o,l.blockedBoundary,d,M)}finally{Mn=b}}}function Xo(o){if(o.status!==Er){var l=Ii(),d=Uo.current;Uo.current=Xs;var b;b=Gi.getCurrentStack,Gi.getCurrentStack=Ho;var E=Ya;Wo(o.responseState);try{var M=o.pingedTasks,L;for(L=0;L<M.length;L++){var N=M[L];sl(o,N)}M.splice(0,L),o.destination!==null&&ta(o,o.destination)}catch(n){Bt(o,n),Zn(o,n)}finally{Wo(E),Uo.current=d,Gi.getCurrentStack=b,d===Xs&&_o(l)}}}function Zo(o,l,d){switch(d.parentFlushed=!0,d.status){case Ga:{var b=d.id=o.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,zr(l,o.responseState,b)}case Gn:{d.status=Xi;for(var E=!0,M=d.chunks,L=0,N=d.children,n=0;n<N.length;n++){for(var a=N[n];L<a.index;L++)T(l,M[L]);E=ea(o,l,a)}for(;L<M.length-1;L++)T(l,M[L]);return L<M.length&&(E=D(l,M[L])),E}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ea(o,l,d){var b=d.boundary;if(b===null)return Zo(o,l,d);if(b.parentFlushed=!0,b.forceClientRender)return ct(l,o.responseState,b.errorDigest,b.errorMessage,b.errorComponentStack),Zo(o,l,d),ya(l,o.responseState);if(b.pendingTasks>0){b.rootSegmentID=o.nextSegmentId++,b.completedSegments.length>0&&o.partialBoundaries.push(b);var E=b.id=fr(o.responseState);return Nr(l,o.responseState,E),Zo(o,l,d),Hr(l,o.responseState)}else{if(b.byteSize>o.progressiveChunkSize)return b.rootSegmentID=o.nextSegmentId++,o.completedBoundaries.push(b),Nr(l,o.responseState,b.id),Zo(o,l,d),Hr(l,o.responseState);fi(l,o.responseState);var M=b.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 L=M[0];return ea(o,l,L),di(l,o.responseState)}}function ll(o,l,d){return Cs(l,o.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Jo(o,l,d){return ge(l,o.responseState,d.formatContext,d.id),ea(o,l,d),Re(l,d.formatContext)}function Qo(o,l,d){for(var b=d.completedSegments,E=0;E<b.length;E++){var M=b[E];ls(o,l,d,M)}return b.length=0,ba(l,o.responseState,d.id,d.rootSegmentID)}function Mu(o,l,d){for(var b=d.completedSegments,E=0;E<b.length;E++){var M=b[E];if(!ls(o,l,d,M))return E++,b.splice(0,E),!1}return b.splice(0,E),!0}function ls(o,l,d,b){if(b.status===Xi)return!0;var E=b.id;if(E===-1){var M=b.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 Jo(o,l,b)}else return Jo(o,l,b),Ul(l,o.responseState,E)}function ta(o,l){A();try{var d=o.completedRootSegment;d!==null&&o.pendingRootTasks===0&&(ea(o,l,d),o.completedRootSegment=null,ma(l,o.responseState));var b=o.clientRenderedBoundaries,E;for(E=0;E<b.length;E++){var M=b[E];ll(o,l,M)}b.splice(0,E);var L=o.completedBoundaries;for(E=0;E<L.length;E++){var N=L[E];Qo(o,l,N)}L.splice(0,E),_(l),A(l);var n=o.partialBoundaries;for(E=0;E<n.length;E++){var a=n[E];if(!Mu(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),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."),$(l))}}function Du(o){y(function(){return Xo(o)})}function ul(o,l){if(o.status===Xa){o.status=Er,Z(l,o.fatalError);return}if(o.status!==Er&&o.destination===null){o.destination=l;try{ta(o,l)}catch(d){Bt(o,d),Zn(o,d)}}}function na(o,l){try{var d=o.abortableTasks;d.forEach(function(b){return Ki(b,o,l)}),d.clear(),o.destination!==null&&ta(o,o.destination)}catch(b){Bt(o,b),Zn(o,b)}}function Ou(o,l){return new Promise(function(d,b){var E,M,L=new Promise(function(w,I){M=w,E=I});function N(){var w=new ReadableStream({type:"bytes",pull:function(I){ul(a,I)},cancel:function(I){na(a)}},{highWaterMark:0});w.allReady=L,d(w)}function n(w){L.catch(function(){}),b(w)}var a=wu(o,Cn(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),Gt(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(){na(a,f.reason),f.removeEventListener("abort",h)};f.addEventListener("abort",h)}Du(a)})}pl.renderToReadableStream=Ou,pl.version=t}()),pl}var oi,Zu;process.env.NODE_ENV==="production"?(oi=zh(),Zu=Wh()):(oi=Uh(),Zu=Nh());oi.version;var Hh=oi.renderToString;oi.renderToStaticMarkup;oi.renderToNodeStream;oi.renderToStaticNodeStream;Zu.renderToReadableStream;var $h=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kf(e,t){return e(t={exports:{}},t.exports),t.exports}var Yh=Kf(function(e){(function(t){var r=function(B,F,Z){if(!p(F)||A(F)||T(F)||D(F)||S(F))return F;var X,q=0,te=0;if(x(F))for(X=[],te=F.length;q<te;q++)X.push(r(B,F[q],Z));else for(var ee in X={},F)Object.prototype.hasOwnProperty.call(F,ee)&&(X[B(ee,Z)]=r(B,F[ee],Z));return X},i=function(B){return _(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)},m=function(B,F){return function(Z,X){var q=(X=X||{}).separator||"_",te=X.split||/(?=[A-Z])/;return Z.split(te).join(q)}(B,F).toLowerCase()},y=Object.prototype.toString,S=function(B){return typeof B=="function"},p=function(B){return B===Object(B)},x=function(B){return y.call(B)=="[object Array]"},A=function(B){return y.call(B)=="[object Date]"},T=function(B){return y.call(B)=="[object RegExp]"},D=function(B){return y.call(B)=="[object Boolean]"},_=function(B){return(B-=0)==B},$=function(B,F){var Z=F&&"process"in F?F.process:F;return typeof Z!="function"?B:function(X,q){return Z(X,B,q)}},G={camelize:i,decamelize:m,pascalize:s,depascalize:m,camelizeKeys:function(B,F){return r($(i,F),B)},decamelizeKeys:function(B,F){return r($(m,F),B,F)},pascalizeKeys:function(B,F){return r($(s,F),B)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=G:t.humps=G})($h)}).decamelize,Gh=function(e){if(Array.isArray(e))return e},Xh=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,s=!1,m=void 0;try{for(var y,S=e[Symbol.iterator]();!(i=(y=S.next()).done)&&(r.push(y.value),!t||r.length!==t);i=!0);}catch(p){s=!0,m=p}finally{try{i||S.return==null||S.return()}finally{if(s)throw m}}return r}},jc=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},Zh=function(e,t){if(e){if(typeof e=="string")return jc(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)?jc(e,t):void 0}},Jh=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
106
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Qh=function(e,t){return Gh(e)||Xh(e,t)||Zh(e,t)||Jh()},qf=Kf(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 m in s)Object.prototype.hasOwnProperty.call(s,m)&&(r[m]=s[m])}return r},t.apply(this,arguments)}e.exports=t}),Kh=function(e,t){if(e==null)return{};var r,i,s={},m=Object.keys(e);for(i=0;i<m.length;i++)r=m[i],t.indexOf(r)>=0||(s[r]=e[r]);return s},ed=function(e,t){if(e==null)return{};var r,i,s=Kh(e,t);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(i=0;i<m.length;i++)r=m[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},qh=oe.createContext(null);function Ju(e){var t=e.children,r=ed(e,["children"]);return typeof t!="string"&&(t=Hh(t)),oe.createElement("template",qf({},r,{dangerouslySetInnerHTML:{__html:t}}))}function Qu(e){var t=e.root,r=e.children;return Jf.createPortal(r,t)}function ep(e){var t=oe.forwardRef(function(r,i){var s,m,y=r.mode,S=r.delegatesFocus,p=r.styleSheets,x=r.ssr,A=r.children,T=ed(r,["mode","delegatesFocus","styleSheets","ssr","children"]),D=(m=oe.useRef((s=i)&&s.current),oe.useEffect(function(){s&&(s.current=m.current)},[s]),m),_=oe.useState(null),$=Qh(_,2),G=$[0],B=$[1],F="node_".concat(y).concat(S);return oe.useLayoutEffect(function(){if(D.current)try{if(typeof i=="function"&&i(D.current),x){var Z=D.current.shadowRoot;return void B(Z)}var X=D.current.attachShadow({mode:y,delegatesFocus:S});p.length>0&&(X.adoptedStyleSheets=p),B(X)}catch(q){(function(te){var ee=te.error,re=te.styleSheets,le=te.root;switch(ee.name){case"NotSupportedError":re.length>0&&(le.adoptedStyleSheets=re);break;default:throw ee}})({error:q,styleSheets:p,root:G})}},[i,D,p]),oe.createElement(oe.Fragment,null,oe.createElement(e.tag,qf({key:F,ref:D},T),(G||x)&&oe.createElement(qh.Provider,{value:G},x?oe.createElement(Ju,{shadowroot:y,shadowrootmode:y},e.render({root:G,ssr:x,children:A})):oe.createElement(Qu,{root:G},e.render({root:G,ssr:x,children:A})))))});return t.propTypes={mode:vn.PropTypes.oneOf(["open","closed"]),delegatesFocus:vn.PropTypes.bool,styleSheets:vn.PropTypes.arrayOf(vn.PropTypes.instanceOf(globalThis.CSSStyleSheet)),ssr:vn.PropTypes.bool,children:vn.PropTypes.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}Ju.propTypes={children:vn.PropTypes.oneOfType([vn.PropTypes.string,vn.PropTypes.node])},Ju.defaultProps={children:""},Qu.propTypes={root:vn.PropTypes.object.isRequired,children:vn.PropTypes.node},Qu.defaultProps={children:null};var Fu=new Map;function tp(){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 m=Yh(s,{separator:"-"}),y="".concat(t,"-").concat(m);return Fu.has(y)||Fu.set(y,ep({tag:m,render:r})),Fu.get(y)}})}var np=tp();const rp=`@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}
107
+ `;function fc({children:e,styles:t=[],...r}){return ne.jsxs(np.div,{...r,children:[[rp,...t].map((i,s)=>ne.jsx("style",{type:"text/css",children:i},s)),e]})}const op=`.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
108
+ `;function td({isOpen:e,onClose:t,onConfirm:r}){if(!e)return null;function i(s){var m;((m=s.target)==null?void 0:m.id)==="modal-wrapper"&&t()}return ne.jsx(fc,{styles:[op],children:ne.jsx("div",{onClick:i,className:"modal-overlay",id:"modal-wrapper",children:ne.jsxs("div",{className:"modal-container",children:[ne.jsx("h3",{className:"modal-title",children:"Log out"}),ne.jsx("p",{className:"text-sm",children:"Are you sure want to log out?"}),ne.jsxs("div",{className:"modal-footer",children:[ne.jsx("button",{className:"modal-button",onClick:t,children:"Cancel"}),ne.jsx("button",{onClick:r,className:"text-white confirm-btn modal-button",children:"Confirm"})]})]})})})}function ip(){return ne.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[ne.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"}),ne.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}function ap(){return ne.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ne.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"}),ne.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"}),ne.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}const sp="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=",lp=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avatar-dropdown-item:hover{background-color:#009d4f}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;position:absolute;left:-10rem;top:3.5rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:black;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{padding:16px 0;height:100%}.navbar-container img{height:100%}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px}.relative{position:relative}.cursor-pointer{cursor:pointer}
109
+ `;function up({logo:e,user:t,baseUrl:r,style:i,classNames:s=""}){const m=e||"/public/assets/icons/logo-header.png";return ne.jsx(fc,{styles:[lp],style:{zIndex:1200},children:ne.jsx("nav",{className:`navbar ${s}`,style:i,children:ne.jsxs("div",{className:"navbar-container",children:[ne.jsx("div",{className:"logo-container",children:ne.jsx("img",{src:m,alt:"logo-header"})}),ne.jsxs("div",{className:"right-side-container",children:[ne.jsxs("div",{className:"userContainer",children:[ne.jsx("p",{className:"userFullName",children:`${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName}`}),ne.jsx(cp,{baseUrl:r,avatarUrl:t==null?void 0:t.avatarUrl})]}),ne.jsx("span",{className:"cursor-pointer",children:ne.jsx(ap,{})}),ne.jsx("span",{className:"cursor-pointer",children:ne.jsx(ip,{})})]})]})})})}function cp({avatarUrl:e,baseUrl:t}){const[r,i]=oe.useState(!1),[s,m]=oe.useState(!1),y=oe.useRef(null),S=oe.useRef(null),p=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${window.location.href}`};return oe.useEffect(()=>{function x(A){A.target!==S.current&&A.target!==y.current&&i(!1)}return window.addEventListener("click",x),()=>window.removeEventListener("click",x)},[]),ne.jsxs(ne.Fragment,{children:[ne.jsxs("div",{style:{position:"relative"},children:[ne.jsx("img",{ref:y,onClick:()=>i(x=>!x),alt:"user avatar",className:"userAvatar",src:e||sp}),ne.jsx("div",{style:{display:r?"block":"none"},className:"avartarDropdownMenu",children:ne.jsxs("ul",{children:[ne.jsx("li",{className:"avatar-dropdown-item",children:"Profile"}),ne.jsx("li",{onClick:()=>m(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]}),ne.jsx(td,{isOpen:s,onClose:()=>m(!1),onConfirm:p})]})}var fp=typeof global=="object"&&global&&global.Object===Object&&global;const dp=fp;var hp=typeof self=="object"&&self&&self.Object===Object&&self,pp=dp||hp||Function("return this")();const nd=pp;var mp=nd.Symbol;const Tl=mp;var rd=Object.prototype,gp=rd.hasOwnProperty,vp=rd.toString,us=Tl?Tl.toStringTag:void 0;function yp(e){var t=gp.call(e,us),r=e[us];try{e[us]=void 0;var i=!0}catch{}var s=vp.call(e);return i&&(t?e[us]=r:delete e[us]),s}var bp=Object.prototype,xp=bp.toString;function Sp(e){return xp.call(e)}var wp="[object Null]",kp="[object Undefined]",Bc=Tl?Tl.toStringTag:void 0;function Tp(e){return e==null?e===void 0?kp:wp:Bc&&Bc in Object(e)?yp(e):Sp(e)}function Cp(e){return e!=null&&typeof e=="object"}var Ep="[object Symbol]";function Rp(e){return typeof e=="symbol"||Cp(e)&&Tp(e)==Ep}var Pp=/\s/;function Ap(e){for(var t=e.length;t--&&Pp.test(e.charAt(t)););return t}var Ip=/^\s+/;function Mp(e){return e&&e.slice(0,Ap(e)+1).replace(Ip,"")}function Cl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Vc=0/0,Dp=/^[-+]0x[0-9a-f]+$/i,Op=/^0b[01]+$/i,Fp=/^0o[0-7]+$/i,Lp=parseInt;function zc(e){if(typeof e=="number")return e;if(Rp(e))return Vc;if(Cl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Mp(e);var r=Op.test(e);return r||Fp.test(e)?Lp(e.slice(2),r?2:8):Dp.test(e)?Vc:+e}var _p=function(){return nd.Date.now()};const Lu=_p;var jp="Expected a function",Bp=Math.max,Vp=Math.min;function Sl(e,t,r){var i,s,m,y,S,p,x=0,A=!1,T=!1,D=!0;if(typeof e!="function")throw new TypeError(jp);t=zc(t)||0,Cl(r)&&(A=!!r.leading,T="maxWait"in r,m=T?Bp(zc(r.maxWait)||0,t):m,D="trailing"in r?!!r.trailing:D);function _(ee){var re=i,le=s;return i=s=void 0,x=ee,y=e.apply(le,re),y}function $(ee){return x=ee,S=setTimeout(F,t),A?_(ee):y}function G(ee){var re=ee-p,le=ee-x,ce=t-re;return T?Vp(ce,m-le):ce}function B(ee){var re=ee-p,le=ee-x;return p===void 0||re>=t||re<0||T&&le>=m}function F(){var ee=Lu();if(B(ee))return Z(ee);S=setTimeout(F,G(ee))}function Z(ee){return S=void 0,D&&i?_(ee):(i=s=void 0,y)}function X(){S!==void 0&&clearTimeout(S),x=0,i=p=s=S=void 0}function q(){return S===void 0?y:Z(Lu())}function te(){var ee=Lu(),re=B(ee);if(i=arguments,s=this,p=ee,re){if(S===void 0)return $(p);if(T)return clearTimeout(S),S=setTimeout(F,t),_(p)}return S===void 0&&(S=setTimeout(F,t)),y}return te.cancel=X,te.flush=q,te}var zp="Expected a function";function Wp(e,t,r){var i=!0,s=!0;if(typeof e!="function")throw new TypeError(zp);return Cl(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),Sl(e,t,{leading:i,maxWait:t,trailing:s})}var Up=!!(typeof window<"u"&&window.document&&window.document.createElement),Np=Up;const od=vn.getDefaultExportFromCjs(Np);var ia=function(){return ia=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},ia.apply(this,arguments)},oa=null,Wc=null;od&&window.addEventListener("resize",function(){Wc!==window.devicePixelRatio&&(Wc=window.devicePixelRatio,oa=null)});function Uc(){if(oa===null){if(typeof document>"u")return oa=0,oa;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),oa=r}return oa}function id(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ad(e){return!e||!e.ownerDocument?document:e.ownerDocument}var sd=function(e){var t={},r=Array.prototype.reduce.call(e,function(i,s){var m=s.name.match(/data-simplebar-(.+)/);if(m){var y=m[1].replace(/\W+(.)/g,function(S,p){return p.toUpperCase()});switch(s.value){case"true":i[y]=!0;break;case"false":i[y]=!1;break;case void 0:i[y]=!0;break;default:i[y]=s.value}}return i},t);return r};function ld(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function ud(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function cd(e){return".".concat(e.split(" ").join("."))}var Hp=Object.freeze({__proto__:null,getElementWindow:id,getElementDocument:ad,getOptions:sd,addClasses:ld,removeClasses:ud,classNamesToQuery:cd}),ro=id,_u=ad,$p=sd,oo=ld,io=ud,zt=cd,ml=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=ro(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,oo(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(){io(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(oo(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){io(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 m,y;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)&&(m=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(y=i.isWithinBounds(i.axis.y.track.rect)),(m||y)&&(s.stopPropagation(),s.type==="pointerdown"&&s.pointerType!=="touch"&&(m&&(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")),y&&(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 m,y,S,p,x,A,T,D,_,$,G;if(!(!i.draggedAxis||!i.contentWrapperEl)){var B,F=i.axis[i.draggedAxis].track,Z=(y=(m=F.rect)===null||m===void 0?void 0:m[i.axis[i.draggedAxis].sizeAttr])!==null&&y!==void 0?y:0,X=i.axis[i.draggedAxis].scrollbar,q=(p=(S=i.contentWrapperEl)===null||S===void 0?void 0:S[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&p!==void 0?p:0,te=parseInt((A=(x=i.elStyles)===null||x===void 0?void 0:x[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 ee=B-((D=(T=F.rect)===null||T===void 0?void 0:T[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;ee=i.draggedAxis==="x"&&i.isRtl?(($=(_=F.rect)===null||_===void 0?void 0:_[i.axis[i.draggedAxis].sizeAttr])!==null&&$!==void 0?$:0)-X.size-ee:ee;var re=ee/(Z-X.size),le=re*(q-te);i.draggedAxis==="x"&&i.isRtl&&(le=!((G=e.getRtlHelpers())===null||G===void 0)&&G.isScrollingToNegative?-le:le),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(s){var m=_u(i.el),y=ro(i.el);s.preventDefault(),s.stopPropagation(),io(i.el,i.classNames.dragging),m.removeEventListener("mousemove",i.drag,!0),m.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=y.setTimeout(function(){m.removeEventListener("click",i.preventClick,!0),m.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(s){s.preventDefault(),s.stopPropagation()},this.el=t,this.options=ia(ia({},e.defaultOptions),r),this.classNames=ia(ia({},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=Wp(this._onMouseMove,64),this.onWindowResize=Sl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Sl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Sl(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),m=e.getOffset(i);r.scrollLeft=-999;var y=e.getOffset(i);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:s.left!==m.left,isScrollingToNegative:m.left!==y.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:Uc()}catch{return Uc()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),i=_u(t),s=ro(t);return{top:r.top+(s.pageYOffset||i.documentElement.scrollTop),left:r.left+(s.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){od&&(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(zt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(zt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(zt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(zt(this.classNames.offset)),this.maskEl=this.el.querySelector(zt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,zt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(zt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(zt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(zt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(zt(this.classNames.scrollbar)))||null,this.options.autoHide||(oo(this.axis.x.scrollbar.el,this.classNames.visible),oo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,i=ro(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,m=i.ResizeObserver||ResizeObserver;this.resizeObserver=new m(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=ro(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,m=this.contentWrapperEl.offsetWidth,y=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 p=this.contentEl.scrollHeight,x=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(r||x,"px"):"auto",this.placeholderEl.style.height="".concat(p,"px");var A=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&x>r,this.axis.y.isOverflowing=p>A,this.axis.x.isOverflowing=y==="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 T=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&x>m-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&p>A-T,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],m=(i=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,y=m/s,S;return S=Math.max(~~(y*m),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 m=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!m.el||!this.elStyles)){var y=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,p=parseInt(this.elStyles[this.axis[t].sizeAttr],10),x=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];x=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-x:x,t==="x"&&this.isRtl&&(x=!((s=e.getRtlHelpers())===null||s===void 0)&&s.isScrollingToNegative?x:-x);var A=x/(y-p),T=~~((S-m.size)*A);T=t==="x"&&this.isRtl?-T+(S-m.size):T,m.el.style.transform=t==="x"?"translate3d(".concat(T,"px, 0, 0)"):"translate3d(0, ".concat(T,"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&&(oo(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&&(io(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),oo(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?oo(r.scrollbar.el,this.classNames.hover):io(r.scrollbar.el,this.classNames.hover)):(io(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),io(this.axis[t].track.el,this.classNames.hover),io(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=_u(this.el),m=ro(this.el),y=this.axis[r].scrollbar,S=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=S-(((i=y.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])||0),this.draggedAxis=r,oo(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)):(m.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var i=this,s,m,y,S;r===void 0&&(r="y");var p=this.axis[r];if(!(!this.options.clickOnTrack||!p.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var x=ro(this.el);this.axis[r].scrollbar.rect=p.scrollbar.el.getBoundingClientRect();var A=this.axis[r].scrollbar,T=(m=(s=A.rect)===null||s===void 0?void 0:s[this.axis[r].offsetAttr])!==null&&m!==void 0?m:0,D=parseInt((S=(y=this.elStyles)===null||y===void 0?void 0:y[this.axis[r].sizeAttr])!==null&&S!==void 0?S:"0px",10),_=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],$=r==="y"?this.mouseY-T:this.mouseX-T,G=$<0?-1:1,B=G===-1?_-D:_+D,F=40,Z=function(){i.contentWrapperEl&&(G===-1?_>B&&(_-=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,x.requestAnimationFrame(Z)):_<B&&(_+=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,x.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ro(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=$p,e.helpers=Hp,e}(),Qt=function(){return Qt=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},Qt.apply(this,arguments)};function Yp(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 fd=Qe.forwardRef(function(e,t){var r=e.children,i=e.scrollableNodeProps,s=i===void 0?{}:i,m=Yp(e,["children","scrollableNodeProps"]),y=Qe.useRef(),S=Qe.useRef(),p=Qe.useRef(),x={},A={};Object.keys(m).forEach(function(_){Object.prototype.hasOwnProperty.call(ml.defaultOptions,_)?x[_]=m[_]:A[_]=m[_]});var T=Qt(Qt({},ml.defaultOptions.classNames),x.classNames),D=Qt(Qt({},s),{className:"".concat(T.contentWrapper).concat(s.className?" ".concat(s.className):""),tabIndex:0,role:"region","aria-label":x.ariaLabel||ml.defaultOptions.ariaLabel});return Qe.useEffect(function(){var _;return S.current=D.ref?D.ref.current:S.current,y.current&&(_=new ml(y.current,Qt(Qt(Qt({},x),S.current&&{scrollableNode:S.current}),p.current&&{contentNode:p.current})),typeof t=="function"?t(_):t&&(t.current=_)),function(){_==null||_.unMount(),_=null,typeof t=="function"&&t(null)}},[]),Qe.createElement("div",Qt({"data-simplebar":"init",ref:y},A),Qe.createElement("div",{className:T.wrapper},Qe.createElement("div",{className:T.heightAutoObserverWrapperEl},Qe.createElement("div",{className:T.heightAutoObserverEl})),Qe.createElement("div",{className:T.mask},Qe.createElement("div",{className:T.offset},typeof r=="function"?r({scrollableNodeRef:S,scrollableNodeProps:Qt(Qt({},D),{ref:S}),contentNodeRef:p,contentNodeProps:{className:T.contentEl,ref:p}}):Qe.createElement("div",Qt({},D),Qe.createElement("div",{className:T.contentEl},r)))),Qe.createElement("div",{className:T.placeholder})),Qe.createElement("div",{className:"".concat(T.track," simplebar-horizontal")},Qe.createElement("div",{className:T.scrollbar})),Qe.createElement("div",{className:"".concat(T.track," simplebar-vertical")},Qe.createElement("div",{className:T.scrollbar})))});fd.displayName="SimpleBar";const dd=oe.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Fl=oe.createContext({}),dc=oe.createContext(null),Ll=typeof document<"u",Gp=Ll?oe.useLayoutEffect:oe.useEffect,hd=oe.createContext({strict:!1}),hc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Xp="framerAppearId",pd="data-"+hc(Xp);function Zp(e,t,r,i){const{visualElement:s}=oe.useContext(Fl),m=oe.useContext(hd),y=oe.useContext(dc),S=oe.useContext(dd).reducedMotion,p=oe.useRef();i=i||m.renderer,!p.current&&i&&(p.current=i(e,{visualState:t,parent:s,props:r,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:S}));const x=p.current;oe.useInsertionEffect(()=>{x&&x.update(r,y)});const A=oe.useRef(!!(r[pd]&&!window.HandoffComplete));return Gp(()=>{x&&(x.render(),A.current&&x.animationState&&x.animationState.animateChanges())}),oe.useEffect(()=>{x&&(x.updateFeatures(),!A.current&&x.animationState&&x.animationState.animateChanges(),A.current&&(A.current=!1,window.HandoffComplete=!0))}),x}function aa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Jp(e,t,r){return oe.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):aa(r)&&(r.current=i))},[t])}function vs(e){return typeof e=="string"||Array.isArray(e)}function _l(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const pc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mc=["initial",...pc];function jl(e){return _l(e.animate)||mc.some(t=>vs(e[t]))}function md(e){return!!(jl(e)||e.variants)}function Qp(e,t){if(jl(e)){const{initial:r,animate:i}=e;return{initial:r===!1||vs(r)?r:void 0,animate:vs(i)?i:void 0}}return e.inherit!==!1?t:{}}function Kp(e){const{initial:t,animate:r}=Qp(e,oe.useContext(Fl));return oe.useMemo(()=>({initial:t,animate:r}),[Nc(t),Nc(r)])}function Nc(e){return Array.isArray(e)?e.join(" "):e}const Hc={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"]},ys={};for(const e in Hc)ys[e]={isEnabled:t=>Hc[e].some(r=>!!t[r])};function qp(e){for(const t in e)ys[t]={...ys[t],...e[t]}}const gd=oe.createContext({}),vd=oe.createContext({}),em=Symbol.for("motionComponentSymbol");function tm({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:s}){e&&qp(e);function m(S,p){let x;const A={...oe.useContext(dd),...S,layoutId:nm(S)},{isStatic:T}=A,D=Kp(S),_=i(S,T);if(!T&&Ll){D.visualElement=Zp(s,_,A,t);const $=oe.useContext(vd),G=oe.useContext(hd).strict;D.visualElement&&(x=D.visualElement.loadFeatures(A,G,e,$))}return Qe.createElement(Fl.Provider,{value:D},x&&D.visualElement?Qe.createElement(x,{visualElement:D.visualElement,...A}):null,r(s,S,Jp(_,D.visualElement,p),_,T,D.visualElement))}const y=oe.forwardRef(m);return y[em]=s,y}function nm({layoutId:e}){const t=oe.useContext(gd).id;return t&&e!==void 0?t+"-"+e:e}function rm(e){function t(i,s={}){return tm(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 om=["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 gc(e){return typeof e!="string"||e.includes("-")?!1:!!(om.indexOf(e)>-1||/[A-Z]/.test(e))}const El={};function im(e){Object.assign(El,e)}const xs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ii=new Set(xs);function yd(e,{layout:t,layoutId:r}){return ii.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!El[e]||e==="opacity")}const Wt=e=>!!(e&&e.getVelocity),am={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sm=xs.length;function lm(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,s){let m="";for(let y=0;y<sm;y++){const S=xs[y];if(e[S]!==void 0){const p=am[S]||S;m+=`${p}(${e[S]}) `}}return t&&!e.z&&(m+="translateZ(0)"),m=m.trim(),s?m=s(e,i?"":m):r&&i&&(m="none"),m}const bd=e=>t=>typeof t=="string"&&t.startsWith(e),xd=bd("--"),Ku=bd("var(--"),um=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,cm=(e,t)=>t&&typeof e=="number"?t.transform(e):e,co=(e,t,r)=>Math.min(Math.max(r,e),t),ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},hs={...ai,transform:e=>co(0,1,e)},gl={...ai,default:1},ps=e=>Math.round(e*1e5)/1e5,Bl=/(-)?([\d]*\.?[\d])+/g,Sd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,fm=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ss(e){return typeof e=="string"}const ws=e=>({test:t=>Ss(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ao=ws("deg"),Jn=ws("%"),pe=ws("px"),dm=ws("vh"),hm=ws("vw"),$c={...Jn,parse:e=>Jn.parse(e)/100,transform:e=>Jn.transform(e*100)},Yc={...ai,transform:Math.round},wd={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,size:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,rotate:ao,rotateX:ao,rotateY:ao,rotateZ:ao,scale:gl,scaleX:gl,scaleY:gl,scaleZ:gl,skew:ao,skewX:ao,skewY:ao,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:hs,originX:$c,originY:$c,originZ:pe,zIndex:Yc,fillOpacity:hs,strokeOpacity:hs,numOctaves:Yc};function vc(e,t,r,i){const{style:s,vars:m,transform:y,transformOrigin:S}=e;let p=!1,x=!1,A=!0;for(const T in t){const D=t[T];if(xd(T)){m[T]=D;continue}const _=wd[T],$=cm(D,_);if(ii.has(T)){if(p=!0,y[T]=$,!A)continue;D!==(_.default||0)&&(A=!1)}else T.startsWith("origin")?(x=!0,S[T]=$):s[T]=$}if(t.transform||(p||i?s.transform=lm(e.transform,r,A,i):s.transform&&(s.transform="none")),x){const{originX:T="50%",originY:D="50%",originZ:_=0}=S;s.transformOrigin=`${T} ${D} ${_}`}}const yc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function kd(e,t,r){for(const i in t)!Wt(t[i])&&!yd(i,r)&&(e[i]=t[i])}function pm({transformTemplate:e},t,r){return oe.useMemo(()=>{const i=yc();return vc(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}function mm(e,t,r){const i=e.style||{},s={};return kd(s,i,e),Object.assign(s,pm(e,t,r)),e.transformValues?e.transformValues(s):s}function gm(e,t,r){const i={},s=mm(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 vm=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")||vm.has(e)}let Td=e=>!Rl(e);function ym(e){e&&(Td=t=>t.startsWith("on")?!Rl(t):e(t))}try{ym(require("@emotion/is-prop-valid").default)}catch{}function bm(e,t,r){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||(Td(s)||r===!0&&Rl(s)||!t&&!Rl(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}function Gc(e,t,r){return typeof e=="string"?e:pe.transform(t+r*e)}function xm(e,t,r){const i=Gc(t,e.x,e.width),s=Gc(r,e.y,e.height);return`${i} ${s}`}const Sm={offset:"stroke-dashoffset",array:"stroke-dasharray"},wm={offset:"strokeDashoffset",array:"strokeDasharray"};function km(e,t,r=1,i=0,s=!0){e.pathLength=1;const m=s?Sm:wm;e[m.offset]=pe.transform(-i);const y=pe.transform(t),S=pe.transform(r);e[m.array]=`${y} ${S}`}function bc(e,{attrX:t,attrY:r,attrScale:i,originX:s,originY:m,pathLength:y,pathSpacing:S=1,pathOffset:p=0,...x},A,T,D){if(vc(e,x,A,D),T){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:_,style:$,dimensions:G}=e;_.transform&&(G&&($.transform=_.transform),delete _.transform),G&&(s!==void 0||m!==void 0||$.transform)&&($.transformOrigin=xm(G,s!==void 0?s:.5,m!==void 0?m:.5)),t!==void 0&&(_.x=t),r!==void 0&&(_.y=r),i!==void 0&&(_.scale=i),y!==void 0&&km(_,y,S,p,!1)}const Cd=()=>({...yc(),attrs:{}}),xc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tm(e,t,r,i){const s=oe.useMemo(()=>{const m=Cd();return bc(m,t,{enableHardwareAcceleration:!1},xc(i),e.transformTemplate),{...m.attrs,style:{...m.style}}},[t]);if(e.style){const m={};kd(m,e.style,e),s.style={...m,...s.style}}return s}function Cm(e=!1){return(r,i,s,{latestValues:m},y)=>{const p=(gc(r)?Tm:gm)(i,m,y,r),A={...bm(i,typeof r=="string",e),...p,ref:s},{children:T}=i,D=oe.useMemo(()=>Wt(T)?T.get():T,[T]);return oe.createElement(r,{...A,children:D})}}function Ed(e,{style:t,vars:r},i,s){Object.assign(e.style,t,s&&s.getProjectionStyles(i));for(const m in r)e.style.setProperty(m,r[m])}const Rd=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 Pd(e,t,r,i){Ed(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(Rd.has(s)?s:hc(s),t.attrs[s])}function Sc(e,t){const{style:r}=e,i={};for(const s in r)(Wt(r[s])||t.style&&Wt(t.style[s])||yd(s,e))&&(i[s]=r[s]);return i}function Ad(e,t){const r=Sc(e,t);for(const i in e)if(Wt(e[i])||Wt(t[i])){const s=xs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function wc(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 Em(e){const t=oe.useRef(null);return t.current===null&&(t.current=e()),t.current}const Pl=e=>Array.isArray(e),Rm=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Pm=e=>Pl(e)?e[e.length-1]||0:e;function wl(e){const t=Wt(e)?e.get():e;return Rm(t)?t.toValue():t}function Am({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,m){const y={latestValues:Im(i,s,m,e),renderState:t()};return r&&(y.mount=S=>r(i,S,y)),y}const Id=e=>(t,r)=>{const i=oe.useContext(Fl),s=oe.useContext(dc),m=()=>Am(e,t,i,s);return r?m():Em(m)};function Im(e,t,r,i){const s={},m=i(e,{});for(const D in m)s[D]=wl(m[D]);let{initial:y,animate:S}=e;const p=jl(e),x=md(e);t&&x&&!p&&e.inherit!==!1&&(y===void 0&&(y=t.initial),S===void 0&&(S=t.animate));let A=r?r.initial===!1:!1;A=A||y===!1;const T=A?S:y;return T&&typeof T!="boolean"&&!_l(T)&&(Array.isArray(T)?T:[T]).forEach(_=>{const $=wc(e,_);if(!$)return;const{transitionEnd:G,transition:B,...F}=$;for(const Z in F){let X=F[Z];if(Array.isArray(X)){const q=A?X.length-1:0;X=X[q]}X!==null&&(s[Z]=X)}for(const Z in G)s[Z]=G[Z]}),s}const Ye=e=>e;class Xc{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 Mm(e){let t=new Xc,r=new Xc,i=0,s=!1,m=!1;const y=new WeakSet,S={schedule:(p,x=!1,A=!1)=>{const T=A&&s,D=T?t:r;return x&&y.add(p),D.add(p)&&T&&s&&(i=t.order.length),p},cancel:p=>{r.remove(p),y.delete(p)},process:p=>{if(s){m=!0;return}if(s=!0,[t,r]=[r,t],r.clear(),i=t.order.length,i)for(let x=0;x<i;x++){const A=t.order[x];A(p),y.has(A)&&(S.schedule(A),e())}s=!1,m&&(m=!1,S.process(p))}};return S}const vl=["prepare","read","update","preRender","render","postRender"],Dm=40;function Om(e,t){let r=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},m=vl.reduce((T,D)=>(T[D]=Mm(()=>r=!0),T),{}),y=T=>m[T].process(s),S=()=>{const T=performance.now();r=!1,s.delta=i?1e3/60:Math.max(Math.min(T-s.timestamp,Dm),1),s.timestamp=T,s.isProcessing=!0,vl.forEach(y),s.isProcessing=!1,r&&t&&(i=!1,e(S))},p=()=>{r=!0,i=!0,s.isProcessing||e(S)};return{schedule:vl.reduce((T,D)=>{const _=m[D];return T[D]=($,G=!1,B=!1)=>(r||p(),_.schedule($,G,B)),T},{}),cancel:T=>vl.forEach(D=>m[D].cancel(T)),state:s,steps:m}}const{schedule:_e,cancel:Ir,state:pt,steps:ju}=Om(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ye,!0),Fm={useVisualState:Id({scrapeMotionValuesFromProps:Ad,createRenderState:Cd,onMount:(e,t,{renderState:r,latestValues:i})=>{_e.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),_e.render(()=>{bc(r,i,{enableHardwareAcceleration:!1},xc(t.tagName),e.transformTemplate),Pd(t,r)})}})},Lm={useVisualState:Id({scrapeMotionValuesFromProps:Sc,createRenderState:yc})};function _m(e,{forwardMotionProps:t=!1},r,i){return{...gc(e)?Fm:Lm,preloadedFeatures:r,useRender:Cm(t),createVisualElement:i,Component:e}}function Rr(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}const Md=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Vl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const jm=e=>t=>Md(t)&&e(t,Vl(t));function Pr(e,t,r,i){return Rr(e,t,jm(r),i)}const Bm=(e,t)=>r=>t(e(r)),lo=(...e)=>e.reduce(Bm);function Dd(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Zc=Dd("dragHorizontal"),Jc=Dd("dragVertical");function Od(e){let t=!1;if(e==="y")t=Jc();else if(e==="x")t=Zc();else{const r=Zc(),i=Jc();r&&i?t=()=>{r(),i()}:(r&&r(),i&&i())}return t}function Fd(){const e=Od(!0);return e?(e(),!1):!0}class ho{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Qc(e,t){const r="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),s=(m,y)=>{if(m.pointerType==="touch"||Fd())return;const S=e.getProps();e.animationState&&S.whileHover&&e.animationState.setActive("whileHover",t),S[i]&&_e.update(()=>S[i](m,y))};return Pr(e.current,r,s,{passive:!e.getProps()[i]})}class Vm extends ho{mount(){this.unmount=lo(Qc(this.node,!0),Qc(this.node,!1))}unmount(){}}class zm extends ho{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=lo(Rr(this.node.current,"focus",()=>this.onFocus()),Rr(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,Vl(r))}class Wm extends ho{constructor(){super(...arguments),this.removeStartListeners=Ye,this.removeEndListeners=Ye,this.removeAccessibleListeners=Ye,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),m=Pr(window,"pointerup",(S,p)=>{if(!this.checkPressEnd())return;const{onTap:x,onTapCancel:A,globalTapTarget:T}=this.node.getProps();_e.update(()=>{!T&&!Ld(this.node.current,S.target)?A&&A(S,p):x&&x(S,p)})},{passive:!(i.onTap||i.onPointerUp)}),y=Pr(window,"pointercancel",(S,p)=>this.cancelPress(S,p),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=lo(m,y),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=m=>{if(m.key!=="Enter"||this.isPressing)return;const y=S=>{S.key!=="Enter"||!this.checkPressEnd()||Bu("up",(p,x)=>{const{onTap:A}=this.node.getProps();A&&_e.update(()=>A(p,x))})};this.removeEndListeners(),this.removeEndListeners=Rr(this.node.current,"keyup",y),Bu("down",(S,p)=>{this.startPress(S,p)})},r=Rr(this.node.current,"keydown",t),i=()=>{this.isPressing&&Bu("cancel",(m,y)=>this.cancelPress(m,y))},s=Rr(this.node.current,"blur",i);this.removeAccessibleListeners=lo(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&&_e.update(()=>i(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Fd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&_e.update(()=>i(t,r))}mount(){const t=this.node.getProps(),r=Pr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Rr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=lo(r,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const qu=new WeakMap,Vu=new WeakMap,Um=e=>{const t=qu.get(e.target);t&&t(e)},Nm=e=>{e.forEach(Um)};function Hm({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(Nm,{root:e,...t})),i[s]}function $m(e,t,r){const i=Hm(t);return qu.set(e,r),i.observe(e),()=>{qu.delete(e),i.unobserve(e)}}const Ym={some:0,all:1};class Gm extends ho{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:m}=t,y={root:r?r.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:Ym[s]},S=p=>{const{isIntersecting:x}=p;if(this.isInView===x||(this.isInView=x,m&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:A,onViewportLeave:T}=this.node.getProps(),D=x?A:T;D&&D(p)};return $m(this.node.current,y,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(Xm(t,r))&&this.startObserver()}unmount(){}}function Xm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const Zm={inView:{Feature:Gm},tap:{Feature:Wm},focus:{Feature:zm},hover:{Feature:Vm}};function _d(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 Jm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.get()),t}function Qm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.getVelocity()),t}function zl(e,t,r){const i=e.getProps();return wc(i,t,r!==void 0?r:i.custom,Jm(e),Qm(e))}let ks=Ye,Dn=Ye;process.env.NODE_ENV!=="production"&&(ks=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Dn=(e,t)=>{if(!e)throw new Error(t)});const uo=e=>e*1e3,Ar=e=>e/1e3,Km={current:!1},jd=e=>Array.isArray(e)&&typeof e[0]=="number";function Bd(e){return!!(!e||typeof e=="string"&&Vd[e]||jd(e)||Array.isArray(e)&&e.every(Bd))}const ds=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,Vd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ds([0,.65,.55,1]),circOut:ds([.55,0,1,.45]),backIn:ds([.31,.01,.66,-.59]),backOut:ds([.33,1.53,.69,.99])};function zd(e){if(e)return jd(e)?ds(e):Array.isArray(e)?e.map(zd):Vd[e]}function qm(e,t,r,{delay:i=0,duration:s,repeat:m=0,repeatType:y="loop",ease:S,times:p}={}){const x={[t]:r};p&&(x.offset=p);const A=zd(S);return Array.isArray(A)&&(x.easing=A),e.animate(x,{delay:i,duration:s,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:m+1,direction:y==="reverse"?"alternate":"normal"})}function eg(e,{repeat:t,repeatType:r="loop"}){const i=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[i]}const Wd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,tg=1e-7,ng=12;function rg(e,t,r,i,s){let m,y,S=0;do y=t+(r-t)/2,m=Wd(y,i,s)-e,m>0?r=y:t=y;while(Math.abs(m)>tg&&++S<ng);return y}function Ts(e,t,r,i){if(e===t&&r===i)return Ye;const s=m=>rg(m,0,1,e,r);return m=>m===0||m===1?m:Wd(s(m),t,i)}const og=Ts(.42,0,1,1),ig=Ts(0,0,.58,1),Ud=Ts(.42,0,.58,1),ag=e=>Array.isArray(e)&&typeof e[0]!="number",Nd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hd=e=>t=>1-e(1-t),kc=e=>1-Math.sin(Math.acos(e)),$d=Hd(kc),sg=Nd(kc),Yd=Ts(.33,1.53,.69,.99),Tc=Hd(Yd),lg=Nd(Tc),ug=e=>(e*=2)<1?.5*Tc(e):.5*(2-Math.pow(2,-10*(e-1))),Kc={linear:Ye,easeIn:og,easeInOut:Ud,easeOut:ig,circIn:kc,circInOut:sg,circOut:$d,backIn:Tc,backInOut:lg,backOut:Yd,anticipate:ug},qc=e=>{if(Array.isArray(e)){Dn(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,i,s]=e;return Ts(t,r,i,s)}else if(typeof e=="string")return Dn(Kc[e]!==void 0,`Invalid easing type '${e}'`),Kc[e];return e},Cc=(e,t)=>r=>!!(Ss(r)&&fm.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Gd=(e,t,r)=>i=>{if(!Ss(i))return i;const[s,m,y,S]=i.match(Bl);return{[e]:parseFloat(s),[t]:parseFloat(m),[r]:parseFloat(y),alpha:S!==void 0?parseFloat(S):1}},cg=e=>co(0,255,e),zu={...ai,transform:e=>Math.round(cg(e))},ri={test:Cc("rgb","red"),parse:Gd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+zu.transform(e)+", "+zu.transform(t)+", "+zu.transform(r)+", "+ps(hs.transform(i))+")"};function fg(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 ec={test:Cc("#"),parse:fg,transform:ri.transform},sa={test:Cc("hsl","hue"),parse:Gd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Jn.transform(ps(t))+", "+Jn.transform(ps(r))+", "+ps(hs.transform(i))+")"},Et={test:e=>ri.test(e)||ec.test(e)||sa.test(e),parse:e=>ri.test(e)?ri.parse(e):sa.test(e)?sa.parse(e):ec.parse(e),transform:e=>Ss(e)?e:e.hasOwnProperty("red")?ri.transform(e):sa.transform(e)},Ue=(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 dg({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let s=0,m=0,y=0;if(!t)s=m=y=r;else{const S=r<.5?r*(1+t):r+t-r*t,p=2*r-S;s=Wu(p,S,e+1/3),m=Wu(p,S,e),y=Wu(p,S,e-1/3)}return{red:Math.round(s*255),green:Math.round(m*255),blue:Math.round(y*255),alpha:i}}const Uu=(e,t,r)=>{const i=e*e;return Math.sqrt(Math.max(0,r*(t*t-i)+i))},hg=[ec,ri,sa],pg=e=>hg.find(t=>t.test(e));function ef(e){const t=pg(e);Dn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===sa&&(r=dg(r)),r}const Xd=(e,t)=>{const r=ef(e),i=ef(t),s={...r};return m=>(s.red=Uu(r.red,i.red,m),s.green=Uu(r.green,i.green,m),s.blue=Uu(r.blue,i.blue,m),s.alpha=Ue(r.alpha,i.alpha,m),ri.transform(s))};function mg(e){var t,r;return isNaN(e)&&Ss(e)&&(((t=e.match(Bl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Sd))===null||r===void 0?void 0:r.length)||0)>0}const Zd={regex:um,countKey:"Vars",token:"${v}",parse:Ye},Jd={regex:Sd,countKey:"Colors",token:"${c}",parse:Et.parse},Qd={regex:Bl,countKey:"Numbers",token:"${n}",parse:ai.parse};function Nu(e,{regex:t,countKey:r,token:i,parse:s}){const m=e.tokenised.match(t);m&&(e["num"+r]=m.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...m.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,Zd),Nu(r,Jd),Nu(r,Qd),r}function Kd(e){return Al(e).values}function qd(e){const{values:t,numColors:r,numVars:i,tokenised:s}=Al(e),m=t.length;return y=>{let S=s;for(let p=0;p<m;p++)p<i?S=S.replace(Zd.token,y[p]):p<i+r?S=S.replace(Jd.token,Et.transform(y[p])):S=S.replace(Qd.token,ps(y[p]));return S}}const gg=e=>typeof e=="number"?0:e;function vg(e){const t=Kd(e);return qd(e)(t.map(gg))}const fo={test:mg,parse:Kd,createTransformer:qd,getAnimatableNone:vg},eh=(e,t)=>r=>`${r>0?t:e}`;function th(e,t){return typeof e=="number"?r=>Ue(e,t,r):Et.test(e)?Xd(e,t):e.startsWith("var(")?eh(e,t):rh(e,t)}const nh=(e,t)=>{const r=[...e],i=r.length,s=e.map((m,y)=>th(m,t[y]));return m=>{for(let y=0;y<i;y++)r[y]=s[y](m);return r}},yg=(e,t)=>{const r={...e,...t},i={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(i[s]=th(e[s],t[s]));return s=>{for(const m in i)r[m]=i[m](s);return r}},rh=(e,t)=>{const r=fo.createTransformer(t),i=Al(e),s=Al(t);return i.numVars===s.numVars&&i.numColors===s.numColors&&i.numNumbers>=s.numNumbers?lo(nh(i.values,s.values),r):(ks(!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.`),eh(e,t))},bs=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},tf=(e,t)=>r=>Ue(e,t,r);function bg(e){return typeof e=="number"?tf:typeof e=="string"?Et.test(e)?Xd:rh:Array.isArray(e)?nh:typeof e=="object"?yg:tf}function xg(e,t,r){const i=[],s=r||bg(e[0]),m=e.length-1;for(let y=0;y<m;y++){let S=s(e[y],e[y+1]);if(t){const p=Array.isArray(t)?t[y]||Ye:t;S=lo(p,S)}i.push(S)}return i}function oh(e,t,{clamp:r=!0,ease:i,mixer:s}={}){const m=e.length;if(Dn(m===t.length,"Both input and output ranges must be the same length"),m===1)return()=>t[0];e[0]>e[m-1]&&(e=[...e].reverse(),t=[...t].reverse());const y=xg(t,i,s),S=y.length,p=x=>{let A=0;if(S>1)for(;A<e.length-2&&!(x<e[A+1]);A++);const T=bs(e[A],e[A+1],x);return y[A](T)};return r?x=>p(co(e[0],e[m-1],x)):p}function Sg(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const s=bs(0,t,i);e.push(Ue(r,1,s))}}function wg(e){const t=[0];return Sg(t,e.length-1),t}function kg(e,t){return e.map(r=>r*t)}function Tg(e,t){return e.map(()=>t||Ud).splice(0,e.length-1)}function Il({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const s=ag(i)?i.map(qc):qc(i),m={done:!1,value:t[0]},y=kg(r&&r.length===t.length?r:wg(t),e),S=oh(y,t,{ease:Array.isArray(s)?s:Tg(t,s)});return{calculatedDuration:e,next:p=>(m.value=S(p),m.done=p>=e,m)}}function ih(e,t){return t?e*(1e3/t):0}const Cg=5;function ah(e,t,r){const i=Math.max(t-Cg,0);return ih(r-e(i),t-i)}const Hu=.001,Eg=.01,nf=10,Rg=.05,Pg=1;function Ag({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let s,m;ks(e<=uo(nf),"Spring duration must be 10 seconds or less");let y=1-t;y=co(Rg,Pg,y),e=co(Eg,nf,Ar(e)),y<1?(s=x=>{const A=x*y,T=A*e,D=A-r,_=tc(x,y),$=Math.exp(-T);return Hu-D/_*$},m=x=>{const T=x*y*e,D=T*r+r,_=Math.pow(y,2)*Math.pow(x,2)*e,$=Math.exp(-T),G=tc(Math.pow(x,2),y);return(-s(x)+Hu>0?-1:1)*((D-_)*$)/G}):(s=x=>{const A=Math.exp(-x*e),T=(x-r)*e+1;return-Hu+A*T},m=x=>{const A=Math.exp(-x*e),T=(r-x)*(e*e);return A*T});const S=5/e,p=Mg(s,m,S);if(e=uo(e),isNaN(p))return{stiffness:100,damping:10,duration:e};{const x=Math.pow(p,2)*i;return{stiffness:x,damping:y*2*Math.sqrt(i*x),duration:e}}}const Ig=12;function Mg(e,t,r){let i=r;for(let s=1;s<Ig;s++)i=i-e(i)/t(i);return i}function tc(e,t){return e*Math.sqrt(1-t*t)}const Dg=["duration","bounce"],Og=["stiffness","damping","mass"];function rf(e,t){return t.some(r=>e[r]!==void 0)}function Fg(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rf(e,Og)&&rf(e,Dg)){const r=Ag(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function sh({keyframes:e,restDelta:t,restSpeed:r,...i}){const s=e[0],m=e[e.length-1],y={done:!1,value:s},{stiffness:S,damping:p,mass:x,duration:A,velocity:T,isResolvedFromDuration:D}=Fg({...i,velocity:-Ar(i.velocity||0)}),_=T||0,$=p/(2*Math.sqrt(S*x)),G=m-s,B=Ar(Math.sqrt(S/x)),F=Math.abs(G)<5;r||(r=F?.01:2),t||(t=F?.005:.5);let Z;if($<1){const X=tc(B,$);Z=q=>{const te=Math.exp(-$*B*q);return m-te*((_+$*B*G)/X*Math.sin(X*q)+G*Math.cos(X*q))}}else if($===1)Z=X=>m-Math.exp(-B*X)*(G+(_+B*G)*X);else{const X=B*Math.sqrt($*$-1);Z=q=>{const te=Math.exp(-$*B*q),ee=Math.min(X*q,300);return m-te*((_+$*B*G)*Math.sinh(ee)+X*G*Math.cosh(ee))/X}}return{calculatedDuration:D&&A||null,next:X=>{const q=Z(X);if(D)y.done=X>=A;else{let te=_;X!==0&&($<1?te=ah(Z,X,q):te=0);const ee=Math.abs(te)<=r,re=Math.abs(m-q)<=t;y.done=ee&&re}return y.value=y.done?m:q,y}}}function of({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:m=500,modifyTarget:y,min:S,max:p,restDelta:x=.5,restSpeed:A}){const T=e[0],D={done:!1,value:T},_=le=>S!==void 0&&le<S||p!==void 0&&le>p,$=le=>S===void 0?p:p===void 0||Math.abs(S-le)<Math.abs(p-le)?S:p;let G=r*t;const B=T+G,F=y===void 0?B:y(B);F!==B&&(G=F-T);const Z=le=>-G*Math.exp(-le/i),X=le=>F+Z(le),q=le=>{const ce=Z(le),ze=X(le);D.done=Math.abs(ce)<=x,D.value=D.done?F:ze};let te,ee;const re=le=>{_(D.value)&&(te=le,ee=sh({keyframes:[D.value,$(D.value)],velocity:ah(X,le,D.value),damping:s,stiffness:m,restDelta:x,restSpeed:A}))};return re(0),{calculatedDuration:null,next:le=>{let ce=!1;return!ee&&te===void 0&&(ce=!0,q(le),re(le)),te!==void 0&&le>te?ee.next(le-te):(!ce&&q(le),D)}}}const Lg=e=>{const t=({timestamp:r})=>e(r);return{start:()=>_e.update(t,!0),stop:()=>Ir(t),now:()=>pt.isProcessing?pt.timestamp:performance.now()}},af=2e4;function sf(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<af;)t+=r,i=e.next(t);return t>=af?1/0:t}const _g={decay:of,inertia:of,tween:Il,keyframes:Il,spring:sh};function Ml({autoplay:e=!0,delay:t=0,driver:r=Lg,keyframes:i,type:s="keyframes",repeat:m=0,repeatDelay:y=0,repeatType:S="loop",onPlay:p,onStop:x,onComplete:A,onUpdate:T,...D}){let _=1,$=!1,G,B;const F=()=>{B=new Promise(he=>{G=he})};F();let Z;const X=_g[s]||Il;let q;X!==Il&&typeof i[0]!="number"&&(process.env.NODE_ENV!=="production"&&Dn(i.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${i}`),q=oh([0,100],i,{clamp:!1}),i=[0,100]);const te=X({...D,keyframes:i});let ee;S==="mirror"&&(ee=X({...D,keyframes:[...i].reverse(),velocity:-(D.velocity||0)}));let re="idle",le=null,ce=null,ze=null;te.calculatedDuration===null&&m&&(te.calculatedDuration=sf(te));const{calculatedDuration:Ne}=te;let we=1/0,He=1/0;Ne!==null&&(we=Ne+y,He=we*(m+1)-y);let Ce=0;const dt=he=>{if(ce===null)return;_>0&&(ce=Math.min(ce,he)),_<0&&(ce=Math.min(he-He/_,ce)),le!==null?Ce=le:Ce=Math.round(he-ce)*_;const Se=Ce-t*(_>=0?1:-1),Nt=_>=0?Se<0:Se>He;Ce=Math.max(Se,0),re==="finished"&&le===null&&(Ce=He);let mt=Ce,Ae=te;if(m){const Ge=Math.min(Ce,He)/we;let it=Math.floor(Ge),Ie=Ge%1;!Ie&&Ge>=1&&(Ie=1),Ie===1&&it--,it=Math.min(it,m+1),!!(it%2)&&(S==="reverse"?(Ie=1-Ie,y&&(Ie-=y/we)):S==="mirror"&&(Ae=ee)),mt=co(0,1,Ie)*we}const ke=Nt?{done:!1,value:i[0]}:Ae.next(mt);q&&(ke.value=q(ke.value));let{done:Rt}=ke;!Nt&&Ne!==null&&(Rt=_>=0?Ce>=He:Ce<=0);const Ht=le===null&&(re==="finished"||re==="running"&&Rt);return T&&T(ke.value),Ht&&Ze(),ke},Pe=()=>{Z&&Z.stop(),Z=void 0},ot=()=>{re="idle",Pe(),G(),F(),ce=ze=null},Ze=()=>{re="finished",A&&A(),Pe(),G()},je=()=>{if($)return;Z||(Z=r(dt));const he=Z.now();p&&p(),le!==null?ce=he-le:(!ce||re==="finished")&&(ce=he),re==="finished"&&F(),ze=ce,le=null,re="running",Z.start()};e&&je();const Ut={then(he,Se){return B.then(he,Se)},get time(){return Ar(Ce)},set time(he){he=uo(he),Ce=he,le!==null||!Z||_===0?le=he:ce=Z.now()-he/_},get duration(){const he=te.calculatedDuration===null?sf(te):te.calculatedDuration;return Ar(he)},get speed(){return _},set speed(he){he===_||!Z||(_=he,Ut.time=Ar(Ce))},get state(){return re},play:je,pause:()=>{re="paused",le=Ce},stop:()=>{$=!0,re!=="idle"&&(re="idle",x&&x(),ot())},cancel:()=>{ze!==null&&dt(ze),ot()},complete:()=>{re="finished"},sample:he=>(ce=0,dt(he))};return Ut}function jg(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bg=jg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Vg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),yl=10,zg=2e4,Wg=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Bd(t.ease);function Ug(e,t,{onUpdate:r,onComplete:i,...s}){if(!(Bg()&&Vg.has(t)&&!s.repeatDelay&&s.repeatType!=="mirror"&&s.damping!==0&&s.type!=="inertia"))return!1;let y=!1,S,p,x=!1;const A=()=>{p=new Promise(X=>{S=X})};A();let{keyframes:T,duration:D=300,ease:_,times:$}=s;if(Wg(t,s)){const X=Ml({...s,repeat:0,delay:0});let q={done:!1,value:T[0]};const te=[];let ee=0;for(;!q.done&&ee<zg;)q=X.sample(ee),te.push(q.value),ee+=yl;$=void 0,T=te,D=ee-yl,_="linear"}const G=qm(e.owner.current,t,T,{...s,duration:D,ease:_,times:$}),B=()=>{x=!1,G.cancel()},F=()=>{x=!0,_e.update(B),S(),A()};return G.onfinish=()=>{x||(e.set(eg(T,s)),i&&i(),F())},{then(X,q){return p.then(X,q)},attachTimeline(X){return G.timeline=X,G.onfinish=null,Ye},get time(){return Ar(G.currentTime||0)},set time(X){G.currentTime=uo(X)},get speed(){return G.playbackRate},set speed(X){G.playbackRate=X},get duration(){return Ar(D)},play:()=>{y||(G.play(),Ir(B))},pause:()=>G.pause(),stop:()=>{if(y=!0,G.playState==="idle")return;const{currentTime:X}=G;if(X){const q=Ml({...s,autoplay:!1});e.setWithVelocity(q.sample(X-yl).value,q.sample(X).value,yl)}F()},complete:()=>{x||G.finish()},cancel:F}}function Ng({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:Ye,pause:Ye,stop:Ye,then:m=>(m(),Promise.resolve()),cancel:Ye,complete:Ye});return t?Ml({keyframes:[0,1],duration:0,delay:t,onComplete:s}):s()}const Hg={type:"spring",stiffness:500,damping:25,restSpeed:10},$g=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Yg={type:"keyframes",duration:.8},Gg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Xg=(e,{keyframes:t})=>t.length>2?Yg:ii.has(e)?e.startsWith("scale")?$g(t[1]):Hg:Gg,nc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(fo.test(t)||t==="0")&&!t.startsWith("url(")),Zg=new Set(["brightness","contrast","saturate","opacity"]);function Jg(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(Bl)||[];if(!i)return e;const s=r.replace(i,"");let m=Zg.has(t)?1:0;return i!==r&&(m*=100),t+"("+m+s+")"}const Qg=/([a-z-]*)\(.*?\)/g,rc={...fo,getAnimatableNone:e=>{const t=e.match(Qg);return t?t.map(Jg).join(" "):e}},Kg={...wd,color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:rc,WebkitFilter:rc},Ec=e=>Kg[e];function lh(e,t){let r=Ec(e);return r!==rc&&(r=fo),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const uh=e=>/^0[^.\s]+$/.test(e);function qg(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||uh(e)}function ev(e,t,r,i){const s=nc(t,r);let m;Array.isArray(r)?m=[...r]:m=[null,r];const y=i.from!==void 0?i.from:e.get();let S;const p=[];for(let x=0;x<m.length;x++)m[x]===null&&(m[x]=x===0?y:m[x-1]),qg(m[x])&&p.push(x),typeof m[x]=="string"&&m[x]!=="none"&&m[x]!=="0"&&(S=m[x]);if(s&&p.length&&S)for(let x=0;x<p.length;x++){const A=p[x];m[A]=lh(t,S)}return m}function tv({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:s,repeat:m,repeatType:y,repeatDelay:S,from:p,elapsed:x,...A}){return!!Object.keys(A).length}function Rc(e,t){return e[t]||e.default||e}const nv={skipAnimations:!1},Pc=(e,t,r,i={})=>s=>{const m=Rc(i,e)||{},y=m.delay||i.delay||0;let{elapsed:S=0}=i;S=S-uo(y);const p=ev(t,e,r,m),x=p[0],A=p[p.length-1],T=nc(e,x),D=nc(e,A);ks(T===D,`You are trying to animate ${e} from "${x}" to "${A}". ${x} is not an animatable value - to enable this animation set ${x} to a value animatable to ${A} via the \`style\` property.`);let _={keyframes:p,velocity:t.getVelocity(),ease:"easeOut",...m,delay:-S,onUpdate:$=>{t.set($),m.onUpdate&&m.onUpdate($)},onComplete:()=>{s(),m.onComplete&&m.onComplete()}};if(tv(m)||(_={..._,...Xg(e,_)}),_.duration&&(_.duration=uo(_.duration)),_.repeatDelay&&(_.repeatDelay=uo(_.repeatDelay)),!T||!D||Km.current||m.type===!1||nv.skipAnimations)return Ng(_);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const $=Ug(t,e,_);if($)return $}return Ml(_)};function Dl(e){return!!(Wt(e)&&e.add)}const ch=e=>/^\-?\d*\.?\d+$/.test(e);function Ac(e,t){e.indexOf(t)===-1&&e.push(t)}function Ic(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Mc{constructor(){this.subscriptions=[]}add(t){return Ac(this.subscriptions,t),()=>Ic(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 m=0;m<s;m++){const y=this.subscriptions[m];y&&y(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const lf=new Set;function Dc(e,t,r){e||lf.has(t)||(console.warn(t),r&&console.warn(r),lf.add(t))}const rv=e=>!isNaN(parseFloat(e));class ov{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:m,timestamp:y}=pt;this.lastUpdated!==y&&(this.timeDelta=m,this.lastUpdated=y,_e.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=()=>_e.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=rv(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Dc(!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 Mc);const i=this.events[t].add(r);return t==="change"?()=>{i(),_e.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?ih(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 ca(e,t){return new ov(e,t)}const fh=e=>t=>t.test(e),iv={test:e=>e==="auto",parse:e=>e},dh=[ai,pe,Jn,ao,hm,dm,iv],cs=e=>dh.find(fh(e)),av=[...dh,Et,fo],sv=e=>av.find(fh(e));function lv(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ca(r))}function uv(e,t){const r=zl(e,t);let{transitionEnd:i={},transition:s={},...m}=r?e.makeTargetAnimatable(r,!1):{};m={...m,...i};for(const y in m){const S=Pm(m[y]);lv(e,y,S)}}function cv(e,t,r){var i,s;const m=Object.keys(t).filter(S=>!e.hasValue(S)),y=m.length;if(y)for(let S=0;S<y;S++){const p=m[S],x=t[p];let A=null;Array.isArray(x)&&(A=x[0]),A===null&&(A=(s=(i=r[p])!==null&&i!==void 0?i:e.readValue(p))!==null&&s!==void 0?s:t[p]),A!=null&&(typeof A=="string"&&(ch(A)||uh(A))?A=parseFloat(A):!sv(A)&&fo.test(x)&&(A=lh(p,x)),e.addValue(p,ca(A,{owner:e})),r[p]===void 0&&(r[p]=A),A!==null&&e.setBaseTarget(p,A))}}function fv(e,t){return t?(t[e]||t.default||t).from:void 0}function dv(e,t,r){const i={};for(const s in e){const m=fv(s,t);if(m!==void 0)i[s]=m;else{const y=r.getValue(s);y&&(i[s]=y.get())}}return i}function hv({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function pv(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 hh(e,t,{delay:r=0,transitionOverride:i,type:s}={}){let{transition:m=e.getDefaultTransition(),transitionEnd:y,...S}=e.makeTargetAnimatable(t);const p=e.getValue("willChange");i&&(m=i);const x=[],A=s&&e.animationState&&e.animationState.getState()[s];for(const T in S){const D=e.getValue(T),_=S[T];if(!D||_===void 0||A&&hv(A,T))continue;const $={delay:r,elapsed:0,...Rc(m||{},T)};if(window.HandoffAppearAnimations){const F=e.getProps()[pd];if(F){const Z=window.HandoffAppearAnimations(F,T,D,_e);Z!==null&&($.elapsed=Z,$.isHandoff=!0)}}let G=!$.isHandoff&&!pv(D,_);if($.type==="spring"&&(D.getVelocity()||$.velocity)&&(G=!1),D.animation&&(G=!1),G)continue;D.start(Pc(T,D,_,e.shouldReduceMotion&&ii.has(T)?{type:!1}:$));const B=D.animation;Dl(p)&&(p.add(T),B.then(()=>p.remove(T))),x.push(B)}return y&&Promise.all(x).then(()=>{y&&uv(e,y)}),x}function oc(e,t,r={}){const i=zl(e,t,r.custom);let{transition:s=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(s=r.transitionOverride);const m=i?()=>Promise.all(hh(e,i,r)):()=>Promise.resolve(),y=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:x=0,staggerChildren:A,staggerDirection:T}=s;return mv(e,t,x+p,A,T,r)}:()=>Promise.resolve(),{when:S}=s;if(S){const[p,x]=S==="beforeChildren"?[m,y]:[y,m];return p().then(()=>x())}else return Promise.all([m(),y(r.delay)])}function mv(e,t,r=0,i=0,s=1,m){const y=[],S=(e.variantChildren.size-1)*i,p=s===1?(x=0)=>x*i:(x=0)=>S-x*i;return Array.from(e.variantChildren).sort(gv).forEach((x,A)=>{x.notify("AnimationStart",t),y.push(oc(x,t,{...m,delay:r+p(A)}).then(()=>x.notify("AnimationComplete",t)))}),Promise.all(y)}function gv(e,t){return e.sortNodePosition(t)}function vv(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(m=>oc(e,m,r));i=Promise.all(s)}else if(typeof t=="string")i=oc(e,t,r);else{const s=typeof t=="function"?zl(e,t,r.custom):t;i=Promise.all(hh(e,s,r))}return i.then(()=>e.notify("AnimationComplete",t))}const yv=[...pc].reverse(),bv=pc.length;function xv(e){return t=>Promise.all(t.map(({animation:r,options:i})=>vv(e,r,i)))}function Sv(e){let t=xv(e);const r=kv();let i=!0;const s=(p,x)=>{const A=zl(e,x);if(A){const{transition:T,transitionEnd:D,..._}=A;p={...p,..._,...D}}return p};function m(p){t=p(e)}function y(p,x){const A=e.getProps(),T=e.getVariantContext(!0)||{},D=[],_=new Set;let $={},G=1/0;for(let F=0;F<bv;F++){const Z=yv[F],X=r[Z],q=A[Z]!==void 0?A[Z]:T[Z],te=vs(q),ee=Z===x?X.isActive:null;ee===!1&&(G=F);let re=q===T[Z]&&q!==A[Z]&&te;if(re&&i&&e.manuallyAnimateOnMount&&(re=!1),X.protectedKeys={...$},!X.isActive&&ee===null||!q&&!X.prevProp||_l(q)||typeof q=="boolean")continue;let ce=wv(X.prevProp,q)||Z===x&&X.isActive&&!re&&te||F>G&&te,ze=!1;const Ne=Array.isArray(q)?q:[q];let we=Ne.reduce(s,{});ee===!1&&(we={});const{prevResolvedValues:He={}}=X,Ce={...He,...we},dt=Pe=>{ce=!0,_.has(Pe)&&(ze=!0,_.delete(Pe)),X.needsAnimating[Pe]=!0};for(const Pe in Ce){const ot=we[Pe],Ze=He[Pe];if($.hasOwnProperty(Pe))continue;let je=!1;Pl(ot)&&Pl(Ze)?je=!_d(ot,Ze):je=ot!==Ze,je?ot!==void 0?dt(Pe):_.add(Pe):ot!==void 0&&_.has(Pe)?dt(Pe):X.protectedKeys[Pe]=!0}X.prevProp=q,X.prevResolvedValues=we,X.isActive&&($={...$,...we}),i&&e.blockInitialAnimation&&(ce=!1),ce&&(!re||ze)&&D.push(...Ne.map(Pe=>({animation:Pe,options:{type:Z,...p}})))}if(_.size){const F={};_.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(p,x,A){var T;if(r[p].isActive===x)return Promise.resolve();(T=e.variantChildren)===null||T===void 0||T.forEach(_=>{var $;return($=_.animationState)===null||$===void 0?void 0:$.setActive(p,x)}),r[p].isActive=x;const D=y(A,p);for(const _ in r)r[_].protectedKeys={};return D}return{animateChanges:y,setActive:S,setAnimateFunction:m,getState:()=>r}}function wv(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_d(t,e):!1}function ei(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kv(){return{animate:ei(!0),whileInView:ei(),whileHover:ei(),whileTap:ei(),whileDrag:ei(),whileFocus:ei(),exit:ei()}}class Tv extends ho{constructor(t){super(t),t.animationState||(t.animationState=Sv(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),_l(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 Cv=0;class Ev extends ho{constructor(){super(...arguments),this.id=Cv++}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 m=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});r&&!t&&m.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Rv={animation:{Feature:Tv},exit:{Feature:Ev}},uf=(e,t)=>Math.abs(e-t);function Pv(e,t){const r=uf(e.x,t.x),i=uf(e.y,t.y);return Math.sqrt(r**2+i**2)}class ph{constructor(t,r,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:m=!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 T=Yu(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,_=Pv(T.offset,{x:0,y:0})>=3;if(!D&&!_)return;const{point:$}=T,{timestamp:G}=pt;this.history.push({...$,timestamp:G});const{onStart:B,onMove:F}=this.handlers;D||(B&&B(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,T)},this.handlePointerMove=(T,D)=>{this.lastMoveEvent=T,this.lastMoveEventInfo=$u(D,this.transformPagePoint),_e.update(this.updatePoint,!0)},this.handlePointerUp=(T,D)=>{this.end();const{onEnd:_,onSessionEnd:$,resumeAnimation:G}=this.handlers;if(this.dragSnapToOrigin&&G&&G(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=Yu(T.type==="pointercancel"?this.lastMoveEventInfo:$u(D,this.transformPagePoint),this.history);this.startEvent&&_&&_(T,B),$&&$(T,B)},!Md(t))return;this.dragSnapToOrigin=m,this.handlers=r,this.transformPagePoint=i,this.contextWindow=s||window;const y=Vl(t),S=$u(y,this.transformPagePoint),{point:p}=S,{timestamp:x}=pt;this.history=[{...p,timestamp:x}];const{onSessionStart:A}=r;A&&A(t,Yu(S,this.history)),this.removeListeners=lo(Pr(this.contextWindow,"pointermove",this.handlePointerMove),Pr(this.contextWindow,"pointerup",this.handlePointerUp),Pr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ir(this.updatePoint)}}function $u(e,t){return t?{point:t(e.point)}:e}function cf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:cf(e,mh(t)),offset:cf(e,Av(t)),velocity:Iv(t,.1)}}function Av(e){return e[0]}function mh(e){return e[e.length-1]}function Iv(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const s=mh(e);for(;r>=0&&(i=e[r],!(s.timestamp-i.timestamp>uo(t)));)r--;if(!i)return{x:0,y:0};const m=Ar(s.timestamp-i.timestamp);if(m===0)return{x:0,y:0};const y={x:(s.x-i.x)/m,y:(s.y-i.y)/m};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function Kt(e){return e.max-e.min}function ic(e,t=0,r=.01){return Math.abs(e-t)<=r}function ff(e,t,r,i=.5){e.origin=i,e.originPoint=Ue(t.min,t.max,e.origin),e.scale=Kt(r)/Kt(t),(ic(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ue(r.min,r.max,e.origin)-e.originPoint,(ic(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ms(e,t,r,i){ff(e.x,t.x,r.x,i?i.originX:void 0),ff(e.y,t.y,r.y,i?i.originY:void 0)}function df(e,t,r){e.min=r.min+t.min,e.max=e.min+Kt(t)}function Mv(e,t,r){df(e.x,t.x,r.x),df(e.y,t.y,r.y)}function hf(e,t,r){e.min=t.min-r.min,e.max=e.min+Kt(t)}function gs(e,t,r){hf(e.x,t.x,r.x),hf(e.y,t.y,r.y)}function Dv(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?Ue(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?Ue(r,e,i.max):Math.min(e,r)),e}function pf(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 Ov(e,{top:t,left:r,bottom:i,right:s}){return{x:pf(e.x,r,s),y:pf(e.y,t,i)}}function mf(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 Fv(e,t){return{x:mf(e.x,t.x),y:mf(e.y,t.y)}}function Lv(e,t){let r=.5;const i=Kt(e),s=Kt(t);return s>i?r=bs(t.min,t.max-i,e.min):i>s&&(r=bs(e.min,e.max-s,t.min)),co(0,1,r)}function _v(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 ac=.35;function jv(e=ac){return e===!1?e=0:e===!0&&(e=ac),{x:gf(e,"left","right"),y:gf(e,"top","bottom")}}function gf(e,t,r){return{min:vf(e,t),max:vf(e,r)}}function vf(e,t){return typeof e=="number"?e:e[t]||0}const yf=()=>({translate:0,scale:1,origin:0,originPoint:0}),la=()=>({x:yf(),y:yf()}),bf=()=>({min:0,max:0}),Ke=()=>({x:bf(),y:bf()});function gn(e){return[e("x"),e("y")]}function gh({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function Bv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Vv(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 sc({scale:e,scaleX:t,scaleY:r}){return!Gu(e)||!Gu(t)||!Gu(r)}function ti(e){return sc(e)||vh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function vh(e){return xf(e.x)||xf(e.y)}function xf(e){return e&&e!=="0%"}function Ol(e,t,r){const i=e-r,s=t*i;return r+s}function Sf(e,t,r,i,s){return s!==void 0&&(e=Ol(e,s,i)),Ol(e,r,i)+t}function lc(e,t=0,r=1,i,s){e.min=Sf(e.min,t,r,i,s),e.max=Sf(e.max,t,r,i,s)}function yh(e,{x:t,y:r}){lc(e.x,t.translate,t.scale,t.originPoint),lc(e.y,r.translate,r.scale,r.originPoint)}function zv(e,t,r,i=!1){const s=r.length;if(!s)return;t.x=t.y=1;let m,y;for(let S=0;S<s;S++){m=r[S],y=m.projectionDelta;const p=m.instance;p&&p.style&&p.style.display==="contents"||(i&&m.options.layoutScroll&&m.scroll&&m!==m.root&&ua(e,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),y&&(t.x*=y.x.scale,t.y*=y.y.scale,yh(e,y)),i&&ti(m.latestValues)&&ua(e,m.latestValues))}t.x=wf(t.x),t.y=wf(t.y)}function wf(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function so(e,t){e.min=e.min+t,e.max=e.max+t}function kf(e,t,[r,i,s]){const m=t[s]!==void 0?t[s]:.5,y=Ue(e.min,e.max,m);lc(e,t[r],t[i],y,t.scale)}const Wv=["x","scaleX","originX"],Uv=["y","scaleY","originY"];function ua(e,t){kf(e.x,t,Wv),kf(e.y,t,Uv)}function bh(e,t){return gh(Vv(e.getBoundingClientRect(),t))}function Nv(e,t,r){const i=bh(e,r),{scroll:s}=t;return s&&(so(i.x,s.offset.x),so(i.y,s.offset.y)),i}const xh=({current:e})=>e?e.ownerDocument.defaultView:null,Hv=new WeakMap;class $v{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=Ke(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=A=>{const{dragSnapToOrigin:T}=this.getProps();T?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Vl(A,"page").point)},m=(A,T)=>{const{drag:D,dragPropagation:_,onDragStart:$}=this.getProps();if(D&&!_&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Od(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),gn(B=>{let F=this.getAxisMotionValue(B).get()||0;if(Jn.test(F)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const X=Z.layout.layoutBox[B];X&&(F=Kt(X)*(parseFloat(F)/100))}}this.originPoint[B]=F}),$&&_e.update(()=>$(A,T),!1,!0);const{animationState:G}=this.visualElement;G&&G.setActive("whileDrag",!0)},y=(A,T)=>{const{dragPropagation:D,dragDirectionLock:_,onDirectionLock:$,onDrag:G}=this.getProps();if(!D&&!this.openGlobalLock)return;const{offset:B}=T;if(_&&this.currentDirection===null){this.currentDirection=Yv(B),this.currentDirection!==null&&$&&$(this.currentDirection);return}this.updateAxis("x",T.point,B),this.updateAxis("y",T.point,B),this.visualElement.render(),G&&G(A,T)},S=(A,T)=>this.stop(A,T),p=()=>gn(A=>{var T;return this.getAnimationState(A)==="paused"&&((T=this.getAxisMotionValue(A).animation)===null||T===void 0?void 0:T.play())}),{dragSnapToOrigin:x}=this.getProps();this.panSession=new ph(t,{onSessionStart:s,onStart:m,onMove:y,onSessionEnd:S,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,contextWindow:xh(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:m}=this.getProps();m&&_e.update(()=>m(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||!bl(t,s,this.currentDirection))return;const m=this.getAxisMotionValue(t);let y=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(y=Dv(y,this.constraints[t],this.elastic[t])),m.set(y)}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,m=this.constraints;r&&aa(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=Ov(s.layoutBox,r):this.constraints=!1,this.elastic=jv(i),m!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&gn(y=>{this.getAxisMotionValue(y)&&(this.constraints[y]=_v(s.layoutBox[y],this.constraints[y]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!aa(t))return!1;const i=t.current;Dn(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 m=Nv(i,s.root,this.visualElement.getTransformPagePoint());let y=Fv(s.layout.layoutBox,m);if(r){const S=r(Bv(y));this.hasMutatedConstraints=!!S,S&&(y=gh(S))}return y}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:s,dragTransition:m,dragSnapToOrigin:y,onDragTransitionEnd:S}=this.getProps(),p=this.constraints||{},x=gn(A=>{if(!bl(A,r,this.currentDirection))return;let T=p&&p[A]||{};y&&(T={min:0,max:0});const D=s?200:1e6,_=s?40:1e7,$={type:"inertia",velocity:i?t[A]:0,bounceStiffness:D,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10,...m,...T};return this.startAxisValueAnimation(A,$)});return Promise.all(x).then(S)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return i.start(Pc(t,i,0,r))}stopAnimation(){gn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gn(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){gn(r=>{const{drag:i}=this.getProps();if(!bl(r,i,this.currentDirection))return;const{projection:s}=this.visualElement,m=this.getAxisMotionValue(r);if(s&&s.layout){const{min:y,max:S}=s.layout.layoutBox[r];m.set(t[r]-Ue(y,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!aa(r)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};gn(y=>{const S=this.getAxisMotionValue(y);if(S){const p=S.get();s[y]=Lv({min:p,max:p},this.constraints[y])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),gn(y=>{if(!bl(y,t,null))return;const S=this.getAxisMotionValue(y),{min:p,max:x}=this.constraints[y];S.set(Ue(p,x,s[y]))})}addListeners(){if(!this.visualElement.current)return;Hv.set(this.visualElement,this);const t=this.visualElement.current,r=Pr(t,"pointerdown",p=>{const{drag:x,dragListener:A=!0}=this.getProps();x&&A&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();aa(p)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,m=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),i();const y=Rr(window,"resize",()=>this.scalePositionWithinConstraints()),S=s.addEventListener("didUpdate",({delta:p,hasLayoutChanged:x})=>{this.isDragging&&x&&(gn(A=>{const T=this.getAxisMotionValue(A);T&&(this.originPoint[A]+=p[A].translate,T.set(T.get()+p[A].translate))}),this.visualElement.render())});return()=>{y(),r(),m(),S&&S()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:m=!1,dragElastic:y=ac,dragMomentum:S=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:m,dragElastic:y,dragMomentum:S}}}function bl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function Yv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class Gv extends ho{constructor(t){super(t),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new $v(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}}const Tf=e=>(t,r)=>{e&&_e.update(()=>e(t,r))};class Xv extends ho{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(t){this.session=new ph(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xh(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:Tf(t),onStart:Tf(r),onMove:i,onEnd:(m,y)=>{delete this.session,s&&_e.update(()=>s(m,y))}}}mount(){this.removePointerDownListener=Pr(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 Zv(){const e=oe.useContext(dc);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,s=oe.useId();return oe.useEffect(()=>i(s),[]),!t&&r?[!1,()=>r&&r(s)]:[!0]}const kl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Cf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(pe.test(e))e=parseFloat(e);else return e;const r=Cf(e,t.target.x),i=Cf(e,t.target.y);return`${r}% ${i}%`}},Jv={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,s=fo.parse(e);if(s.length>5)return i;const m=fo.createTransformer(e),y=typeof s[0]!="number"?1:0,S=r.x.scale*t.x,p=r.y.scale*t.y;s[0+y]/=S,s[1+y]/=p;const x=Ue(S,p,.5);return typeof s[2+y]=="number"&&(s[2+y]/=x),typeof s[3+y]=="number"&&(s[3+y]/=x),m(s)}};class Qv extends oe.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:s}=this.props,{projection:m}=t;im(Kv),m&&(r.group&&r.group.add(m),i&&i.register&&s&&i.register(m),m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,onExitComplete:()=>this.safeToRemove()})),kl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:s,isPresent:m}=this.props,y=i.projection;return y&&(y.isPresent=m,s||t.layoutDependency!==r||r===void 0?y.willUpdate():this.safeToRemove(),t.isPresent!==m&&(m?y.promote():y.relegate()||_e.postRender(()=>{const S=y.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 Sh(e){const[t,r]=Zv(),i=oe.useContext(gd);return oe.createElement(Qv,{...e,layoutGroup:i,switchLayoutGroup:oe.useContext(vd),isPresent:t,safeToRemove:r})}const Kv={borderRadius:{...fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fs,borderTopRightRadius:fs,borderBottomLeftRadius:fs,borderBottomRightRadius:fs,boxShadow:Jv},wh=["TopLeft","TopRight","BottomLeft","BottomRight"],qv=wh.length,Ef=e=>typeof e=="string"?parseFloat(e):e,Rf=e=>typeof e=="number"||pe.test(e);function ey(e,t,r,i,s,m){s?(e.opacity=Ue(0,r.opacity!==void 0?r.opacity:1,ty(i)),e.opacityExit=Ue(t.opacity!==void 0?t.opacity:1,0,ny(i))):m&&(e.opacity=Ue(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let y=0;y<qv;y++){const S=`border${wh[y]}Radius`;let p=Pf(t,S),x=Pf(r,S);if(p===void 0&&x===void 0)continue;p||(p=0),x||(x=0),p===0||x===0||Rf(p)===Rf(x)?(e[S]=Math.max(Ue(Ef(p),Ef(x),i),0),(Jn.test(x)||Jn.test(p))&&(e[S]+="%")):e[S]=x}(t.rotate||r.rotate)&&(e.rotate=Ue(t.rotate||0,r.rotate||0,i))}function Pf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ty=kh(0,.5,$d),ny=kh(.5,.95,Ye);function kh(e,t,r){return i=>i<e?0:i>t?1:r(bs(e,t,i))}function Af(e,t){e.min=t.min,e.max=t.max}function mn(e,t){Af(e.x,t.x),Af(e.y,t.y)}function If(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 ry(e,t=0,r=1,i=.5,s,m=e,y=e){if(Jn.test(t)&&(t=parseFloat(t),t=Ue(y.min,y.max,t/100)-y.min),typeof t!="number")return;let S=Ue(m.min,m.max,i);e===m&&(S-=t),e.min=If(e.min,t,r,S,s),e.max=If(e.max,t,r,S,s)}function Mf(e,t,[r,i,s],m,y){ry(e,t[r],t[i],t[s],t.scale,m,y)}const oy=["x","scaleX","originX"],iy=["y","scaleY","originY"];function Df(e,t,r,i){Mf(e.x,t,oy,r?r.x:void 0,i?i.x:void 0),Mf(e.y,t,iy,r?r.y:void 0,i?i.y:void 0)}function Of(e){return e.translate===0&&e.scale===1}function Th(e){return Of(e.x)&&Of(e.y)}function ay(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 Ch(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 Ff(e){return Kt(e.x)/Kt(e.y)}class sy{constructor(){this.members=[]}add(t){Ac(this.members,t),t.scheduleRender()}remove(t){if(Ic(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 m=this.members[s];if(m.isPresent!==!1){i=m;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 Lf(e,t,r){let i="";const s=e.x.translate/t.x,m=e.y.translate/t.y;if((s||m)&&(i=`translate3d(${s}px, ${m}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:p,rotateX:x,rotateY:A}=r;p&&(i+=`rotate(${p}deg) `),x&&(i+=`rotateX(${x}deg) `),A&&(i+=`rotateY(${A}deg) `)}const y=e.x.scale*t.x,S=e.y.scale*t.y;return(y!==1||S!==1)&&(i+=`scale(${y}, ${S})`),i||"none"}const ly=(e,t)=>e.depth-t.depth;class uy{constructor(){this.children=[],this.isDirty=!1}add(t){Ac(this.children,t),this.isDirty=!0}remove(t){Ic(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ly),this.isDirty=!1,this.children.forEach(t)}}function cy(e,t){const r=performance.now(),i=({timestamp:s})=>{const m=s-r;m>=t&&(Ir(i),e(m-t))};return _e.read(i,!0),()=>Ir(i)}function fy(e){window.MotionDebug&&window.MotionDebug.record(e)}function dy(e){return e instanceof SVGElement&&e.tagName!=="svg"}function hy(e,t,r){const i=Wt(e)?e:ca(e);return i.start(Pc("",i,t,r)),i.animation}const _f=["","X","Y","Z"],py={visibility:"hidden"},jf=1e3;let my=0;const ni={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Eh({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(y={},S=t==null?void 0:t()){this.id=my++,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,ni.totalNodes=ni.resolvedTargetDeltas=ni.recalculatedProjection=0,this.nodes.forEach(yy),this.nodes.forEach(ky),this.nodes.forEach(Ty),this.nodes.forEach(by),fy(ni)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,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 p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new uy)}addEventListener(y,S){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new Mc),this.eventHandlers.get(y).add(S)}notifyListeners(y,...S){const p=this.eventHandlers.get(y);p&&p.notify(...S)}hasListeners(y){return this.eventHandlers.has(y)}mount(y,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=dy(y),this.instance=y;const{layoutId:p,layout:x,visualElement:A}=this.options;if(A&&!A.current&&A.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(x||p)&&(this.isLayoutDirty=!0),e){let T;const D=()=>this.root.updateBlockedByResize=!1;e(y,()=>{this.root.updateBlockedByResize=!0,T&&T(),T=cy(D,250),kl.hasAnimatedSinceResize&&(kl.hasAnimatedSinceResize=!1,this.nodes.forEach(Vf))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&A&&(p||x)&&this.addEventListener("didUpdate",({delta:T,hasLayoutChanged:D,hasRelativeTargetChanged:_,layout:$})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const G=this.options.transition||A.getDefaultTransition()||Ay,{onLayoutAnimationStart:B,onLayoutAnimationComplete:F}=A.getProps(),Z=!this.targetLayout||!Ch(this.targetLayout,$)||_,X=!D&&_;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(T,X);const q={...Rc(G,"layout"),onPlay:B,onComplete:F};(A.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q)}else D||Vf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=$})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ir(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(Cy),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!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 T=this.path[A];T.shouldResetTransform=!0,T.updateScroll("snapshot"),T.options.layoutRoot&&T.willUpdate(!1)}const{layoutId:S,layout:p}=this.options;if(S===void 0&&!p)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Bf);return}this.isUpdating||this.nodes.forEach(Sy),this.isUpdating=!1,this.nodes.forEach(wy),this.nodes.forEach(gy),this.nodes.forEach(vy),this.clearAllSnapshots();const S=performance.now();pt.delta=co(0,1e3/60,S-pt.timestamp),pt.timestamp=S,pt.isProcessing=!0,ju.update.process(pt),ju.preRender.process(pt),ju.render.process(pt),pt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(xy),this.sharedNodes.forEach(Ey)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,_e.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){_e.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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ke(),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,y?y.layoutBox:void 0)}updateScroll(y="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:y,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!s)return;const y=this.isLayoutDirty||this.shouldResetTransform,S=this.projectionDelta&&!Th(this.projectionDelta),p=this.getTransformTemplate(),x=p?p(this.latestValues,""):void 0,A=x!==this.prevTransformTemplateValue;y&&(S||ti(this.latestValues)||A)&&(s(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const S=this.measurePageBox();let p=this.removeElementScroll(S);return y&&(p=this.removeTransform(p)),Iy(p),{animationId:this.root.animationId,measuredBox:S,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return Ke();const S=y.measureViewportBox(),{scroll:p}=this.root;return p&&(so(S.x,p.offset.x),so(S.y,p.offset.y)),S}removeElementScroll(y){const S=Ke();mn(S,y);for(let p=0;p<this.path.length;p++){const x=this.path[p],{scroll:A,options:T}=x;if(x!==this.root&&A&&T.layoutScroll){if(A.isRoot){mn(S,y);const{scroll:D}=this.root;D&&(so(S.x,-D.offset.x),so(S.y,-D.offset.y))}so(S.x,A.offset.x),so(S.y,A.offset.y)}}return S}applyTransform(y,S=!1){const p=Ke();mn(p,y);for(let x=0;x<this.path.length;x++){const A=this.path[x];!S&&A.options.layoutScroll&&A.scroll&&A!==A.root&&ua(p,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),ti(A.latestValues)&&ua(p,A.latestValues)}return ti(this.latestValues)&&ua(p,this.latestValues),p}removeTransform(y){const S=Ke();mn(S,y);for(let p=0;p<this.path.length;p++){const x=this.path[p];if(!x.instance||!ti(x.latestValues))continue;sc(x.latestValues)&&x.updateSnapshot();const A=Ke(),T=x.measurePageBox();mn(A,T),Df(S,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,A)}return ti(this.latestValues)&&Df(S,this.latestValues),S}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.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!==pt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){var S;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==p;if(!(y||x&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:T,layoutId:D}=this.options;if(!(!this.layout||!(T||D))){if(this.resolvedRelativeTargetAt=pt.timestamp,!this.targetDelta&&!this.relativeTarget){const _=this.getClosestProjectingParent();_&&_.layout&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),gs(this.relativeTargetOrigin,this.layout.layoutBox,_.layout.layoutBox),mn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ke(),this.targetWithTransforms=Ke()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):mn(this.target,this.layout.layoutBox),yh(this.target,this.targetDelta)):mn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const _=this.getClosestProjectingParent();_&&!!_.resumingFrom==!!this.resumingFrom&&!_.options.layoutScroll&&_.target&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),gs(this.relativeTargetOrigin,this.target,_.target),mn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ni.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||sc(this.parent.latestValues)||vh(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 y;const S=this.getLead(),p=!!this.resumingFrom||this!==S;let x=!0;if((this.isProjectionDirty||!((y=this.parent)===null||y===void 0)&&y.isProjectionDirty)&&(x=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===pt.timestamp&&(x=!1),x)return;const{layout:A,layoutId:T}=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||T))return;mn(this.layoutCorrected,this.layout.layoutBox);const D=this.treeScale.x,_=this.treeScale.y;zv(this.layoutCorrected,this.treeScale,this.path,p),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox);const{target:$}=S;if(!$){this.projectionTransform&&(this.projectionDelta=la(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=la(),this.projectionDeltaWithTransform=la());const G=this.projectionTransform;ms(this.projectionDelta,this.layoutCorrected,$,this.latestValues),this.projectionTransform=Lf(this.projectionDelta,this.treeScale),(this.projectionTransform!==G||this.treeScale.x!==D||this.treeScale.y!==_)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",$)),ni.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),y){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(y,S=!1){const p=this.snapshot,x=p?p.latestValues:{},A={...this.latestValues},T=la();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const D=Ke(),_=p?p.source:void 0,$=this.layout?this.layout.source:void 0,G=_!==$,B=this.getStack(),F=!B||B.members.length<=1,Z=!!(G&&!F&&this.options.crossfade===!0&&!this.path.some(Py));this.animationProgress=0;let X;this.mixTargetDelta=q=>{const te=q/1e3;zf(T.x,y.x,te),zf(T.y,y.y,te),this.setTargetDelta(T),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(gs(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ry(this.relativeTarget,this.relativeTargetOrigin,D,te),X&&ay(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=Ke()),mn(X,this.relativeTarget)),G&&(this.animationValues=A,ey(A,x,this.latestValues,te,Z,F)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=te},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ir(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=_e.update(()=>{kl.hasAnimatedSinceResize=!0,this.currentAnimation=hy(0,jf,{...y,onUpdate:S=>{this.mixTargetDelta(S),y.onUpdate&&y.onUpdate(S)},onComplete:()=>{y.onComplete&&y.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 y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:S,target:p,layout:x,latestValues:A}=y;if(!(!S||!p||!x)){if(this!==y&&this.layout&&x&&Rh(this.options.animationType,this.layout.layoutBox,x.layoutBox)){p=this.target||Ke();const T=Kt(this.layout.layoutBox.x);p.x.min=y.target.x.min,p.x.max=p.x.min+T;const D=Kt(this.layout.layoutBox.y);p.y.min=y.target.y.min,p.y.max=p.y.min+D}mn(S,p),ua(S,A),ms(this.projectionDeltaWithTransform,this.layoutCorrected,S,A)}}registerSharedNode(y,S){this.sharedNodes.has(y)||this.sharedNodes.set(y,new sy),this.sharedNodes.get(y).add(S);const x=S.options.initialPromotionConfig;S.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(S):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){var y;const{layoutId:S}=this.options;return S?((y=this.getStack())===null||y===void 0?void 0:y.lead)||this:this}getPrevLead(){var y;const{layoutId:S}=this.options;return S?(y=this.getStack())===null||y===void 0?void 0:y.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:S,preserveFollowOpacity:p}={}){const x=this.getStack();x&&x.promote(this,p),y&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetRotation(){const{visualElement:y}=this.options;if(!y)return;let S=!1;const{latestValues:p}=y;if((p.rotate||p.rotateX||p.rotateY||p.rotateZ)&&(S=!0),!S)return;const x={};for(let A=0;A<_f.length;A++){const T="rotate"+_f[A];p[T]&&(x[T]=p[T],y.setStaticValue(T,0))}y.render();for(const A in x)y.setStaticValue(A,x[A]);y.scheduleRender()}getProjectionStyles(y){var S,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return py;const x={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,x.opacity="",x.pointerEvents=wl(y==null?void 0:y.pointerEvents)||"",x.transform=A?A(this.latestValues,""):"none",x;const T=this.getLead();if(!this.projectionDelta||!this.layout||!T.target){const G={};return this.options.layoutId&&(G.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,G.pointerEvents=wl(y==null?void 0:y.pointerEvents)||""),this.hasProjected&&!ti(this.latestValues)&&(G.transform=A?A({},""):"none",this.hasProjected=!1),G}const D=T.animationValues||T.latestValues;this.applyTransformsToTarget(),x.transform=Lf(this.projectionDeltaWithTransform,this.treeScale,D),A&&(x.transform=A(D,x.transform));const{x:_,y:$}=this.projectionDelta;x.transformOrigin=`${_.origin*100}% ${$.origin*100}% 0`,T.animationValues?x.opacity=T===this?(p=(S=D.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:D.opacityExit:x.opacity=T===this?D.opacity!==void 0?D.opacity:"":D.opacityExit!==void 0?D.opacityExit:0;for(const G in El){if(D[G]===void 0)continue;const{correct:B,applyTo:F}=El[G],Z=x.transform==="none"?D[G]:B(D[G],T);if(F){const X=F.length;for(let q=0;q<X;q++)x[F[q]]=Z}else x[G]=Z}return this.options.layoutId&&(x.pointerEvents=T===this?wl(y==null?void 0:y.pointerEvents)||"":"none"),x}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>{var S;return(S=y.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach(Bf),this.root.sharedNodes.clear()}}}function gy(e){e.updateLayout()}function vy(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:m}=e.options,y=r.source!==e.layout.source;m==="size"?gn(T=>{const D=y?r.measuredBox[T]:r.layoutBox[T],_=Kt(D);D.min=i[T].min,D.max=D.min+_}):Rh(m,r.layoutBox,i)&&gn(T=>{const D=y?r.measuredBox[T]:r.layoutBox[T],_=Kt(i[T]);D.max=D.min+_,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[T].max=e.relativeTarget[T].min+_)});const S=la();ms(S,i,r.layoutBox);const p=la();y?ms(p,e.applyTransform(s,!0),r.measuredBox):ms(p,i,r.layoutBox);const x=!Th(S);let A=!1;if(!e.resumeFrom){const T=e.getClosestProjectingParent();if(T&&!T.resumeFrom){const{snapshot:D,layout:_}=T;if(D&&_){const $=Ke();gs($,r.layoutBox,D.layoutBox);const G=Ke();gs(G,i,_.layoutBox),Ch($,G)||(A=!0),T.options.layoutRoot&&(e.relativeTarget=G,e.relativeTargetOrigin=$,e.relativeParent=T)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:p,layoutDelta:S,hasLayoutChanged:x,hasRelativeTargetChanged:A})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function yy(e){ni.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 by(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xy(e){e.clearSnapshot()}function Bf(e){e.clearMeasurements()}function Sy(e){e.isLayoutDirty=!1}function wy(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Vf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ky(e){e.resolveTargetDelta()}function Ty(e){e.calcProjection()}function Cy(e){e.resetRotation()}function Ey(e){e.removeLeadSnapshot()}function zf(e,t,r){e.translate=Ue(t.translate,0,r),e.scale=Ue(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Wf(e,t,r,i){e.min=Ue(t.min,r.min,i),e.max=Ue(t.max,r.max,i)}function Ry(e,t,r,i){Wf(e.x,t.x,r.x,i),Wf(e.y,t.y,r.y,i)}function Py(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ay={duration:.45,ease:[.4,0,.1,1]},Uf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Nf=Uf("applewebkit/")&&!Uf("chrome/")?Math.round:Ye;function Hf(e){e.min=Nf(e.min),e.max=Nf(e.max)}function Iy(e){Hf(e.x),Hf(e.y)}function Rh(e,t,r){return e==="position"||e==="preserve-aspect"&&!ic(Ff(t),Ff(r),.2)}const My=Eh({attachResizeListener:(e,t)=>Rr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},Ph=Eh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new My({});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"}),Dy={pan:{Feature:Xv},drag:{Feature:Gv,ProjectionNode:Ph,MeasureLayout:Sh}},Oy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fy(e){const t=Oy.exec(e);if(!t)return[,];const[,r,i]=t;return[r,i]}const Ly=4;function uc(e,t,r=1){Dn(r<=Ly,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,s]=Fy(e);if(!i)return;const m=window.getComputedStyle(t).getPropertyValue(i);if(m){const y=m.trim();return ch(y)?parseFloat(y):y}else return Ku(s)?uc(s,t,r+1):s}function _y(e,{...t},r){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(s=>{const m=s.get();if(!Ku(m))return;const y=uc(m,i);y&&s.set(y)});for(const s in t){const m=t[s];if(!Ku(m))continue;const y=uc(m,i);y&&(t[s]=y,r||(r={}),r[s]===void 0&&(r[s]=m))}return{target:t,transitionEnd:r}}const jy=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ah=e=>jy.has(e),By=e=>Object.keys(e).some(Ah),xl=e=>e===ai||e===pe,$f=(e,t)=>parseFloat(e.split(", ")[t]),Yf=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/);if(s)return $f(s[1],t);{const m=i.match(/^matrix\((.+)\)$/);return m?$f(m[1],e):0}},Vy=new Set(["x","y","z"]),zy=xs.filter(e=>!Vy.has(e));function Wy(e){const t=[];return zy.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 fa={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:Yf(4,13),y:Yf(5,14)};fa.translateX=fa.x;fa.translateY=fa.y;const Uy=(e,t,r)=>{const i=t.measureViewportBox(),s=t.current,m=getComputedStyle(s),{display:y}=m,S={};y==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(x=>{S[x]=fa[x](i,m)}),t.render();const p=t.measureViewportBox();return r.forEach(x=>{const A=t.getValue(x);A&&A.jump(S[x]),e[x]=fa[x](p,m)}),e},Ny=(e,t,r={},i={})=>{t={...t},i={...i};const s=Object.keys(t).filter(Ah);let m=[],y=!1;const S=[];if(s.forEach(p=>{const x=e.getValue(p);if(!e.hasValue(p))return;let A=r[p],T=cs(A);const D=t[p];let _;if(Pl(D)){const $=D.length,G=D[0]===null?1:0;A=D[G],T=cs(A);for(let B=G;B<$&&D[B]!==null;B++)_?Dn(cs(D[B])===_,"All keyframes must be of the same type"):(_=cs(D[B]),Dn(_===T||xl(T)&&xl(_),"Keyframes must be of the same dimension as the current value"))}else _=cs(D);if(T!==_)if(xl(T)&&xl(_)){const $=x.get();typeof $=="string"&&x.set(parseFloat($)),typeof D=="string"?t[p]=parseFloat(D):Array.isArray(D)&&_===pe&&(t[p]=D.map(parseFloat))}else T!=null&&T.transform&&(_!=null&&_.transform)&&(A===0||D===0)?A===0?x.set(_.transform(A)):t[p]=T.transform(D):(y||(m=Wy(e),y=!0),S.push(p),i[p]=i[p]!==void 0?i[p]:t[p],x.jump(D))}),S.length){const p=S.indexOf("height")>=0?window.pageYOffset:null,x=Uy(t,e,S);return m.length&&m.forEach(([A,T])=>{e.getValue(A).set(T)}),e.render(),Ll&&p!==null&&window.scrollTo({top:p}),{target:x,transitionEnd:i}}else return{target:t,transitionEnd:i}};function Hy(e,t,r,i){return By(t)?Ny(e,t,r,i):{target:t,transitionEnd:i}}const $y=(e,t,r,i)=>{const s=_y(e,t,i);return t=s.target,i=s.transitionEnd,Hy(e,t,r,i)},cc={current:null},Ih={current:!1};function Yy(){if(Ih.current=!0,!!Ll)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cc.current=e.matches;e.addListener(t),t()}else cc.current=!1}function Gy(e,t,r){const{willChange:i}=t;for(const s in t){const m=t[s],y=r[s];if(Wt(m))e.addValue(s,m),Dl(i)&&i.add(s),process.env.NODE_ENV==="development"&&Dc(m.version==="10.18.0",`Attempting to mix Framer Motion versions ${m.version} with 10.18.0 may not work as expected.`);else if(Wt(y))e.addValue(s,ca(m,{owner:e})),Dl(i)&&i.remove(s);else if(y!==m)if(e.hasValue(s)){const S=e.getValue(s);!S.hasAnimated&&S.set(m)}else{const S=e.getStaticValue(s);e.addValue(s,ca(S!==void 0?S:m,{owner:e}))}}for(const s in r)t[s]===void 0&&e.removeValue(s);return t}const Gf=new WeakMap,Mh=Object.keys(ys),Xy=Mh.length,Xf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Zy=mc.length;class Jy{constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:s,visualState:m},y={}){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=()=>_e.render(this.render,!1,!0);const{latestValues:S,renderState:p}=m;this.latestValues=S,this.baseTarget={...S},this.initialValues=r.initial?{...S}:{},this.renderState=p,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=y,this.isControllingVariants=jl(r),this.isVariantNode=md(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:x,...A}=this.scrapeMotionValuesFromProps(r,{});for(const T in A){const D=A[T];S[T]!==void 0&&Wt(D)&&(D.set(S[T],!1),Dl(x)&&x.add(T))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,Gf.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)),Ih.current||Yy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cc.current,process.env.NODE_ENV!=="production"&&Dc(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(){Gf.delete(this.current),this.projection&&this.projection.unmount(),Ir(this.notifyUpdate),Ir(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=ii.has(t),s=r.on("change",y=>{this.latestValues[t]=y,this.props.onUpdate&&_e.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),m=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),m()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},i,s,m){let y,S;if(process.env.NODE_ENV!=="production"&&s&&i){const p="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?ks(!1,p):Dn(!1,p)}for(let p=0;p<Xy;p++){const x=Mh[p],{isEnabled:A,Feature:T,ProjectionNode:D,MeasureLayout:_}=ys[x];D&&(y=D),A(r)&&(!this.features[x]&&T&&(this.features[x]=new T(this)),_&&(S=_))}if((this.type==="html"||this.type==="svg")&&!this.projection&&y){this.projection=new y(this.latestValues,this.parent&&this.parent.projection);const{layoutId:p,layout:x,drag:A,dragConstraints:T,layoutScroll:D,layoutRoot:_}=r;this.projection.setOptions({layoutId:p,layout:x,alwaysMeasureLayout:!!A||T&&aa(T),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof x=="string"?x:"both",initialPromotionConfig:m,layoutScroll:D,layoutRoot:_})}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):Ke()}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<Xf.length;i++){const s=Xf[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const m=t["on"+s];m&&(this.propEventSubscriptions[s]=this.on(s,m))}this.prevMotionValues=Gy(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<Zy;i++){const s=mc[i],m=this.props[s];(vs(m)||m===!1)&&(r[s]=m)}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=ca(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=wc(this.props,i))===null||r===void 0?void 0:r[t]:void 0;if(i&&s!==void 0)return s;const m=this.getBaseTargetFromProps(this.props,t);return m!==void 0&&!Wt(m)?m:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Mc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Dh extends Jy{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},m){let y=dv(i,t||{},this);if(s&&(r&&(r=s(r)),i&&(i=s(i)),y&&(y=s(y))),m){cv(this,i,y);const S=$y(this,i,y,r);r=S.transitionEnd,i=S.target}return{transition:t,transitionEnd:r,...i}}}function Qy(e){return window.getComputedStyle(e)}class Ky extends Dh{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(ii.has(r)){const i=Ec(r);return i&&i.default||0}else{const i=Qy(t),s=(xd(r)?i.getPropertyValue(r):i[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return bh(t,r)}build(t,r,i,s){vc(t,r,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Sc(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Wt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,i,s){Ed(t,r,i,s)}}class qy extends Dh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(ii.has(r)){const i=Ec(r);return i&&i.default||0}return r=Rd.has(r)?r:hc(r),t.getAttribute(r)}measureInstanceViewportBox(){return Ke()}scrapeMotionValuesFromProps(t,r){return Ad(t,r)}build(t,r,i,s){bc(t,r,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,r,i,s){Pd(t,r,i,s)}mount(t){this.isSVGTag=xc(t.tagName),super.mount(t)}}const eb=(e,t)=>gc(e)?new qy(t,{enableHardwareAcceleration:!1}):new Ky(t,{enableHardwareAcceleration:!0}),tb={layout:{ProjectionNode:Ph,MeasureLayout:Sh}},nb={...Rv,...Zm,...Dy,...tb},Oh=rm((e,t)=>_m(e,t,nb,eb));function rb(e){const{children:t,parentRef:r,onlyChild:i}=e,[s,m]=oe.useState({top:0,left:0});return oe.useLayoutEffect(()=>{if(r.current){const y=r.current.getBoundingClientRect();m({top:y.top,left:y.left+y.width})}},[r]),i?t:Jf.createPortal(ne.jsx(Oh.div,{style:{position:"fixed",top:s.top,left:s.left,zIndex:1200},children:t}),r.current)}function ob(e){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",...e,children:ne.jsx("path",{fill:"currenColor",d:"M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"})})}function Fh({item:e,level:t=0,...r}){var F;const{isActive:i,isCollapsed:s,expanded:m,toggleExpand:y}=r,S=`level-${t}`,p=s?"collapsed":"expanded",x=i(e.id)?"active":"",A=(Z,X=S)=>`${Z} ${X} ${p} ${x}`,T=!!((F=e.children)!=null&&F.length),[D,_]=oe.useState(!1),$=oe.useRef();function G(Z){var ee;const{level:X,hovered:q,parentRef:te}=Z;return!T||s&&X>=2&&!q?null:ne.jsx(rb,{parentRef:te,onlyChild:!s||s&&X<2,children:ne.jsx(Oh.div,{className:A("menu-item__dropdown",`level-${X}`),initial:{height:s?"auto":0},animate:{height:s||m(e.id)?"auto":0},transition:{duration:.2},children:(ee=e.children)==null?void 0:ee.map(re=>oe.createElement(Fh,{...r,key:re.id,item:re,level:X}))},+s)})}const B=T?"div":Qf.Link;return ne.jsxs("div",{ref:$,className:A("menu-item__wrapper"),onMouseEnter:()=>s&&_(!0),onMouseLeave:()=>s&&_(!1),children:[ne.jsxs(B,{to:T?"#":e.path||"#",style:{paddingLeft:`${s?"0.5rem":`${t*1}rem`}`},className:A("menu-item__link"),onClick:Z=>{T&&(Z.preventDefault(),s||y(e.id))},children:[t!==0&&ne.jsx(ib,{cls:A,item:e}),ne.jsx("span",{className:A("menu-item__label"),children:e.name}),T&&ne.jsx("div",{className:A("menu-item__icon-arrow__wrapper"),children:ne.jsx(ob,{className:A(`menu-item__icon-arrow__icon ${m(e.id)?"open":"close"}`)})})]}),G({level:t+1,hovered:D,parentRef:$})]},e.id)}function ib({item:e,cls:t}){var m;const[r,i]=oe.useState(!1),s=()=>{i(!0)};return ne.jsx("div",{className:t("menu-item__icon"),children:r?ne.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center",alignItems:"center"},children:(m=e.name.trim().at(0))==null?void 0:m.toUpperCase()}):ne.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:s})})}function Zf(e){for(;e.startsWith("/");)e=e.slice(1);return e}function Lh(e,t,r=[]){for(const i of e){if(console.log(i.path,t,i.path===t),Zf(i.path||"")===Zf(t))return[...r,i];if(i.children){const s=Lh(i.children,t,[...r,i]);if(s)return s}}return null}function ab(e){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:ne.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 sb=`[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}
110
+ `;function lb(){return ne.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[ne.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"}),ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function ub(){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:ne.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 cb=`.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:0 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;color:#85858a}.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;color:#000}.menu-item__label.active{color:inherit}.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;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!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}
111
+ `;function fb(e){return ne.jsx(fc,{styles:[sb,cb],style:{zIndex:1200},children:ne.jsx(db,{...e})})}function db(e){const{baseUrl:t,menuPath:r,logout:i}=e,s=Qf.useLocation(),[m,y]=oe.useState([]),[S,p]=oe.useState(!1),x=(Lh(m,s.pathname)||[]).filter(Z=>Z.parentKey!==0),[A,T]=oe.useState({}),D=Z=>{T({...A,[Z]:!A[Z]})},_=()=>{p(!S)};oe.useEffect(()=>{(async()=>{const X=t+(r||"/global-menu-config/api/v1/menu-items/user"),q=await Bh.get(X,{withCredentials:!0}).then(ee=>ee.data),te={};q.forEach(ee=>{ee.children&&(te[ee.id]=!0)}),T(te),y(q.map(ee=>({...ee,parentKey:0})))})()},[t,r]);const[$,G]=oe.useState(!1),B=S?"collapsed":"expanded",F=Z=>`${Z} ${B}`;return ne.jsxs("div",{className:F("side-bar"),children:[ne.jsx("div",{className:F("side-bar__wrapper-toggle-btn"),children:ne.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:_,children:S?ne.jsx(lb,{}):ne.jsx(ub,{})})}),ne.jsx(fd,{className:F("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:m.map(Z=>{const X=q=>x.some(te=>te.id===q);return ne.jsx(Fh,{item:Z,isActive:X,isCollapsed:S,expanded:q=>A[q],toggleExpand:D},Z.id)})}),ne.jsxs("div",{className:F("side-bar__wrap-btn-logout"),children:[ne.jsxs("button",{className:F("side-bar__logout-btn"),onClick:()=>G(!0),children:[ne.jsx(ab,{}),ne.jsx("span",{className:F("side-bar__logout-btn__text"),children:"Logout"})]}),ne.jsx(td,{isOpen:$,onClose:()=>G(!1),onConfirm:i})]})]})}exports.GlobalMenu=fb;exports.TopBar=up;