@object-ui/plugin-aggrid 4.0.3 → 4.0.4

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/AgGridImpl-CAfXf2vU.js +225 -0
  3. package/dist/ObjectAgGridImpl-C-HQaIhp.js +460 -0
  4. package/dist/index.js +21 -16
  5. package/dist/index.umd.cjs +1 -238
  6. package/package.json +7 -7
  7. package/dist/AddressField-CP-8JJvR.js +0 -98
  8. package/dist/AgGridImpl-DiTsK8F6.js +0 -226
  9. package/dist/AutoNumberField-DCL2eUJj.js +0 -14
  10. package/dist/AvatarField-DuaF__ns.js +0 -83
  11. package/dist/BooleanField-0QUz5DOy.js +0 -41
  12. package/dist/CodeField-iTabv7wS.js +0 -23
  13. package/dist/ColorField-R7ZmLj1V.js +0 -38
  14. package/dist/CurrencyField-CEu2SjEj.js +0 -49
  15. package/dist/DateField-DoaPu9GV.js +0 -22
  16. package/dist/DateTimeField-DcKX54zr.js +0 -30
  17. package/dist/EmailField-eYfpFAtE.js +0 -26
  18. package/dist/FileField-DtvoWRK-.js +0 -214
  19. package/dist/FormulaField-DF6-4u2b.js +0 -17
  20. package/dist/GeolocationField-CyzG2dqR.js +0 -161
  21. package/dist/GridField-BFlgbp8W.js +0 -49
  22. package/dist/ImageCropperDialog-BFlbM7vO.js +0 -153
  23. package/dist/ImageField-DoXNtXV_.js +0 -145
  24. package/dist/LocationField-BeYK6K9V.js +0 -36
  25. package/dist/LookupField-DXGCnQ3q.js +0 -1063
  26. package/dist/MasterDetailField-JpmMudRV.js +0 -110
  27. package/dist/NumberField-BYuCxbmU.js +0 -27
  28. package/dist/ObjectAgGridImpl-Bz5whFec.js +0 -20000
  29. package/dist/ObjectField-Dlf_yrMC.js +0 -50
  30. package/dist/PasswordField-40E439oE.js +0 -61
  31. package/dist/PercentField-BvdQEcfn.js +0 -61
  32. package/dist/PhoneField-CBuoC-vs.js +0 -26
  33. package/dist/QRCodeField-CrRsA1vB.js +0 -145
  34. package/dist/RatingField-BVkroiQ4.js +0 -43
  35. package/dist/RichTextField-DEYNcokk.js +0 -33
  36. package/dist/SelectField-K-xoVDss.js +0 -36
  37. package/dist/SignatureField-D0nUx3Cb.js +0 -99
  38. package/dist/SliderField-C2EpGbj8.js +0 -35
  39. package/dist/SummaryField-S6Gt7IDC.js +0 -22
  40. package/dist/TextAreaField-j4eJQ66C.js +0 -125
  41. package/dist/TextField-DccUZtd7.js +0 -30
  42. package/dist/TimeField-CWbpycPt.js +0 -22
  43. package/dist/UrlField-BkPyImh9.js +0 -31
  44. package/dist/UserField-LrhYdvnz.js +0 -77
  45. package/dist/VectorField-Baa_mHsO.js +0 -34
  46. package/dist/check-CBAnx5TO.js +0 -7
  47. package/dist/createLucideIcon-BtZxPlua.js +0 -42
  48. package/dist/crop-2wjrXKXD.js +0 -10
  49. package/dist/dist-BcXWTU-8.js +0 -54
  50. package/dist/index.css +0 -2
  51. package/dist/jsx-runtime-CXSCp6pT.js +0 -180
  52. package/dist/loader-circle-Cxg-xF4u.js +0 -7
  53. package/dist/plus-COkdZ2Fh.js +0 -10
  54. package/dist/rolldown-runtime-CkxV0rQ3.js +0 -14
  55. package/dist/upload-DWhfIa3Y.js +0 -17
  56. package/dist/useFieldTranslation-DtLNhrx3.js +0 -305
  57. package/dist/x-BDi_yYx9.js +0 -10
@@ -1,238 +1 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`@object-ui/core`),require(`@object-ui/components`),require(`ag-grid-react`),require(`@object-ui/react`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`@object-ui/core`,`@object-ui/components`,`ag-grid-react`,`@object-ui/react`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.ObjectUIPluginAgGrid={},e.React,e.ObjectUICore,e.ObjectUIComponents,e.AgGridReact,e.ObjectUIReact))})(this,function(e,t,n,r,i,a){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var o=Object.create,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e,t)=>()=>(e&&(t=e(e=0)),t),p=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),m=(e,t)=>{let n={};for(var r in e)s(n,r,{get:e[r],enumerable:!0});return t||s(n,Symbol.toStringTag,{value:`Module`}),n},h=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=l(t),a=0,o=i.length,u;a<o;a++)u=i[a],!d.call(e,u)&&u!==n&&s(e,u,{get:(e=>t[e]).bind(null,u),enumerable:!(r=c(t,u))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:o(u(e)),h(t||!e||!e.__esModule?s(n,`default`,{value:e,enumerable:!0}):n,e)))(t,1);var g=p((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),_=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===T?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case S:return`Suspense`;case te:return`SuspenseList`;case ne:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case ee:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case C:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case w:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===_)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===w)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=re.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(E.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){ae||(ae=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return O[e]||(O[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:h,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d){var p=n.children;if(p!==void 0)if(o)if(D(p)){for(o=0;o<p.length;o++)f(p[o]);Object.freeze&&Object.freeze(p)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else f(p);if(E.call(n,`key`)){p=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,se[p+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
2
- let props = %s;
3
- <%s {...props} />
4
- React keys must be passed directly to JSX without using spread:
5
- let props = %s;
6
- <%s key={someKey} {...props} />`,o,p,m,p),se[p+o]=!0)}if(p=null,i!==void 0&&(r(i),p=``+i),s(n)&&(r(n.key),p=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return p&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,p,i,a(),l,d)}function f(e){p(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===w&&(e._payload.status===`fulfilled`?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e==`object`&&!!e&&e.$$typeof===h}var m=require(`react`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),ee=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),C=Symbol.for(`react.memo`),w=Symbol.for(`react.lazy`),ne=Symbol.for(`react.activity`),T=Symbol.for(`react.client.reference`),re=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=Object.prototype.hasOwnProperty,D=Array.isArray,ie=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(e){return e()}};var ae,O={},k=m.react_stack_bottom_frame.bind(m,o)(),oe=ie(i(o)),se={};e.Fragment=_,e.jsx=function(e,t,n){var r=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r?Error(`react-stack-top-frame`):k,r?ie(i(e)):oe)},e.jsxs=function(e,t,n){var r=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r?Error(`react-stack-top-frame`):k,r?ie(i(e)):oe)}})()})),v=p(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=g():t.exports=_()})),y=m({default:()=>b});function b({rowData:e=[],columnDefs:n=[],gridOptions:r={},pagination:a=!1,paginationPageSize:o=10,domLayout:s=`normal`,animateRows:c=!0,rowSelection:l,theme:u=`quartz`,height:d=500,className:f=``,editable:p=!1,editType:m,singleClickEdit:h=!1,stopEditingWhenCellsLoseFocus:g=!0,exportConfig:_,statusBar:v,callbacks:y,columnConfig:b,enableRangeSelection:ee=!1,enableCharts:S=!1,contextMenu:te,treeData:C,rowGrouping:w,excelExport:ne}){let T=(0,t.useRef)(null),re=(0,t.useMemo)(()=>{if(!v?.enabled)return;let e=v.aggregations||[`count`,`sum`,`avg`],t=[];return e.includes(`count`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`count`]}}),e.includes(`sum`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`sum`]}}),e.includes(`avg`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`avg`]}}),e.includes(`min`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`min`]}}),e.includes(`max`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`max`]}}),t},[v]),E=(0,t.useCallback)(()=>{if(!T.current?.api)return;let t={fileName:_?.fileName||`export.csv`,skipColumnHeaders:_?.skipColumnHeaders||!1,allColumns:_?.allColumns||!1,onlySelected:_?.onlySelected||!1};if(T.current.api.exportDataAsCsv(t),y?.onExport){let t=_?.onlySelected?T.current.api.getSelectedRows():e;y.onExport(t||[],`csv`)}},[_,y,e]),D=(0,t.useCallback)(()=>{if(!T.current?.api)return;let t={fileName:ne?.fileName||_?.fileName||`export.csv`,skipColumnHeaders:ne?.includeHeaders===!1,allColumns:!0,onlySelected:ne?.onlySelected||!1};if(T.current.api.exportDataAsCsv(t),y?.onExport){let t=ne?.onlySelected?T.current.api.getSelectedRows():e;y.onExport(t||[],`excel`)}},[ne,_,y,e]),ie=(0,t.useCallback)(e=>{if(!te?.enabled)return[];let t=[];return(te.items||[`copy`,`copyWithHeaders`,`separator`,`export`]).forEach(e=>{e===`export`?t.push({name:`Export CSV`,icon:`<span>📥</span>`,action:()=>E()}):e===`export-excel`?t.push({name:`Export Excel (CSV)`,icon:`<span>📊</span>`,action:()=>D()}):e===`autoSizeAll`?t.push({name:`Auto-size All Columns`,action:()=>{T.current?.api&&T.current.api.autoSizeAllColumns()}}):e===`resetColumns`?t.push({name:`Reset Columns`,action:()=>{T.current?.api&&T.current.api.resetColumnState()}}):t.push(e)}),te.customItems&&(t.length>0&&t.push(`separator`),te.customItems.forEach(n=>{t.push({name:n.name,disabled:n.disabled,action:()=>{y?.onContextMenuAction&&y.onContextMenuAction(n.action,e.node?.data)}})})),t},[te,E,D,y]),ae=(0,t.useCallback)(e=>{y?.onCellClicked?.(e)},[y]),O=(0,t.useCallback)(e=>{y?.onRowClicked?.(e)},[y]),k=(0,t.useCallback)(e=>{y?.onSelectionChanged?.(e)},[y]),oe=(0,t.useCallback)(e=>{y?.onCellValueChanged?.(e)},[y]),se=(0,t.useCallback)(e=>{T.current=e},[]),ce=(0,t.useMemo)(()=>n?n.map(e=>{let t={...e};return p&&e.editable!==!1&&(t.editable=!0),b&&(b.resizable!==void 0&&e.resizable===void 0&&(t.resizable=b.resizable),b.sortable!==void 0&&e.sortable===void 0&&(t.sortable=b.sortable),b.filterable!==void 0&&e.filter===void 0&&(t.filter=b.filterable)),w?.enabled&&w.groupByFields?.includes(e.field||``)&&(t.rowGroup=!0,t.hide=!0),w?.aggregations&&e.field&&w.aggregations[e.field]&&(t.aggFunc=w.aggregations[e.field]),t}):[],[n,p,b,w]),le=(0,t.useMemo)(()=>({...r,pagination:a,paginationPageSize:o,domLayout:s,animateRows:c,rowSelection:l,editType:m,singleClickEdit:h,stopEditingWhenCellsLoseFocus:g,statusBar:re?{statusPanels:re}:void 0,enableRangeSelection:ee,enableCharts:S,getContextMenuItems:te?.enabled?ie:void 0,...C?.enabled?{treeData:!0,getDataPath:C.pathField?e=>e[C.pathField]:void 0,autoGroupColumnDef:{headerName:`Hierarchy`,minWidth:250,cellRendererParams:{suppressCount:!1}},groupDefaultExpanded:C.expandAll?-1:C.expandDepth??0}:{},...w?.enabled?{groupDefaultExpanded:+!!w.groupByFields?.length,autoGroupColumnDef:{minWidth:200,cellRendererParams:{suppressCount:!w.showRowCount}}}:{},suppressCellFocus:!p,enableCellTextSelection:!0,ensureDomOrder:!0,rowBuffer:r.rowBuffer??10,debounceVerticalScrollbar:r.debounceVerticalScrollbar??e.length>1e3,onCellClicked:ae,onRowClicked:O,onSelectionChanged:k,onCellValueChanged:oe,onGridReady:se}),[r,a,o,s,c,l,m,h,g,re,ee,S,te,ie,C,w,p,e.length,ae,O,k,oe,se]),ue=(0,t.useMemo)(()=>({height:typeof d==`number`?`${d}px`:d,width:`100%`}),[d]),A=[`ag-theme-${u}`,`rounded-xl`,`border`,`border-border`,`overflow-hidden`,`shadow-lg`,f].filter(Boolean).join(` `);return(0,x.jsxs)(`div`,{className:`ag-grid-container`,children:[(_?.enabled||ne?.enabled)&&(0,x.jsxs)(`div`,{className:`mb-2 flex gap-2`,children:[_?.enabled&&(0,x.jsx)(`button`,{onClick:E,className:`px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors`,children:`Export CSV`}),ne?.enabled&&(0,x.jsx)(`button`,{onClick:D,className:`px-3 py-1.5 text-sm font-medium text-white bg-green-600 hover:bg-green-700 rounded-md transition-colors`,children:`Export Excel (CSV)`})]}),(0,x.jsx)(`div`,{className:A,style:ue,children:(0,x.jsx)(i.AgGridReact,{ref:T,rowData:e,columnDefs:ce,gridOptions:le})})]})}var x,ee=f((()=>{x=v()})),S,te=f((()=>{S={text:`agTextColumnFilter`,textarea:`agTextColumnFilter`,number:`agNumberColumnFilter`,currency:`agNumberColumnFilter`,percent:`agNumberColumnFilter`,boolean:`agSetColumnFilter`,date:`agDateColumnFilter`,datetime:`agDateColumnFilter`,time:`agTextColumnFilter`,email:`agTextColumnFilter`,phone:`agTextColumnFilter`,url:`agTextColumnFilter`,select:`agSetColumnFilter`}})),C=p((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,T());else{var t=n(l);t!==null&&D(x,t.startTime-e)}}var ee=!1,S=-1,te=5,C=-1;function w(){return g?!0:!(e.unstable_now()-C<te)}function ne(){if(g=!1,ee){var t=e.unstable_now();C=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(S),S=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&w());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&D(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?T():ee=!1}}}var T;if(typeof y==`function`)T=function(){y(ne)};else if(typeof MessageChannel<`u`){var re=new MessageChannel,E=re.port2;re.port1.onmessage=ne,T=function(){E.postMessage(null)}}else T=function(){_(ne,0)};function D(t,n){S=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):te=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(S),S=-1):h=!0,D(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,T()))),r},e.unstable_shouldYield=w,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),w=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(){if(x=!1,C){var t=e.unstable_now();T=t;var n=!0;try{a:{y=!1,b&&(b=!1,S(w),w=-1),v=!0;var a=_;try{b:{for(o(t),g=r(p);g!==null&&!(g.expirationTime>t&&c());){var u=g.callback;if(typeof u==`function`){g.callback=null,_=g.priorityLevel;var d=u(g.expirationTime<=t);if(t=e.unstable_now(),typeof d==`function`){g.callback=d,o(t),n=!0;break b}g===r(p)&&i(p),o(t)}else i(p);g=r(p)}if(g!==null)n=!0;else{var f=r(m);f!==null&&l(s,f.startTime-t),n=!1}}break a}finally{g=null,_=a,v=!1}n=void 0}}finally{n?re():C=!1}}}function n(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break a}}function r(e){return e.length===0?null:e[0]}function i(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>a(c,n))l<i&&0>a(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<i&&0>a(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}function o(e){for(var t=r(m);t!==null;){if(t.callback===null)i(m);else if(t.startTime<=e)i(m),t.sortIndex=t.expirationTime,n(p,t);else break;t=r(m)}}function s(e){if(b=!1,o(e),!y)if(r(p)!==null)y=!0,C||(C=!0,re());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}function c(){return x?!0:!(e.unstable_now()-T<ne)}function l(t,n){w=ee(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],m=[],h=1,g=null,_=3,v=!1,y=!1,b=!1,x=!1,ee=typeof setTimeout==`function`?setTimeout:null,S=typeof clearTimeout==`function`?clearTimeout:null,te=typeof setImmediate<`u`?setImmediate:null,C=!1,w=-1,ne=5,T=-1;if(typeof te==`function`)var re=function(){te(t)};else if(typeof MessageChannel<`u`){var E=new MessageChannel,D=E.port2;E.port1.onmessage=t,re=function(){D.postMessage(null)}}else re=function(){ee(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(t,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=a+c,t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c,sortIndex:-1},a>o?(t.sortIndex=a,n(m,t),r(p)===null&&t===r(m)&&(b?(S(w),w=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,C||(C=!0,re()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),ne=p(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=C():t.exports=w()})),T=p((e=>{var t=ne(),n=require(`react`),r=require(`react-dom`);function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),S=Symbol.for(`react.suspense_list`),te=Symbol.for(`react.memo`),C=Symbol.for(`react.lazy`),w=Symbol.for(`react.activity`),T=Symbol.for(`react.memo_cache_sentinel`),re=Symbol.iterator;function E(e){return typeof e!=`object`||!e?null:(e=re&&e[re]||e[`@@iterator`],typeof e==`function`?e:null)}var D=Symbol.for(`react.client.reference`);function ie(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===D?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case S:return`SuspenseList`;case w:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case te:return t=e.displayName||null,t===null?ie(e.type)||`Memo`:t;case C:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}var ae=Array.isArray,O=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},se=[],ce=-1;function le(e){return{current:e}}function ue(e){0>ce||(e.current=se[ce],se[ce]=null,ce--)}function A(e,t){ce++,se[ce]=e.current,e.current=t}var de=le(null),fe=le(null),pe=le(null),me=le(null);function he(e,t){switch(A(pe,t),A(fe,e),A(de,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Yd(t),e=Xd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ue(de),A(de,e)}function ge(){ue(de),ue(fe),ue(pe)}function _e(e){e.memoizedState!==null&&A(me,e);var t=de.current,n=Xd(t,e.type);t!==n&&(A(fe,e),A(de,n))}function j(e){fe.current===e&&(ue(de),ue(fe)),me.current===e&&(ue(me),ip._currentValue=oe)}var ve,ye;function be(e){if(ve===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ve=t&&t[1]||``,ye=-1<e.stack.indexOf(`
7
- at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
8
- `+ve+e+ye}var xe=!1;function Se(e,t){if(!e||xe)return``;xe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
9
- `),l=s.split(`
10
- `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
11
- `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{xe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?be(n):``}function Ce(e,t){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be(`Lazy`);case 13:return e.child!==t&&t!==null?be(`Suspense Fallback`):be(`Suspense`);case 19:return be(`SuspenseList`);case 0:case 15:return Se(e.type,!1);case 11:return Se(e.type.render,!1);case 1:return Se(e.type,!0);case 31:return be(`Activity`);default:return``}}function we(e){try{var t=``,n=null;do t+=Ce(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
12
- Error generating stack: `+e.message+`
13
- `+e.stack}}var Te=Object.prototype.hasOwnProperty,Ee=t.unstable_scheduleCallback,De=t.unstable_cancelCallback,Oe=t.unstable_shouldYield,ke=t.unstable_requestPaint,Ae=t.unstable_now,je=t.unstable_getCurrentPriorityLevel,Me=t.unstable_ImmediatePriority,Ne=t.unstable_UserBlockingPriority,Pe=t.unstable_NormalPriority,Fe=t.unstable_LowPriority,Ie=t.unstable_IdlePriority,Le=t.log,Re=t.unstable_setDisableYieldValue,ze=null,Be=null;function Ve(e){if(typeof Le==`function`&&Re(e),Be&&typeof Be.setStrictMode==`function`)try{Be.setStrictMode(ze,e)}catch{}}var He=Math.clz32?Math.clz32:Ge,Ue=Math.log,We=Math.LN2;function Ge(e){return e>>>=0,e===0?32:31-(Ue(e)/We|0)|0}var Ke=256,qe=262144,Je=4194304;function Ye(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ye(n))):i=Ye(o):i=Ye(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ye(n))):i=Ye(o)):i=Ye(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ze(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $e(){var e=Je;return Je<<=1,!(Je&62914560)&&(Je=4194304),e}function et(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function nt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-He(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&rt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function rt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-He(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function it(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-He(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function at(e,t){var n=t&-t;return n=n&42?1:ot(n),(n&(e.suspendedLanes|t))===0?n:0}function ot(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function st(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ct(){var e=k.p;return e===0?(e=window.event,e===void 0?32:bp(e.type)):e}function lt(e,t){var n=k.p;try{return k.p=e,t()}finally{k.p=n}}var ut=Math.random().toString(36).slice(2),dt=`__reactFiber$`+ut,ft=`__reactProps$`+ut,pt=`__reactContainer$`+ut,mt=`__reactEvents$`+ut,ht=`__reactListeners$`+ut,gt=`__reactHandles$`+ut,_t=`__reactResources$`+ut,vt=`__reactMarker$`+ut;function yt(e){delete e[dt],delete e[ft],delete e[mt],delete e[ht],delete e[gt]}function bt(e){var t=e[dt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yf(e);e!==null;){if(n=e[dt])return n;e=yf(e)}return t}e=n,n=e.parentNode}return null}function xt(e){if(e=e[dt]||e[pt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function St(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ct(e){var t=e[_t];return t||=e[_t]={hoistableStyles:new Map,hoistableScripts:new Map},t}function wt(e){e[vt]=!0}var Tt=new Set,Et={};function Dt(e,t){Ot(e,t),Ot(e+`Capture`,t)}function Ot(e,t){for(Et[e]=t,e=0;e<t.length;e++)Tt.add(t[e])}var kt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),At={},jt={};function Mt(e){return Te.call(jt,e)?!0:Te.call(At,e)?!1:kt.test(e)?jt[e]=!0:(At[e]=!0,!1)}function Nt(e,t,n){if(Mt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Pt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Ft(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function It(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Lt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Rt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zt(e){if(!e._valueTracker){var t=Lt(e)?`checked`:`value`;e._valueTracker=Rt(e,t,``+e[t])}}function Bt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Lt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Vt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Ht=/[\n"\\]/g;function Ut(e){return e.replace(Ht,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Wt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+It(t)):e.value!==``+It(t)&&(e.value=``+It(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Kt(e,o,It(n)):Kt(e,o,It(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+It(s):e.removeAttribute(`name`)}function Gt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){zt(e);return}n=n==null?``:``+It(n),t=t==null?n:``+It(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),zt(e)}function Kt(e,t,n){t===`number`&&Vt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function qt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+It(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Jt(e,t,n){if(t!=null&&(t=``+It(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+It(n)}function Yt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ae(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=It(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),zt(e)}function Xt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Qt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Zt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function $t(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Qt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Qt(e,o,t[o])}function en(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var tn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),nn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function rn(e){return nn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function an(){}var on=null;function sn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var cn=null,ln=null;function un(e){var t=xt(e);if(t&&(e=t.stateNode)){var n=e[ft]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Wt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Ut(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ft]||null;if(!a)throw Error(i(90));Wt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Bt(r)}break a;case`textarea`:Jt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&qt(e,!!n.multiple,t,!1)}}}var dn=!1;function fn(e,t,n){if(dn)return e(t,n);dn=!0;try{return e(t)}finally{if(dn=!1,(cn!==null||ln!==null)&&(Eu(),cn&&(t=cn,e=ln,ln=cn=null,un(t),e)))for(t=0;t<e.length;t++)un(e[t])}}function pn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ft]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var mn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),hn=!1;if(mn)try{var gn={};Object.defineProperty(gn,`passive`,{get:function(){hn=!0}}),window.addEventListener(`test`,gn,gn),window.removeEventListener(`test`,gn,gn)}catch{hn=!1}var _n=null,vn=null,yn=null;function bn(){if(yn)return yn;var e,t=vn,n=t.length,r,i=`value`in _n?_n.value:_n.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return yn=i.slice(e,1<r?1-r:void 0)}function xn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Sn(){return!0}function Cn(){return!1}function wn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Sn:Cn,this.isPropagationStopped=Cn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Sn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Sn)},persist:function(){},isPersistent:Sn}),t}var Tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},En=wn(Tn),Dn=f({},Tn,{view:0,detail:0}),On=wn(Dn),kn,An,jn,Mn=f({},Dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Un,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==jn&&(jn&&e.type===`mousemove`?(kn=e.screenX-jn.screenX,An=e.screenY-jn.screenY):An=kn=0,jn=e),kn)},movementY:function(e){return`movementY`in e?e.movementY:An}}),Nn=wn(Mn),Pn=wn(f({},Mn,{dataTransfer:0})),Fn=wn(f({},Dn,{relatedTarget:0})),In=wn(f({},Tn,{animationName:0,elapsedTime:0,pseudoElement:0})),Ln=wn(f({},Tn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Rn=wn(f({},Tn,{data:0})),zn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Bn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Vn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Hn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vn[e])?!!t[e]:!1}function Un(){return Hn}var Wn=wn(f({},Dn,{key:function(e){if(e.key){var t=zn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=xn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Bn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Un,charCode:function(e){return e.type===`keypress`?xn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?xn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Gn=wn(f({},Mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Kn=wn(f({},Dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Un})),qn=wn(f({},Tn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Jn=wn(f({},Mn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Yn=wn(f({},Tn,{newState:0,oldState:0})),Xn=[9,13,27,32],Zn=mn&&`CompositionEvent`in window,Qn=null;mn&&`documentMode`in document&&(Qn=document.documentMode);var $n=mn&&`TextEvent`in window&&!Qn,er=mn&&(!Zn||Qn&&8<Qn&&11>=Qn),tr=` `,nr=!1;function rr(e,t){switch(e){case`keyup`:return Xn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function ir(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ar=!1;function or(e,t){switch(e){case`compositionend`:return ir(t);case`keypress`:return t.which===32?(nr=!0,tr):null;case`textInput`:return e=t.data,e===tr&&nr?null:e;default:return null}}function sr(e,t){if(ar)return e===`compositionend`||!Zn&&rr(e,t)?(e=bn(),yn=vn=_n=null,ar=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return er&&t.locale!==`ko`?null:t.data;default:return null}}var cr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!cr[e.type]:t===`textarea`}function ur(e,t,n,r){cn?ln?ln.push(r):ln=[r]:cn=r,t=Nd(t,`onChange`),0<t.length&&(n=new En(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var dr=null,fr=null;function pr(e){Ed(e,0)}function mr(e){if(Bt(St(e)))return e}function hr(e,t){if(e===`change`)return t}var gr=!1;if(mn){var _r;if(mn){var vr=`oninput`in document;if(!vr){var yr=document.createElement(`div`);yr.setAttribute(`oninput`,`return;`),vr=typeof yr.oninput==`function`}_r=vr}else _r=!1;gr=_r&&(!document.documentMode||9<document.documentMode)}function br(){dr&&(dr.detachEvent(`onpropertychange`,xr),fr=dr=null)}function xr(e){if(e.propertyName===`value`&&mr(fr)){var t=[];ur(t,fr,e,sn(e)),fn(pr,t)}}function Sr(e,t,n){e===`focusin`?(br(),dr=t,fr=n,dr.attachEvent(`onpropertychange`,xr)):e===`focusout`&&br()}function Cr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return mr(fr)}function wr(e,t){if(e===`click`)return mr(t)}function Tr(e,t){if(e===`input`||e===`change`)return mr(t)}function Er(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Dr=typeof Object.is==`function`?Object.is:Er;function Or(e,t){if(Dr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Te.call(t,i)||!Dr(e[i],t[i]))return!1}return!0}function kr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ar(e,t){var n=kr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=kr(n)}}function jr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Vt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vt(e.document)}return t}function Nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Pr=mn&&`documentMode`in document&&11>=document.documentMode,Fr=null,Ir=null,Lr=null,Rr=!1;function zr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rr||Fr==null||Fr!==Vt(r)||(r=Fr,`selectionStart`in r&&Nr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Lr&&Or(Lr,r)||(Lr=r,r=Nd(Ir,`onSelect`),0<r.length&&(t=new En(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Fr)))}function Br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var M={animationend:Br(`Animation`,`AnimationEnd`),animationiteration:Br(`Animation`,`AnimationIteration`),animationstart:Br(`Animation`,`AnimationStart`),transitionrun:Br(`Transition`,`TransitionRun`),transitionstart:Br(`Transition`,`TransitionStart`),transitioncancel:Br(`Transition`,`TransitionCancel`),transitionend:Br(`Transition`,`TransitionEnd`)},Vr={},Hr={};mn&&(Hr=document.createElement(`div`).style,`AnimationEvent`in window||(delete M.animationend.animation,delete M.animationiteration.animation,delete M.animationstart.animation),`TransitionEvent`in window||delete M.transitionend.transition);function Ur(e){if(Vr[e])return Vr[e];if(!M[e])return e;var t=M[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Hr)return Vr[e]=t[n];return e}var Wr=Ur(`animationend`),Gr=Ur(`animationiteration`),Kr=Ur(`animationstart`),qr=Ur(`transitionrun`),Jr=Ur(`transitionstart`),Yr=Ur(`transitioncancel`),Xr=Ur(`transitionend`),Zr=new Map,Qr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Qr.push(`scrollEnd`);function N(e,t){Zr.set(e,t),Dt(t,[e])}var $r=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ei=[],ti=0,ni=0;function ri(){for(var e=ti,t=ni=ti=0;t<e;){var n=ei[t];ei[t++]=null;var r=ei[t];ei[t++]=null;var i=ei[t];ei[t++]=null;var a=ei[t];if(ei[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&si(n,i,a)}}function ii(e,t,n,r){ei[ti++]=e,ei[ti++]=t,ei[ti++]=n,ei[ti++]=r,ni|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ai(e,t,n,r){return ii(e,t,n,r),ci(e)}function oi(e,t){return ii(e,null,null,t),ci(e)}function si(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-He(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ci(e){if(50<_u)throw _u=0,vu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var li={};function ui(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function di(e,t,n,r){return new ui(e,t,n,r)}function fi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pi(e,t){var n=e.alternate;return n===null?(n=di(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function mi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function hi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)fi(e)&&(s=1);else if(typeof e==`string`)s=Yf(e,n,de.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case w:return e=di(31,n,t,a),e.elementType=w,e.lanes=o,e;case g:return gi(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=di(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case ee:return e=di(13,n,t,a),e.elementType=ee,e.lanes=o,e;case S:return e=di(19,n,t,a),e.elementType=S,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case b:s=10;break a;case y:s=9;break a;case x:s=11;break a;case te:s=14;break a;case C:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=di(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function gi(e,t,n,r){return e=di(7,e,r,t),e.lanes=n,e}function _i(e,t,n){return e=di(6,e,null,t),e.lanes=n,e}function vi(e){var t=di(18,null,null,0);return t.stateNode=e,t}function yi(e,t,n){return t=di(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var bi=new WeakMap;function xi(e,t){if(typeof e==`object`&&e){var n=bi.get(e);return n===void 0?(t={value:e,source:t,stack:we(t)},bi.set(e,t),t):n}return{value:e,source:t,stack:we(t)}}var Si=[],Ci=0,wi=null,Ti=0,Ei=[],Di=0,P=null,Oi=1,ki=``;function Ai(e,t){Si[Ci++]=Ti,Si[Ci++]=wi,wi=e,Ti=t}function ji(e,t,n){Ei[Di++]=Oi,Ei[Di++]=ki,Ei[Di++]=P,P=e;var r=Oi;e=ki;var i=32-He(r)-1;r&=~(1<<i),n+=1;var a=32-He(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Oi=1<<32-He(t)+i|n<<i|r,ki=a+e}else Oi=1<<a|n<<i|r,ki=e}function Mi(e){e.return!==null&&(Ai(e,1),ji(e,1,0))}function Ni(e){for(;e===wi;)wi=Si[--Ci],Si[Ci]=null,Ti=Si[--Ci],Si[Ci]=null;for(;e===P;)P=Ei[--Di],Ei[Di]=null,ki=Ei[--Di],Ei[Di]=null,Oi=Ei[--Di],Ei[Di]=null}function Pi(e,t){Ei[Di++]=Oi,Ei[Di++]=ki,Ei[Di++]=P,Oi=t.id,ki=t.overflow,P=e}var F=null,Fi=null,I=!1,Ii=null,Li=!1,Ri=Error(i(519));function zi(e){throw Gi(xi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ri}function Bi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[dt]=e,t[ft]=r,n){case`dialog`:U(`cancel`,t),U(`close`,t);break;case`iframe`:case`object`:case`embed`:U(`load`,t);break;case`video`:case`audio`:for(n=0;n<wd.length;n++)U(wd[n],t);break;case`source`:U(`error`,t);break;case`img`:case`image`:case`link`:U(`error`,t),U(`load`,t);break;case`details`:U(`toggle`,t);break;case`input`:U(`invalid`,t),Gt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:U(`invalid`,t);break;case`textarea`:U(`invalid`,t),Yt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||zd(t.textContent,n)?(r.popover!=null&&(U(`beforetoggle`,t),U(`toggle`,t)),r.onScroll!=null&&U(`scroll`,t),r.onScrollEnd!=null&&U(`scrollend`,t),r.onClick!=null&&(t.onclick=an),t=!0):t=!1,t||zi(e,!0)}function Vi(e){for(F=e.return;F;)switch(F.tag){case 5:case 31:case 13:Li=!1;return;case 27:case 3:Li=!0;return;default:F=F.return}}function Hi(e){if(e!==F)return!1;if(!I)return Vi(e),I=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Zd(e.type,e.memoizedProps)),n=!n),n&&Fi&&zi(e),Vi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Fi=vf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Fi=vf(e)}else t===27?(t=Fi,of(e.type)?(e=_f,_f=null,Fi=e):Fi=t):Fi=F?gf(e.stateNode.nextSibling):null;return!0}function Ui(){Fi=F=null,I=!1}function Wi(){var e=Ii;return e!==null&&(ru===null?ru=e:ru.push.apply(ru,e),Ii=null),e}function Gi(e){Ii===null?Ii=[e]:Ii.push(e)}var Ki=le(null),qi=null,Ji=null;function Yi(e,t,n){A(Ki,t._currentValue),t._currentValue=n}function Xi(e){e._currentValue=Ki.current,ue(Ki)}function Zi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Qi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Zi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Zi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function $i(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Dr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===me.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ip]:e.push(ip))}a=a.return}e!==null&&Qi(t,e,n,r),t.flags|=262144}function ea(e){for(e=e.firstContext;e!==null;){if(!Dr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ta(e){qi=e,Ji=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function na(e){return ia(qi,e)}function ra(e,t){return qi===null&&ta(e),ia(e,t)}function ia(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ji===null){if(e===null)throw Error(i(308));Ji=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ji=Ji.next=t;return n}var aa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},oa=t.unstable_scheduleCallback,sa=t.unstable_NormalPriority,ca={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function la(){return{controller:new aa,data:new Map,refCount:0}}function ua(e){e.refCount--,e.refCount===0&&oa(sa,function(){e.controller.abort()})}var da=null,L=0,R=0,fa=null;function pa(e,t){if(da===null){var n=da=[];L=0,R=vd(),fa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return L++,t.then(ma,ma),t}function ma(){if(--L===0&&da!==null){fa!==null&&(fa.status=`fulfilled`);var e=da;da=null,R=0,fa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ha(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ga=O.S;O.S=function(e,t){ou=Ae(),typeof t==`object`&&t&&typeof t.then==`function`&&pa(e,t),ga!==null&&ga(e,t)};var _a=le(null);function va(){var e=_a.current;return e===null?Ul.pooledCache:e}function ya(e,t){t===null?A(_a,_a.current):A(_a,t.pool)}function ba(){var e=va();return e===null?null:{parent:ca._currentValue,pool:e}}var xa=Error(i(460)),Sa=Error(i(474)),Ca=Error(i(542)),wa={then:function(){}};function Ta(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ea(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(an,an),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Aa(e),e;default:if(typeof t.status==`string`)t.then(an,an);else{if(e=Ul,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Aa(e),e}throw Oa=t,xa}}function Da(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Oa=e,xa):e}}var Oa=null;function ka(){if(Oa===null)throw Error(i(459));var e=Oa;return Oa=null,e}function Aa(e){if(e===xa||e===Ca)throw Error(i(483))}var ja=null,Ma=0;function Na(e){var t=Ma;return Ma+=1,ja===null&&(ja=[]),Ea(ja,e,t)}function Pa(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Fa(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ia(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=pi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=_i(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===C&&Da(i)===t.type)?(t=a(t,n.props),Pa(t,n),t.return=e,t):(t=hi(n.type,n.key,n.props,null,e.mode,r),Pa(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=yi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=gi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=_i(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case m:return n=hi(t.type,t.key,t.props,null,e.mode,n),Pa(n,t),n.return=e,n;case h:return t=yi(t,e.mode,n),t.return=e,t;case C:return t=Da(t),f(e,t,n)}if(ae(t)||E(t))return t=gi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Na(t),n);if(t.$$typeof===b)return f(e,ra(e,t),n);Fa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case C:return n=Da(n),p(e,t,n,r)}if(ae(n)||E(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Na(n),r);if(n.$$typeof===b)return p(e,t,ra(e,n),r);Fa(e,n)}return null}function _(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case C:return r=Da(r),_(e,t,n,r,i)}if(ae(r)||E(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,Na(r),i);if(r.$$typeof===b)return _(e,t,n,ra(t,r),i);Fa(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),I&&Ai(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return I&&Ai(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),I&&Ai(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),I&&Ai(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return I&&Ai(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),I&&Ai(a,h),u}function x(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===C&&Da(l)===r.type){n(e,r.sibling),c=a(r,o.props),Pa(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===g?(c=gi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=hi(o.type,o.key,o.props,null,e.mode,c),Pa(c,o),c.return=e,e=c)}return s(e);case h:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=yi(o,e.mode,c),c.return=e,e=c}return s(e);case C:return o=Da(o),x(e,r,o,c)}if(ae(o))return v(e,r,o,c);if(E(o)){if(l=E(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return x(e,r,Na(o),c);if(o.$$typeof===b)return x(e,r,ra(e,o),c);Fa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=_i(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ma=0;var i=x(e,t,n,r);return ja=null,i}catch(t){if(t===xa||t===Ca)throw t;var a=di(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var La=Ia(!0),Ra=Ia(!1),za=!1;function Ba(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Va(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ha(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ua(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Hl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ci(e),si(e,null,n),t}return ii(e,r,t,n),ci(e)}function Wa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,it(e,n)}}function Ga(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ka=!1;function qa(){if(Ka){var e=fa;if(e!==null)throw e}}function Ja(e,t,n,r){Ka=!1;var i=e.updateQueue;za=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Wl&p)===p:(r&p)===p){p!==0&&p===R&&(Ka=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:za=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Ql|=o,e.lanes=o,e.memoizedState=d}}function Ya(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Xa(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ya(n[e],t)}var Za=le(null),Qa=le(0);function $a(e,t){e=Xl,A(Qa,e),A(Za,t),Xl=e|t.baseLanes}function eo(){A(Qa,Xl),A(Za,Za.current)}function to(){Xl=Qa.current,ue(Za),ue(Qa)}var no=le(null),ro=null;function io(e){var t=e.alternate;A(lo,lo.current&1),A(no,e),ro===null&&(t===null||Za.current!==null||t.memoizedState!==null)&&(ro=e)}function ao(e){A(lo,lo.current),A(no,e),ro===null&&(ro=e)}function oo(e){e.tag===22?(A(lo,lo.current),A(no,e),ro===null&&(ro=e)):so(e)}function so(){A(lo,lo.current),A(no,no.current)}function co(e){ue(no),ro===e&&(ro=null),ue(lo)}var lo=le(0);function uo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||pf(n)||mf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fo=0,z=null,po=null,mo=null,ho=!1,go=!1,_o=!1,vo=0,yo=0,bo=null,xo=0;function So(){throw Error(i(321))}function Co(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dr(e[n],t[n]))return!1;return!0}function wo(e,t,n,r,i,a){return fo=a,z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Bs:Vs,_o=!1,a=n(r,i),_o=!1,go&&(a=Eo(t,n,r,i)),To(e),a}function To(e){O.H=zs;var t=po!==null&&po.next!==null;if(fo=0,mo=po=z=null,ho=!1,yo=0,bo=null,t)throw Error(i(300));e===null||ic||(e=e.dependencies,e!==null&&ea(e)&&(ic=!0))}function Eo(e,t,n,r){z=e;var a=0;do{if(go&&(bo=null),yo=0,go=!1,25<=a)throw Error(i(301));if(a+=1,mo=po=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}O.H=Hs,o=t(n,r)}while(go);return o}function B(){var e=O.H,t=e.useState()[0];return t=typeof t.then==`function`?No(t):t,e=e.useState()[0],(po===null?null:po.memoizedState)!==e&&(z.flags|=1024),t}function Do(){var e=vo!==0;return vo=0,e}function Oo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ko(e){if(ho){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ho=!1}fo=0,mo=po=z=null,go=!1,yo=vo=0,bo=null}function Ao(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mo===null?z.memoizedState=mo=e:mo=mo.next=e,mo}function jo(){if(po===null){var e=z.alternate;e=e===null?null:e.memoizedState}else e=po.next;var t=mo===null?z.memoizedState:mo.next;if(t!==null)mo=t,po=e;else{if(e===null)throw z.alternate===null?Error(i(467)):Error(i(310));po=e,e={memoizedState:po.memoizedState,baseState:po.baseState,baseQueue:po.baseQueue,queue:po.queue,next:null},mo===null?z.memoizedState=mo=e:mo=mo.next=e}return mo}function Mo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function No(e){var t=yo;return yo+=1,bo===null&&(bo=[]),e=Ea(bo,e,t),t=z,(mo===null?t.memoizedState:mo.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Bs:Vs),e}function Po(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return No(e);if(e.$$typeof===b)return na(e)}throw Error(i(438,String(e)))}function Fo(e){var t=null,n=z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Mo(),z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=T;return t.index++,n}function Io(e,t){return typeof t==`function`?t(e):t}function Lo(e){return Ro(jo(),po,e)}function Ro(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(fo&f)===f:(Wl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===R&&(d=!0);else if((fo&p)===p){u=u.next,p===R&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,z.lanes|=p,Ql|=p;f=u.action,_o&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,z.lanes|=f,Ql|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Dr(o,e.memoizedState)&&(ic=!0,d&&(n=fa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function zo(e){var t=jo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Dr(o,t.memoizedState)||(ic=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Bo(e,t,n){var r=z,a=jo(),o=I;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Dr((po||a).memoizedState,n);if(s&&(a.memoizedState=n,ic=!0),a=a.queue,ds(Uo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||mo!==null&&mo.memoizedState.tag&1){if(r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,a,n,t),null),Ul===null)throw Error(i(349));o||fo&127||Vo(r,t,n)}return n}function Vo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=z.updateQueue,t===null?(t=Mo(),z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ho(e,t,n,r){t.value=n,t.getSnapshot=r,Wo(t)&&Go(e)}function Uo(e,t,n){return n(function(){Wo(t)&&Go(e)})}function Wo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dr(e,n)}catch{return!0}}function Go(e){var t=oi(e,2);t!==null&&xu(t,e,2)}function Ko(e){var t=Ao();if(typeof e==`function`){var n=e;if(e=n(),_o){Ve(!0);try{n()}finally{Ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:e},t}function qo(e,t,n,r){return e.baseState=n,Ro(e,po,typeof r==`function`?r:Io)}function Jo(e,t,n,r,a){if(Is(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};O.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Yo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Yo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=O.T,o={};O.T=o;try{var s=n(i,r),c=O.S;c!==null&&c(o,s),Xo(e,t,s)}catch(n){Qo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),O.T=a}}else try{a=n(i,r),Xo(e,t,a)}catch(n){Qo(e,t,n)}}function Xo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Zo(e,t,n)},function(n){return Qo(e,t,n)}):Zo(e,t,n)}function Zo(e,t,n){t.status=`fulfilled`,t.value=n,$o(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Yo(e,n)))}function Qo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,$o(t),t=t.next;while(t!==r)}e.action=null}function $o(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function es(e,t){return t}function ts(e,t){if(I){var n=Ul.formState;if(n!==null){a:{var r=z;if(I){if(Fi){b:{for(var i=Fi,a=Li;i.nodeType!==8;){if(!a){i=null;break b}if(i=gf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Fi=gf(i.nextSibling),r=i.data===`F!`;break a}}zi(r)}r=!1}r&&(t=n[0])}}return n=Ao(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:es,lastRenderedState:t},n.queue=r,n=Ns.bind(null,z,r),r.dispatch=n,r=Ko(!1),a=Fs.bind(null,z,!1,r.queue),r=Ao(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Jo.bind(null,z,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ns(e){return rs(jo(),po,e)}function rs(e,t,n){if(t=Ro(e,t,es)[0],e=Lo(Io)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=No(t)}catch(e){throw e===xa?Ca:e}else r=t;t=jo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(z.flags|=2048,os(9,{destroy:void 0},is.bind(null,i,n),null)),[r,a,e]}function is(e,t){e.action=t}function as(e){var t=jo(),n=po;if(n!==null)return rs(t,n,e);jo(),t=t.memoizedState,n=jo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function os(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=z.updateQueue,t===null&&(t=Mo(),z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ss(){return jo().memoizedState}function cs(e,t,n,r){var i=Ao();z.flags|=e,i.memoizedState=os(1|t,{destroy:void 0},n,r===void 0?null:r)}function ls(e,t,n,r){var i=jo();r=r===void 0?null:r;var a=i.memoizedState.inst;po!==null&&r!==null&&Co(r,po.memoizedState.deps)?i.memoizedState=os(t,a,n,r):(z.flags|=e,i.memoizedState=os(1|t,a,n,r))}function us(e,t){cs(8390656,8,e,t)}function ds(e,t){ls(2048,8,e,t)}function fs(e){z.flags|=4;var t=z.updateQueue;if(t===null)t=Mo(),z.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ps(e){var t=jo().memoizedState;return fs({ref:t,nextImpl:e}),function(){if(Hl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ms(e,t){return ls(4,2,e,t)}function hs(e,t){return ls(4,4,e,t)}function gs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _s(e,t,n){n=n==null?null:n.concat([e]),ls(4,4,gs.bind(null,t,e),n)}function vs(){}function ys(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Co(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function bs(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Co(t,r[1]))return r[0];if(r=e(),_o){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r}function xs(e,t,n){return n===void 0||fo&1073741824&&!(Wl&261930)?e.memoizedState=t:(e.memoizedState=n,e=bu(),z.lanes|=e,Ql|=e,n)}function Ss(e,t,n,r){return Dr(n,t)?n:Za.current===null?!(fo&42)||fo&1073741824&&!(Wl&261930)?(ic=!0,e.memoizedState=n):(e=bu(),z.lanes|=e,Ql|=e,t):(e=xs(e,n,r),Dr(e,t)||(ic=!0),e)}function Cs(e,t,n,r,i){var a=k.p;k.p=a!==0&&8>a?a:8;var o=O.T,s={};O.T=s,Fs(e,!1,t,n);try{var c=i(),l=O.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ps(e,t,ha(c,r),yu(e)):Ps(e,t,r,yu(e))}catch(n){Ps(e,t,{then:function(){},status:`rejected`,reason:n},yu())}finally{k.p=a,o!==null&&s.types!==null&&(o.types=s.types),O.T=o}}function ws(){}function Ts(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Es(e).queue;Cs(e,a,t,oe,n===null?ws:function(){return Ds(e),n(r)})}function Es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ds(e){var t=Es(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},yu())}function Os(){return na(ip)}function ks(){return jo().memoizedState}function As(){return jo().memoizedState}function js(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=yu();e=Ha(n);var r=Ua(t,e,n);r!==null&&(xu(r,t,n),Wa(r,t,n)),t={cache:la()},e.payload=t;return}t=t.return}}function Ms(e,t,n){var r=yu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Is(e)?Ls(t,n):(n=ai(e,t,n,r),n!==null&&(xu(n,e,r),Rs(n,t,r)))}function Ns(e,t,n){Ps(e,t,n,yu())}function Ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Is(e))Ls(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Dr(s,o))return ii(e,t,i,0),Ul===null&&ri(),!1}catch{}if(n=ai(e,t,i,r),n!==null)return xu(n,e,r),Rs(n,t,r),!0}return!1}function Fs(e,t,n,r){if(r={lane:2,revertLane:vd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Is(e)){if(t)throw Error(i(479))}else t=ai(e,n,r,2),t!==null&&xu(t,e,2)}function Is(e){var t=e.alternate;return e===z||t!==null&&t===z}function Ls(e,t){go=ho=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,it(e,n)}}var zs={readContext:na,use:Po,useCallback:So,useContext:So,useEffect:So,useImperativeHandle:So,useLayoutEffect:So,useInsertionEffect:So,useMemo:So,useReducer:So,useRef:So,useState:So,useDebugValue:So,useDeferredValue:So,useTransition:So,useSyncExternalStore:So,useId:So,useHostTransitionStatus:So,useFormState:So,useActionState:So,useOptimistic:So,useMemoCache:So,useCacheRefresh:So};zs.useEffectEvent=So;var Bs={readContext:na,use:Po,useCallback:function(e,t){return Ao().memoizedState=[e,t===void 0?null:t],e},useContext:na,useEffect:us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),cs(4194308,4,gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){cs(4,2,e,t)},useMemo:function(e,t){var n=Ao();t=t===void 0?null:t;var r=e();if(_o){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ao();if(n!==void 0){var i=n(t);if(_o){Ve(!0);try{n(t)}finally{Ve(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,z,e),[r.memoizedState,e]},useRef:function(e){var t=Ao();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Ns.bind(null,z,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:vs,useDeferredValue:function(e,t){return xs(Ao(),e,t)},useTransition:function(){var e=Ko(!1);return e=Cs.bind(null,z,e.queue,!0,!1),Ao().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=z,a=Ao();if(I){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Ul===null)throw Error(i(349));Wl&127||Vo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,us(Uo.bind(null,r,o,e),[e]),r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,o,n,t),null),n},useId:function(){var e=Ao(),t=Ul.identifierPrefix;if(I){var n=ki,r=Oi;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=vo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=xo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Os,useFormState:ts,useActionState:ts,useOptimistic:function(e){var t=Ao();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Fs.bind(null,z,!0,n),n.dispatch=t,[e,t]},useMemoCache:Fo,useCacheRefresh:function(){return Ao().memoizedState=js.bind(null,z)},useEffectEvent:function(e){var t=Ao(),n={impl:e};return t.memoizedState=n,function(){if(Hl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Vs={readContext:na,use:Po,useCallback:ys,useContext:na,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:Lo,useRef:ss,useState:function(){return Lo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){return Ss(jo(),po.memoizedState,e,t)},useTransition:function(){var e=Lo(Io)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:No(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:ns,useActionState:ns,useOptimistic:function(e,t){return qo(jo(),po,e,t)},useMemoCache:Fo,useCacheRefresh:As};Vs.useEffectEvent=ps;var Hs={readContext:na,use:Po,useCallback:ys,useContext:na,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:zo,useRef:ss,useState:function(){return zo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){var n=jo();return po===null?xs(n,e,t):Ss(n,po.memoizedState,e,t)},useTransition:function(){var e=zo(Io)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:No(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:as,useActionState:as,useOptimistic:function(e,t){var n=jo();return po===null?(n.baseState=e,[e,n.queue.dispatch]):qo(n,po,e,t)},useMemoCache:Fo,useCacheRefresh:As};Hs.useEffectEvent=ps;function Us(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ws={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=yu(),i=Ha(r);i.payload=t,n!=null&&(i.callback=n),t=Ua(e,i,r),t!==null&&(xu(t,e,r),Wa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=yu(),i=Ha(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ua(e,i,r),t!==null&&(xu(t,e,r),Wa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=yu(),r=Ha(n);r.tag=2,t!=null&&(r.callback=t),t=Ua(e,r,n),t!==null&&(xu(t,e,n),Wa(t,e,n))}};function Gs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Or(n,r)||!Or(i,a):!0}function Ks(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ws.enqueueReplaceState(t,t.state,null)}function qs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Js(e){$r(e)}function Ys(e){console.error(e)}function Xs(e){$r(e)}function Zs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Qs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function $s(e,t,n){return n=Ha(n),n.tag=3,n.payload={element:null},n.callback=function(){Zs(e,t)},n}function ec(e){return e=Ha(e),e.tag=3,e}function tc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Qs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Qs(t,n,r),typeof i!=`function`&&(lu===null?lu=new Set([this]):lu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function nc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&$i(t,n,a,!0),n=no.current,n!==null){switch(n.tag){case 31:case 13:return ro===null?Nu():n.alternate===null&&Zl===0&&(Zl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===wa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Qu(e,r,a)),!1;case 22:return n.flags|=65536,r===wa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Qu(e,r,a)),!1}throw Error(i(435,n.tag))}return Qu(e,r,a),Nu(),!1}if(I)return t=no.current,t===null?(r!==Ri&&(t=Error(i(423),{cause:r}),Gi(xi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=xi(r,n),a=$s(e.stateNode,r,a),Ga(e,a),Zl!==4&&(Zl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ri&&(e=Error(i(422),{cause:r}),Gi(xi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=xi(o,n),H===null?H=[o]:H.push(o),Zl!==4&&(Zl=2),t===null)return!0;r=xi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=$s(n.stateNode,r,e),Ga(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(lu===null||!lu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=ec(a),tc(a,e,n,r),Ga(n,a),!1}n=n.return}while(n!==null);return!1}var rc=Error(i(461)),ic=!1;function ac(e,t,n,r){t.child=e===null?Ra(t,null,n,r):La(t,e.child,n,r)}function oc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ta(t),r=wo(e,t,n,o,a,i),s=Do(),e!==null&&!ic?(Oo(e,t,i),Ac(e,t,i)):(I&&s&&Mi(t),t.flags|=1,ac(e,t,r,i),t.child)}function sc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!fi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,cc(e,t,a,r,i)):(e=hi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!jc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Or:n,n(o,r)&&e.ref===t.ref)return Ac(e,t,i)}return t.flags|=1,e=pi(a,r),e.ref=t.ref,e.return=t,t.child=e}function cc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Or(a,r)&&e.ref===t.ref)if(ic=!1,t.pendingProps=r=a,jc(e,i))e.flags&131072&&(ic=!0);else return t.lanes=e.lanes,Ac(e,t,i)}return gc(e,t,n,r,i)}function lc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return dc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ya(t,a===null?null:a.cachePool),a===null?eo():$a(t,a),oo(t);else return r=t.lanes=536870912,dc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&ya(t,null),eo(),so(t)):(ya(t,a.cachePool),$a(t,a),so(t),t.memoizedState=null);return ac(e,t,i,n),t.child}function uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function dc(e,t,n,r,i){var a=va();return a=a===null?null:{parent:ca._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&ya(t,null),eo(),oo(t),e!==null&&$i(e,t,r,!0),t.childLanes=i,null}function fc(e,t){return t=Tc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function pc(e,t,n){return La(t,e.child,null,n),e=fc(t,t.pendingProps),e.flags|=2,co(t),t.memoizedState=null,e}function mc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(I){if(r.mode===`hidden`)return e=fc(t,r),t.lanes=536870912,uc(null,e);if(ao(t),(e=Fi)?(e=ff(e,Li),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:P===null?null:{id:Oi,overflow:ki},retryLane:536870912,hydrationErrors:null},n=vi(e),n.return=t,t.child=n,F=t,Fi=null)):e=null,e===null)throw zi(t);return t.lanes=536870912,null}return fc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ao(t),a)if(t.flags&256)t.flags&=-257,t=pc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(ic||$i(e,t,n,!1),a=(n&e.childLanes)!==0,ic||a){if(r=Ul,r!==null&&(s=at(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,oi(e,s),xu(r,e,s),rc;Nu(),t=pc(e,t,n)}else e=o.treeContext,Fi=gf(s.nextSibling),F=t,I=!0,Ii=null,Li=!1,e!==null&&Pi(t,e),t=fc(t,r),t.flags|=4096;return t}return e=pi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function hc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function gc(e,t,n,r,i){return ta(t),n=wo(e,t,n,r,void 0,i),r=Do(),e!==null&&!ic?(Oo(e,t,i),Ac(e,t,i)):(I&&r&&Mi(t),t.flags|=1,ac(e,t,n,i),t.child)}function _c(e,t,n,r,i,a){return ta(t),t.updateQueue=null,n=Eo(t,r,n,i),To(e),r=Do(),e!==null&&!ic?(Oo(e,t,a),Ac(e,t,a)):(I&&r&&Mi(t),t.flags|=1,ac(e,t,n,a),t.child)}function vc(e,t,n,r,i){if(ta(t),t.stateNode===null){var a=li,o=n.contextType;typeof o==`object`&&o&&(a=na(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ws,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ba(t),o=n.contextType,a.context=typeof o==`object`&&o?na(o):li,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Us(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Ws.enqueueReplaceState(a,a.state,null),Ja(t,r,a,i),qa(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=qs(n,s);a.props=c;var l=a.context,u=n.contextType;o=li,typeof u==`object`&&u&&(o=na(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ks(t,a,r,o),za=!1;var f=t.memoizedState;a.state=f,Ja(t,r,a,i),qa(),l=t.memoizedState,s||f!==l||za?(typeof d==`function`&&(Us(t,n,d,r),l=t.memoizedState),(c=za||Gs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Va(e,t),o=t.memoizedProps,u=qs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=li,typeof l==`object`&&l&&(c=na(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ks(t,a,r,c),za=!1,f=t.memoizedState,a.state=f,Ja(t,r,a,i),qa();var p=t.memoizedState;o!==d||f!==p||za||e!==null&&e.dependencies!==null&&ea(e.dependencies)?(typeof s==`function`&&(Us(t,n,s,r),p=t.memoizedState),(u=za||Gs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ea(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,hc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=La(t,e.child,null,i),t.child=La(t,null,n,i)):ac(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Ac(e,t,i),e}function yc(e,t,n,r){return Ui(),t.flags|=256,ac(e,t,n,r),t.child}var bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xc(e){return{baseLanes:e,cachePool:ba()}}function Sc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=tu),e}function Cc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(lo.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(I){if(a?io(t):so(t),(e=Fi)?(e=ff(e,Li),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:P===null?null:{id:Oi,overflow:ki},retryLane:536870912,hydrationErrors:null},n=vi(e),n.return=t,t.child=n,F=t,Fi=null)):e=null,e===null)throw zi(t);return mf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(so(t),a=t.mode,c=Tc({mode:`hidden`,children:c},a),r=gi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(null,r)):(io(t),wc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(io(t),t.flags&=-257,t=Ec(e,t,n)):t.memoizedState===null?(so(t),c=r.fallback,a=t.mode,r=Tc({mode:`visible`,children:r.children},a),c=gi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,La(t,e.child,null,n),r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,t=uc(null,r)):(so(t),t.child=e.child,t.flags|=128,t=null);else if(io(t),mf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Gi({value:r,source:null,stack:null}),t=Ec(e,t,n)}else if(ic||$i(e,t,n,!1),s=(n&e.childLanes)!==0,ic||s){if(s=Ul,s!==null&&(r=at(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,oi(e,r),xu(s,e,r),rc;pf(c)||Nu(),t=Ec(e,t,n)}else pf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Fi=gf(c.nextSibling),F=t,I=!0,Ii=null,Li=!1,e!==null&&Pi(t,e),t=wc(t,r.children),t.flags|=4096);return t}return a?(so(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=pi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=gi(c,a,n,null),c.flags|=2):c=pi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,uc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=xc(n):(a=c.cachePool,a===null?a=ba():(l=ca._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(e.child,r)):(io(t),n=e.child,e=n.sibling,n=pi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function wc(e,t){return t=Tc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Tc(e,t){return e=di(22,e,null,t),e.lanes=0,e}function Ec(e,t,n){return La(t,e.child,null,n),e=wc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zi(e.return,t,n)}function Oc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function kc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=lo.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,A(lo,o),ac(e,t,r,n),r=I?Ti:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dc(e,n,t);else if(e.tag===19)Dc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&uo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Oc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&uo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Oc(t,!0,n,null,a,r);break;case`together`:Oc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ac(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ql|=t.lanes,(n&t.childLanes)===0)if(e!==null){if($i(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=pi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ea(e))):!0}function Mc(e,t,n){switch(t.tag){case 3:he(t,t.stateNode.containerInfo),Yi(t,ca,e.memoizedState.cache),Ui();break;case 27:case 5:_e(t);break;case 4:he(t,t.stateNode.containerInfo);break;case 10:Yi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ao(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(io(t),e=Ac(e,t,n),e===null?null:e.sibling):Cc(e,t,n):(io(t),t.flags|=128,null);io(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=($i(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return kc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),A(lo,lo.current),r)break;return null;case 22:return t.lanes=0,lc(e,t,n,t.pendingProps);case 24:Yi(t,ca,e.memoizedState.cache)}return Ac(e,t,n)}function Nc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ic=!0;else{if(!jc(e,n)&&!(t.flags&128))return ic=!1,Mc(e,t,n);ic=!!(e.flags&131072)}else ic=!1,I&&t.flags&1048576&&ji(t,Ti,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Da(t.elementType),t.type=e,typeof e==`function`)fi(e)?(r=qs(e,r),t.tag=1,t=vc(null,t,e,r,n)):(t.tag=0,t=gc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===x){t.tag=11,t=oc(null,t,e,r,n);break a}else if(a===te){t.tag=14,t=sc(null,t,e,r,n);break a}}throw t=ie(e)||e,Error(i(306,t,``))}}return t;case 0:return gc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=qs(r,t.pendingProps),vc(e,t,r,a,n);case 3:a:{if(he(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Va(e,t),Ja(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Yi(t,ca,r),r!==o.cache&&Qi(t,[ca],n,!0),qa(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=yc(e,t,r,n);break a}else if(r!==a){a=xi(Error(i(424)),t),Gi(a),t=yc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Fi=gf(e.firstChild),F=t,I=!0,Ii=null,Li=!0,n=Ra(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ui(),r===a){t=Ac(e,t,n);break a}ac(e,t,r,n)}t=t.child}return t;case 26:return hc(e,t),e===null?(n=If(t.type,null,t.pendingProps,null))?t.memoizedState=n:I||(n=t.type,e=t.pendingProps,r=Jd(pe.current).createElement(n),r[dt]=t,r[ft]=e,Hd(r,n,e),wt(r),t.stateNode=r):t.memoizedState=If(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return _e(t),e===null&&I&&(r=t.stateNode=bf(t.type,t.pendingProps,pe.current),F=t,Li=!0,a=Fi,of(t.type)?(_f=a,Fi=gf(r.firstChild)):Fi=a),ac(e,t,t.pendingProps.children,n),hc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&I&&((a=r=Fi)&&(r=uf(r,t.type,t.pendingProps,Li),r===null?a=!1:(t.stateNode=r,F=t,Fi=gf(r.firstChild),Li=!1,a=!0)),a||zi(t)),_e(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Zd(a,o)?r=null:s!==null&&Zd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=wo(e,t,B,null,null,n),ip._currentValue=a),hc(e,t),ac(e,t,r,n),t.child;case 6:return e===null&&I&&((e=n=Fi)&&(n=df(n,t.pendingProps,Li),n===null?e=!1:(t.stateNode=n,F=t,Fi=null,e=!0)),e||zi(t)),null;case 13:return Cc(e,t,n);case 4:return he(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=La(t,null,r,n):ac(e,t,r,n),t.child;case 11:return oc(e,t,t.type,t.pendingProps,n);case 7:return ac(e,t,t.pendingProps,n),t.child;case 8:return ac(e,t,t.pendingProps.children,n),t.child;case 12:return ac(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Yi(t,t.type,r.value),ac(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ta(t),a=na(a),r=r(a),t.flags|=1,ac(e,t,r,n),t.child;case 14:return sc(e,t,t.type,t.pendingProps,n);case 15:return cc(e,t,t.type,t.pendingProps,n);case 19:return kc(e,t,n);case 31:return mc(e,t,n);case 22:return lc(e,t,n,t.pendingProps);case 24:return ta(t),r=na(ca),e===null?(a=va(),a===null&&(a=Ul,o=la(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ba(t),Yi(t,ca,a)):((e.lanes&n)!==0&&(Va(e,t),Ja(t,null,null,n),qa()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Yi(t,ca,r),r!==a.cache&&Qi(t,[ca],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Yi(t,ca,r))),ac(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Pc(e){e.flags|=4}function Fc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Au())e.flags|=8192;else throw Oa=wa,Sa}else e.flags&=-16777217}function Ic(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Xf(t))if(Au())e.flags|=8192;else throw Oa=wa,Sa}function Lc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:$e(),e.lanes|=t,nu|=t)}function Rc(e,t){if(!I)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function zc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Bc(e,t,n){var r=t.pendingProps;switch(Ni(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zc(t),null;case 1:return zc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Xi(ca),ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hi(t)?Pc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Wi())),zc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Pc(t),o===null?(zc(t),Fc(t,a,null,r,n)):(zc(t),Ic(t,o))):o?o===e.memoizedState?(zc(t),t.flags&=-16777217):(Pc(t),zc(t),Ic(t,o)):(e=e.memoizedProps,e!==r&&Pc(t),zc(t),Fc(t,a,e,r,n)),null;case 27:if(j(t),n=pe.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return zc(t),null}e=de.current,Hi(t)?Bi(t,e):(e=bf(a,r,n),t.stateNode=e,Pc(t))}return zc(t),null;case 5:if(j(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return zc(t),null}if(o=de.current,Hi(t))Bi(t,o);else{var s=Jd(pe.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[dt]=t,o[ft]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Hd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Pc(t)}}return zc(t),Fc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=pe.current,Hi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=F,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[dt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||zd(e.nodeValue,n)),e||zi(t,!0)}else e=Jd(e).createTextNode(r),e[dt]=t,t.stateNode=e}return zc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Hi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[dt]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;zc(t),e=!1}else n=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(co(t),t):(co(t),null);if(t.flags&128)throw Error(i(558))}return zc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[dt]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;zc(t),a=!1}else a=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(co(t),t):(co(t),null)}return co(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Lc(t,t.updateQueue),zc(t),null);case 4:return ge(),e===null&&kd(t.stateNode.containerInfo),zc(t),null;case 10:return Xi(t.type),zc(t),null;case 19:if(ue(lo),r=t.memoizedState,r===null)return zc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Rc(r,!1);else{if(Zl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=uo(e),o!==null){for(t.flags|=128,Rc(r,!1),e=o.updateQueue,t.updateQueue=e,Lc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)mi(n,e),n=n.sibling;return A(lo,lo.current&1|2),I&&Ai(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ae()>su&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304)}else{if(!a)if(e=uo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Lc(t,e),Rc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!I)return zc(t),null}else 2*Ae()-r.renderingStartTime>su&&n!==536870912&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(zc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ae(),e.sibling=null,n=lo.current,A(lo,a?n&1|2:n&1),I&&Ai(t,r.treeForkCount),e);case 22:case 23:return co(t),to(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(zc(t),t.subtreeFlags&6&&(t.flags|=8192)):zc(t),n=t.updateQueue,n!==null&&Lc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ue(_a),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Xi(ca),zc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Vc(e,t){switch(Ni(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xi(ca),ge(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return j(t),null;case 31:if(t.memoizedState!==null){if(co(t),t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(co(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(lo),null;case 4:return ge(),null;case 10:return Xi(t.type),null;case 22:case 23:return co(t),to(),e!==null&&ue(_a),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Xi(ca),null;case 25:return null;default:return null}}function Hc(e,t){switch(Ni(t),t.tag){case 3:Xi(ca),ge();break;case 26:case 27:case 5:j(t);break;case 4:ge();break;case 31:t.memoizedState!==null&&co(t);break;case 13:co(t);break;case 19:ue(lo);break;case 10:Xi(t.type);break;case 22:case 23:co(t),to(),e!==null&&ue(_a);break;case 24:Xi(ca)}}function Uc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Zu(t,t.return,e)}}function Wc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Zu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Zu(t,t.return,e)}}function Gc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Xa(t,n)}catch(t){Zu(e,e.return,t)}}}function Kc(e,t,n){n.props=qs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Zu(e,t,n)}}function qc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Zu(e,t,n)}}function Jc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Zu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Zu(e,t,n)}else n.current=null}function Yc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Zu(e,e.return,t)}}function Xc(e,t,n){try{var r=e.stateNode;Ud(r,e.type,n,t),r[ft]=t}catch(t){Zu(e,e.return,t)}}function Zc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&of(e.type)||e.tag===4}function Qc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Zc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&of(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $c(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=an));else if(r!==4&&(r===27&&of(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&of(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Hd(t,r,n),t[dt]=e,t[ft]=n}catch(t){Zu(e,e.return,t)}}var nl=!1,rl=!1,il=!1,al=typeof WeakSet==`function`?WeakSet:Set,ol=null;function sl(e,t){if(e=e.containerInfo,Kd=pp,e=Mr(e),Nr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(qd={focusedElem:e,selectionRange:n},pp=!1,ol=t;ol!==null;)if(t=ol,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,ol=e;else for(;ol!==null;){switch(t=ol,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=qs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Zu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)lf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:lf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,ol=e;break}ol=t.return}}function cl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Cl(e,n),r&4&&Uc(5,n);break;case 1:if(Cl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Zu(n,n.return,e)}else{var i=qs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Zu(n,n.return,e)}}r&64&&Gc(n),r&512&&qc(n,n.return);break;case 3:if(Cl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Xa(e,t)}catch(e){Zu(n,n.return,e)}}break;case 27:t===null&&r&4&&tl(n);case 26:case 5:Cl(e,n),t===null&&r&4&&Yc(n),r&512&&qc(n,n.return);break;case 12:Cl(e,n);break;case 31:Cl(e,n),r&4&&ml(e,n);break;case 13:Cl(e,n),r&4&&hl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=td.bind(null,n),hf(e,n))));break;case 22:if(r=n.memoizedState!==null||nl,!r){t=t!==null&&t.memoizedState!==null||rl,i=nl;var a=rl;nl=r,(rl=t)&&!a?Tl(e,n,(n.subtreeFlags&8772)!=0):Cl(e,n),nl=i,rl=a}break;case 30:break;default:Cl(e,n)}}function ll(e){var t=e.alternate;t!==null&&(e.alternate=null,ll(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&yt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;n!==null;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount==`function`)try{Be.onCommitFiberUnmount(ze,n)}catch{}switch(n.tag){case 26:rl||Jc(n,t),fl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:rl||Jc(n,t);var r=ul,i=dl;of(n.type)&&(ul=n.stateNode,dl=!1),fl(e,t,n),xf(n.stateNode),ul=r,dl=i;break;case 5:rl||Jc(n,t);case 6:if(r=ul,i=dl,ul=null,fl(e,t,n),ul=r,dl=i,ul!==null)if(dl)try{(ul.nodeType===9?ul.body:ul.nodeName===`HTML`?ul.ownerDocument.body:ul).removeChild(n.stateNode)}catch(e){Zu(n,t,e)}else try{ul.removeChild(n.stateNode)}catch(e){Zu(n,t,e)}break;case 18:ul!==null&&(dl?(e=ul,sf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),zp(e)):sf(ul,n.stateNode));break;case 4:r=ul,i=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=i;break;case 0:case 11:case 14:case 15:Wc(2,n,t),rl||Wc(4,n,t),fl(e,t,n);break;case 1:rl||(Jc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Kc(n,t,r)),fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:rl=(r=rl)||n.memoizedState!==null,fl(e,t,n),rl=r;break;default:fl(e,t,n)}}function ml(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{zp(e)}catch(e){Zu(t,t.return,e)}}}function hl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{zp(e)}catch(e){Zu(t,t.return,e)}}function gl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new al),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new al),t;default:throw Error(i(435,e.tag))}}function _l(e,t){var n=gl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=nd.bind(null,e,t);t.then(r,r)}})}function vl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(of(c.type)){ul=c.stateNode,dl=!1;break a}break;case 5:ul=c.stateNode,dl=!1;break a;case 3:case 4:ul=c.stateNode.containerInfo,dl=!0;break a}c=c.return}if(ul===null)throw Error(i(160));pl(o,s,a),ul=null,dl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)bl(t,e),t=t.sibling}var yl=null;function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vl(t,e),xl(e),r&4&&(Wc(3,e,e.return),Uc(3,e),Wc(5,e,e.return));break;case 1:vl(t,e),xl(e),r&512&&(rl||n===null||Jc(n,n.return)),r&64&&nl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=yl;if(vl(t,e),xl(e),r&512&&(rl||n===null||Jc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[vt]||o[dt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Hd(o,r,n),o[dt]=e,wt(o),r=o;break a;case`link`:var s=qf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Hd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=qf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Hd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[dt]=e,wt(o),r=o}e.stateNode=r}else Jf(a,e.type,e.stateNode);else e.stateNode=Hf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Xc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Jf(a,e.type,e.stateNode):Hf(a,r,e.memoizedProps))}break;case 27:vl(t,e),xl(e),r&512&&(rl||n===null||Jc(n,n.return)),n!==null&&r&4&&Xc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(vl(t,e),xl(e),r&512&&(rl||n===null||Jc(n,n.return)),e.flags&32){a=e.stateNode;try{Xt(a,``)}catch(t){Zu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Xc(e,a,n===null?a:n.memoizedProps)),r&1024&&(il=!0);break;case 6:if(vl(t,e),xl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Zu(e,e.return,t)}}break;case 3:if(Kf=null,a=yl,yl=W(t.containerInfo),vl(t,e),yl=a,xl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zp(t.containerInfo)}catch(t){Zu(e,e.return,t)}il&&(il=!1,Sl(e));break;case 4:r=yl,yl=W(e.stateNode.containerInfo),vl(t,e),xl(e),yl=r;break;case 12:vl(t,e),xl(e);break;case 31:vl(t,e),xl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,_l(e,r)));break;case 13:vl(t,e),xl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(au=Ae()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,_l(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=nl,d=rl;if(nl=u||a,rl=d||l,vl(t,e),rl=d,nl=u,xl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||nl||rl||wl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Zu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Zu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?cf(m,!0):cf(l.stateNode,!1)}catch(e){Zu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,_l(e,n))));break;case 19:vl(t,e),xl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,_l(e,r)));break;case 30:break;case 21:break;default:vl(t,e),xl(e)}}function xl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Zc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;el(e,Qc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Xt(o,``),n.flags&=-33),el(e,Qc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;$c(e,Qc(e),s);break;default:throw Error(i(161))}}catch(t){Zu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Sl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Cl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)cl(e,t.alternate,t),t=t.sibling}function wl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Wc(4,t,t.return),wl(t);break;case 1:Jc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Kc(t,t.return,n),wl(t);break;case 27:xf(t.stateNode);case 26:case 5:Jc(t,t.return),wl(t);break;case 22:t.memoizedState===null&&wl(t);break;case 30:wl(t);break;default:wl(t)}e=e.sibling}}function Tl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Tl(i,a,n),Uc(4,a);break;case 1:if(Tl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Zu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ya(c[i],s)}catch(e){Zu(r,r.return,e)}}n&&o&64&&Gc(a),qc(a,a.return);break;case 27:tl(a);case 26:case 5:Tl(i,a,n),n&&r===null&&o&4&&Yc(a),qc(a,a.return);break;case 12:Tl(i,a,n);break;case 31:Tl(i,a,n),n&&o&4&&ml(i,a);break;case 13:Tl(i,a,n),n&&o&4&&hl(i,a);break;case 22:a.memoizedState===null&&Tl(i,a,n),qc(a,a.return);break;case 30:break;default:Tl(i,a,n)}t=t.sibling}}function El(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ua(n))}function Dl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ua(e))}function Ol(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)kl(e,t,n,r),t=t.sibling}function kl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Ol(e,t,n,r),i&2048&&Uc(9,t);break;case 1:Ol(e,t,n,r);break;case 3:Ol(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ua(e)));break;case 12:if(i&2048){Ol(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Zu(t,t.return,e)}}else Ol(e,t,n,r);break;case 31:Ol(e,t,n,r);break;case 13:Ol(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Ol(e,t,n,r):(a._visibility|=2,Al(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Ol(e,t,n,r):jl(e,t),i&2048&&El(o,t);break;case 24:Ol(e,t,n,r),i&2048&&Dl(t.alternate,t);break;default:Ol(e,t,n,r)}}function Al(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Al(a,o,s,c,i),Uc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Al(a,o,s,c,i)):u._visibility&2?Al(a,o,s,c,i):jl(a,o),i&&l&2048&&El(o.alternate,o);break;case 24:Al(a,o,s,c,i),i&&l&2048&&Dl(o.alternate,o);break;default:Al(a,o,s,c,i)}t=t.sibling}}function jl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:jl(n,r),i&2048&&El(r.alternate,r);break;case 24:jl(n,r),i&2048&&Dl(r.alternate,r);break;default:jl(n,r)}t=t.sibling}}var Ml=8192;function Nl(e,t,n){if(e.subtreeFlags&Ml)for(e=e.child;e!==null;)Pl(e,t,n),e=e.sibling}function Pl(e,t,n){switch(e.tag){case 26:Nl(e,t,n),e.flags&Ml&&e.memoizedState!==null&&Zf(n,yl,e.memoizedState,e.memoizedProps);break;case 5:Nl(e,t,n);break;case 3:case 4:var r=yl;yl=W(e.stateNode.containerInfo),Nl(e,t,n),yl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ml,Ml=16777216,Nl(e,t,n),Ml=r):Nl(e,t,n));break;default:Nl(e,t,n)}}function Fl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ol=r,zl(r,e)}Fl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ll(e),e=e.sibling}function Ll(e){switch(e.tag){case 0:case 11:case 15:Il(e),e.flags&2048&&Wc(9,e,e.return);break;case 3:Il(e);break;case 12:Il(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Rl(e)):Il(e);break;default:Il(e)}}function Rl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ol=r,zl(r,e)}Fl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Wc(8,t,t.return),Rl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Rl(t));break;default:Rl(t)}e=e.sibling}}function zl(e,t){for(;ol!==null;){var n=ol;switch(n.tag){case 0:case 11:case 15:Wc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ua(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,ol=r;else a:for(n=e;ol!==null;){r=ol;var i=r.sibling,a=r.return;if(ll(r),r===n){ol=null;break a}if(i!==null){i.return=a,ol=i;break a}ol=a}}}var Bl={getCacheForType:function(e){var t=na(ca),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return na(ca).controller.signal}},Vl=typeof WeakMap==`function`?WeakMap:Map,Hl=0,Ul=null,V=null,Wl=0,Gl=0,Kl=null,ql=!1,Jl=!1,Yl=!1,Xl=0,Zl=0,Ql=0,$l=0,eu=0,tu=0,nu=0,H=null,ru=null,iu=!1,au=0,ou=0,su=1/0,cu=null,lu=null,uu=0,du=null,fu=null,pu=0,mu=0,hu=null,gu=null,_u=0,vu=null;function yu(){return Hl&2&&Wl!==0?Wl&-Wl:O.T===null?ct():vd()}function bu(){if(tu===0)if(!(Wl&536870912)||I){var e=qe;qe<<=1,!(qe&3932160)&&(qe=262144),tu=e}else tu=536870912;return e=no.current,e!==null&&(e.flags|=32),tu}function xu(e,t,n){(e===Ul&&(Gl===2||Gl===9)||e.cancelPendingCommit!==null)&&(Ou(e,0),Tu(e,Wl,tu,!1)),tt(e,n),(!(Hl&2)||e!==Ul)&&(e===Ul&&(!(Hl&2)&&($l|=n),Zl===4&&Tu(e,Wl,tu,!1)),ud(e))}function Su(e,t,n){if(Hl&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ze(e,t),a=r?Iu(e,t):Pu(e,t,!0),o=r;do{if(a===0){Jl&&!r&&Tu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!wu(n)){a=Pu(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=H;var l=c.current.memoizedState.isDehydrated;if(l&&(Ou(c,s).flags|=256),s=Pu(c,s,!1),s!==2){if(Yl&&!l){c.errorRecoveryDisabledLanes|=o,$l|=o,a=4;break a}o=ru,ru=a,o!==null&&(ru===null?ru=o:ru.push.apply(ru,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Ou(e,0),Tu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Tu(r,t,tu,!ql);break a;case 2:ru=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=au+300-Ae(),10<a)){if(Tu(r,t,tu,!ql),Xe(r,0,!0)!==0)break a;pu=t,r.timeoutHandle=ef(Cu.bind(null,r,n,ru,cu,iu,t,tu,$l,nu,ql,o,`Throttled`,-0,0),a);break a}Cu(r,n,ru,cu,iu,t,tu,$l,nu,ql,o,null,-0,0)}}break}while(1);ud(e)}function Cu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:an},Pl(t,a,d);var m=(a&62914560)===a?au-Ae():(a&4194048)===a?ou-Ae():0;if(m=$f(d,m),m!==null){pu=a,e.cancelPendingCommit=m(Uu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Tu(e,a,o,!l);return}}Uu(e,t,a,n,r,i,o,s,c)}function wu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Dr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Tu(e,t,n,r){t&=~eu,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-He(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&rt(e,n,t)}function Eu(){return Hl&6?!0:(dd(0,!1),!1)}function Du(){if(V!==null){if(Gl===0)var e=V.return;else e=V,Ji=qi=null,ko(e),ja=null,Ma=0,e=V;for(;e!==null;)Hc(e.alternate,e),e=e.return;V=null}}function Ou(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,tf(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),pu=0,Du(),Ul=e,V=n=pi(e.current,null),Wl=t,Gl=0,Kl=null,ql=!1,Jl=Ze(e,t),Yl=!1,nu=tu=eu=$l=Ql=Zl=0,ru=H=null,iu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-He(r),a=1<<i;t|=e[i],r&=~a}return Xl=t,ri(),n}function ku(e,t){z=null,O.H=zs,t===xa||t===Ca?(t=ka(),Gl=3):t===Sa?(t=ka(),Gl=4):Gl=t===rc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Kl=t,V===null&&(Zl=1,Zs(e,xi(t,e.current)))}function Au(){var e=no.current;return e===null?!0:(Wl&4194048)===Wl?ro===null:(Wl&62914560)===Wl||Wl&536870912?e===ro:!1}function ju(){var e=O.H;return O.H=zs,e===null?zs:e}function Mu(){var e=O.A;return O.A=Bl,e}function Nu(){Zl=4,ql||(Wl&4194048)!==Wl&&no.current!==null||(Jl=!0),!(Ql&134217727)&&!($l&134217727)||Ul===null||Tu(Ul,Wl,tu,!1)}function Pu(e,t,n){var r=Hl;Hl|=2;var i=ju(),a=Mu();(Ul!==e||Wl!==t)&&(cu=null,Ou(e,t)),t=!1;var o=Zl;a:do try{if(Gl!==0&&V!==null){var s=V,c=Kl;switch(Gl){case 8:Du(),o=6;break a;case 3:case 2:case 9:case 6:no.current===null&&(t=!0);var l=Gl;if(Gl=0,Kl=null,Bu(e,s,c,l),n&&Jl){o=0;break a}break;default:l=Gl,Gl=0,Kl=null,Bu(e,s,c,l)}}Fu(),o=Zl;break}catch(t){ku(e,t)}while(1);return t&&e.shellSuspendCounter++,Ji=qi=null,Hl=r,O.H=i,O.A=a,V===null&&(Ul=null,Wl=0,ri()),o}function Fu(){for(;V!==null;)Ru(V)}function Iu(e,t){var n=Hl;Hl|=2;var r=ju(),a=Mu();Ul!==e||Wl!==t?(cu=null,su=Ae()+500,Ou(e,t)):Jl=Ze(e,t);a:do try{if(Gl!==0&&V!==null){t=V;var o=Kl;b:switch(Gl){case 1:Gl=0,Kl=null,Bu(e,t,o,1);break;case 2:case 9:if(Ta(o)){Gl=0,Kl=null,zu(t);break}t=function(){Gl!==2&&Gl!==9||Ul!==e||(Gl=7),ud(e)},o.then(t,t);break a;case 3:Gl=7;break a;case 4:Gl=5;break a;case 7:Ta(o)?(Gl=0,Kl=null,zu(t)):(Gl=0,Kl=null,Bu(e,t,o,7));break;case 5:var s=null;switch(V.tag){case 26:s=V.memoizedState;case 5:case 27:var c=V;if(s?Xf(s):c.stateNode.complete){Gl=0,Kl=null;var l=c.sibling;if(l!==null)V=l;else{var u=c.return;u===null?V=null:(V=u,Vu(u))}break b}}Gl=0,Kl=null,Bu(e,t,o,5);break;case 6:Gl=0,Kl=null,Bu(e,t,o,6);break;case 8:Du(),Zl=6;break a;default:throw Error(i(462))}}Lu();break}catch(t){ku(e,t)}while(1);return Ji=qi=null,O.H=r,O.A=a,Hl=n,V===null?(Ul=null,Wl=0,ri(),Zl):0}function Lu(){for(;V!==null&&!Oe();)Ru(V)}function Ru(e){var t=Nc(e.alternate,e,Xl);e.memoizedProps=e.pendingProps,t===null?Vu(e):V=t}function zu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=_c(n,t,t.pendingProps,t.type,void 0,Wl);break;case 11:t=_c(n,t,t.pendingProps,t.type.render,t.ref,Wl);break;case 5:ko(t);default:Hc(n,t),t=V=mi(t,Xl),t=Nc(n,t,Xl)}e.memoizedProps=e.pendingProps,t===null?Vu(e):V=t}function Bu(e,t,n,r){Ji=qi=null,ko(t),ja=null,Ma=0;var i=t.return;try{if(nc(e,i,t,n,Wl)){Zl=1,Zs(e,xi(n,e.current)),V=null;return}}catch(t){if(i!==null)throw V=i,t;Zl=1,Zs(e,xi(n,e.current)),V=null;return}t.flags&32768?(I||r===1?e=!0:Jl||Wl&536870912?e=!1:(ql=e=!0,(r===2||r===9||r===3||r===6)&&(r=no.current,r!==null&&r.tag===13&&(r.flags|=16384))),Hu(t,e)):Vu(t)}function Vu(e){var t=e;do{if(t.flags&32768){Hu(t,ql);return}e=t.return;var n=Bc(t.alternate,t,Xl);if(n!==null){V=n;return}if(t=t.sibling,t!==null){V=t;return}V=t=e}while(t!==null);Zl===0&&(Zl=5)}function Hu(e,t){do{var n=Vc(e.alternate,e);if(n!==null){n.flags&=32767,V=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){V=e;return}V=e=n}while(e!==null);Zl=6,V=null}function Uu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Ju();while(uu!==0);if(Hl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ni,nt(e,n,o,s,c,l),e===Ul&&(V=Ul=null,Wl=0),fu=t,du=e,pu=n,mu=o,hu=a,gu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,rd(Pe,function(){return Yu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=O.T,O.T=null,a=k.p,k.p=2,s=Hl,Hl|=4;try{sl(e,t,n)}finally{Hl=s,k.p=a,O.T=r}}uu=1,Wu(),Gu(),Ku()}}function Wu(){if(uu===1){uu=0;var e=du,t=fu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=O.T,O.T=null;var r=k.p;k.p=2;var i=Hl;Hl|=4;try{bl(t,e);var a=qd,o=Mr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&jr(s.ownerDocument.documentElement,s)){if(c!==null&&Nr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Ar(s,h),v=Ar(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}pp=!!Kd,qd=Kd=null}finally{Hl=i,k.p=r,O.T=n}}e.current=t,uu=2}}function Gu(){if(uu===2){uu=0;var e=du,t=fu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=O.T,O.T=null;var r=k.p;k.p=2;var i=Hl;Hl|=4;try{cl(e,t.alternate,t)}finally{Hl=i,k.p=r,O.T=n}}uu=3}}function Ku(){if(uu===4||uu===3){uu=0,ke();var e=du,t=fu,n=pu,r=gu;t.subtreeFlags&10256||t.flags&10256?uu=5:(uu=0,fu=du=null,qu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(lu=null),st(n),t=t.stateNode,Be&&typeof Be.onCommitFiberRoot==`function`)try{Be.onCommitFiberRoot(ze,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=O.T,i=k.p,k.p=2,O.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{O.T=t,k.p=i}}pu&3&&Ju(),ud(e),i=e.pendingLanes,n&261930&&i&42?e===vu?_u++:(_u=0,vu=e):_u=0,dd(0,!1)}}function qu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ua(t)))}function Ju(){return Wu(),Gu(),Ku(),Yu()}function Yu(){if(uu!==5)return!1;var e=du,t=mu;mu=0;var n=st(pu),r=O.T,a=k.p;try{k.p=32>n?32:n,O.T=null,n=hu,hu=null;var o=du,s=pu;if(uu=0,fu=du=null,pu=0,Hl&6)throw Error(i(331));var c=Hl;if(Hl|=4,Ll(o.current),kl(o,o.current,s,n),Hl=c,dd(0,!1),Be&&typeof Be.onPostCommitFiberRoot==`function`)try{Be.onPostCommitFiberRoot(ze,o)}catch{}return!0}finally{k.p=a,O.T=r,qu(e,t)}}function Xu(e,t,n){t=xi(n,t),t=$s(e.stateNode,t,2),e=Ua(e,t,2),e!==null&&(tt(e,2),ud(e))}function Zu(e,t,n){if(e.tag===3)Xu(e,e,n);else for(;t!==null;){if(t.tag===3){Xu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(lu===null||!lu.has(r))){e=xi(n,e),n=ec(2),r=Ua(t,n,2),r!==null&&(tc(n,r,t,e),tt(r,2),ud(r));break}}t=t.return}}function Qu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Vl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Yl=!0,i.add(n),e=$u.bind(null,e,t,n),t.then(e,e))}function $u(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ul===e&&(Wl&n)===n&&(Zl===4||Zl===3&&(Wl&62914560)===Wl&&300>Ae()-au?!(Hl&2)&&Ou(e,0):eu|=n,nu===Wl&&(nu=0)),ud(e)}function ed(e,t){t===0&&(t=$e()),e=oi(e,t),e!==null&&(tt(e,t),ud(e))}function td(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ed(e,n)}function nd(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),ed(e,n)}function rd(e,t){return Ee(e,t)}var id=null,ad=null,od=!1,sd=!1,cd=!1,ld=0;function ud(e){e!==ad&&e.next===null&&(ad===null?id=ad=e:ad=ad.next=e),sd=!0,od||(od=!0,_d())}function dd(e,t){if(!cd&&sd){cd=!0;do for(var n=!1,r=id;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-He(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,gd(r,a))}else a=Wl,a=Xe(r,r===Ul?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ze(r,a)||(n=!0,gd(r,a));r=r.next}while(n);cd=!1}}function fd(){pd()}function pd(){sd=od=!1;var e=0;ld!==0&&$d()&&(e=ld);for(var t=Ae(),n=null,r=id;r!==null;){var i=r.next,a=md(r,t);a===0?(r.next=null,n===null?id=i:n.next=i,i===null&&(ad=n)):(n=r,(e!==0||a&3)&&(sd=!0)),r=i}uu!==0&&uu!==5||dd(e,!1),ld!==0&&(ld=0)}function md(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-He(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Qe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ul,n=Wl,n=Xe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Gl===2||Gl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&De(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ze(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&De(r),st(n)){case 2:case 8:n=Ne;break;case 32:n=Pe;break;case 268435456:n=Ie;break;default:n=Pe}return r=hd.bind(null,e),n=Ee(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&De(r),e.callbackPriority=2,e.callbackNode=null,2}function hd(e,t){if(uu!==0&&uu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ju()&&e.callbackNode!==n)return null;var r=Wl;return r=Xe(e,e===Ul?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Su(e,r,t),md(e,Ae()),e.callbackNode!=null&&e.callbackNode===n?hd.bind(null,e):null)}function gd(e,t){if(Ju())return null;Su(e,t,!0)}function _d(){rf(function(){Hl&6?Ee(Me,fd):pd()})}function vd(){if(ld===0){var e=R;e===0&&(e=Ke,Ke<<=1,!(Ke&261888)&&(Ke=256)),ld=e}return ld}function yd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:rn(``+e)}function bd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function xd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=yd((i[ft]||null).action),o=r.submitter;o&&(t=(t=o[ft]||null)?yd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new En(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ld!==0){var e=o?bd(i,o):new FormData(i);Ts(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?bd(i,o):new FormData(i),Ts(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Sd=0;Sd<Qr.length;Sd++){var Cd=Qr[Sd];N(Cd.toLowerCase(),`on`+(Cd[0].toUpperCase()+Cd.slice(1)))}N(Wr,`onAnimationEnd`),N(Gr,`onAnimationIteration`),N(Kr,`onAnimationStart`),N(`dblclick`,`onDoubleClick`),N(`focusin`,`onFocus`),N(`focusout`,`onBlur`),N(qr,`onTransitionRun`),N(Jr,`onTransitionStart`),N(Yr,`onTransitionCancel`),N(Xr,`onTransitionEnd`),Ot(`onMouseEnter`,[`mouseout`,`mouseover`]),Ot(`onMouseLeave`,[`mouseout`,`mouseover`]),Ot(`onPointerEnter`,[`pointerout`,`pointerover`]),Ot(`onPointerLeave`,[`pointerout`,`pointerover`]),Dt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Dt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Dt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Dt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Dt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Dt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var wd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Td=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(wd));function Ed(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){$r(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){$r(e)}i.currentTarget=null,a=c}}}}function U(e,t){var n=t[mt];n===void 0&&(n=t[mt]=new Set);var r=e+`__bubble`;n.has(r)||(Ad(t,e,2,!1),n.add(r))}function Dd(e,t,n){var r=0;t&&(r|=4),Ad(n,e,r,t)}var Od=`_reactListening`+Math.random().toString(36).slice(2);function kd(e){if(!e[Od]){e[Od]=!0,Tt.forEach(function(t){t!==`selectionchange`&&(Td.has(t)||Dd(t,!1,e),Dd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Od]||(t[Od]=!0,Dd(`selectionchange`,!1,t))}}function Ad(e,t,n,r){switch(bp(t)){case 2:var i=mp;break;case 8:i=hp;break;default:i=gp}n=i.bind(null,t,n,e),i=void 0,!hn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function jd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=bt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}fn(function(){var r=a,i=sn(n),s=[];a:{var c=Zr.get(e);if(c!==void 0){var l=En,u=e;switch(e){case`keypress`:if(xn(n)===0)break a;case`keydown`:case`keyup`:l=Wn;break;case`focusin`:u=`focus`,l=Fn;break;case`focusout`:u=`blur`,l=Fn;break;case`beforeblur`:case`afterblur`:l=Fn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Nn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Pn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Kn;break;case Wr:case Gr:case Kr:l=In;break;case Xr:l=qn;break;case`scroll`:case`scrollend`:l=On;break;case`wheel`:l=Jn;break;case`copy`:case`cut`:case`paste`:l=Ln;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Gn;break;case`toggle`:case`beforetoggle`:l=Yn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=pn(m,p),g!=null&&d.push(Md(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==on&&(u=n.relatedTarget||n.fromElement)&&(bt(u)||u[pt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?bt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Nn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Gn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:St(l),h=u==null?c:St(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,bt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Pd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Fd(s,c,l,d,!1),u!==null&&f!==null&&Fd(s,f,u,d,!0)}}a:{if(c=r?St(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=hr;else if(lr(c))if(gr)v=Tr;else{v=Cr;var y=Sr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&en(r.elementType)&&(v=hr):v=wr;if(v&&=v(e,r)){ur(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Kt(c,`number`,c.value)}switch(y=r?St(r):window,e){case`focusin`:(lr(y)||y.contentEditable===`true`)&&(Fr=y,Ir=r,Lr=null);break;case`focusout`:Lr=Ir=Fr=null;break;case`mousedown`:Rr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Rr=!1,zr(s,n,i);break;case`selectionchange`:if(Pr)break;case`keydown`:case`keyup`:zr(s,n,i)}var b;if(Zn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else ar?rr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(er&&n.locale!==`ko`&&(ar||x!==`onCompositionStart`?x===`onCompositionEnd`&&ar&&(b=bn()):(_n=i,vn=`value`in _n?_n.value:_n.textContent,ar=!0)),y=Nd(r,x),0<y.length&&(x=new Rn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=ir(n),b!==null&&(x.data=b)))),(b=$n?or(e,n):sr(e,n))&&(x=Nd(r,`onBeforeInput`),0<x.length&&(y=new Rn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),xd(s,e,r,n,i)}Ed(s,t)})}function Md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Nd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=pn(e,n),i!=null&&r.unshift(Md(e,i,a)),i=pn(e,t),i!=null&&r.push(Md(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Pd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=pn(n,a),l!=null&&o.unshift(Md(n,l,c))):i||(l=pn(n,a),l!=null&&o.push(Md(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Id=/\r\n?/g,Ld=/\u0000|\uFFFD/g;function Rd(e){return(typeof e==`string`?e:``+e).replace(Id,`
14
- `).replace(Ld,``)}function zd(e,t){return t=Rd(t),Rd(e)===t}function Bd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Xt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Xt(e,``+r);break;case`className`:Pt(e,`class`,r);break;case`tabIndex`:Pt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Pt(e,n,r);break;case`style`:$t(e,r,o);break;case`data`:if(t!==`object`){Pt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=rn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Bd(e,t,`name`,a.name,a,null),Bd(e,t,`formEncType`,a.formEncType,a,null),Bd(e,t,`formMethod`,a.formMethod,a,null),Bd(e,t,`formTarget`,a.formTarget,a,null)):(Bd(e,t,`encType`,a.encType,a,null),Bd(e,t,`method`,a.method,a,null),Bd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=rn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=an);break;case`onScroll`:r!=null&&U(`scroll`,e);break;case`onScrollEnd`:r!=null&&U(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=rn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:U(`beforetoggle`,e),U(`toggle`,e),Nt(e,`popover`,r);break;case`xlinkActuate`:Ft(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Ft(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Ft(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Ft(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Ft(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Ft(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Ft(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Ft(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Ft(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Nt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=tn.get(n)||n,Nt(e,n,r))}}function Vd(e,t,n,r,a,o){switch(n){case`style`:$t(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Xt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Xt(e,``+r);break;case`onScroll`:r!=null&&U(`scroll`,e);break;case`onScrollEnd`:r!=null&&U(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=an);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Et.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[ft]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Nt(e,n,r)}}}function Hd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:U(`error`,e),U(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Bd(e,t,o,s,n,null)}}a&&Bd(e,t,`srcSet`,n.srcSet,n,null),r&&Bd(e,t,`src`,n.src,n,null);return;case`input`:U(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Bd(e,t,r,d,n,null)}}Gt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in U(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Bd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&qt(e,!!r,n,!0):qt(e,!!r,t,!1);return;case`textarea`:for(s in U(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Bd(e,t,s,c,n,null)}Yt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Bd(e,t,l,r,n,null)}return;case`dialog`:U(`beforetoggle`,e),U(`toggle`,e),U(`cancel`,e),U(`close`,e);break;case`iframe`:case`object`:U(`load`,e);break;case`video`:case`audio`:for(r=0;r<wd.length;r++)U(wd[r],e);break;case`image`:U(`error`,e),U(`load`,e);break;case`details`:U(`toggle`,e);break;case`embed`:case`source`:case`link`:U(`error`,e),U(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Bd(e,t,u,r,n,null)}return;default:if(en(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Vd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Bd(e,t,c,r,n,null))}function Ud(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Bd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Bd(e,t,p,m,r,f)}}Wt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Bd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Bd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?qt(e,!!n,n?[]:``,!1):qt(e,!!n,t,!0)):qt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Bd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Bd(e,t,s,a,r,o)}Jt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Bd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Bd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Bd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Bd(e,t,u,p,r,m)}return;default:if(en(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Vd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Vd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Bd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Bd(e,t,f,p,r,m)}function Wd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Gd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Wd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Wd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Kd=null,qd=null;function Jd(e){return e.nodeType===9?e:e.ownerDocument}function Yd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Xd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Zd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Qd=null;function $d(){var e=window.event;return e&&e.type===`popstate`?e===Qd?!1:(Qd=e,!0):(Qd=null,!1)}var ef=typeof setTimeout==`function`?setTimeout:void 0,tf=typeof clearTimeout==`function`?clearTimeout:void 0,nf=typeof Promise==`function`?Promise:void 0,rf=typeof queueMicrotask==`function`?queueMicrotask:nf===void 0?ef:function(e){return nf.resolve(null).then(e).catch(af)};function af(e){setTimeout(function(){throw e})}function of(e){return e===`head`}function sf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),zp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)xf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,xf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[vt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&xf(e.ownerDocument.body);n=i}while(n);zp(t)}function cf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function lf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:lf(n),yt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function uf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[vt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=gf(e.nextSibling),e===null)break}return null}function df(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=gf(e.nextSibling),e===null))return null;return e}function ff(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=gf(e.nextSibling),e===null))return null;return e}function pf(e){return e.data===`$?`||e.data===`$~`}function mf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function hf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function gf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var _f=null;function vf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return gf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function yf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function bf(e,t,n){switch(t=Jd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function xf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);yt(e)}var Sf=new Map,Cf=new Set;function W(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var wf=k.d;k.d={f:Tf,r:Ef,D:kf,C:Af,L:jf,m:Mf,X:Pf,S:Nf,M:Ff};function Tf(){var e=wf.f(),t=Eu();return e||t}function Ef(e){var t=xt(e);t!==null&&t.tag===5&&t.type===`form`?Ds(t):wf.r(e)}var Df=typeof document>`u`?null:document;function Of(e,t,n){var r=Df;if(r&&typeof t==`string`&&t){var i=Ut(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Cf.has(i)||(Cf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Hd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function kf(e){wf.D(e),Of(`dns-prefetch`,e,null)}function Af(e,t){wf.C(e,t),Of(`preconnect`,e,t)}function jf(e,t,n){wf.L(e,t,n);var r=Df;if(r&&e&&t){var i=`link[rel="preload"][as="`+Ut(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Ut(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Ut(n.imageSizes)+`"]`)):i+=`[href="`+Ut(e)+`"]`;var a=i;switch(t){case`style`:a=Lf(e);break;case`script`:a=Vf(e)}Sf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Sf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Rf(a))||t===`script`&&r.querySelector(G(a))||(t=r.createElement(`link`),Hd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Mf(e,t){wf.m(e,t);var n=Df;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Ut(r)+`"][href="`+Ut(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Vf(e)}if(!Sf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),Sf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(G(a)))return}r=n.createElement(`link`),Hd(r,`link`,e),wt(r),n.head.appendChild(r)}}}function Nf(e,t,n){wf.S(e,t,n);var r=Df;if(r&&e){var i=Ct(r).hoistableStyles,a=Lf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Rf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Sf.get(a))&&Wf(e,n);var c=o=r.createElement(`link`);wt(c),Hd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Uf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Pf(e,t){wf.X(e,t);var n=Df;if(n&&e){var r=Ct(n).hoistableScripts,i=Vf(e),a=r.get(i);a||(a=n.querySelector(G(i)),a||(e=f({src:e,async:!0},t),(t=Sf.get(i))&&Gf(e,t),a=n.createElement(`script`),wt(a),Hd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Ff(e,t){wf.M(e,t);var n=Df;if(n&&e){var r=Ct(n).hoistableScripts,i=Vf(e),a=r.get(i);a||(a=n.querySelector(G(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=Sf.get(i))&&Gf(e,t),a=n.createElement(`script`),wt(a),Hd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function If(e,t,n,r){var a=(a=pe.current)?W(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Lf(n.href),n=Ct(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Lf(n.href);var o=Ct(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Rf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Sf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Sf.set(e,n),o||Bf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Vf(n),n=Ct(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Lf(e){return`href="`+Ut(e)+`"`}function Rf(e){return`link[rel="stylesheet"][`+e+`]`}function zf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Bf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Hd(t,`link`,n),wt(t),e.head.appendChild(t))}function Vf(e){return`[src="`+Ut(e)+`"]`}function G(e){return`script[async]`+e}function Hf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Ut(n.href)+`"]`);if(r)return t.instance=r,wt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),wt(r),Hd(r,`style`,a),Uf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Lf(n.href);var o=e.querySelector(Rf(a));if(o)return t.state.loading|=4,t.instance=o,wt(o),o;r=zf(n),(a=Sf.get(a))&&Wf(r,a),o=(e.ownerDocument||e).createElement(`link`),wt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Hd(o,`link`,r),t.state.loading|=4,Uf(o,n.precedence,e),t.instance=o;case`script`:return o=Vf(n.src),(a=e.querySelector(G(o)))?(t.instance=a,wt(a),a):(r=n,(a=Sf.get(o))&&(r=f({},n),Gf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),wt(a),Hd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Uf(r,n.precedence,e));return t.instance}function Uf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Wf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Gf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Kf=null;function qf(e,t,n){if(Kf===null){var r=new Map,i=Kf=new Map;i.set(n,r)}else i=Kf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[vt]||a[dt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Jf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Yf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Xf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Zf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Lf(r.href),a=t.querySelector(Rf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ep.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,wt(a);return}a=t.ownerDocument||t,r=zf(r),(i=Sf.get(i))&&Wf(r,i),a=a.createElement(`link`),wt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Hd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ep.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Qf=0;function $f(e,t){return e.stylesheets&&e.count===0&&np(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&np(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Qf===0&&(Qf=62500*Gd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&np(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function ep(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)np(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var tp=null;function np(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,tp=new Map,t.forEach(rp,e),tp=null,ep.call(e))}function rp(e,t){if(!(t.state.loading&4)){var n=tp.get(e);if(n)var r=n.get(null);else{n=new Map,tp.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=ep.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ip={$$typeof:b,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function ap(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=et(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=et(0),this.hiddenUpdates=et(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function op(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ap(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=di(3,null,null,t),e.current=a,a.stateNode=e,t=la(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ba(a),e}function sp(e){return e?(e=li,e):li}function cp(e,t,n,r,i,a){i=sp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ha(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ua(e,r,t),n!==null&&(xu(n,e,t),Wa(n,e,t))}function lp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function up(e,t){lp(e,t),(e=e.alternate)&&lp(e,t)}function dp(e){if(e.tag===13||e.tag===31){var t=oi(e,67108864);t!==null&&xu(t,e,67108864),up(e,67108864)}}function fp(e){if(e.tag===13||e.tag===31){var t=yu();t=ot(t);var n=oi(e,t);n!==null&&xu(n,e,t),up(e,t)}}var pp=!0;function mp(e,t,n,r){var i=O.T;O.T=null;var a=k.p;try{k.p=2,gp(e,t,n,r)}finally{k.p=a,O.T=i}}function hp(e,t,n,r){var i=O.T;O.T=null;var a=k.p;try{k.p=8,gp(e,t,n,r)}finally{k.p=a,O.T=i}}function gp(e,t,n,r){if(pp){var i=_p(r);if(i===null)jd(e,t,r,vp,n),kp(e,r);else if(jp(i,e,t,n,r))r.stopPropagation();else if(kp(e,r),t&4&&-1<Op.indexOf(e)){for(;i!==null;){var a=xt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ye(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-He(o);s.entanglements[1]|=c,o&=~c}ud(a),!(Hl&6)&&(su=Ae()+500,dd(0,!1))}}break;case 31:case 13:s=oi(a,2),s!==null&&xu(s,a,2),Eu(),up(a,2)}if(a=_p(r),a===null&&jd(e,t,r,vp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else jd(e,t,r,null,n)}}function _p(e){return e=sn(e),yp(e)}var vp=null;function yp(e){if(vp=null,e=bt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return vp=e,null}function bp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(je()){case Me:return 2;case Ne:return 8;case Pe:case Fe:return 32;case Ie:return 268435456;default:return 32}default:return 32}}var xp=!1,Sp=null,Cp=null,wp=null,Tp=new Map,Ep=new Map,Dp=[],Op=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function kp(e,t){switch(e){case`focusin`:case`focusout`:Sp=null;break;case`dragenter`:case`dragleave`:Cp=null;break;case`mouseover`:case`mouseout`:wp=null;break;case`pointerover`:case`pointerout`:Tp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Ep.delete(t.pointerId)}}function Ap(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=xt(t),t!==null&&dp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function jp(e,t,n,r,i){switch(t){case`focusin`:return Sp=Ap(Sp,e,t,n,r,i),!0;case`dragenter`:return Cp=Ap(Cp,e,t,n,r,i),!0;case`mouseover`:return wp=Ap(wp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Tp.set(a,Ap(Tp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Ep.set(a,Ap(Ep.get(a)||null,e,t,n,r,i)),!0}return!1}function Mp(e){var t=bt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,lt(e.priority,function(){fp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,lt(e.priority,function(){fp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Np(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=_p(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);on=r,n.target.dispatchEvent(r),on=null}else return t=xt(n),t!==null&&dp(t),e.blockedOn=n,!1;t.shift()}return!0}function Pp(e,t,n){Np(e)&&n.delete(t)}function Fp(){xp=!1,Sp!==null&&Np(Sp)&&(Sp=null),Cp!==null&&Np(Cp)&&(Cp=null),wp!==null&&Np(wp)&&(wp=null),Tp.forEach(Pp),Ep.forEach(Pp)}function Ip(e,n){e.blockedOn===n&&(e.blockedOn=null,xp||(xp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Fp)))}var Lp=null;function Rp(e){Lp!==e&&(Lp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Lp===e&&(Lp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(yp(r||n)===null)continue;break}var a=xt(n);a!==null&&(e.splice(t,3),t-=3,Ts(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function zp(e){function t(t){return Ip(t,e)}Sp!==null&&Ip(Sp,e),Cp!==null&&Ip(Cp,e),wp!==null&&Ip(wp,e),Tp.forEach(t),Ep.forEach(t);for(var n=0;n<Dp.length;n++){var r=Dp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Dp.length&&(n=Dp[0],n.blockedOn===null);)Mp(n),n.blockedOn===null&&Dp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ft]||null;if(typeof a==`function`)o||Rp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ft]||null)s=o.formAction;else if(yp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Rp(n)}}}function Bp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Vp(e){this._internalRoot=e}Hp.prototype.render=Vp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;cp(n,yu(),e,t,null,null)},Hp.prototype.unmount=Vp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;cp(e.current,2,null,e,null,null),Eu(),t[pt]=null}};function Hp(e){this._internalRoot=e}Hp.prototype.unstable_scheduleHydration=function(e){if(e){var t=ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dp.length&&t!==0&&t<Dp[n].priority;n++);Dp.splice(n,0,e),n===0&&Mp(e)}};var Up=n.version;if(Up!==`19.2.5`)throw Error(i(527,Up,`19.2.5`));k.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Wp={bundleType:0,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:O,reconcilerVersion:`19.2.5`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Gp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gp.isDisabled&&Gp.supportsFiber)try{ze=Gp.inject(Wp),Be=Gp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Js,s=Ys,c=Xs;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=op(e,1,!1,null,null,n,r,null,o,s,c,Bp),e[pt]=t.current,kd(e),new Vp(t)},e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Js,c=Ys,l=Xs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=op(e,1,!0,t,n??null,r,o,u,s,c,l,Bp),t.context=sp(null),n=t.current,r=yu(),r=ot(r),o=Ha(r),o.callback=null,Ua(n,o,r),n=r,t.current.lanes=n,tt(t,n),ud(t),e[pt]=t.current,kd(e),new Hp(t)},e.version=`19.2.5`})),re=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function n(e,t,r,i){if(r>=t.length)return i;var a=t[r],o=Vf(e)?e.slice():W({},e);return o[a]=n(e[a],t,r+1,i),o}function r(e,t,n){if(t.length!==n.length)console.warn(`copyWithRename() expects paths of the same length`);else{for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){console.warn(`copyWithRename() expects paths to be the same except for the deepest key`);return}return i(e,t,n,0)}}function i(e,t,n,r){var a=t[r],o=Vf(e)?e.slice():W({},e);return r+1===t.length?(o[n[r]]=o[a],Vf(o)?o.splice(a,1):delete o[a]):o[a]=i(e[a],t,n,r+1),o}function a(e,t,n){var r=t[n],i=Vf(e)?e.slice():W({},e);return n+1===t.length?(Vf(i)?i.splice(r,1):delete i[r],i):(i[r]=a(e[r],t,n+1),i)}function o(){return!1}function s(){return null}function c(){console.error(`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://react.dev/link/rules-of-hooks`)}function l(){console.error(`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().`)}function u(){}function d(){}function f(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(`, `)}function p(e,t,n,r){return new vr(e,t,n,r)}function m(e,t){e.context===Ag&&(Jd(e.current,2,t,e,null,null),tl())}function h(e,t){if(jg!==null){var n=t.staleFamilies;t=t.updatedFamilies,Dl(),_r(e.current,t,n),tl()}}function g(e){jg=e}function _(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function v(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function y(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function b(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function x(e){if(v(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function ee(e){var t=e.alternate;if(!t){if(t=v(e),t===null)throw Error(`Unable to find node on an unmounted component.`);return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return x(i),e;if(a===r)return x(i),t;a=a.sibling}throw Error(`Unable to find node on an unmounted component.`)}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(`Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.`)}}if(n.alternate!==r)throw Error(`Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`)}if(n.tag!==3)throw Error(`Unable to find node on an unmounted component.`);return n.stateNode.current===n?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}function te(e){return typeof e!=`object`||!e?null:(e=zf&&e[zf]||e[`@@iterator`],typeof e==`function`?e:null)}function C(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Bf?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case Df:return`Fragment`;case kf:return`Profiler`;case Of:return`StrictMode`;case Nf:return`Suspense`;case Pf:return`SuspenseList`;case Lf:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case Ef:return`Portal`;case jf:return e.displayName||`Context`;case Af:return(e._context.displayName||`Context`)+`.Consumer`;case Mf:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case Ff:return t=e.displayName||null,t===null?C(e.type)||`Memo`:t;case If:t=e._payload,e=e._init;try{return C(e(t))}catch{}}return null}function w(e){return typeof e.tag==`number`?T(e):typeof e.name==`string`?e.name:null}function T(e){var t=e.type;switch(e.tag){case 31:return`Activity`;case 24:return`Cache`;case 9:return(t._context.displayName||`Context`)+`.Consumer`;case 10:return t.displayName||`Context`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 26:case 27:case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return C(t);case 8:return t===Of?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==`string`)return t[n].name}if(e.return!==null)return T(e.return)}return null}function re(e){return{current:e}}function E(e,t){0>Kf?console.error(`Unexpected pop.`):(t!==Gf[Kf]&&console.error(`Unexpected Fiber popped.`),e.current=Wf[Kf],Wf[Kf]=null,Gf[Kf]=null,Kf--)}function D(e,t,n){Kf++,Wf[Kf]=e.current,Gf[Kf]=n,e.current=t}function ie(e){return e===null&&console.error(`Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.`),e}function ae(e,t){D(Yf,t,e),D(Jf,e,e),D(qf,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?`#document`:`#fragment`,t=(t=t.documentElement)&&(t=t.namespaceURI)?Fu(t):HS;break;default:if(n=t.tagName,t=t.namespaceURI)t=Fu(t),t=Iu(t,n);else switch(n){case`svg`:t=US;break;case`math`:t=WS;break;default:t=HS}}n=n.toLowerCase(),n=Bt(null,n),n={context:t,ancestorInfo:n},E(qf,e),D(qf,n,e)}function O(e){E(qf,e),E(Jf,e),E(Yf,e)}function k(){return ie(qf.current)}function oe(e){e.memoizedState!==null&&D(Xf,e,e);var t=ie(qf.current),n=e.type,r=Iu(t.context,n);n=Bt(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(D(Jf,e,e),D(qf,r,e))}function se(e){Jf.current===e&&(E(qf,e),E(Jf,e)),Xf.current===e&&(E(Xf,e),yC._currentValue=vC)}function ce(){}function le(){if(Zf===0){Qf=console.log,$f=console.info,ep=console.warn,tp=console.error,np=console.group,rp=console.groupCollapsed,ip=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Zf++}function ue(){if(Zf--,Zf===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},e,{value:Qf}),info:W({},e,{value:$f}),warn:W({},e,{value:ep}),error:W({},e,{value:tp}),group:W({},e,{value:np}),groupCollapsed:W({},e,{value:rp}),groupEnd:W({},e,{value:ip})})}0>Zf&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function A(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
15
- `)&&(e=e.slice(29)),t=e.indexOf(`
16
- `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
17
- `,t)),t!==-1)e=e.slice(0,t);else return``;return e}function de(e){if(ap===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ap=t&&t[1]||``,op=-1<e.stack.indexOf(`
18
- at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
19
- `+ap+e+op}function fe(e,t){if(!e||sp)return``;var n=cp.get(e);if(n!==void 0)return n;sp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=G.H,G.H=null,le();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
20
- `),u=c.split(`
21
- `);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
22
- `+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&cp.set(e,d),d}while(1<=a&&0<=o);break}}}finally{sp=!1,G.H=r,ue(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?de(l):``,typeof e==`function`&&cp.set(e,l),l}function pe(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de(`Lazy`);case 13:return e.child!==t&&t!==null?de(`Suspense Fallback`):de(`Suspense`);case 19:return de(`SuspenseList`);case 0:case 15:return fe(e.type,!1);case 11:return fe(e.type.render,!1);case 1:return fe(e.type,!0);case 31:return de(`Activity`);default:return``}}function me(e){try{var t=``,n=null;do{t+=pe(e,n);var r=e._debugInfo;if(r)for(var i=r.length-1;0<=i;i--){var a=r[i];if(typeof a.name==`string`){var o=t;a:{var s=a.name,c=a.env,l=a.debugLocation;if(l!=null){var u=A(l),d=u.lastIndexOf(`
23
- `),f=d===-1?u:u.slice(d+1);if(f.indexOf(s)!==-1){var p=`
24
- `+f;break a}}p=de(s+(c?` [`+c+`]`:``))}t=o+p}}n=e,e=e.return}while(e);return t}catch(e){return`
25
- Error generating stack: `+e.message+`
26
- `+e.stack}}function he(e){return(e=e?e.displayName||e.name:``)?de(e):``}function ge(){if(lp===null)return null;var e=lp._debugOwner;return e==null?null:w(e)}function _e(){if(lp===null)return``;var e=lp;try{var t=``;switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=de(e.type);break;case 13:t+=de(`Suspense`);break;case 19:t+=de(`SuspenseList`);break;case 31:t+=de(`Activity`);break;case 30:case 0:case 15:case 1:e._debugOwner||t!==``||(t+=he(e.type));break;case 11:e._debugOwner||t!==``||(t+=he(e.type.render))}for(;e;)if(typeof e.tag==`number`){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var i=A(r);i!==``&&(t+=`
27
- `+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
28
- `+A(a))}else break;var o=t}catch(e){o=`
29
- Error generating stack: `+e.message+`
30
- `+e.stack}return o}function j(e,t,n,r,i,a,o){var s=lp;ve(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,r,i,a,o)):t(n,r,i,a,o)}finally{ve(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function ve(e){G.getCurrentStack=e===null?null:_e,up=!1,lp=e}function ye(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function be(e){try{return xe(e),!1}catch{return!0}}function xe(e){return``+e}function Se(e,t){if(be(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ye(e)),xe(e)}function Ce(e,t){if(be(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,ye(e)),xe(e)}function we(e){if(be(e))return console.error(`Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.`,ye(e)),xe(e)}function Te(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error(`The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools`),!0;try{Tp=t.inject(e),Ep=t}catch(e){console.error(`React instrumentation encountered an error: %o.`,e)}return!!t.checkDCE}function Ee(e){if(typeof Cp==`function`&&wp(e),Ep&&typeof Ep.setStrictMode==`function`)try{Ep.setStrictMode(Tp,e)}catch(e){Dp||(Dp=!0,console.error(`React instrumentation encountered an error: %o`,e))}}function De(e){return e>>>=0,e===0?32:31-(Ap(e)/jp|0)|0}function Oe(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error(`Should have found matching lanes. This is a bug in React.`),e}}function ke(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Oe(n))):i=Oe(o):i=Oe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Oe(n))):i=Oe(o)):i=Oe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ae(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function je(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error(`Should have found matching lanes. This is a bug in React.`),-1}}function Me(){var e=Pp;return Pp<<=1,!(Pp&62914560)&&(Pp=4194304),e}function Ne(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Pe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Fe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-kp(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Ie(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ie(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-kp(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Le(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-kp(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Re(e,t){var n=t&-t;return n=n&42?1:ze(n),(n&(e.suspendedLanes|t))===0?n:0}function ze(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Be(e,t,n){if(Op)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-kp(n),i=1<<r;e[r].add(t),n&=~i}}function Ve(e,t){if(Op)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var i=31-kp(t);e=1<<i,i=n[i],0<i.size&&(i.forEach(function(e){var t=e.alternate;t!==null&&r.has(t)||r.add(e)}),i.clear()),t&=~e}}function He(e){return e&=-e,Fp!==0&&Fp<e?Ip!==0&&Ip<e?e&134217727?Lp:Rp:Ip:Fp}function Ue(){var e=Hf.p;return e===0?(e=window.event,e===void 0?Lp:of(e.type)):e}function We(e,t){var n=Hf.p;try{return Hf.p=e,t()}finally{Hf.p=n}}function Ge(e){delete e[Bp],delete e[Vp],delete e[Up],delete e[Wp],delete e[Gp]}function Ke(e){var t=e[Bp];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hp]||n[Bp]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gd(e);e!==null;){if(n=e[Bp])return n;e=gd(e)}return t}e=n,n=e.parentNode}return null}function qe(e){if(e=e[Bp]||e[Hp]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Je(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function Ye(e){var t=e[Kp];return t||=e[Kp]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Xe(e){e[qp]=!0}function Ze(e,t){Qe(e,t),Qe(e+`Capture`,t)}function Qe(e,t){Yp[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Yp[e]=t;var n=e.toLowerCase();for(Xp[n]=e,e===`onDoubleClick`&&(Xp.ondblclick=e),e=0;e<t.length;e++)Jp.add(t[e])}function $e(e,t){Zp[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e===`select`?"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 `onChange`.":"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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("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 et(e){return dp.call(em,e)?!0:dp.call($p,e)?!1:Qp.test(e)?em[e]=!0:($p[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tt(e,t,n){if(et(t)){if(!e.hasAttribute(t)){switch(typeof n){case`symbol`:case`object`:return n;case`function`:return n;case`boolean`:if(!1===n)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===``&&!0===n?!0:(Se(n,t),e===``+n?n:e)}}function nt(e,t,n){if(et(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}Se(n,t),e.setAttribute(t,``+n)}}function rt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}Se(n,t),e.setAttribute(t,``+n)}}function it(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}Se(r,n),e.setAttributeNS(t,n,``+r)}}function at(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return we(e),e;default:return``}}function ot(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function st(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){we(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){we(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ct(e){if(!e._valueTracker){var t=ot(e)?`checked`:`value`;e._valueTracker=st(e,t,``+e[t])}}function lt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ot(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function ut(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function dt(e){return e.replace(tm,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function ft(e,t){t.checked===void 0||t.defaultChecked===void 0||rm||(console.error(`%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://react.dev/link/controlled-components`,ge()||`A component`,t.type),rm=!0),t.value===void 0||t.defaultValue===void 0||nm||(console.error(`%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://react.dev/link/controlled-components`,ge()||`A component`,t.type),nm=!0)}function pt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(Se(o,`type`),e.type=o):e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+at(t)):e.value!==``+at(t)&&(e.value=``+at(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):ht(e,o,at(n)):ht(e,o,at(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?(Se(s,`name`),e.name=``+at(s)):e.removeAttribute(`name`)}function mt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(Se(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){ct(e);return}n=n==null?``:``+at(n),t=t==null?n:``+at(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(Se(o,`name`),e.name=o),ct(e)}function ht(e,t,n){t===`number`&&ut(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function gt(e,t){t.value??(typeof t.children==`object`&&t.children!==null?Sf.Children.forEach(t.children,function(e){e==null||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||am||(am=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||om||(om=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||im||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),im=!0)}function _t(){var e=ge();return e?`
31
-
32
- Check the render method of \``+e+"`.":``}function vt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+at(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function yt(e,t){for(e=0;e<cm.length;e++){var n=cm[e];if(t[n]!=null){var r=Vf(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,_t()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,_t())}}t.value===void 0||t.defaultValue===void 0||sm||(console.error(`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://react.dev/link/controlled-components`),sm=!0)}function bt(e,t){t.value===void 0||t.defaultValue===void 0||lm||(console.error(`%s contains a textarea with both value and defaultValue props. 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://react.dev/link/controlled-components`,ge()||`A component`),lm=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function xt(e,t,n){if(t!=null&&(t=``+at(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+at(n)}function St(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Vf(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=at(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),ct(e)}function Ct(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Ct(e.children[0],t):e}function wt(e){return` `+` `.repeat(e)}function Tt(e){return`+ `+` `.repeat(e)}function Et(e){return`- `+` `.repeat(e)}function Dt(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return`Lazy`;case 31:return`Activity`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ot(e,t){return um.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?`{"..."}`:`{`+e.slice(0,t-7)+`..."}`:`{`+e+`}`):e.length>t?5>t?`{"..."}`:e.slice(0,t-3)+`...`:e}function kt(e,t,n){var r=120-2*n;if(t===null)return Tt(n)+Ot(e,r)+`
33
- `;if(typeof t==`string`){for(var i=0;i<t.length&&i<e.length&&t.charCodeAt(i)===e.charCodeAt(i);i++);return i>r-8&&10<i&&(e=`...`+e.slice(i-8),t=`...`+t.slice(i-8)),Tt(n)+Ot(e,r)+`
34
- `+Et(n)+Ot(t,r)+`
35
- `}return wt(n)+Ot(e,r)+`
36
- `}function At(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function jt(e,t){switch(typeof e){case`string`:return e=JSON.stringify(e),e.length>t?5>t?`"..."`:e.slice(0,t-4)+`..."`:e;case`object`:if(e===null)return`null`;if(Vf(e))return`[...]`;if(e.$$typeof===Tf)return(t=C(e.type))?`<`+t+`>`:`<...>`;var n=At(e);if(n===`Object`){for(var r in n=``,t-=2,e)if(e.hasOwnProperty(r)){var i=JSON.stringify(r);if(i!==`"`+r+`"`&&(r=i),t-=r.length-2,i=jt(e[r],15>t?t:15),t-=i.length,0>t){n+=n===``?`...`:`, ...`;break}n+=(n===``?``:`,`)+r+`:`+i}return`{`+n+`}`}return n;case`function`:return(t=e.displayName||e.name)?`function `+t:`function`;default:return String(e)}}function Mt(e,t){return typeof e!=`string`||um.test(e)?`{`+jt(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function Nt(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=Mt(t[a],120-n.length-a.length-1);r-=a.length+o.length+2,i.push(a+`=`+o)}return i.length===0?n+`<`+e+`>
37
- `:0<r?n+`<`+e+` `+i.join(` `)+`>
38
- `:n+`<`+e+`
39
- `+n+` `+i.join(`
40
- `+n+` `)+`
41
- `+n+`>
42
- `}function Pt(e,t,n){var r=``,i=W({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=jt(e[a],o);t.hasOwnProperty(a)?(o=jt(t[a],o),r+=Tt(n)+a+`: `+s+`
43
- `,r+=Et(n)+a+`: `+o+`
44
- `):r+=Tt(n)+a+`: `+s+`
45
- `}for(var c in i)i.hasOwnProperty(c)&&(e=jt(i[c],120-2*n-c.length-2),r+=Et(n)+c+`: `+e+`
46
- `);return r}function Ft(e,t,n,r){var i=``,a=new Map;for(l in n)n.hasOwnProperty(l)&&a.set(l.toLowerCase(),l);if(a.size===1&&a.has(`children`))i+=Nt(e,t,wt(r));else{for(var o in t)if(t.hasOwnProperty(o)&&o!==`children`){var s=120-2*(r+1)-o.length-1,c=a.get(o.toLowerCase());if(c!==void 0){a.delete(o.toLowerCase());var l=t[o];c=n[c];var u=Mt(l,s);s=Mt(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&At(l)===`Object`&&At(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=wt(r+1)+o+`={{
47
- `+Pt(l,c,r+2)+wt(r+1)+`}}
48
- `:(i+=Tt(r+1)+o+`=`+u+`
49
- `,i+=Et(r+1)+o+`=`+s+`
50
- `)}else i+=wt(r+1)+o+`=`+Mt(t[o],s)+`
51
- `}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=Et(r+1)+e+`=`+Mt(n[e],t)+`
52
- `}}),i=i===``?wt(r)+`<`+e+`>
53
- `:wt(r)+`<`+e+`
54
- `+i+wt(r)+`>
55
- `}return e=n.children,t=t.children,typeof e==`string`||typeof e==`number`||typeof e==`bigint`?(a=``,(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(a=``+t),i+=kt(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+kt(``+t,null,r+1):i+kt(``+t,void 0,r+1)),i}function It(e,t){var n=Dt(e);if(n===null){for(n=``,e=e.child;e;)n+=It(e,t),e=e.sibling;return n}return wt(t)+`<`+n+`>
56
- `}function Lt(e,t){var n=Ct(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return wt(t)+`...
57
- `+Lt(n,t+1);n=``;var r=e.fiber._debugInfo;if(r)for(var i=0;i<r.length;i++){var a=r[i].name;typeof a==`string`&&(n+=wt(t)+`<`+a+`>
58
- `,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=kt(i,e.serverProps,t),t++;else if(a=Dt(e.fiber),a!==null)if(e.serverProps===void 0){r=t;var o=120-2*r-a.length-2,s=``;for(l in i)if(i.hasOwnProperty(l)&&l!==`children`){var c=Mt(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=wt(r)+`<`+a+s+`>
59
- `,t++}else e.serverProps===null?(r=Nt(a,i,Tt(t)),t++):typeof e.serverProps==`string`?console.error(`Should not have matched a non HostText fiber to a Text node. This is a bug in React.`):(r=Ft(a,i,e.serverProps,t),t++);var l=``;for(i=e.fiber.child,a=0;i&&a<e.children.length;)o=e.children[a],o.fiber===i?(l+=Lt(o,t),a++):l+=It(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=wt(t)+`...
60
- `),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(Et(t)+Ot(a,120-2*t)+`
61
- `):l+Nt(a.type,a.props,Et(t));return n+r+l}function Rt(e){try{return`
62
-
63
- `+Lt(e,0)}catch{return``}}function zt(e,t,n){for(var r=t,i=null,a=0;r;)r===e&&(a=0),i={fiber:r,children:i===null?[]:[i],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return i===null?``:Rt(i).replaceAll(/^[+-]/gm,`>`)}function Bt(e,t){var n=W({},e||hm),r={tag:t};return fm.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),pm.indexOf(t)!==-1&&(n.pTagInButtonScope=null),dm.indexOf(t)!==-1&&t!==`address`&&t!==`div`&&t!==`p`&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t===`form`&&(n.formTag=r),t===`a`&&(n.aTagInScope=r),t===`button`&&(n.buttonTagInScope=r),t===`nobr`&&(n.nobrTagInScope=r),t===`p`&&(n.pTagInButtonScope=r),t===`li`&&(n.listItemTagAutoclosing=r),(t===`dd`||t===`dt`)&&(n.dlItemTagAutoclosing=r),t===`#document`||t===`html`?n.containerTagInScope=null:n.containerTagInScope||=r,e!==null||t!==`#document`&&t!==`html`&&t!==`body`?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Vt(e,t,n){switch(t){case`select`:return e===`hr`||e===`option`||e===`optgroup`||e===`script`||e===`template`||e===`#text`;case`optgroup`:return e===`option`||e===`#text`;case`option`:return e===`#text`;case`tr`:return e===`th`||e===`td`||e===`style`||e===`script`||e===`template`;case`tbody`:case`thead`:case`tfoot`:return e===`tr`||e===`style`||e===`script`||e===`template`;case`colgroup`:return e===`col`||e===`template`;case`table`:return e===`caption`||e===`colgroup`||e===`tbody`||e===`tfoot`||e===`thead`||e===`style`||e===`script`||e===`template`;case`head`:return e===`base`||e===`basefont`||e===`bgsound`||e===`link`||e===`meta`||e===`title`||e===`noscript`||e===`noframes`||e===`style`||e===`script`||e===`template`;case`html`:if(n)break;return e===`head`||e===`body`||e===`frameset`;case`frameset`:return e===`frame`;case`#document`:if(!n)return e===`html`}switch(e){case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t!==`h1`&&t!==`h2`&&t!==`h3`&&t!==`h4`&&t!==`h5`&&t!==`h6`;case`rp`:case`rt`:return mm.indexOf(t)===-1;case`caption`:case`col`:case`colgroup`:case`frameset`:case`frame`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return t==null;case`head`:return n||t===null;case`html`:return n&&t===`#document`||t===null;case`body`:return n&&(t===`#document`||t===`html`)||t===null}return!0}function Ht(e,t){switch(e){case`address`:case`article`:case`aside`:case`blockquote`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`main`:case`menu`:case`nav`:case`ol`:case`p`:case`section`:case`summary`:case`ul`:case`pre`:case`listing`:case`table`:case`hr`:case`xmp`:case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t.pTagInButtonScope;case`form`:return t.formTag||t.pTagInButtonScope;case`li`:return t.listItemTagAutoclosing;case`dd`:case`dt`:return t.dlItemTagAutoclosing;case`button`:return t.buttonTagInScope;case`a`:return t.aTagInScope;case`nobr`:return t.nobrTagInScope}return null}function Ut(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Wt(e,t){t||=hm;var n=t.current;if(t=(n=Vt(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Ht(e,t),t=n||t,!t)return!0;var r=t.tag;if(t=String(!!n)+`|`+e+`|`+r,gm[t])return!1;gm[t]=!0;var i=(t=lp)?Ut(t.return,r):null,a=t!==null&&i!==null?zt(i,t,null):``,o=`<`+e+`>`;return n?(n=``,r===`table`&&e===`tr`&&(n+=` Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.`),console.error(`In HTML, %s cannot be a child of <%s>.%s
64
- This will cause a hydration error.%s`,o,r,n,a)):console.error(`In HTML, %s cannot be a descendant of <%s>.
65
- This will cause a hydration error.%s`,o,r,a),t&&(e=t.return,i===null||e===null||i===e&&e._debugOwner===t._debugOwner||j(i,function(){console.error(`<%s> cannot contain a nested %s.
66
- See this log for the ancestor stack trace.`,r,o)})),!1}function Gt(e,t,n){if(n||Vt(`#text`,t,!1))return!0;if(n=`#text|`+t,gm[n])return!1;gm[n]=!0;var r=(n=lp)?Ut(n,t):null;return n=n!==null&&r!==null?zt(r,n,n.tag===6?null:{children:null}):``,/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
67
- This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
68
- This will cause a hydration error.%s`,t,n),!1}function Kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function qt(e){return e.replace(Sm,function(e,t){return t.toUpperCase()})}function Jt(e,t,n){var r=t.indexOf(`--`)===0;r||(-1<t.indexOf(`-`)?wm.hasOwnProperty(t)&&wm[t]||(wm[t]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,t,qt(t.replace(xm,`ms-`)))):bm.test(t)?wm.hasOwnProperty(t)&&wm[t]||(wm[t]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,t,t.charAt(0).toUpperCase()+t.slice(1))):!Cm.test(n)||Tm.hasOwnProperty(n)&&Tm[n]||(Tm[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Cm,``))),typeof n==`number`&&(isNaN(n)?Em||(Em=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Dm||(Dm=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Om.has(t)?t===`float`?e.cssFloat=n:(Ce(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function Yt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var r={};if(n){for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))for(var a=_m[i]||[i],o=0;o<a.length;o++)r[a[o]]=i}for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(i=_m[s]||[s],a=0;a<i.length;a++)r[i[a]]=s;for(var c in s={},t)for(i=_m[c]||[c],a=0;a<i.length;a++)s[i[a]]=c;for(var l in c={},r)if(i=r[l],(a=s[l])&&i!==a&&(o=i+`,`+a,!c[o])){c[o]=!0,o=console;var u=t[i];o.error.call(o,`%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.`,u==null||typeof u==`boolean`||u===``?`Removing`:`Updating`,i,a)}}for(var d in n)!n.hasOwnProperty(d)||t!=null&&t.hasOwnProperty(d)||(d.indexOf(`--`)===0?e.setProperty(d,``):d===`float`?e.cssFloat=``:e[d]=``);for(var f in t)l=t[f],t.hasOwnProperty(f)&&n[f]!==l&&Jt(e,f,l)}else for(r in t)t.hasOwnProperty(r)&&Jt(e,r,t[r])}function Xt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}function Zt(e){return jm.get(e)||e}function Qt(e,t){if(dp.call(Pm,t)&&Pm[t])return!0;if(Im.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Nm.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Pm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Pm[t]=!0}if(Fm.test(t)){if(e=t.toLowerCase(),e=Nm.hasOwnProperty(e)?e:null,e==null)return Pm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Pm[t]=!0)}return!0}function $t(e,t){var n=[],r;for(r in t)Qt(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function en(e,t,n,r){if(dp.call(Rm,t)&&Rm[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`onfocusout`)return console.error(`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.`),Rm[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Rm[t]=!0;if(zm.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Rm[t]=!0}else if(zm.test(t))return Bm.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Rm[t]=!0;if(Vm.test(t)||Hm.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Rm[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Rm[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Rm[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Rm[t]=!0;if(Mm.hasOwnProperty(i)){if(i=Mm[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),Rm[t]=!0}else if(t!==i)return console.error("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.",t,i),Rm[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`?!0:(n?console.error('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,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
69
-
70
- If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
71
-
72
- If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),Rm[t]=!0)}case`function`:case`symbol`:return Rm[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`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".`,t,n),Rm[t]=!0}}return!0}function tn(e,t,n){var r=[],i;for(i in t)en(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`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://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`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://react.dev/link/attribute-behavior `,t,e)}function nn(e){return Um.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function rn(){}function an(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function on(e){var t=qe(e);if(t&&(e=t.stateNode)){var n=e[Vp]||null;a:switch(e=t.stateNode,t.type){case`input`:if(pt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Se(t,`name`),n=n.querySelectorAll(`input[name="`+dt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Vp]||null;if(!i)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");pt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&lt(r)}break a;case`textarea`:xt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&vt(e,!!n.multiple,t,!1)}}}function sn(e,t,n){if(qm)return e(t,n);qm=!0;try{return e(t)}finally{if(qm=!1,(Gm!==null||Km!==null)&&(tl(),Gm&&(t=Gm,e=Km,Km=Gm=null,on(t),e)))for(t=0;t<e.length;t++)on(e[t])}}function cn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Vp]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function ln(){if($m)return $m;var e,t=Qm,n=t.length,r,i=`value`in Zm?Zm.value:Zm.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return $m=i.slice(e,1<r?1-r:void 0)}function un(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function dn(){return!0}function fn(){return!1}function pn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?dn:fn,this.isPropagationStopped=fn,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=dn)},persist:function(){},isPersistent:dn}),t}function mn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=_h[e])?!!t[e]:!1}function hn(){return mn}function gn(e,t){switch(e){case`keyup`:return wh.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==Th;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function _n(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function vn(e,t){switch(e){case`compositionend`:return _n(t);case`keypress`:return t.which===Ah?(Mh=!0,jh):null;case`textInput`:return e=t.data,e===jh&&Mh?null:e;default:return null}}function yn(e,t){if(Nh)return e===`compositionend`||!Eh&&gn(e,t)?(e=ln(),$m=Qm=Zm=null,Nh=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return kh&&t.locale!==`ko`?null:t.data;default:return null}}function bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Ph[e.type]:t===`textarea`}function xn(e){if(!Jm)return!1;e=`on`+e;var t=e in document;return t||=(t=document.createElement(`div`),t.setAttribute(e,`return;`),typeof t[e]==`function`),t}function Sn(e,t,n,r){Gm?Km?Km.push(r):Km=[r]:Gm=r,t=cu(t,`onChange`),0<t.length&&(n=new th(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function Cn(e){nu(e,0)}function wn(e){if(lt(Je(e)))return e}function Tn(e,t){if(e===`change`)return t}function En(){Fh&&(Fh.detachEvent(`onpropertychange`,Dn),Ih=Fh=null)}function Dn(e){if(e.propertyName===`value`&&wn(Ih)){var t=[];Sn(t,Ih,e,an(e)),sn(Cn,t)}}function On(e,t,n){e===`focusin`?(En(),Fh=t,Ih=n,Fh.attachEvent(`onpropertychange`,Dn)):e===`focusout`&&En()}function kn(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return wn(Ih)}function An(e,t){if(e===`click`)return wn(t)}function jn(e,t){if(e===`input`||e===`change`)return wn(t)}function Mn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function Nn(e,t){if(Rh(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!dp.call(t,i)||!Rh(e[i],t[i]))return!1}return!0}function Pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fn(e,t){var n=Pn(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Pn(n)}}function In(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?In(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ln(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ut(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=ut(e.document)}return t}function Rn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function zn(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uh||Bh==null||Bh!==ut(r)||(r=Bh,`selectionStart`in r&&Rn(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hh&&Nn(Hh,r)||(Hh=r,r=cu(Vh,`onSelect`),0<r.length&&(t=new th(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Bh)))}function Bn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}function Vn(e){if(Gh[e])return Gh[e];if(!Wh[e])return e;var t=Wh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kh)return Gh[e]=t[n];return e}function Hn(e,t){eg.set(e,t),Ze(t,[e])}function Un(e){for(var t=cg,n=0;n<e.length;n++){var r=e[n];if(typeof r==`object`&&r)if(Vf(r)&&r.length===2&&typeof r[0]==`string`){if(t!==cg&&t!==dg)return lg;t=dg}else return lg;else{if(typeof r==`function`||typeof r==`string`&&50<r.length||t!==cg&&t!==ug)return lg;t=ug}}return t}function Wn(e,t,n,r){for(var i in e)dp.call(e,i)&&i[0]!==`_`&&Gn(i,e[i],t,n,r)}function Gn(e,t,n,r,i){switch(typeof t){case`object`:if(t===null){t=`null`;break}else{if(t.$$typeof===Tf){var a=C(t.type)||`…`,o=t.key;t=t.props;var s=Object.keys(t),c=s.length;if(o==null&&c===0){t=`<`+a+` />`;break}if(3>r||c===1&&s[0]===`children`&&o==null){t=`<`+a+` … />`;break}for(var l in n.push([i+`\xA0\xA0`.repeat(r)+e,`<`+a]),o!==null&&Gn(`key`,o,n,r+1,i),e=!1,t)l===`children`?t.children!=null&&(!Vf(t.children)||0<t.children.length)&&(e=!0):dp.call(t,l)&&l[0]!==`_`&&Gn(l,t[l],n,r+1,i);n.push([``,e?`>…</`+a+`>`:`/>`]);return}if(a=Object.prototype.toString.call(t),a=a.slice(8,a.length-1),a===`Array`){if(l=Un(t),l===ug||l===cg){t=JSON.stringify(t);break}else if(l===dg){for(n.push([i+`\xA0\xA0`.repeat(r)+e,``]),e=0;e<t.length;e++)a=t[e],Gn(a[0],a[1],n,r+1,i);return}}if(a===`Promise`){if(t.status===`fulfilled`){if(a=n.length,Gn(e,t.value,n,r,i),n.length>a){n=n[a],n[1]=`Promise<`+(n[1]||`Object`)+`>`;return}}else if(t.status===`rejected`&&(a=n.length,Gn(e,t.reason,n,r,i),n.length>a)){n=n[a],n[1]=`Rejected Promise<`+n[1]+`>`;return}n.push([`\xA0\xA0`.repeat(r)+e,`Promise`]);return}a===`Object`&&(l=Object.getPrototypeOf(t))&&typeof l.constructor==`function`&&(a=l.constructor.name),n.push([i+`\xA0\xA0`.repeat(r)+e,a===`Object`?3>r?``:`…`:a]),3>r&&Wn(t,n,r+1,i);return}case`function`:t=t.name===``?`() => {}`:t.name+`() {}`;break;case`string`:t=t===sg?`…`:JSON.stringify(t);break;case`undefined`:t=`undefined`;break;case`boolean`:t=t?`true`:`false`;break;default:t=String(t)}n.push([i+`\xA0\xA0`.repeat(r)+e,t])}function Kn(e,t,n,r){var i=!0;for(o in e)o in t||(n.push([fg+`\xA0\xA0`.repeat(r)+o,`…`]),i=!1);for(var a in t)if(a in e){var o=e[a],s=t[a];if(o!==s){if(r===0&&a===`children`)i=`\xA0\xA0`.repeat(r)+a,n.push([fg+i,`…`],[pg+i,`…`]);else{if(!(3<=r)){if(typeof o==`object`&&typeof s==`object`&&o!==null&&s!==null&&o.$$typeof===s.$$typeof)if(s.$$typeof===Tf){if(o.type===s.type&&o.key===s.key){o=C(s.type)||`…`,i=`\xA0\xA0`.repeat(r)+a,o=`<`+o+` … />`,n.push([fg+i,o],[pg+i,o]),i=!1;continue}}else{var c=Object.prototype.toString.call(o),l=Object.prototype.toString.call(s);if(c===l&&(l===`[object Object]`||l===`[object Array]`)){c=[mg+`\xA0\xA0`.repeat(r)+a,l===`[object Array]`?`Array`:``],n.push(c),l=n.length,Kn(o,s,n,r+1)?l===n.length&&(c[1]=`Referentially unequal but deeply equal objects. Consider memoization.`):i=!1;continue}}else if(typeof o==`function`&&typeof s==`function`&&o.name===s.name&&o.length===s.length&&(c=Function.prototype.toString.call(o),l=Function.prototype.toString.call(s),c===l)){o=s.name===``?`() => {}`:s.name+`() {}`,n.push([mg+`\xA0\xA0`.repeat(r)+a,o+` Referentially unequal function closure. Consider memoization.`]);continue}}Gn(a,o,n,r,fg),Gn(a,s,n,r,pg)}i=!1}}else n.push([pg+`\xA0\xA0`.repeat(r)+a,`…`]),i=!1;return i}function qn(e){vg=e&63?`Blocking`:e&64?`Gesture`:e&4194176?`Transition`:e&62914560?`Suspense`:e&2080374784?`Idle`:`Other`}function Jn(e,t,n,r){hg&&(xg.start=t,xg.end=n,bg.color=`warning`,bg.tooltipText=r,bg.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,xg)):performance.measure(r,xg))}function Yn(e,t,n){Jn(e,t,n,`Reconnect`)}function Xn(e,t,n,r,i){var a=T(e);if(a!==null&&hg){var o=e.alternate,s=e.actualDuration;if(o===null||o.child!==e.child)for(var c=e.child;c!==null;c=c.sibling)s-=c.actualDuration;r=.5>s?r?`tertiary-light`:`primary-light`:10>s?r?`tertiary`:`primary`:100>s?r?`tertiary-dark`:`primary-dark`:`error`;var l=e.memoizedProps;s=e._debugTask,l!==null&&o!==null&&o.memoizedProps!==l?(c=[Sg],l=Kn(o.memoizedProps,l,c,0),1<c.length&&(l&&!yg&&(o.lanes&i)===0&&100<e.actualDuration?(yg=!0,c[0]=wg,bg.color=`warning`,bg.tooltipText=Cg):(bg.color=r,bg.tooltipText=a),bg.properties=c,xg.start=t,xg.end=n,s==null?performance.measure(`​`+a,xg):s.run(performance.measure.bind(performance,`​`+a,xg)))):s==null?console.timeStamp(a,t,n,gg,void 0,r):s.run(console.timeStamp.bind(console,a,t,n,gg,void 0,r))}}function Zn(e,t,n,r){if(hg){var i=T(e);if(i!==null){for(var a=null,o=[],s=0;s<r.length;s++){var c=r[s];a==null&&c.source!==null&&(a=c.source._debugTask),c=c.value,o.push([`Error`,typeof c==`object`&&c&&typeof c.message==`string`?String(c.message):String(c)])}e.key!==null&&Gn(`key`,e.key,o,0,``),e.memoizedProps!==null&&Wn(e.memoizedProps,o,0,``),a??=e._debugTask,e={start:t,end:n,detail:{devtools:{color:`error`,track:gg,tooltipText:e.tag===13?`Hydration failed`:`Error boundary caught an error`,properties:o}}},a?a.run(performance.measure.bind(performance,`​`+i,e)):performance.measure(`​`+i,e)}}}function Qn(e,t,n,r,i){if(i!==null){if(hg){var a=T(e);if(a!==null){r=[];for(var o=0;o<i.length;o++){var s=i[o].value;r.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e.key!==null&&Gn(`key`,e.key,r,0,``),e.memoizedProps!==null&&Wn(e.memoizedProps,r,0,``),t={start:t,end:n,detail:{devtools:{color:`error`,track:gg,tooltipText:`A lifecycle or effect errored`,properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,`​`+a,t)):performance.measure(`​`+a,t)}}}else a=T(e),a!==null&&hg&&(i=1>r?`secondary-light`:100>r?`secondary`:500>r?`secondary-dark`:`error`,(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,gg,void 0,i)):console.timeStamp(a,t,n,gg,void 0,i))}function $n(e,t,n,r){if(hg&&!(t<=e)){var i=(n&738197653)===n?`tertiary-dark`:`primary-dark`;n=(n&536870912)===n?`Prepared`:(n&201326741)===n?`Hydrated`:`Render`,r?r.run(console.timeStamp.bind(console,n,e,t,vg,_g,i)):console.timeStamp(n,e,t,vg,_g,i)}}function er(e,t,n,r){!hg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Prewarm`,e,t,vg,_g,n)):console.timeStamp(`Prewarm`,e,t,vg,_g,n))}function tr(e,t,n,r){!hg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Suspended`,e,t,vg,_g,n)):console.timeStamp(`Suspended`,e,t,vg,_g,n))}function nr(e,t,n,r,i,a){if(hg&&!(t<=e)){n=[];for(var o=0;o<r.length;o++){var s=r[o].value;n.push([`Recoverable Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`primary-dark`,track:vg,trackGroup:_g,tooltipText:i?`Hydration Failed`:`Recovered after Error`,properties:n}}},a?a.run(performance.measure.bind(performance,`Recovered`,e)):performance.measure(`Recovered`,e)}}function rr(e,t,n,r){!hg||t<=e||(r?r.run(console.timeStamp.bind(console,`Errored`,e,t,vg,_g,`error`)):console.timeStamp(`Errored`,e,t,vg,_g,`error`))}function ir(e,t,n,r){!hg||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,vg,_g,`secondary-light`)):console.timeStamp(n,e,t,vg,_g,`secondary-light`))}function ar(e,t,n,r,i){if(hg&&!(t<=e)){for(var a=[],o=0;o<n.length;o++){var s=n[o].value;a.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`error`,track:vg,trackGroup:_g,tooltipText:r?`Remaining Effects Errored`:`Commit Errored`,properties:a}}},i?i.run(performance.measure.bind(performance,`Errored`,e)):performance.measure(`Errored`,e)}}function or(e,t,n){!hg||t<=e||(n?n.run(console.timeStamp.bind(console,`Animating`,e,t,vg,_g,`secondary-dark`)):console.timeStamp(`Animating`,e,t,vg,_g,`secondary-dark`))}function sr(){for(var e=Og,t=kg=Og=0;t<e;){var n=Dg[t];Dg[t++]=null;var r=Dg[t];Dg[t++]=null;var i=Dg[t];Dg[t++]=null;var a=Dg[t];if(Dg[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&dr(n,i,a)}}function cr(e,t,n,r){Dg[Og++]=e,Dg[Og++]=t,Dg[Og++]=n,Dg[Og++]=r,kg|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function lr(e,t,n,r){return cr(e,t,n,r),fr(e)}function ur(e,t){return cr(e,null,null,t),fr(e)}function dr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&Tg||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-kp(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function fr(e){if(Gx>Wx)throw Xx=Gx=0,Zx=Kx=null,Error(`Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.`);Xx>Yx&&(Xx=0,Zx=null,console.error(`Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.`)),e.alternate===null&&e.flags&4098&&zl(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&zl(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function pr(e){if(jg===null)return e;var t=jg(e);return t===void 0?e:t.current}function mr(e){if(jg===null)return e;var t=jg(e);return t===void 0?e!=null&&typeof e.render==`function`&&(t=pr(e.render),e.render!==t)?(t={$$typeof:Mf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function hr(e,t){if(jg===null)return!1;var n=e.elementType;t=t.type;var r=!1,i=typeof t==`object`&&t?t.$$typeof:null;switch(e.tag){case 1:typeof t==`function`&&(r=!0);break;case 0:(typeof t==`function`||i===If)&&(r=!0);break;case 11:(i===Mf||i===If)&&(r=!0);break;case 14:case 15:(i===Ff||i===If)&&(r=!0);break;default:return!1}return!!(r&&(e=jg(n),e!==void 0&&e===jg(t)))}function gr(e){jg!==null&&typeof WeakSet==`function`&&(Mg===null&&(Mg=new WeakSet),Mg.add(e))}function _r(e,t,n){do{var r=e,i=r.alternate,a=r.child,o=r.sibling,s=r.tag;r=r.type;var c=null;switch(s){case 0:case 15:case 1:c=r;break;case 11:c=r.render}if(jg===null)throw Error(`Expected resolveFamily to be set during hot reload.`);var l=!1;if(r=!1,c!==null&&(c=jg(c),c!==void 0&&(n.has(c)?r=!0:t.has(c)&&(s===1?r=!0:l=!0))),Mg!==null&&(Mg.has(e)||i!==null&&Mg.has(i))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||l)&&(i=ur(e,2),i!==null&&Xc(i,e,2)),a===null||r||_r(a,t,n),o===null)break;e=o}while(1)}function vr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Lg||typeof Object.preventExtensions!=`function`||Object.preventExtensions(this)}function yr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function br(e,t){var n=e.alternate;switch(n===null?(n=p(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=pr(e.type);break;case 1:n.type=pr(e.type);break;case 11:n.type=mr(e.type)}return n}function xr(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Sr(e,t,n,r,i,a){var o=0,s=e;if(typeof e==`function`)yr(e)&&(o=1),s=pr(s);else if(typeof e==`string`)o=k(),o=Rd(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case Lf:return t=p(31,n,t,i),t.elementType=Lf,t.lanes=a,t;case Df:return wr(n.children,i,a,t);case Of:o=8,i|=Pg,i|=Fg;break;case kf:return e=n,r=i,typeof e.id!=`string`&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=p(12,e,t,r|q),t.elementType=kf,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Nf:return t=p(13,n,t,i),t.elementType=Nf,t.lanes=a,t;case Pf:return t=p(19,n,t,i),t.elementType=Pf,t.lanes=a,t;default:if(typeof e==`object`&&e)switch(e.$$typeof){case jf:o=10;break a;case Af:o=9;break a;case Mf:o=11,s=mr(s);break a;case Ff:o=14;break a;case If:o=16,s=null;break a}s=``,(e===void 0||typeof e==`object`&&e&&Object.keys(e).length===0)&&(s+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),e===null?n=`null`:Vf(e)?n=`array`:e!==void 0&&e.$$typeof===Tf?(n=`<`+(C(e.type)||`Unknown`)+` />`,s=` Did you accidentally export a JSX literal instead of a component?`):n=typeof e,(o=r?w(r):null)&&(s+=`
73
-
74
- Check the render method of \``+o+"`."),o=29,n=Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+(n+`.`+s)),s=null}return t=p(o,n,t,i),t.elementType=e,t.type=s,t.lanes=a,t._debugOwner=r,t}function Cr(e,t,n){return t=Sr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function wr(e,t,n,r){return e=p(7,e,r,t),e.lanes=n,e}function Tr(e,t,n){return e=p(6,e,null,t),e.lanes=n,e}function Er(e){var t=p(18,null,null,K);return t.stateNode=e,t}function Dr(e,t,n){return t=p(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Or(e,t){if(typeof e==`object`&&e){var n=zg.get(e);return n===void 0?(t={value:e,source:t,stack:me(t)},zg.set(e,t),t):n}return{value:e,source:t,stack:me(t)}}function kr(e,t){Fr(),Bg[Vg++]=Ug,Bg[Vg++]=Hg,Hg=e,Ug=t}function Ar(e,t,n){Fr(),Wg[Gg++]=qg,Wg[Gg++]=Jg,Wg[Gg++]=Kg,Kg=e;var r=qg;e=Jg;var i=32-kp(r)-1;r&=~(1<<i),n+=1;var a=32-kp(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,qg=1<<32-kp(t)+i|n<<i|r,Jg=a+e}else qg=1<<a|n<<i|r,Jg=e}function jr(e){Fr(),e.return!==null&&(kr(e,1),Ar(e,1,0))}function Mr(e){for(;e===Hg;)Hg=Bg[--Vg],Bg[Vg]=null,Ug=Bg[--Vg],Bg[Vg]=null;for(;e===Kg;)Kg=Wg[--Gg],Wg[Gg]=null,Jg=Wg[--Gg],Wg[Gg]=null,qg=Wg[--Gg],Wg[Gg]=null}function Nr(){return Fr(),Kg===null?null:{id:qg,overflow:Jg}}function Pr(e,t){Fr(),Wg[Gg++]=qg,Wg[Gg++]=Jg,Wg[Gg++]=Kg,qg=t.id,Jg=t.overflow,Kg=e}function Fr(){Zg||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function Ir(e,t){if(e.return===null){if($g===null)$g={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if($g.fiber!==e)throw Error(`Saw multiple hydration diff roots in a pass. This is a bug in React.`);$g.distanceFromLeaf>t&&($g.distanceFromLeaf=t)}return $g}var n=Ir(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Lr(){Zg&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function Rr(e,t){Qg||(e=Ir(e,0),e.serverProps=null,t!==null&&(t=pd(t),e.serverTail.push(t)))}function zr(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n=``,r=$g;throw r!==null&&($g=null,n=Rt(r)),Wr(Or(Error(`Hydration failed because the server rendered `+(t?`text`:`HTML`)+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
75
-
76
- - A server/client branch \`if (typeof window !== 'undefined')\`.
77
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
78
- - Date formatting in a user's locale which doesn't match the server.
79
- - External changing data without sending a snapshot of it along with the HTML.
80
- - Invalid HTML tag nesting.
81
-
82
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
83
-
84
- https://react.dev/link/hydration-mismatch`+n),e)),n_}function Br(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Bp]=e,t[Vp]=r,du(n,r),n){case`dialog`:H(`cancel`,t),H(`close`,t);break;case`iframe`:case`object`:case`embed`:H(`load`,t);break;case`video`:case`audio`:for(n=0;n<dS.length;n++)H(dS[n],t);break;case`source`:H(`error`,t);break;case`img`:case`image`:case`link`:H(`error`,t),H(`load`,t);break;case`details`:H(`toggle`,t);break;case`input`:$e(`input`,r),H(`invalid`,t),ft(t,r),mt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:gt(t,r);break;case`select`:$e(`select`,r),H(`invalid`,t),yt(t,r);break;case`textarea`:$e(`textarea`,r),H(`invalid`,t),bt(t,r),St(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||_u(t.textContent,n)?(r.popover!=null&&(H(`beforetoggle`,t),H(`toggle`,t)),r.onScroll!=null&&H(`scroll`,t),r.onScrollEnd!=null&&H(`scrollend`,t),r.onClick!=null&&(t.onclick=rn),t=!0):t=!1,t||zr(e,!0)}function M(e){for(Yg=e.return;Yg;)switch(Yg.tag){case 5:case 31:case 13:t_=!1;return;case 27:case 3:t_=!0;return;default:Yg=Yg.return}}function Vr(e){if(e!==Yg)return!1;if(!Zg)return M(e),Zg=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Lu(e.type,e.memoizedProps)),n=!n),n&&Xg){for(n=Xg;n;){var r=Ir(e,0),i=pd(n);r.serverTail.push(i),n=i.type===`Suspense`?hd(n):fd(n.nextSibling)}zr(e)}if(M(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);Xg=hd(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);Xg=hd(e)}else t===27?(t=Xg,Ju(e.type)?(e=tC,tC=null,Xg=e):Xg=t):Xg=Yg?fd(e.stateNode.nextSibling):null;return!0}function Hr(){Xg=Yg=null,Qg=Zg=!1}function Ur(){var e=e_;return e!==null&&(px===null?px=e:px.push.apply(px,e),e_=null),e}function Wr(e){e_===null?e_=[e]:e_.push(e)}function Gr(){var e=$g;if(e!==null){$g=null;for(var t=Rt(e);0<e.children.length;)e=e.children[0];j(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
85
-
86
- - A server/client branch \`if (typeof window !== 'undefined')\`.
87
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
88
- - Date formatting in a user's locale which doesn't match the server.
89
- - External changing data without sending a snapshot of it along with the HTML.
90
- - Invalid HTML tag nesting.
91
-
92
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
93
-
94
- %s%s`,`https://react.dev/link/hydration-mismatch`,t)})}}function Kr(){s_=o_=null,c_=!1}function qr(e,t,n){D(r_,t._currentValue,e),t._currentValue=n,D(i_,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==a_&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),t._currentRenderer=a_}function Jr(e,t){e._currentValue=r_.current;var n=i_.current;E(i_,t),e._currentRenderer=n,E(r_,t)}function Yr(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}e!==n&&console.error(`Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.`)}function Xr(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;a:for(;a!==null;){var s=a;a=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Yr(a.return,n,e),r||(o=null);break a}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(`We just came from a parent so we must have had a parent. This is a bug in React.`);o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Yr(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function Zr(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(`Should have a current fiber. This is a bug in React.`);if(o=o.memoizedProps,o!==null){var s=i.type;Rh(i.pendingProps.value,o.value)||(e===null?e=[s]:e.push(s))}}else if(i===Xf.current){if(o=i.alternate,o===null)throw Error(`Should have a current fiber. This is a bug in React.`);o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[yC]:e.push(yC))}i=i.return}e!==null&&Xr(t,e,n,r),t.flags|=262144}function Qr(e){for(e=e.firstContext;e!==null;){if(!Rh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function N(e){o_=e,s_=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $r(e){return c_&&console.error(`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().`),ti(o_,e)}function ei(e,t){return o_===null&&N(e),ti(e,t)}function ti(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},s_===null){if(e===null)throw Error(`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().`);s_=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else s_=s_.next=t;return n}function ni(){return{controller:new l_,data:new Map,refCount:0}}function ri(e){e.controller.signal.aborted&&console.warn(`A cache instance was retained after it was already freed. This likely indicates a bug in React.`),e.refCount++}function ii(e){e.refCount--,0>e.refCount&&console.warn(`A cache instance was released after it was already freed. This likely indicates a bug in React.`),e.refCount===0&&u_(d_,function(){e.controller.abort()})}function ai(e,t,n){e&127?0>D_&&(D_=p_(),O_=m_(t),A_=t,n!=null&&(j_=T(n)),(Vb&(Mb|Nb))!==jb&&(T_=!0,k_=h_),e=Bu(),t=zu(),e!==P_||t!==N_?P_=-1.1:t!==null&&(k_=h_),M_=e,N_=t):e&4194048&&0>R_&&(R_=p_(),B_=m_(t),V_=t,n!=null&&(H_=T(n)),0>L_)&&(e=Bu(),t=zu(),(e!==G_||t!==W_)&&(G_=-1.1),U_=e,W_=t)}function oi(e){if(0>D_){D_=p_(),O_=e._debugTask==null?null:e._debugTask,(Vb&(Mb|Nb))!==jb&&(k_=h_);var t=Bu(),n=zu();t!==P_||n!==N_?P_=-1.1:n!==null&&(k_=h_),M_=t,N_=n}0>R_&&(R_=p_(),B_=e._debugTask==null?null:e._debugTask,0>L_)&&(e=Bu(),t=zu(),(e!==G_||t!==W_)&&(G_=-1.1),U_=e,W_=t)}function si(){var e=S_;return S_=0,e}function ci(e){var t=S_;return S_=e,t}function li(e){var t=S_;return S_+=e,t}function ui(){Y=J=-1.1}function di(){var e=J;return J=-1.1,e}function fi(e){0<=e&&(J=e)}function pi(){var e=C_;return C_=-0,e}function mi(e){0<=e&&(C_=e)}function hi(){var e=w_;return w_=null,e}function gi(){var e=T_;return T_=!1,e}function _i(e){x_=p_(),0>e.actualStartTime&&(e.actualStartTime=x_)}function vi(e){if(0<=x_){var t=p_()-x_;e.actualDuration+=t,e.selfBaseDuration=t,x_=-1}}function yi(e){if(0<=x_){var t=p_()-x_;e.actualDuration+=t,x_=-1}}function bi(){if(0<=x_){var e=p_(),t=e-x_;x_=-1,S_+=t,C_+=t,Y=e}}function xi(e){w_===null&&(w_=[]),w_.push(e),b_===null&&(b_=[]),b_.push(e)}function Si(){x_=p_(),0>J&&(J=x_)}function Ci(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wi(e,t){if(tv===null){var n=tv=[];nv=0,rv=Zl(),iv={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return nv++,t.then(Ti,Ti),t}function Ti(){if(--nv===0&&(-1<R_||(L_=-1.1),tv!==null)){iv!==null&&(iv.status=`fulfilled`);var e=tv;tv=null,rv=0,iv=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ei(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}function Di(){var e=ov.current;return e===null?Hb.pooledCache:e}function P(e,t){t===null?D(ov,ov.current,e):D(ov,t.pool,e)}function Oi(){var e=Di();return e===null?null:{parent:f_._currentValue,pool:e}}function ki(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ai(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ji(e,t,n){G.actQueue!==null&&(G.didUsePromise=!0);var r=e.thenables;if(n=r[n],n===void 0?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error(`A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.`)),t.then(rn,rn),t=n),t._debugInfo===void 0){e=performance.now(),r=t.displayName;var i={name:typeof r==`string`?r:`Promise`,start:e,end:e,value:t};t._debugInfo=[{awaited:i}],t.status!==`fulfilled`&&t.status!==`rejected`&&(e=function(){i.end=performance.now()},t.then(e,e))}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Pi(e),e;default:if(typeof t.status==`string`)t.then(rn,rn);else{if(e=Hb,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Pi(e),e}throw zv=t,Bv=!0,Fv}}function Mi(e){try{return Pv(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(zv=e,Bv=!0,Fv):e}}function Ni(){if(zv===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=zv;return zv=null,Bv=!1,e}function Pi(e){if(e===Fv||e===Lv)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function F(e){var t=X;return e!=null&&(X=t===null?e:t.concat(e)),t}function Fi(){var e=X;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function I(e,t,n){for(var r=Object.keys(e.props),i=0;i<r.length;i++){var a=r[i];if(a!==`children`&&a!==`key`){t===null&&(t=Cr(e,n.mode,0),t._debugInfo=X,t.return=n),j(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Ii(e){var t=Hv;return Hv+=1,Vv===null&&(Vv=ki()),ji(Vv,e,t)}function Li(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ri(e,t){throw t.$$typeof===wf?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
95
- - Multiple copies of the "react" package is used.
96
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
97
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`))}function zi(e,t){var n=Fi();n===null?Ri(e,t):n.run(Ri.bind(null,e,t))}function Bi(e,t){var n=T(e)||`Component`;Kv[n]||(Kv[n]=!0,t=t.displayName||t.name||`Component`,e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
98
- root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
99
- <%s>{%s}</%s>`,t,t,n,t,n))}function Vi(e,t){var n=Fi();n===null?Bi(e,t):n.run(Bi.bind(null,e,t))}function Hi(e,t){var n=T(e)||`Component`;qv[n]||(qv[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
100
- root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
101
- <%s>%s</%s>`,n,t,n))}function Ui(e,t){var n=Fi();n===null?Hi(e,t):n.run(Hi.bind(null,e,t))}function Wi(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=br(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function s(e,t,n,r){return t===null||t.tag!==6?(t=Tr(n,e.mode,r),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=X,t):(t=i(t,n),t.return=e,t._debugInfo=X,t)}function c(e,t,n,r){var a=n.type;return a===Df?(t=u(e,t,n.props.children,r,n.key),I(n,t,e),t):t!==null&&(t.elementType===a||hr(t,n)||typeof a==`object`&&a&&a.$$typeof===If&&Mi(a)===t.type)?(t=i(t,n.props),Li(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=X,t):(t=Cr(n,e.mode,r),Li(t,n),t.return=e,t._debugInfo=X,t)}function l(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Dr(n,e.mode,r),t.return=e,t._debugInfo=X,t):(t=i(t,n.children||[]),t.return=e,t._debugInfo=X,t)}function u(e,t,n,r,a){return t===null||t.tag!==7?(t=wr(n,e.mode,r,a),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=X,t):(t=i(t,n),t.return=e,t._debugInfo=X,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Tr(``+t,e.mode,n),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=X,t;if(typeof t==`object`&&t){switch(t.$$typeof){case Tf:return n=Cr(t,e.mode,n),Li(n,t),n.return=e,e=F(t._debugInfo),n._debugInfo=X,X=e,n;case Ef:return t=Dr(t,e.mode,n),t.return=e,t._debugInfo=X,t;case If:var r=F(t._debugInfo);return t=Mi(t),e=f(e,t,n),X=r,e}if(Vf(t)||te(t))return n=wr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=F(t._debugInfo),n._debugInfo=X,X=e,n;if(typeof t.then==`function`)return r=F(t._debugInfo),e=f(e,Ii(t),n),X=r,e;if(t.$$typeof===jf)return f(e,ei(e,t),n);zi(e,t)}return typeof t==`function`&&Vi(e,t),typeof t==`symbol`&&Ui(e,t),null}function m(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?s(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case Tf:return n.key===i?(i=F(n._debugInfo),e=c(e,t,n,r),X=i,e):null;case Ef:return n.key===i?l(e,t,n,r):null;case If:return i=F(n._debugInfo),n=Mi(n),e=m(e,t,n,r),X=i,e}if(Vf(n)||te(n))return i===null?(i=F(n._debugInfo),e=u(e,t,n,r,null),X=i,e):null;if(typeof n.then==`function`)return i=F(n._debugInfo),e=m(e,t,Ii(n),r),X=i,e;if(n.$$typeof===jf)return m(e,t,ei(e,n),r);zi(e,n)}return typeof n==`function`&&Vi(e,n),typeof n==`symbol`&&Ui(e,n),null}function h(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,s(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case Tf:return n=e.get(r.key===null?n:r.key)||null,e=F(r._debugInfo),t=c(t,n,r,i),X=e,t;case Ef:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case If:var a=F(r._debugInfo);return r=Mi(r),t=h(e,t,n,r,i),X=a,t}if(Vf(r)||te(r))return n=e.get(n)||null,e=F(r._debugInfo),t=u(t,n,r,i,null),X=e,t;if(typeof r.then==`function`)return a=F(r._debugInfo),t=h(e,t,n,Ii(r),i),X=a,t;if(r.$$typeof===jf)return h(e,t,n,ei(t,r),i);zi(t,r)}return typeof r==`function`&&Vi(t,r),typeof r==`symbol`&&Ui(t,r),null}function g(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Tf:case Ef:d(e,t,n);var i=n.key;if(typeof i!=`string`)break;if(r===null){r=new Set,r.add(i);break}if(!r.has(i)){r.add(i);break}j(t,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",i)});break;case If:n=Mi(n),g(e,t,n,r)}return r}function _(i,o,s,c){for(var l=null,u=null,d=null,p=o,_=o=0,v=null;p!==null&&_<s.length;_++){p.index>_?(v=p,p=null):v=p.sibling;var y=m(i,p,s[_],c);if(y===null){p===null&&(p=v);break}l=g(i,y,s[_],l),e&&p&&y.alternate===null&&t(i,p),o=a(y,o,_),d===null?u=y:d.sibling=y,d=y,p=v}if(_===s.length)return n(i,p),Zg&&kr(i,_),u;if(p===null){for(;_<s.length;_++)p=f(i,s[_],c),p!==null&&(l=g(i,p,s[_],l),o=a(p,o,_),d===null?u=p:d.sibling=p,d=p);return Zg&&kr(i,_),u}for(p=r(p);_<s.length;_++)v=h(p,i,_,s[_],c),v!==null&&(l=g(i,v,s[_],l),e&&v.alternate!==null&&p.delete(v.key===null?_:v.key),o=a(v,o,_),d===null?u=v:d.sibling=v,d=v);return e&&p.forEach(function(e){return t(i,e)}),Zg&&kr(i,_),u}function v(i,o,s,c){if(s==null)throw Error(`An iterable object provided no iterator.`);for(var l=null,u=null,d=o,p=o=0,_=null,v=null,y=s.next();d!==null&&!y.done;p++,y=s.next()){d.index>p?(_=d,d=null):_=d.sibling;var b=m(i,d,y.value,c);if(b===null){d===null&&(d=_);break}v=g(i,b,y.value,v),e&&d&&b.alternate===null&&t(i,d),o=a(b,o,p),u===null?l=b:u.sibling=b,u=b,d=_}if(y.done)return n(i,d),Zg&&kr(i,p),l;if(d===null){for(;!y.done;p++,y=s.next())d=f(i,y.value,c),d!==null&&(v=g(i,d,y.value,v),o=a(d,o,p),u===null?l=d:u.sibling=d,u=d);return Zg&&kr(i,p),l}for(d=r(d);!y.done;p++,y=s.next())_=h(d,i,p,y.value,c),_!==null&&(v=g(i,_,y.value,v),e&&_.alternate!==null&&d.delete(_.key===null?p:_.key),o=a(_,o,p),u===null?l=_:u.sibling=_,u=_);return e&&d.forEach(function(e){return t(i,e)}),Zg&&kr(i,p),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===Df&&a.key===null&&(I(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Tf:var c=F(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===Df){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),s.return=e,s._debugOwner=a._owner,s._debugInfo=X,I(a,s,e),e=s;break a}}else if(r.elementType===l||hr(r,a)||typeof l==`object`&&l&&l.$$typeof===If&&Mi(l)===r.type){n(e,r.sibling),s=i(r,a.props),Li(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=X,e=s;break a}n(e,r);break}else t(e,r);r=r.sibling}a.type===Df?(s=wr(a.props.children,e.mode,s,a.key),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=X,I(a,s,e),e=s):(s=Cr(a,e.mode,s),Li(s,a),s.return=e,s._debugInfo=X,e=s)}return e=o(e),X=c,e;case Ef:a:{for(c=a,a=c.key;r!==null;){if(r.key===a)if(r.tag===4&&r.stateNode.containerInfo===c.containerInfo&&r.stateNode.implementation===c.implementation){n(e,r.sibling),s=i(r,c.children||[]),s.return=e,e=s;break a}else{n(e,r);break}else t(e,r);r=r.sibling}s=Dr(c,e.mode,s),s.return=e,e=s}return o(e);case If:return c=F(a._debugInfo),a=Mi(a),e=y(e,r,a,s),X=c,e}if(Vf(a))return c=F(a._debugInfo),e=_(e,r,a,s),X=c,e;if(te(a)){if(c=F(a._debugInfo),l=te(a),typeof l!=`function`)throw Error(`An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`);var u=l.call(a);return u===a?(e.tag!==0||Object.prototype.toString.call(e.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(u)!==`[object Generator]`)&&(Wv||console.error("Using Iterators 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. You can also use an Iterable that can iterate multiple times over the same items."),Wv=!0):a.entries!==l||Uv||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Uv=!0),e=v(e,r,u,s),X=c,e}if(typeof a.then==`function`)return c=F(a._debugInfo),e=y(e,r,Ii(a),s),X=c,e;if(a.$$typeof===jf)return y(e,r,ei(e,a),s);zi(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(c=``+a,r!==null&&r.tag===6?(n(e,r.sibling),s=i(r,c),s.return=e,e=s):(n(e,r),s=Tr(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=X,e=s),o(e)):(typeof a==`function`&&Vi(e,a),typeof a==`symbol`&&Ui(e,a),n(e,r))}return function(e,t,n,r){var i=X;X=null;try{Hv=0;var a=y(e,t,n,r);return Vv=null,a}catch(t){if(t===Fv||t===Lv)throw t;var o=p(29,t,null,e.mode);o.lanes=r,o.return=e;var s=o._debugInfo=X;if(o._debugOwner=e._debugOwner,o._debugTask=e._debugTask,s!=null){for(var c=s.length-1;0<=c;c--)if(typeof s[c].stack==`string`){o._debugOwner=s[c],o._debugTask=s[c].debugTask;break}}return o}finally{X=i}}}function Gi(e,t){var n=Vf(e);return e=!n&&typeof te(e)==`function`,n||e?(n=n?`array`:`iterable`,console.error(`A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>`,n,t,n),!1):!0}function Ki(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ji(e){return{lane:e,tag:Xv,payload:null,callback:null,next:null}}function Yi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ny===r&&!ty){var i=T(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
102
-
103
- Please update the following component: %s`,i),ty=!0}return(Vb&Mb)===jb?(cr(e,r,t,n),fr(e)):(i=r.pending,i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=fr(e),dr(e,null,n),t)}function Xi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Le(e,n)}}function Zi(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qi(){if(ry){var e=iv;if(e!==null)throw e}}function $i(e,t,n,r){ry=!1;var i=e.updateQueue;ey=!1,ny=i.shared;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?($&f)===f:(r&f)===f){f!==0&&f===rv&&(ry=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{f=e;var m=s,h=t,g=n;switch(m.tag){case Zv:if(m=m.payload,typeof m==`function`){c_=!0;var _=m.call(g,d,h);if(f.mode&Pg){Ee(!0);try{m.call(g,d,h)}finally{Ee(!1)}}c_=!1,d=_;break a}d=m;break a;case $v:f.flags=f.flags&-65537|128;case Xv:if(_=m.payload,typeof _==`function`){if(c_=!0,m=_.call(g,d,h),f.mode&Pg){Ee(!0);try{_.call(g,d,h)}finally{Ee(!1)}}c_=!1}else m=_;if(m==null)break a;d=W({},d,m);break a;case Qv:ey=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),sx|=o,e.lanes=o,e.memoizedState=d}ny=null}function ea(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function ta(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)ea(n[e],t)}function na(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ea(n[e],t)}function ra(e,t){var n=ax;D(ay,n,e),D(iy,t,e),ax=n|t.baseLanes}function ia(e){D(ay,ax,e),D(iy,iy.current,e)}function aa(e){ax=ay.current,E(iy,e),E(ay,e)}function oa(e){var t=e.alternate;D(uy,uy.current&cy,e),D(oy,e,e),sy===null&&(t===null||iy.current!==null||t.memoizedState!==null)&&(sy=e)}function sa(e){D(uy,uy.current,e),D(oy,e,e),sy===null&&(sy=e)}function ca(e){e.tag===22?(D(uy,uy.current,e),D(oy,e,e),sy===null&&(sy=e)):la(e)}function la(e){D(uy,uy.current,e),D(oy,oy.current,e)}function ua(e){E(oy,e),sy===e&&(sy=null),E(uy,e)}function da(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ld(n)||ud(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function L(){var e=Q;My===null?My=[e]:My.push(e)}function R(){var e=Q;if(My!==null&&(Ny++,My[Ny]!==e)){var t=T(Z);if(!_y.has(t)&&(_y.add(t),My!==null)){for(var n=``,r=0;r<=Ny;r++){var i=My[r],a=r===Ny?e:i;for(i=r+1+`. `+i;30>i.length;)i+=` `;i+=a+`
104
- `,n+=i}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
105
-
106
- Previous render Next render
107
- ------------------------------------------------------
108
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109
- `,t,n)}}}function fa(e){e==null||Vf(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Q,typeof e)}function pa(){var e=T(Z);by.has(e)||(by.add(e),console.error(`ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,e))}function ma(){throw 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:
110
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
111
- 2. You might be breaking the Rules of Hooks
112
- 3. You might have more than one copy of React in the same app
113
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function ha(e,t){if(Py)return!1;if(t===null)return console.error(`%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.`,Q),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
114
-
115
- Previous: %s
116
- Incoming: %s`,Q,`[`+t.join(`, `)+`]`,`[`+e.join(`, `)+`]`);for(var n=0;n<t.length&&n<e.length;n++)if(!Rh(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,i,a){xy=a,Z=t,My=e===null?null:e._debugHookTypes,Ny=-1,Py=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)===`[object AsyncFunction]`||Object.prototype.toString.call(n)===`[object AsyncGeneratorFunction]`)&&(a=T(Z),yy.has(a)||(yy.add(a),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",a===null?`An unknown Component`:`<`+a+`>`))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e!==null&&e.memoizedState!==null?Ry:My===null?Iy:Ly,Ey=a=(t.mode&Pg)!==K;var o=vv(n,r,i);if(Ey=!1,Ty&&(o=va(t,n,r,i)),a){Ee(!0);try{o=va(t,n,r,i)}finally{Ee(!1)}}return _a(e,t),o}function _a(e,t){t._debugHookTypes=My,t.dependencies===null?ky!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ky}):t.dependencies._debugThenableState=ky,G.H=Fy;var n=Sy!==null&&Sy.next!==null;if(xy=0,My=Q=Cy=Sy=Z=null,Ny=-1,e!==null&&(e.flags&65011712)!=(t.flags&65011712)&&console.error(`Internal React error: Expected static flag was missing. Please notify the React team.`),wy=!1,Oy=0,ky=null,n)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);e===null||ib||(e=e.dependencies,e!==null&&Qr(e)&&(ib=!0)),Bv?(Bv=!1,e=!0):e=!1,e&&(t=T(t)||`Unknown`,vy.has(t)||yy.has(t)||(vy.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function va(e,t,n,r){Z=e;var i=0;do{if(Ty&&(ky=null),Oy=0,Ty=!1,i>=jy)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(i+=1,Py=!1,Cy=Sy=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Ny=-1,G.H=zy,a=vv(t,n,r)}while(Ty);return a}function ya(){var e=G.H,t=e.useState()[0];return t=typeof t.then==`function`?Ea(t):t,e=e.useState()[0],(Sy===null?null:Sy.memoizedState)!==e&&(Z.flags|=1024),t}function ba(){var e=Dy!==0;return Dy=0,e}function xa(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Fg)===K?t.flags&-2053:t.flags&-402655237,e.lanes&=~n}function Sa(e){if(wy){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}wy=!1}xy=0,My=Cy=Sy=Z=null,Ny=-1,Q=null,Ty=!1,Oy=Dy=0,ky=null}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cy===null?Z.memoizedState=Cy=e:Cy=Cy.next=e,Cy}function wa(){if(Sy===null){var e=Z.alternate;e=e===null?null:e.memoizedState}else e=Sy.next;var t=Cy===null?Z.memoizedState:Cy.next;if(t!==null)Cy=t,Sy=e;else{if(e===null)throw Z.alternate===null?Error(`Update hook called on initial render. This is likely a bug in React. Please file an issue.`):Error(`Rendered more hooks than during the previous render.`);Sy=e,e={memoizedState:Sy.memoizedState,baseState:Sy.baseState,baseQueue:Sy.baseQueue,queue:Sy.queue,next:null},Cy===null?Z.memoizedState=Cy=e:Cy=Cy.next=e}return Cy}function Ta(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ea(e){var t=Oy;return Oy+=1,ky===null&&(ky=ki()),e=ji(ky,e,t),t=Z,(Cy===null?t.memoizedState:Cy.next)===null&&(t=t.alternate,G.H=t!==null&&t.memoizedState!==null?Ry:Iy),e}function Da(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Ea(e);if(e.$$typeof===jf)return $r(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function Oa(e){var t=null,n=Z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=Z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Ta(),Z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Py)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=Rf;else n.length!==e&&console.error(`Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.`,n.length,e);return t.index++,n}function ka(e,t){return typeof t==`function`?t(e):t}function Aa(e,t,n){var r=Ca();if(n!==void 0){var i=n(t);if(Ey){Ee(!0);try{n(t)}finally{Ee(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Lo.bind(null,Z,e),[r.memoizedState,e]}function ja(e){return Ma(wa(),Sy,e)}function Ma(e,t,n){var r=e.queue;if(r===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue!==i&&console.error(`Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`),t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,c=null,l=t,u=!1;do{var d=l.lane&-536870913;if(d===l.lane?(xy&d)===d:($&d)===d){var f=l.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d===rv&&(u=!0);else if((xy&f)===f){l=l.next,f===rv&&(u=!0);continue}else d={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=d,o=a):c=c.next=d,Z.lanes|=f,sx|=f;d=l.action,Ey&&n(a,d),a=l.hasEagerState?l.eagerState:n(a,d)}else f={lane:d,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=f,o=a):c=c.next=f,Z.lanes|=d,sx|=d;l=l.next}while(l!==null&&l!==t);if(c===null?o=a:c.next=s,!Rh(a,e.memoizedState)&&(ib=!0,u&&(n=iv,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Na(e){var t=wa(),n=t.queue;if(n===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Rh(a,t.memoizedState)||(ib=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Pa(e,t,n){var r=Z,i=Ca();if(Zg){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);var a=n();gy||a===n()||(console.error(`The result of getServerSnapshot should be cached to avoid an infinite loop`),gy=!0)}else{if(a=t(),gy||(n=t(),Rh(a,n)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),gy=!0)),Hb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);$&127||Ia(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,lo(Ra.bind(null,r,n,e),[e]),r.flags|=2048,ao(fy|hy,{destroy:void 0},La.bind(null,r,n,a,t),null),a}function Fa(e,t,n){var r=Z,i=wa(),a=Zg;if(a){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);n=n()}else if(n=t(),!gy){var o=t();Rh(n,o)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),gy=!0)}if((o=!Rh((Sy||i).memoizedState,n))&&(i.memoizedState=n,ib=!0),i=i.queue,co(2048,hy,Ra.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||Cy!==null&&Cy.memoizedState.tag&fy){if(r.flags|=2048,ao(fy|hy,{destroy:void 0},La.bind(null,r,i,n,t),null),Hb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);a||xy&127||Ia(r,t,n)}return n}function Ia(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Z.updateQueue,t===null?(t=Ta(),Z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function La(e,t,n,r){t.value=n,t.getSnapshot=r,za(t)&&Ba(e)}function Ra(e,t,n){return n(function(){za(t)&&(ai(2,`updateSyncExternalStore()`,e),Ba(e))})}function za(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Rh(e,n)}catch{return!0}}function Ba(e){var t=ur(e,2);t!==null&&Xc(t,e,2)}function Va(e){var t=Ca();if(typeof e==`function`){var n=e;if(e=n(),Ey){Ee(!0);try{n()}finally{Ee(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t}function Ha(e){e=Va(e);var t=e.queue,n=Ro.bind(null,Z,t);return t.dispatch=n,[e.memoizedState,n]}function Ua(e){var t=Ca();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Bo.bind(null,Z,!0,n),n.dispatch=t,[e,t]}function Wa(e,t){return Ga(wa(),Sy,e,t)}function Ga(e,t,n,r){return e.baseState=n,Ma(e,Sy,typeof r==`function`?r:ka)}function Ka(e,t){var n=wa();return Sy===null?(n.baseState=e,[e,n.queue.dispatch]):Ga(n,Sy,e,t)}function qa(e,t,n,r,i){if(Vo(e))throw Error(`Cannot update form state while rendering.`);if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};G.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Ja(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Ja(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=G.T,o={};o._updatedFibers=new Set,G.T=o;try{var s=n(i,r),c=G.S;c!==null&&c(o,s),Ya(e,t,s)}catch(n){Za(e,t,n)}finally{a!==null&&o.types!==null&&(a.types!==null&&a.types!==o.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),a.types=o.types),G.T=a,a===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}else try{o=n(i,r),Ya(e,t,o)}catch(n){Za(e,t,n)}}function Ya(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(G.asyncTransitions++,n.then(Eo,Eo),n.then(function(n){Xa(e,t,n)},function(n){return Za(e,t,n)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Xa(e,t,n)}function Xa(e,t,n){t.status=`fulfilled`,t.value=n,Qa(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ja(e,n)))}function Za(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Qa(t),t=t.next;while(t!==r)}e.action=null}function Qa(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function $a(e,t){return t}function eo(e,t){if(Zg){var n=Hb.formState;if(n!==null){a:{var r=Z;if(Zg){if(Xg){b:{for(var i=Xg,a=t_;i.nodeType!==8;){if(!a){i=null;break b}if(i=fd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===RS||a===zS?i:null}if(i){Xg=fd(i.nextSibling),r=i.data===RS;break a}}zr(r)}r=!1}r&&(t=n[0])}}return n=Ca(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:t},n.queue=r,n=Ro.bind(null,Z,r),r.dispatch=n,r=Va(!1),a=Bo.bind(null,Z,!1,r.queue),r=Ca(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=qa.bind(null,Z,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function to(e){return no(wa(),Sy,e)}function no(e,t,n){if(t=Ma(e,t,$a)[0],e=ja(ka)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Ea(t)}catch(e){throw e===Fv?Lv:e}else r=t;t=wa();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(Z.flags|=2048,ao(fy|hy,{destroy:void 0},ro.bind(null,i,n),null)),[r,a,e]}function ro(e,t){e.action=t}function io(e){var t=wa(),n=Sy;if(n!==null)return no(t,n,e);wa(),t=t.memoizedState,n=wa();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ao(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=Z.updateQueue,t===null&&(t=Ta(),Z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oo(e){var t=Ca();return e={current:e},t.memoizedState=e}function so(e,t,n,r){var i=Ca();Z.flags|=e,i.memoizedState=ao(fy|t,{destroy:void 0},n,r===void 0?null:r)}function co(e,t,n,r){var i=wa();r=r===void 0?null:r;var a=i.memoizedState.inst;Sy!==null&&r!==null&&ha(r,Sy.memoizedState.deps)?i.memoizedState=ao(t,a,n,r):(Z.flags|=e,i.memoizedState=ao(fy|t,a,n,r))}function lo(e,t){(Z.mode&Fg)===K?so(8390656,hy,e,t):so(276826112,hy,e,t)}function uo(e){Z.flags|=4;var t=Z.updateQueue;if(t===null)t=Ta(),Z.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function fo(e){var t=Ca(),n={impl:e};return t.memoizedState=n,function(){if((Vb&Mb)!==jb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return n.impl.apply(void 0,arguments)}}function z(e){var t=wa().memoizedState;return uo({ref:t,nextImpl:e}),function(){if((Vb&Mb)!==jb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return t.impl.apply(void 0,arguments)}}function po(e,t){var n=4194308;return(Z.mode&Fg)!==K&&(n|=134217728),so(n,my,e,t)}function mo(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return t.hasOwnProperty(`current`)||console.error(`Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.`,`an object with keys {`+Object.keys(t).join(`, `)+`}`),e=e(),t.current=e,function(){t.current=null}}function ho(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]);var r=4194308;(Z.mode&Fg)!==K&&(r|=134217728),so(r,my,mo.bind(null,t,e),n)}function go(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]),co(4,my,mo.bind(null,t,e),n)}function _o(e,t){return Ca().memoizedState=[e,t===void 0?null:t],e}function vo(e,t){var n=wa();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ha(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function yo(e,t){var n=Ca();t=t===void 0?null:t;var r=e();if(Ey){Ee(!0);try{e()}finally{Ee(!1)}}return n.memoizedState=[r,t],r}function bo(e,t){var n=wa();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ha(t,r[1]))return r[0];if(r=e(),Ey){Ee(!0);try{e()}finally{Ee(!1)}}return n.memoizedState=[r,t],r}function xo(e,t){return wo(Ca(),e,t)}function So(e,t){return To(wa(),Sy.memoizedState,e,t)}function Co(e,t){var n=wa();return Sy===null?wo(n,e,t):To(n,Sy.memoizedState,e,t)}function wo(e,t,n){return n===void 0||xy&1073741824&&!($&261930)?e.memoizedState=t:(e.memoizedState=n,e=Yc(),Z.lanes|=e,sx|=e,n)}function To(e,t,n,r){return Rh(n,t)?n:iy.current===null?!(xy&42)||xy&1073741824&&!($&261930)?(ib=!0,e.memoizedState=n):(e=Yc(),Z.lanes|=e,sx|=e,t):(e=wo(e,n,r),Rh(e,t)||(ib=!0),e)}function Eo(){G.asyncTransitions--}function B(e,t,n,r,i){var a=Hf.p;Hf.p=a!==0&&a<Ip?a:Ip;var o=G.T,s={};s._updatedFibers=new Set,G.T=s,Bo(e,!1,t,n);try{var c=i(),l=G.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){G.asyncTransitions++,c.then(Eo,Eo);var u=Ei(c,r);zo(e,t,u,Jc(e))}else zo(e,t,r,Jc(e))}catch(n){zo(e,t,{then:function(){},status:`rejected`,reason:n},Jc(e))}finally{Hf.p=a,o!==null&&s.types!==null&&(o.types!==null&&o.types!==s.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),o.types=s.types),G.T=o,o===null&&s._updatedFibers&&(e=s._updatedFibers.size,s._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}function Do(e,t,n,r){if(e.tag!==5)throw Error(`Expected the form instance to be a HostComponent. This is a bug in React.`);var i=Oo(e).queue;oi(e),B(e,i,t,vC,n===null?u:function(){return ko(e),n(r)})}function Oo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:vC,baseState:vC,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:vC},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ko(e){G.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=Oo(e);t.next===null&&(t=e.alternate.memoizedState),zo(e,t.next.queue,{},Jc(e))}function Ao(){var e=Va(!1);return e=B.bind(null,Z,e.queue,!0,!1),Ca().memoizedState=e,[!1,e]}function jo(){var e=ja(ka)[0],t=wa().memoizedState;return[typeof e==`boolean`?e:Ea(e),t]}function Mo(){var e=Na(ka)[0],t=wa().memoizedState;return[typeof e==`boolean`?e:Ea(e),t]}function No(){return $r(yC)}function Po(){var e=Ca(),t=Hb.identifierPrefix;if(Zg){var n=Jg,r=qg;n=(r&~(1<<32-kp(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Dy++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Ay++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t}function Fo(){return Ca().memoizedState=Io.bind(null,Z)}function Io(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=Jc(n),i=Ji(r),a=Yi(n,i,r);a!==null&&(ai(r,`refresh()`,e),Xc(a,n,r),Xi(a,n,r)),e=ni(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function Lo(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=Jc(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Vo(e)?Ho(t,i):(i=lr(e,t,i,r),i!==null&&(ai(r,`dispatch()`,e),Xc(i,e,r),Uo(i,t,r)))}function Ro(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=Jc(e),zo(e,t,n,r)&&ai(r,`setState()`,e)}function zo(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vo(e))Ho(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=G.H;G.H=Vy;try{var s=t.lastRenderedState,c=a(s,n);if(i.hasEagerState=!0,i.eagerState=c,Rh(c,s))return cr(e,t,i,0),Hb===null&&sr(),!1}catch{}finally{G.H=o}}if(n=lr(e,t,i,r),n!==null)return Xc(n,e,r),Uo(n,t,r),!0}return!1}function Bo(e,t,n,r){if(G.T===null&&rv===0&&console.error(`An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.`),r={lane:2,revertLane:Zl(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vo(e)){if(t)throw Error(`Cannot update optimistic state while rendering.`);console.error(`Cannot call startTransition while rendering.`)}else t=lr(e,n,r,2),t!==null&&(ai(2,`setOptimistic()`,e),Xc(t,e,2))}function Vo(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Ho(e,t){Ty=wy=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uo(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Le(e,n)}}function Wo(e){if(e!==null&&typeof e!=`function`){var t=String(e);$y.has(t)||($y.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Go(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&Pg){Ee(!0);try{a=n(r,i)}finally{Ee(!1)}}a===void 0&&(t=C(t)||`Component`,Yy.has(t)||(Yy.add(t),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,t))),i=a==null?i:W({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function Ko(e,t,n,r,i,a,o){var s=e.stateNode;if(typeof s.shouldComponentUpdate==`function`){if(n=s.shouldComponentUpdate(r,a,o),e.mode&Pg){Ee(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{Ee(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,C(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!Nn(n,r)||!Nn(i,a):!0}function qo(e,t,n,r){var i=t.state;typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i&&(e=T(e)||`Component`,Wy.has(e)||(Wy.add(e),console.error(`%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,e)),eb.enqueueReplaceState(t,t.state,null))}function Jo(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=W({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Yo(e){og(e),console.warn(`%s
117
-
118
- %s
119
- `,tb?`An error occurred in the <`+tb+`> component.`:`An error occurred in one of your React components.`,`Consider adding an error boundary to your tree to customize error handling behavior.
120
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Xo(e){var t=tb?`The above error occurred in the <`+tb+`> component.`:`The above error occurred in one of your React components.`,n=`React will try to recreate this component tree from scratch using the error boundary you provided, `+((nb||`Anonymous`)+`.`);if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var r=e.environmentName;e=[`%o
121
-
122
- %s
123
-
124
- %s
125
- `,e,t,n].slice(0),typeof e[0]==`string`?e.splice(0,1,bC+` `+e[0],xC,CC+r+CC,SC):e.splice(0,0,bC,xC,CC+r+CC,SC),e.unshift(console),r=wC.apply(console.error,e),r()}else console.error(`%o
126
-
127
- %s
128
-
129
- %s
130
- `,e,t,n)}function Zo(e){og(e)}function Qo(e,t){try{tb=t.source?T(t.source):null,nb=null;var n=t.value;if(G.actQueue!==null)G.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function $o(e,t,n){try{tb=n.source?T(n.source):null,nb=T(t);var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function es(e,t,n){return n=Ji(n),n.tag=$v,n.payload={element:null},n.callback=function(){j(t.source,Qo,e,t)},n}function ts(e){return e=Ji(e),e.tag=$v,e}function ns(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){gr(n),j(r.source,$o,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){gr(n),j(r.source,$o,t,n,r),typeof i!=`function`&&(Sx===null?Sx=new Set([this]):Sx.add(this)),Ev(this,r),typeof i==`function`||!(n.lanes&2)&&console.error(`%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,T(n)||`Unknown`)})}function rs(e,t,n,r,i){if(n.flags|=32768,Op&&Bl(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Zr(t,n,i,!0),Zg&&(Qg=!0),n=oy.current,n!==null){switch(n.tag){case 31:case 13:return sy===null?ul():n.alternate===null&&ox===Pb&&(ox=Lb),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Rv?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),jl(e,r,i)),!1;case 22:return n.flags|=65536,r===Rv?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),jl(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return jl(e,r,i),ul(),!1}if(Zg)return Qg=!0,t=oy.current,t===null?(r!==n_&&Wr(Or(Error(`There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Or(r,n),i=es(e.stateNode,r,i),Zi(e,i),ox!==Rb&&(ox=Ib)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==n_&&Wr(Or(Error(`There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,{cause:r}),n))),!1;var a=Or(Error(`There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,{cause:r}),n);if(fx===null?fx=[a]:fx.push(a),ox!==Rb&&(ox=Ib),t===null)return!0;r=Or(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=es(n.stateNode,r,e),Zi(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(Sx===null||!Sx.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ts(i),ns(i,e,n,r),Zi(n,i),!1}n=n.return}while(n!==null);return!1}function is(e,t,n,r){t.child=e===null?Yv(t,null,n,r):Jv(t,e.child,n,r)}function as(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return N(t),r=ga(e,t,n,o,a,i),s=ba(),e!==null&&!ib?(xa(e,t,i),ks(e,t,i)):(Zg&&s&&jr(t),t.flags|=1,is(e,t,r,i),t.child)}function os(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!yr(a)&&a.defaultProps===void 0&&n.compare===null?(n=pr(a),t.tag=15,t.type=n,ys(t,a),ss(e,t,n,r,i)):(e=Sr(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!As(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Nn:n,n(o,r)&&e.ref===t.ref)return ks(e,t,i)}return t.flags|=1,e=br(a,r),e.ref=t.ref,e.return=t,t.child=e}function ss(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Nn(a,r)&&e.ref===t.ref&&t.type===e.type)if(ib=!1,t.pendingProps=r=a,As(e,i))e.flags&131072&&(ib=!0);else return t.lanes=e.lanes,ks(e,t,i)}return hs(e,t,n,r,i)}function cs(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Tg,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return us(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&P(t,a===null?null:a.cachePool),a===null?ia(t):ra(t,a),ca(t);else return r=t.lanes=536870912,us(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&P(t,null),ia(t),la(t)):(P(t,a.cachePool),ra(t,a),la(t),t.memoizedState=null);return is(e,t,i,n),t.child}function ls(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Tg,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function us(e,t,n,r,i){var a=Di();return a=a===null?null:{parent:f_._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&P(t,null),ia(t),ca(t),e!==null&&Zr(e,t,r,!0),t.childLanes=i,null}function ds(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
131
- - <Activity %s>
132
- + <Activity %s>`,!0===n?`hidden`:!1===n?`hidden={false}`:`hidden={...}`,n?`mode="hidden"`:`mode="visible"`),t=ws({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fs(e,t,n){return Jv(t,e.child,null,n),e=ds(t,t.pendingProps),e.flags|=2,ua(t),t.memoizedState=null,e}function ps(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Zg){if(r.mode===`hidden`)return e=ds(t,r),t.lanes=536870912,ls(null,e);if(sa(t),(e=Xg)?(n=cd(e,t_),n=n!==null&&n.data===OS?n:null,n!==null&&(r={dehydrated:n,treeContext:Nr(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Er(n),r.return=t,t.child=r,Yg=t,Xg=null)):n=null,n===null)throw Rr(t,e),zr(t);return t.lanes=536870912,null}return ds(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(sa(t),i)if(t.flags&256)t.flags&=-257,t=fs(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`);else if(Lr(),n&536870912&&ll(t),ib||Zr(e,t,n,!1),i=(n&e.childLanes)!==0,ib||i){if(r=Hb,r!==null&&(o=Re(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,ur(e,o),Xc(r,e,o),rb;ul(),t=fs(e,t,n)}else e=a.treeContext,Xg=fd(o.nextSibling),Yg=t,Zg=!0,e_=null,Qg=!1,$g=null,t_=!1,e!==null&&Pr(t,e),t=ds(t,r),t.flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&ll(t),e=br(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function ms(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(`Expected ref to be a function, an object returned by React.createRef(), or undefined/null.`);(e===null||e.ref!==n)&&(t.flags|=4194816)}}function hs(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=C(n)||`Unknown`;ab[a]||(console.error(`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.`,a,a),ab[a]=!0)}return t.mode&Pg&&sv.recordLegacyContextWarning(t,null),e===null&&(ys(t,t.type),n.contextTypes&&(a=C(n)||`Unknown`,sb[a]||(sb[a]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,a)))),N(t),n=ga(e,t,n,r,void 0,i),r=ba(),e!==null&&!ib?(xa(e,t,i),ks(e,t,i)):(Zg&&r&&jr(t),t.flags|=1,is(e,t,n,i),t.child)}function gs(e,t,n,r,i,a){return N(t),Ny=-1,Py=e!==null&&e.type!==t.type,t.updateQueue=null,n=va(t,r,n,i),_a(e,t),r=ba(),e!==null&&!ib?(xa(e,t,a),ks(e,t,a)):(Zg&&r&&jr(t),t.flags|=1,is(e,t,n,a),t.child)}function _s(e,t,n,r,i){switch(s(t)){case!1:var a=t.stateNode,o=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,o,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error(`Simulated error coming from DevTools`);var c=i&-i;if(t.lanes|=c,o=Hb,o===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);c=ts(c),ns(c,o,t,Or(a,t)),Zi(t,c)}if(N(t),t.stateNode===null){if(o=Ag,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==jf)&&!Qy.has(n)&&(Qy.add(n),c=a===void 0?` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`:typeof a==`object`?a.$$typeof===Af?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(a).join(`, `)+`}.`:` However, it is set to a `+typeof a+`.`,console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,C(n)||`Component`,c)),typeof a==`object`&&a&&(o=$r(a)),a=new n(r,o),t.mode&Pg){Ee(!0);try{a=new n(r,o)}finally{Ee(!1)}}if(o=t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=eb,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=Uy,typeof n.getDerivedStateFromProps==`function`&&o===null&&(o=C(n)||`Component`,Gy.has(o)||(Gy.add(o),console.error("`%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.",o,a.state===null?`null`:`undefined`,o))),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`){var l=c=o=null;if(typeof a.componentWillMount==`function`&&!0!==a.componentWillMount.__suppressDeprecationWarning?o=`componentWillMount`:typeof a.UNSAFE_componentWillMount==`function`&&(o=`UNSAFE_componentWillMount`),typeof a.componentWillReceiveProps==`function`&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?c=`componentWillReceiveProps`:typeof a.UNSAFE_componentWillReceiveProps==`function`&&(c=`UNSAFE_componentWillReceiveProps`),typeof a.componentWillUpdate==`function`&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?l=`componentWillUpdate`:typeof a.UNSAFE_componentWillUpdate==`function`&&(l=`UNSAFE_componentWillUpdate`),o!==null||c!==null||l!==null){a=C(n)||`Component`;var u=typeof n.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;qy.has(a)||(qy.add(a),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
133
-
134
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
135
-
136
- The above lifecycles should be removed. Learn more about this warning here:
137
- https://react.dev/link/unsafe-component-lifecycles`,a,u,o===null?``:`
138
- `+o,c===null?``:`
139
- `+c,l===null?``:`
140
- `+l))}}a=t.stateNode,o=C(n)||`Component`,a.render||(n.prototype&&typeof n.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||console.error(`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?`,o),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&console.error(`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.`,o),a.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,o),n.childContextTypes&&!Zy.has(n)&&(Zy.add(n),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,o)),n.contextTypes&&!Xy.has(n)&&(Xy.add(n),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,o)),typeof a.componentShouldUpdate==`function`&&console.error(`%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.`,o),n.prototype&&n.prototype.isPureReactComponent&&a.shouldComponentUpdate!==void 0&&console.error(`%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,C(n)||`A pure component`),typeof a.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,o),typeof a.componentDidReceiveProps==`function`&&console.error(`%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().`,o),typeof a.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,o),typeof a.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,o),c=a.props!==r,a.props!==void 0&&c&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),a.defaultProps&&console.error(`Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,o,o),typeof a.getSnapshotBeforeUpdate!=`function`||typeof a.componentDidUpdate==`function`||Ky.has(n)||(Ky.add(n),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,C(n))),typeof a.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof a.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof n.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,o),(c=a.state)&&(typeof c!=`object`||Vf(c))&&console.error(`%s.state: must be set to an object or null`,o),typeof a.getChildContext==`function`&&typeof n.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,o),a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ki(t),o=n.contextType,a.context=typeof o==`object`&&o?$r(o):Ag,a.state===r&&(o=C(n)||`Component`,Jy.has(o)||(Jy.add(o),console.error(`%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.`,o))),t.mode&Pg&&sv.recordLegacyContextWarning(t,a),sv.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Go(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,T(t)||`Component`),eb.enqueueReplaceState(a,a.state,null)),$i(t,r,a,i),Qi(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Fg)!==K&&(t.flags|=134217728),a=!0}else if(e===null){a=t.stateNode;var d=t.memoizedProps;c=Jo(n,d),a.props=c;var f=a.context;l=n.contextType,o=Ag,typeof l==`object`&&l&&(o=$r(l)),u=n.getDerivedStateFromProps,l=typeof u==`function`||typeof a.getSnapshotBeforeUpdate==`function`,d=t.pendingProps!==d,l||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(d||f!==o)&&qo(t,a,r,o),ey=!1;var p=t.memoizedState;a.state=p,$i(t,r,a,i),Qi(),f=t.memoizedState,d||p!==f||ey?(typeof u==`function`&&(Go(t,n,u,r),f=t.memoizedState),(c=ey||Ko(t,n,c,r,p,f,o))?(l||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Fg)!==K&&(t.flags|=134217728)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Fg)!==K&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=o,a=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Fg)!==K&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,qi(e,t),o=t.memoizedProps,l=Jo(n,o),a.props=l,u=t.pendingProps,p=a.context,f=n.contextType,c=Ag,typeof f==`object`&&f&&(c=$r(f)),d=n.getDerivedStateFromProps,(f=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==u||p!==c)&&qo(t,a,r,c),ey=!1,p=t.memoizedState,a.state=p,$i(t,r,a,i),Qi();var m=t.memoizedState;o!==u||p!==m||ey||e!==null&&e.dependencies!==null&&Qr(e.dependencies)?(typeof d==`function`&&(Go(t,n,d,r),m=t.memoizedState),(l=ey||Ko(t,n,l,r,p,m,c)||e!==null&&e.dependencies!==null&&Qr(e.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,a=l):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(c=a,ms(e,t),o=(t.flags&128)!=0,c||o){if(c=t.stateNode,ve(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,x_=-1;else if(n=bv(c),t.mode&Pg){Ee(!0);try{bv(c)}finally{Ee(!1)}}t.flags|=1,e!==null&&o?(t.child=Jv(t,e.child,null,i),t.child=Jv(t,null,n,i)):is(e,t,n,i),t.memoizedState=c.state,e=t.child}else e=ks(e,t,i);return i=t.stateNode,a&&i.props!==r&&(lb||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",T(t)||`a component`),lb=!0),e}function vs(e,t,n,r){return Hr(),t.flags|=256,is(e,t,n,r),t.child}function ys(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
141
- %s.childContextTypes = ...`,t.displayName||t.name||`Component`),typeof t.getDerivedStateFromProps==`function`&&(e=C(t)||`Unknown`,cb[e]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,e),cb[e]=!0)),typeof t.contextType==`object`&&t.contextType!==null&&(t=C(t)||`Unknown`,ob[t]||(console.error(`%s: Function components do not support contextType.`,t),ob[t]=!0))}function bs(e){return{baseLanes:e,cachePool:Oi()}}function xs(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ux),e}function Ss(e,t,n){var r,i=t.pendingProps;o(t)&&(t.flags|=128);var a=!1,s=(t.flags&128)!=0;if((r=s)||(r=e!==null&&e.memoizedState===null?!1:(uy.current&ly)!==0),r&&(a=!0,t.flags&=-129),r=(t.flags&32)!=0,t.flags&=-33,e===null){if(Zg){if(a?oa(t):la(t),(e=Xg)?(n=cd(e,t_),n=n!==null&&n.data!==OS?n:null,n!==null&&(r={dehydrated:n,treeContext:Nr(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Er(n),r.return=t,t.child=r,Yg=t,Xg=null)):n=null,n===null)throw Rr(t,e),zr(t);return ud(n)?t.lanes=32:t.lanes=536870912,null}var c=i.children;if(i=i.fallback,a){la(t);var l=t.mode;return c=ws({mode:`hidden`,children:c},l),i=wr(i,l,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=bs(n),i.childLanes=xs(e,r,n),t.memoizedState=fb,ls(null,i)}return oa(t),Cs(t,c)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(d!==null){if(s)t.flags&256?(oa(t),t.flags&=-257,t=Ts(e,t,n)):t.memoizedState===null?(la(t),c=i.fallback,l=t.mode,i=ws({mode:`visible`,children:i.children},l),c=wr(c,l,n,null),c.flags|=2,i.return=t,c.return=t,i.sibling=c,t.child=i,Jv(t,e.child,null,n),i=t.child,i.memoizedState=bs(n),i.childLanes=xs(e,r,n),t.memoizedState=fb,t=ls(null,i)):(la(t),t.child=e.child,t.flags|=128,t=null);else if(oa(t),Lr(),n&536870912&&ll(t),ud(d)){if(r=d.nextSibling&&d.nextSibling.dataset,r){c=r.dgst;var f=r.msg;l=r.stck;var p=r.cstck}a=f,r=c,i=l,d=p,c=a,l=d,c=Error(c||`The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`),c.stack=i||``,c.digest=r,r=l===void 0?null:l,i={value:c,source:null,stack:r},typeof r==`string`&&zg.set(c,i),Wr(i),t=Ts(e,t,n)}else if(ib||Zr(e,t,n,!1),r=(n&e.childLanes)!==0,ib||r){if(r=Hb,r!==null&&(i=Re(r,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,ur(e,i),Xc(r,e,i),rb;ld(d)||ul(),t=Ts(e,t,n)}else ld(d)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,Xg=fd(d.nextSibling),Yg=t,Zg=!0,e_=null,Qg=!1,$g=null,t_=!1,e!==null&&Pr(t,e),t=Cs(t,i.children),t.flags|=4096);return t}}return a?(la(t),c=i.fallback,l=t.mode,p=e.child,d=p.sibling,i=br(p,{mode:`hidden`,children:i.children}),i.subtreeFlags=p.subtreeFlags&65011712,d===null?(c=wr(c,l,n,null),c.flags|=2):c=br(d,c),c.return=t,i.return=t,i.sibling=c,t.child=i,ls(null,i),i=t.child,c=e.child.memoizedState,c===null?c=bs(n):(l=c.cachePool,l===null?l=Oi():(p=f_._currentValue,l=l.parent===p?l:{parent:p,pool:p}),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=xs(e,r,n),t.memoizedState=fb,ls(e.child,i)):(u!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&ll(t),oa(t),n=e.child,e=n.sibling,n=br(n,{mode:`visible`,children:i.children}),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Cs(e,t){return t=ws({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function ws(e,t){return e=p(22,e,null,t),e.lanes=0,e}function Ts(e,t,n){return Jv(t,e.child,null,n),e=Cs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Es(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Yr(e.return,t,n)}function Ds(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Os(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail,o=r.children,s=uy.current;if((r=(s&ly)!==0)?(s=s&cy|ly,t.flags|=128):s&=cy,D(uy,s,t),s=i??`null`,i!==`forwards`&&i!==`unstable_legacy-backwards`&&i!==`together`&&i!==`independent`&&!ub[s])if(ub[s]=!0,i==null)console.error(`The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".`);else if(i===`backwards`)console.error(`The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.`);else if(typeof i==`string`)switch(i.toLowerCase()){case`together`:case`forwards`:case`backwards`:case`independent`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.`,i,i.toLowerCase());break;case`forward`:case`backward`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.`,i,i.toLowerCase());break;default:console.error(`"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}else console.error(`%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i);s=a??`null`,db[s]||(a==null?(i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&(db[s]=!0,console.error(`The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".`)):a!==`visible`&&a!==`collapsed`&&a!==`hidden`?(db[s]=!0,console.error(`"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,a)):i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&(db[s]=!0,console.error(`<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?`,a)));a:if((i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&o!=null&&!1!==o)if(Vf(o)){for(s=0;s<o.length;s++)if(!Gi(o[s],s))break a}else if(s=te(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!Gi(c.value,l))break a;l++}}else console.error(`A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?`,i);if(is(e,t,o,n),Zg?(Fr(),o=Ug):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Es(e,n,t);else if(e.tag===19)Es(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&da(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ds(t,!1,i,n,a,o);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&da(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ds(t,!0,n,null,a,o);break;case`together`:Ds(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function ks(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),x_=-1,sx|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Zr(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(`Resuming work not yet implemented.`);if(t.child!==null){for(e=t.child,n=br(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=br(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function As(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Qr(e))):!0}function js(e,t,n){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),qr(t,f_,e.memoizedState.cache),Hr();break;case 27:case 5:oe(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:qr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,sa(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(oa(t),e=ks(e,t,n),e===null?null:e.sibling):Ss(e,t,n):(oa(t),t.flags|=128,null);oa(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Zr(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Os(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),D(uy,uy.current,t),r)break;return null;case 22:return t.lanes=0,cs(e,t,n,t.pendingProps);case 24:qr(t,f_,e.memoizedState.cache)}return ks(e,t,n)}function Ms(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Sr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(r===null)throw Error(`Cannot swap the root fiber.`);if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var i=r.child;if(i===null)throw Error(`Expected parent to have a child.`);for(;i.sibling!==t;)if(i=i.sibling,i===null)throw Error(`Expected to find the previous sibling.`);i.sibling=n}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)ib=!0;else{if(!As(e,n)&&!(t.flags&128))return ib=!1,js(e,t,n);ib=!!(e.flags&131072)}else ib=!1,(r=Zg)&&(Fr(),r=(t.flags&1048576)!=0),r&&(r=t.index,Fr(),Ar(t,Ug,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=Mi(t.elementType),t.type=e,typeof e==`function`)yr(e)?(r=Jo(e,r),t.tag=1,t.type=e=pr(e),t=_s(null,t,e,r,n)):(t.tag=0,ys(t,e),t.type=e=pr(e),t=hs(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===Mf){t.tag=11,t.type=e=mr(e),t=as(null,t,e,r,n);break a}else if(i===Ff){t.tag=14,t=os(null,t,e,r,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===If&&(t=` Did you wrap a component in React.lazy() more than once?`),n=C(e)||e,Error(`Element type is invalid. Received a promise that resolves to: `+n+`. Lazy element type must resolve to a class or function.`+t)}return t;case 0:return hs(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Jo(r,t.pendingProps),_s(e,t,r,i,n);case 3:a:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error(`Should have a current fiber. This is a bug in React.`);r=t.pendingProps;var a=t.memoizedState;i=a.element,qi(e,t),$i(t,r,null,n);var o=t.memoizedState;if(r=o.cache,qr(t,f_,r),r!==a.cache&&Xr(t,[f_],n,!0),Qi(),r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=vs(e,t,r,n);break a}else if(r!==i){i=Or(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),Wr(i),t=vs(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Xg=fd(e.firstChild),Yg=t,Zg=!0,e_=null,Qg=!1,$g=null,t_=!0,n=Yv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Hr(),r===i){t=ks(e,t,n);break a}is(e,t,r,n)}t=t.child}return t;case 26:return ms(e,t),e===null?(n=Td(t.type,null,t.pendingProps,null))?t.memoizedState=n:Zg||(n=t.type,e=t.pendingProps,r=ie(Yf.current),r=Pu(r).createElement(n),r[Bp]=t,r[Vp]=e,bu(r,n,e),Xe(r),t.stateNode=r):t.memoizedState=Td(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return oe(t),e===null&&Zg&&(r=ie(Yf.current),i=k(),r=t.stateNode=bd(t.type,t.pendingProps,r,i,!1),Qg||(i=Au(r,t.type,t.pendingProps,i),i!==null&&(Ir(t,0).serverProps=i)),Yg=t,t_=!0,i=Xg,Ju(t.type)?(tC=i,Xg=fd(r.firstChild)):Xg=i),is(e,t,t.pendingProps.children,n),ms(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Zg&&(a=k(),r=Wt(t.type,a.ancestorInfo),i=Xg,(o=!i)||(o=od(i,t.type,t.pendingProps,t_),o===null?a=!1:(t.stateNode=o,Qg||(a=Au(o,t.type,t.pendingProps,a),a!==null&&(Ir(t,0).serverProps=a)),Yg=t,Xg=fd(o.firstChild),t_=!1,a=!0),o=!a),o&&(r&&Rr(t,i),zr(t))),oe(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,Lu(i,a)?r=null:o!==null&&Lu(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=ga(e,t,ya,null,null,n),yC._currentValue=i),ms(e,t),is(e,t,r,n),t.child;case 6:return e===null&&Zg&&(n=t.pendingProps,e=k(),r=e.ancestorInfo.current,n=r==null?!0:Gt(n,r.tag,e.ancestorInfo.implicitRootScope),e=Xg,(r=!e)||(r=sd(e,t.pendingProps,t_),r===null?r=!1:(t.stateNode=r,Yg=t,Xg=null,r=!0),r=!r),r&&(n&&Rr(t,e),zr(t))),null;case 13:return Ss(e,t,n);case 4:return ae(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Jv(t,null,r,n):is(e,t,r,n),t.child;case 11:return as(e,t,t.type,t.pendingProps,n);case 7:return is(e,t,t.pendingProps,n),t.child;case 8:return is(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,is(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,i=t.pendingProps,a=i.value,`value`in i||pb||(pb=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),qr(t,r,a),is(e,t,i.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,typeof r!=`function`&&console.error(`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.`),N(t),i=$r(i),r=vv(r,i,void 0),t.flags|=1,is(e,t,r,n),t.child;case 14:return os(e,t,t.type,t.pendingProps,n);case 15:return ss(e,t,t.type,t.pendingProps,n);case 19:return Os(e,t,n);case 31:return ps(e,t,n);case 22:return cs(e,t,n,t.pendingProps);case 24:return N(t),r=$r(f_),e===null?(i=Di(),i===null&&(i=Hb,a=ni(),i.pooledCache=a,ri(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},Ki(t),qr(t,f_,i)):((e.lanes&n)!==0&&(qi(e,t),$i(t,null,null,n),Qi()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,qr(t,f_,r),r!==i.cache&&Xr(t,[f_],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),qr(t,f_,r))),is(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Ns(e){e.flags|=4}function Ps(e,t,n,r,i){if((t=(e.mode&Ig)!==K)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(ol())e.flags|=8192;else throw zv=Rv,Iv}else e.flags&=-16777217}function Fs(e,t){if(t.type!==`stylesheet`||(t.state.loading&oC)!==nC)e.flags&=-16777217;else if(e.flags|=16777216,!zd(t))if(ol())e.flags|=8192;else throw zv=Rv,Iv}function Is(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Me(),e.lanes|=t,dx|=t)}function Ls(e,t){if(!Zg)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Rs(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)if((e.mode&q)!==K){for(var i=e.selfBaseDuration,a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&65011712,r|=a.flags&65011712,i+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=i}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else if((e.mode&q)!==K){i=e.actualDuration,a=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,i+=o.actualDuration,a+=o.treeBaseDuration,o=o.sibling;e.actualDuration=i,e.treeBaseDuration=a}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zs(e,t,n){var r=t.pendingProps;switch(Mr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rs(t),null;case 1:return Rs(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Jr(f_,t),O(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Vr(t)?(Gr(),Ns(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ur())),Rs(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Ns(t),a===null?(Rs(t),Ps(t,i,null,r,n)):(Rs(t),Fs(t,a))):a?a===e.memoizedState?(Rs(t),t.flags&=-16777217):(Ns(t),Rs(t),Fs(t,a)):(e=e.memoizedProps,e!==r&&Ns(t),Rs(t),Ps(t,i,e,r,n)),null;case 27:if(se(t),n=ie(Yf.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ns(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return Rs(t),null}e=k(),Vr(t)?Br(t,e):(e=bd(i,r,n,e,!0),t.stateNode=e,Ns(t))}return Rs(t),null;case 5:if(se(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ns(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return Rs(t),null}var o=k();if(Vr(t))Br(t,o);else{switch(a=ie(Yf.current),Wt(i,o.ancestorInfo),o=o.context,a=Pu(a),o){case US:a=a.createElementNS(Am,i);break;case WS:a=a.createElementNS(km,i);break;default:switch(i){case`svg`:a=a.createElementNS(Am,i);break;case`math`:a=a.createElementNS(km,i);break;case`script`:a=a.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?a.createElement(i,{is:r.is}):a.createElement(i),i.indexOf(`-`)===-1&&(i!==i.toLowerCase()&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,i),Object.prototype.toString.call(a)!==`[object HTMLUnknownElement]`||dp.call(qS,i)||(qS[i]=!0,console.error(`The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.`,i)))}}a[Bp]=t,a[Vp]=r;a:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break a;for(;o.sibling===null;){if(o.return===null||o.return===t)break a;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;a:switch(bu(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Ns(t)}}return Rs(t),Ps(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ns(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);if(e=ie(Yf.current),n=k(),Vr(t)){if(e=t.stateNode,n=t.memoizedProps,i=!Qg,r=null,a=Yg,a!==null)switch(a.tag){case 3:i&&(i=md(e,n,r),i!==null&&(Ir(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=md(e,n,r),i!==null&&(Ir(t,0).serverProps=i))}e[Bp]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||_u(e.nodeValue,n)),e||zr(t,!0)}else i=n.ancestorInfo.current,i!=null&&Gt(r,i.tag,n.ancestorInfo.implicitRootScope),e=Pu(e).createTextNode(r),e[Bp]=t,t.stateNode=e}return Rs(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Vr(t),n!==null){if(e===null){if(!r)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.`);e[Bp]=t,Rs(t),(t.mode&q)!==K&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Gr(),Hr(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,Rs(t),(t.mode&q)!==K&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Ur(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(ua(t),t):(ua(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return Rs(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=Vr(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);a[Bp]=t,Rs(t),(t.mode&q)!==K&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else Gr(),Hr(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,Rs(t),(t.mode&q)!==K&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=Ur(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(ua(t),t):(ua(t),null)}return ua(t),t.flags&128?(t.lanes=n,(t.mode&q)!==K&&Ci(t),t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Is(t,t.updateQueue),Rs(t),(t.mode&q)!==K&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return O(t),e===null&&iu(t.stateNode.containerInfo),Rs(t),null;case 10:return Jr(t.type,t),Rs(t),null;case 19:if(E(uy,t),r=t.memoizedState,r===null)return Rs(t),null;if(i=(t.flags&128)!=0,a=r.rendering,a===null)if(i)Ls(r,!1);else{if(ox!==Pb||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=da(e),a!==null){for(t.flags|=128,Ls(r,!1),e=a.updateQueue,t.updateQueue=e,Is(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)xr(n,e),n=n.sibling;return D(uy,uy.current&cy|ly,t),Zg&&kr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&gp()>vx&&(t.flags|=128,i=!0,Ls(r,!1),t.lanes=4194304)}else{if(!i)if(e=da(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Is(t,e),Ls(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!Zg)return Rs(t),null}else 2*gp()-r.renderingStartTime>vx&&n!==536870912&&(t.flags|=128,i=!0,Ls(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}return r.tail===null?(Rs(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=gp(),e.sibling=null,n=uy.current,n=i?n&cy|ly:n&cy,D(uy,n,t),Zg&&kr(t,r.treeForkCount),e);case 22:case 23:return ua(t),aa(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Rs(t),t.subtreeFlags&6&&(t.flags|=8192)):Rs(t),n=t.updateQueue,n!==null&&Is(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&E(ov,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Jr(f_,t),Rs(t),null;case 25:return null;case 30:return null}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Bs(e,t){switch(Mr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&q)!==K&&Ci(t),t):null;case 3:return Jr(f_,t),O(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return se(t),null;case 31:if(t.memoizedState!==null){if(ua(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&q)!==K&&Ci(t),t):null;case 13:if(ua(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&q)!==K&&Ci(t),t):null;case 19:return E(uy,t),null;case 4:return O(t),null;case 10:return Jr(t.type,t),null;case 22:case 23:return ua(t),aa(t),e!==null&&E(ov,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&q)!==K&&Ci(t),t):null;case 24:return Jr(f_,t),null;case 25:return null;default:return null}}function Vs(e,t){switch(Mr(t),t.tag){case 3:Jr(f_,t),O(t);break;case 26:case 27:case 5:se(t);break;case 4:O(t);break;case 31:t.memoizedState!==null&&ua(t);break;case 13:ua(t);break;case 19:E(uy,t);break;case 10:Jr(t.type,t);break;case 22:case 23:ua(t),aa(t),e!==null&&E(ov,t);break;case 24:Jr(f_,t)}}function Hs(e){return(e.mode&q)!==K}function Us(e,t){Hs(e)?(Si(),Gs(t,e),bi()):Gs(t,e)}function Ws(e,t,n){Hs(e)?(Si(),Ks(n,e,t),bi()):Ks(n,e,t)}function Gs(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e&&(r=void 0,(e&py)!==dy&&(Qx=!0),r=j(t,Av,n),(e&py)!==dy&&(Qx=!1),r!==void 0&&typeof r!=`function`)){var a=void 0;a=(n.tag&my)===0?(n.tag&py)===0?`useEffect`:`useInsertionEffect`:`useLayoutEffect`;var o=void 0;o=r===null?` You returned null. If your effect does not require clean up, return undefined (or nothing).`:typeof r.then==`function`?`
142
-
143
- It looks like you wrote `+a+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
144
-
145
- `+a+`(() => {
146
- async function fetchData() {
147
- // You can await here
148
- const response = await MyAPI.getData(someId);
149
- // ...
150
- }
151
- fetchData();
152
- }, [someId]); // Or [] if effect doesn't need props or state
153
-
154
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:` You returned: `+r,j(t,function(e,t){console.error(`%s must not return anything besides a function, which is used for clean-up.%s`,e,t)},a,o)}n=n.next}while(n!==i)}}catch(e){Al(t,t.return,e)}}function Ks(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;s!==void 0&&(o.destroy=void 0,(e&py)!==dy&&(Qx=!0),i=t,j(i,Mv,i,n,s),(e&py)!==dy&&(Qx=!1))}r=r.next}while(r!==a)}}catch(e){Al(t,t.return,e)}}function qs(e,t){Hs(e)?(Si(),Gs(t,e),bi()):Gs(t,e)}function Js(e,t,n){Hs(e)?(Si(),Ks(n,e,t),bi()):Ks(n,e,t)}function Ys(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||`ref`in e.memoizedProps||lb||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",T(e)||`instance`),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",T(e)||`instance`));try{j(e,na,t,n)}catch(t){Al(e,e.return,t)}}}function Xs(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Zs(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||`ref`in e.memoizedProps||lb||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",T(e)||`instance`),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",T(e)||`instance`));try{var i=Jo(e.type,n),a=j(e,Xs,t,i,r);n=mb,a!==void 0||n.has(e.type)||(n.add(e.type),j(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,T(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){Al(e,e.return,t)}}function Qs(e,t,n){n.props=Jo(e.type,e.memoizedProps),n.state=e.memoizedState,Hs(e)?(Si(),j(e,Ov,e,t,n),bi()):j(e,Ov,e,t,n)}function $s(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t==`function`)if(Hs(e))try{Si(),e.refCleanup=t(n)}finally{bi()}else e.refCleanup=t(n);else typeof t==`string`?console.error(`String refs are no longer supported.`):t.hasOwnProperty(`current`)||console.error(`Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().`,T(e)),t.current=n}}function ec(e,t){try{j(e,$s,e)}catch(n){Al(e,t,n)}}function tc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{if(Hs(e))try{Si(),j(e,r)}finally{bi(e)}else j(e,r)}catch(n){Al(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(Hs(e))try{Si(),j(e,n,null)}finally{bi(e)}else j(e,n,null)}catch(n){Al(e,t,n)}else n.current=null}function nc(e,t,n,r){var i=e.memoizedProps,a=i.id,o=i.onCommit;i=i.onRender,t=t===null?`mount`:`update`,$_&&(t=`nested-update`),typeof i==`function`&&i(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o==`function`&&o(a,t,r,n)}function rc(e,t,n,r){var i=e.memoizedProps;e=i.id,i=i.onPostCommit,t=t===null?`mount`:`update`,$_&&(t=`nested-update`),typeof i==`function`&&i(e,t,r,n)}function ic(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{j(e,Hu,r,t,n,e)}catch(t){Al(e,e.return,t)}}function ac(e,t,n){try{j(e,Wu,e.stateNode,e.type,n,t,e)}catch(t){Al(e,e.return,t)}}function oc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ju(e.type)||e.tag===4}function sc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||oc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ju(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function cc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(qu(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t)):(qu(n),t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rn));else if(r!==4&&(r===27&&Ju(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}function lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Ju(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(lc(e,t,n),e=e.sibling;e!==null;)lc(e,t,n),e=e.sibling}function uc(e){for(var t,n=e.return;n!==null;){if(oc(n)){t=n;break}n=n.return}if(t==null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);switch(t.tag){case 27:t=t.stateNode,n=sc(e),lc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Gu(n),t.flags&=-33),t=sc(e),lc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=sc(e),cc(e,n,t);break;default:throw Error(`Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.`)}}function dc(e){var t=e.stateNode,n=e.memoizedProps;try{j(e,xd,e.type,n,t,e)}catch(t){Al(e,e.return,t)}}function fc(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)==0:!1}function pc(e,t){if(e=e.containerInfo,GS=IC,e=Ln(e),Rn(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break a}var o=0,s=-1,c=-1,l=0,u=0,d=e,f=null;b:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(c=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break b;if(f===n&&++l===i&&(s=o),f===a&&++u===r&&(c=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n||={start:0,end:0}}else n=null;for(KS={focusedElem:e,selectionRange:n},IC=!1,yb=t;yb!==null;)if(t=yb,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,yb=e;else for(;yb!==null;){switch(e=t=yb,n=e.alternate,i=e.flags,e.tag){case 0:if(i&4&&(e=e.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:i&1024&&n!==null&&Zs(e,n);break;case 3:if(i&1024){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)ad(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:ad(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(i&1024)throw Error(`This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.`)}if(e=t.sibling,e!==null){e.return=t.return,yb=e;break}yb=t.return}}function mc(e,t,n){var r=di(),i=pi(),a=hi(),o=gi(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Ec(e,n),s&4&&Us(n,my|fy);break;case 1:if(Ec(e,n),s&4)if(e=n.stateNode,t===null)n.type.defaultProps||`ref`in n.memoizedProps||lb||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",T(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",T(n)||`instance`)),Hs(n)?(Si(),j(n,Sv,n,e),bi()):j(n,Sv,n,e);else{var c=Jo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||`ref`in n.memoizedProps||lb||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",T(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",T(n)||`instance`)),Hs(n)?(Si(),j(n,wv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),bi()):j(n,wv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}s&64&&Ys(n),s&512&&ec(n,n.return);break;case 3:if(t=si(),Ec(e,n),s&64&&(s=n.updateQueue,s!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{j(n,na,s,c)}catch(e){Al(n,n.return,e)}}e.effectDuration+=ci(t);break;case 27:t===null&&s&4&&dc(n);case 26:case 5:if(Ec(e,n),t===null){if(s&4)ic(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{j(n,Uu,c,e,t,n)}catch(e){Al(n,n.return,e)}}}s&512&&ec(n,n.return);break;case 12:if(s&4){s=si(),Ec(e,n),e=n.stateNode,e.effectDuration+=li(s);try{j(n,nc,n,t,v_,e.effectDuration)}catch(e){Al(n,n.return,e)}}else Ec(e,n);break;case 31:Ec(e,n),s&4&&vc(e,n);break;case 13:Ec(e,n),s&4&&yc(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=Pl.bind(null,n),dd(e,s))));break;case 22:if(s=n.memoizedState!==null||hb,!s){t=t!==null&&t.memoizedState!==null||gb,c=hb;var l=gb;hb=s,(gb=t)&&!l?(Ac(e,n,(n.subtreeFlags&8772)!=0),(n.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Yn(n,J,Y)):Ec(e,n),hb=c,gb=l}break;case 30:break;default:Ec(e,n)}(n.mode&q)!==K&&0<=J&&0<=Y&&((T_||.05<C_)&&Qn(n,J,Y,C_,w_),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Y-J&&(fc(n.return.alternate,n.return)||Jn(n,J,Y,`Mount`))),fi(r),mi(i),w_=a,T_=o}function hc(e){var t=e.alternate;t!==null&&(e.alternate=null,hc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ge(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function gc(e,t,n){for(n=n.child;n!==null;)_c(e,t,n),n=n.sibling}function _c(e,t,n){if(Ep&&typeof Ep.onCommitFiberUnmount==`function`)try{Ep.onCommitFiberUnmount(Tp,n)}catch(e){Dp||(Dp=!0,console.error(`React instrumentation encountered an error: %o`,e))}var r=di(),i=pi(),a=hi(),o=gi();switch(n.tag){case 26:gb||tc(n,t),gc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:gb||tc(n,t);var s=Sb,c=Cb;Ju(n.type)&&(Sb=n.stateNode,Cb=!1),gc(e,t,n),j(n,Sd,n.stateNode),Sb=s,Cb=c;break;case 5:gb||tc(n,t);case 6:if(s=Sb,c=Cb,Sb=null,gc(e,t,n),Sb=s,Cb=c,Sb!==null)if(Cb)try{j(n,Xu,Sb,n.stateNode)}catch(e){Al(n,t,e)}else try{j(n,Yu,Sb,n.stateNode)}catch(e){Al(n,t,e)}break;case 18:Sb!==null&&(Cb?(e=Sb,Zu(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),gf(e)):Zu(Sb,n.stateNode));break;case 4:s=Sb,c=Cb,Sb=n.stateNode.containerInfo,Cb=!0,gc(e,t,n),Sb=s,Cb=c;break;case 0:case 11:case 14:case 15:Ks(py,n,t),gb||Ws(n,t,my),gc(e,t,n);break;case 1:gb||(tc(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&Qs(n,t,s)),gc(e,t,n);break;case 21:gc(e,t,n);break;case 22:gb=(s=gb)||n.memoizedState!==null,gc(e,t,n),gb=s;break;default:gc(e,t,n)}(n.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(n,J,Y,C_,w_),fi(r),mi(i),w_=a,T_=o}function vc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{j(t,vd,e)}catch(e){Al(t,t.return,e)}}}function yc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{j(t,yd,e)}catch(e){Al(t,t.return,e)}}function bc(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new vb),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new vb),t;default:throw Error(`Unexpected Suspense handler tag (`+e.tag+`). This is a bug in React.`)}}function xc(e,t){var n=bc(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),Op)if(bb!==null&&xb!==null)Bl(xb,bb);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`);var r=Fl.bind(null,e,t);t.then(r,r)}})}function Sc(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=e,a=t,o=n[r],s=di(),c=a;a:for(;c!==null;){switch(c.tag){case 27:if(Ju(c.type)){Sb=c.stateNode,Cb=!1;break a}break;case 5:Sb=c.stateNode,Cb=!1;break a;case 3:case 4:Sb=c.stateNode.containerInfo,Cb=!0;break a}c=c.return}if(Sb===null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);_c(i,a,o),Sb=null,Cb=!1,(o.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Jn(o,J,Y,`Unmount`),fi(s),i=o,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Cc(t,e),t=t.sibling}function Cc(e,t){var n=di(),r=pi(),i=hi(),a=gi(),o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Sc(t,e),wc(e),s&4&&(Ks(py|fy,e,e.return),Gs(py|fy,e),Ws(e,e.return,my|fy));break;case 1:if(Sc(t,e),wc(e),s&512&&(gb||o===null||tc(o,o.return)),s&64&&hb&&(s=e.updateQueue,s!==null&&(o=s.callbacks,o!==null))){var c=s.shared.hiddenCallbacks;s.shared.hiddenCallbacks=c===null?o:c.concat(o)}break;case 26:if(c=wb,Sc(t,e),wc(e),s&512&&(gb||o===null||tc(o,o.return)),s&4){var l=o===null?null:o.memoizedState;if(s=e.memoizedState,o===null)if(s===null)if(e.stateNode===null){a:{s=e.type,o=e.memoizedProps,c=c.ownerDocument||c;b:switch(s){case`title`:l=c.getElementsByTagName(`title`)[0],(!l||l[qp]||l[Bp]||l.namespaceURI===Am||l.hasAttribute(`itemprop`))&&(l=c.createElement(s),c.head.insertBefore(l,c.querySelector(`head > title`))),bu(l,s,o),l[Bp]=e,Xe(l),s=l;break a;case`link`:var u=Id(`link`,`href`,c).get(s+(o.href||``));if(u){for(var d=0;d<u.length;d++)if(l=u[d],l.getAttribute(`href`)===(o.href==null||o.href===``?null:o.href)&&l.getAttribute(`rel`)===(o.rel==null?null:o.rel)&&l.getAttribute(`title`)===(o.title==null?null:o.title)&&l.getAttribute(`crossorigin`)===(o.crossOrigin==null?null:o.crossOrigin)){u.splice(d,1);break b}}l=c.createElement(s),bu(l,s,o),c.head.appendChild(l);break;case`meta`:if(u=Id(`meta`,`content`,c).get(s+(o.content||``))){for(d=0;d<u.length;d++)if(l=u[d],Se(o.content,`content`),l.getAttribute(`content`)===(o.content==null?null:``+o.content)&&l.getAttribute(`name`)===(o.name==null?null:o.name)&&l.getAttribute(`property`)===(o.property==null?null:o.property)&&l.getAttribute(`http-equiv`)===(o.httpEquiv==null?null:o.httpEquiv)&&l.getAttribute(`charset`)===(o.charSet==null?null:o.charSet)){u.splice(d,1);break b}}l=c.createElement(s),bu(l,s,o),c.head.appendChild(l);break;default:throw Error(`getNodesForType encountered a type it did not expect: "`+s+`". This is a bug in React.`)}l[Bp]=e,Xe(l),s=l}e.stateNode=s}else Ld(c,e.type,e.stateNode);else e.stateNode=Md(c,s,e.memoizedProps);else l===s?s===null&&e.stateNode!==null&&ac(e,e.memoizedProps,o.memoizedProps):(l===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):l.count--,s===null?Ld(c,e.type,e.stateNode):Md(c,s,e.memoizedProps))}break;case 27:Sc(t,e),wc(e),s&512&&(gb||o===null||tc(o,o.return)),o!==null&&s&4&&ac(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Sc(t,e),wc(e),s&512&&(gb||o===null||tc(o,o.return)),e.flags&32){c=e.stateNode;try{j(e,Gu,c)}catch(t){Al(e,e.return,t)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,ac(e,c,o===null?c:o.memoizedProps)),s&1024&&(_b=!0,e.type!==`form`&&console.error(`Unexpected host component type. Expected a form. This is a bug in React.`));break;case 6:if(Sc(t,e),wc(e),s&4){if(e.stateNode===null)throw Error(`This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.`);s=e.memoizedProps,o=o===null?s:o.memoizedProps,c=e.stateNode;try{j(e,Ku,c,o,s)}catch(t){Al(e,e.return,t)}}break;case 3:if(c=si(),dC=null,l=wb,wb=Cd(t.containerInfo),Sc(t,e),wb=l,wc(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{j(e,_d,t.containerInfo)}catch(t){Al(e,e.return,t)}_b&&(_b=!1,Tc(e)),t.effectDuration+=ci(c);break;case 4:s=wb,wb=Cd(e.stateNode.containerInfo),Sc(t,e),wc(e),wb=s;break;case 12:s=si(),Sc(t,e),wc(e),e.stateNode.effectDuration+=li(s);break;case 31:Sc(t,e),wc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,xc(e,s)));break;case 13:Sc(t,e),wc(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(hx=gp()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,xc(e,s)));break;case 22:c=e.memoizedState!==null;var f=o!==null&&o.memoizedState!==null,p=hb,m=gb;if(hb=p||c,gb=m||f,Sc(t,e),gb=m,hb=p,f&&!c&&!p&&!m&&(e.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Yn(e,J,Y),wc(e),s&8192)a:for(t=e.stateNode,t._visibility=c?t._visibility&~Tg:t._visibility|Tg,!c||o===null||f||hb||gb||(Oc(e),(e.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Jn(e,J,Y,`Disconnect`)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){f=o=t;try{l=f.stateNode,c?j(f,ed,l):j(f,rd,f.stateNode,f.memoizedProps)}catch(e){Al(f,f.return,e)}}}else if(t.tag===6){if(o===null){f=t;try{u=f.stateNode,c?j(f,td,u):j(f,id,u,f.memoizedProps)}catch(e){Al(f,f.return,e)}}}else if(t.tag===18){if(o===null){f=t;try{d=f.stateNode,c?j(f,$u,d):j(f,nd,f.stateNode)}catch(e){Al(f,f.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,xc(e,o))));break;case 19:Sc(t,e),wc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,xc(e,s)));break;case 30:break;case 21:break;default:Sc(t,e),wc(e)}(e.mode&q)!==K&&0<=J&&0<=Y&&((T_||.05<C_)&&Qn(e,J,Y,C_,w_),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Y-J&&(fc(e.return.alternate,e.return)||Jn(e,J,Y,`Mount`))),fi(n),mi(r),w_=i,T_=a}function wc(e){var t=e.flags;if(t&2){try{j(e,uc,e)}catch(t){Al(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Tc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Tc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ec(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)mc(e,t.alternate,t),t=t.sibling}function Dc(e){var t=di(),n=pi(),r=hi(),i=gi();switch(e.tag){case 0:case 11:case 14:case 15:Ws(e,e.return,my),Oc(e);break;case 1:tc(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount==`function`&&Qs(e,e.return,a),Oc(e);break;case 27:j(e,Sd,e.stateNode);case 26:case 5:tc(e,e.return),Oc(e);break;case 22:e.memoizedState===null&&Oc(e);break;case 30:Oc(e);break;default:Oc(e)}(e.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(e,J,Y,C_,w_),fi(t),mi(n),w_=r,T_=i}function Oc(e){for(e=e.child;e!==null;)Dc(e),e=e.sibling}function kc(e,t,n,r){var i=di(),a=pi(),o=hi(),s=gi(),c=n.flags;switch(n.tag){case 0:case 11:case 15:Ac(e,n,r),Us(n,my);break;case 1:if(Ac(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&j(n,Sv,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{j(n,ta,t,e)}catch(e){Al(n,n.return,e)}}r&&c&64&&Ys(n),ec(n,n.return);break;case 27:dc(n);case 26:case 5:Ac(e,n,r),r&&t===null&&c&4&&ic(n),ec(n,n.return);break;case 12:if(r&&c&4){c=si(),Ac(e,n,r),r=n.stateNode,r.effectDuration+=li(c);try{j(n,nc,n,t,v_,r.effectDuration)}catch(e){Al(n,n.return,e)}}else Ac(e,n,r);break;case 31:Ac(e,n,r),r&&c&4&&vc(e,n);break;case 13:Ac(e,n,r),r&&c&4&&yc(e,n);break;case 22:n.memoizedState===null&&Ac(e,n,r),ec(n,n.return);break;case 30:break;default:Ac(e,n,r)}(n.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(n,J,Y,C_,w_),fi(i),mi(a),w_=o,T_=s}function Ac(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;)kc(e,t.alternate,t,n),t=t.sibling}function jc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&ri(e),n!=null&&ii(n))}function Mc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ri(t),e!=null&&ii(e))}function Nc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var a=t.sibling;Pc(e,t,n,r,a===null?i:a.actualStartTime),t=a}}function Pc(e,t,n,r,i){var a=di(),o=pi(),s=hi(),c=gi(),l=yg,u=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&q)!==K&&0<t.actualStartTime&&t.flags&1&&Xn(t,t.actualStartTime,i,Tb,n),Nc(e,t,n,r,i),u&2048&&qs(t,hy|fy);break;case 1:(t.mode&q)!==K&&0<t.actualStartTime&&(t.flags&128?Zn(t,t.actualStartTime,i,[]):t.flags&1&&Xn(t,t.actualStartTime,i,Tb,n)),Nc(e,t,n,r,i);break;case 3:var d=si(),f=Tb;Tb=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)==0,Nc(e,t,n,r,i),Tb=f,u&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==n&&(ri(r),n!=null&&ii(n))),e.passiveEffectDuration+=ci(d);break;case 12:if(u&2048){u=si(),Nc(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=li(u);try{j(t,rc,t,t.alternate,v_,e.passiveEffectDuration)}catch(e){Al(t,t.return,e)}}else Nc(e,t,n,r,i);break;case 31:u=Tb,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d!==null&&f===null?(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Tb=!1,d=d.hydrationErrors,d!==null&&Zn(t,t.actualStartTime,i,d)):Tb=!0):Tb=!1,Nc(e,t,n,r,i),Tb=u;break;case 13:u=Tb,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d===null||d.dehydrated===null||f!==null&&f.dehydrated!==null?Tb=!1:(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Tb=!1,d=d.hydrationErrors,d!==null&&Zn(t,t.actualStartTime,i,d)):Tb=!0),Nc(e,t,n,r,i),Tb=u;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,t.memoizedState===null?f._visibility&Eg?Nc(e,t,n,r,i):(f._visibility|=Eg,Fc(e,t,n,r,(t.subtreeFlags&10256)!=0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),i),(t.mode&q)===K||Tb||(e=t.actualStartTime,0<=e&&.05<i-e&&Yn(t,e,i),0<=J&&0<=Y&&.05<Y-J&&Yn(t,J,Y))):f._visibility&Eg?Nc(e,t,n,r,i):Lc(e,t,n,r,i),u&2048&&jc(d,t);break;case 24:Nc(e,t,n,r,i),u&2048&&Mc(t.alternate,t);break;default:Nc(e,t,n,r,i)}(t.mode&q)!==K&&((e=!Tb&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<i-n&&Jn(t,n,i,`Mount`)),0<=J&&0<=Y&&((T_||.05<C_)&&Qn(t,J,Y,C_,w_),e&&.05<Y-J&&Jn(t,J,Y,`Mount`))),fi(a),mi(o),w_=s,T_=c,yg=l}function Fc(e,t,n,r,i,a){for(i&&=(t.subtreeFlags&10256)!=0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),t=t.child;t!==null;){var o=t.sibling;Ic(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Ic(e,t,n,r,i,a){var o=di(),s=pi(),c=hi(),l=gi(),u=yg;i&&(t.mode&q)!==K&&0<t.actualStartTime&&t.flags&1&&Xn(t,t.actualStartTime,a,Tb,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Fc(e,t,n,r,i,a),qs(t,hy);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=Eg,Fc(e,t,n,r,i,a)):f._visibility&Eg?Fc(e,t,n,r,i,a):Lc(e,t,n,r,a),i&&d&2048&&jc(t.alternate,t);break;case 24:Fc(e,t,n,r,i,a),i&&d&2048&&Mc(t.alternate,t);break;default:Fc(e,t,n,r,i,a)}(t.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(t,J,Y,C_,w_),fi(o),mi(s),w_=c,T_=l,yg=u}function Lc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var a=t.child;a!==null;){t=a.sibling;var o=e,s=n,c=r,l=t===null?i:t.actualStartTime,u=yg;(a.mode&q)!==K&&0<a.actualStartTime&&a.flags&1&&Xn(a,a.actualStartTime,l,Tb,s);var d=a.flags;switch(a.tag){case 22:Lc(o,a,s,c,l),d&2048&&jc(a.alternate,a);break;case 24:Lc(o,a,s,c,l),d&2048&&Mc(a.alternate,a);break;default:Lc(o,a,s,c,l)}yg=u,a=t}}function Rc(e,t,n){if(e.subtreeFlags&Eb)for(e=e.child;e!==null;)zc(e,t,n),e=e.sibling}function zc(e,t,n){switch(e.tag){case 26:Rc(e,t,n),e.flags&Eb&&e.memoizedState!==null&&Bd(n,wb,e.memoizedState,e.memoizedProps);break;case 5:Rc(e,t,n);break;case 3:case 4:var r=wb;wb=Cd(e.stateNode.containerInfo),Rc(e,t,n),wb=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Eb,Eb=16777216,Rc(e,t,n),Eb=r):Rc(e,t,n));break;default:Rc(e,t,n)}}function Bc(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Vc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=di();yb=r,Gc(r,e),(r.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Jn(r,J,Y,`Unmount`),fi(i)}Bc(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Hc(e),e=e.sibling}function Hc(e){var t=di(),n=pi(),r=hi(),i=gi();switch(e.tag){case 0:case 11:case 15:Vc(e),e.flags&2048&&Js(e,e.return,hy|fy);break;case 3:var a=si();Vc(e),e.stateNode.passiveEffectDuration+=ci(a);break;case 12:a=si(),Vc(e),e.stateNode.passiveEffectDuration+=li(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Eg&&(e.return===null||e.return.tag!==13)?(a._visibility&=~Eg,Uc(e),(e.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Jn(e,J,Y,`Disconnect`)):Vc(e);break;default:Vc(e)}(e.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(e,J,Y,C_,w_),fi(t),mi(n),T_=i,w_=r}function Uc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=di();yb=r,Gc(r,e),(r.mode&q)!==K&&0<=J&&0<=Y&&.05<Y-J&&Jn(r,J,Y,`Unmount`),fi(i)}Bc(e)}for(e=e.child;e!==null;)Wc(e),e=e.sibling}function Wc(e){var t=di(),n=pi(),r=hi(),i=gi();switch(e.tag){case 0:case 11:case 15:Js(e,e.return,hy),Uc(e);break;case 22:var a=e.stateNode;a._visibility&Eg&&(a._visibility&=~Eg,Uc(e));break;default:Uc(e)}(e.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(e,J,Y,C_,w_),fi(t),mi(n),T_=i,w_=r}function Gc(e,t){for(;yb!==null;){var n=yb,r=n,i=t,a=di(),o=pi(),s=hi(),c=gi();switch(r.tag){case 0:case 11:case 15:Js(r,i,hy);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&ri(i));break;case 24:ii(r.memoizedState.cache)}if((r.mode&q)!==K&&0<=J&&0<=Y&&(T_||.05<C_)&&Qn(r,J,Y,C_,w_),fi(a),mi(o),T_=c,w_=s,r=n.child,r!==null)r.return=n,yb=r;else a:for(n=e;yb!==null;){if(r=yb,a=r.sibling,o=r.return,hc(r),r===n){yb=null;break a}if(a!==null){a.return=o,yb=a;break a}yb=o}}}function Kc(){kb.forEach(function(e){return e()})}function qc(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||G.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function Jc(e){if((Vb&Mb)!==jb&&$!==0)return $&-$;var t=G.T;return t===null?Ue():(t._updatedFibers||=new Set,t._updatedFibers.add(e),Zl())}function Yc(){if(ux===0)if(!($&536870912)||Zg){var e=Np;Np<<=1,!(Np&3932160)&&(Np=262144),ux=e}else ux=536870912;return e=oy.current,e!==null&&(e.flags|=32),ux}function Xc(e,t,n){if(Qx&&console.error(`useInsertionEffect must not schedule updates.`),qx&&(Jx=!0),(e===Hb&&(ex===Kb||ex===$b)||e.cancelPendingCommit!==null)&&(il(e,0),el(e,$,ux,!1)),Pe(e,n),(Vb&Mb)!==jb&&e===Hb){if(up)switch(t.tag){case 0:case 11:case 15:e=Ub&&T(Ub)||`Unknown`,tS.has(e)||(tS.add(e),t=T(t)||`Unknown`,console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:eS||=(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),!0)}}else Op&&Be(e,t,n),Hl(t),e===Hb&&((Vb&Mb)===jb&&(cx|=n),ox===Rb&&el(e,$,ux,!1)),Ul(e)}function Zc(e,t,n){if((Vb&(Mb|Nb))!==jb)throw Error(`Should not already be working.`);if($!==0&&Ub!==null){var r=Ub,i=gp();switch(Z_){case qb:case Kb:var a=Q_;hg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Suspended`,a,i,gg,void 0,`primary-light`)):console.timeStamp(`Suspended`,a,i,gg,void 0,`primary-light`));break;case $b:a=Q_,hg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Action`,a,i,gg,void 0,`primary-light`)):console.timeStamp(`Action`,a,i,gg,void 0,`primary-light`));break;default:hg&&(r=i-Q_,3>r||console.timeStamp(`Blocked`,Q_,i,gg,void 0,5>r?`primary-light`:10>r?`primary`:100>r?`primary-dark`:`error`))}}a=(n=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ae(e,t))?pl(e,t):dl(e,t,!0);var o=n;do{if(a===Pb){rx&&!n&&el(e,t,0,!1),t=ex,Q_=p_(),Z_=t;break}else{if(r=gp(),i=e.current.alternate,o&&!$c(i)){qn(t),i=__,a=r,!hg||a<=i||(xx?xx.run(console.timeStamp.bind(console,`Teared Render`,i,a,vg,_g,`error`)):console.timeStamp(`Teared Render`,i,a,vg,_g,`error`)),rl(t,r),a=dl(e,t,!1),o=!1;continue}if(a===Ib){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){qn(t),rr(__,r,t,xx),rl(t,r),t=s;a:{r=e,a=o,o=fx;var c=r.current.memoizedState.isDehydrated;if(c&&(il(r,s).flags|=256),s=dl(r,s,!1),s!==Ib){if(ix&&!c){r.errorRecoveryDisabledLanes|=a,cx|=a,a=Rb;break a}r=px,px=o,r!==null&&(px===null?px=r:px.push.apply(px,r))}a=s}if(o=!1,a!==Ib)continue;r=gp()}}if(a===Fb){qn(t),rr(__,r,t,xx),rl(t,r),il(e,0),el(e,t,0,!0);break}a:{switch(n=e,a){case Pb:case Fb:throw Error(`Root did not complete. This is a bug in React.`);case Rb:if((t&4194048)!==t)break;case zb:qn(t),er(__,r,t,xx),rl(t,r),i=t,i&127?F_=r:i&4194048&&(K_=r),el(n,t,ux,!nx);break a;case Ib:px=null;break;case Lb:case Bb:break;default:throw Error(`Unknown root exit status.`)}if(G.actQueue!==null)xl(n,i,t,px,bx,mx,ux,cx,dx,a,null,null,__,r);else{if((t&62914560)===t&&(o=hx+_x-gp(),10<o)){if(el(n,t,ux,!nx),ke(n,0,!0)!==0)break a;Ix=t,n.timeoutHandle=XS(Qc.bind(null,n,i,px,bx,mx,t,ux,cx,dx,nx,a,`Throttled`,__,r),o);break a}Qc(n,i,px,bx,mx,t,ux,cx,dx,nx,a,null,__,r)}}}break}while(1);Ul(e)}function Qc(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=QS;var m=t.subtreeFlags,h=null;if((m&8192||(m&16785408)==16785408)&&(h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rn},zc(t,a,h),m=(a&62914560)===a?hx-gp():(a&4194048)===a?gx-gp():0,m=Vd(h,m),m!==null)){Ix=a,e.cancelPendingCommit=m(xl.bind(null,e,t,a,n,r,i,o,s,c,u,h,h.waitingForViewTransition?`Waiting for the previous Animation`:0<h.count?0<h.imgCount?`Suspended on CSS and Images`:`Suspended on CSS`:h.imgCount===1?`Suspended on an Image`:0<h.imgCount?`Suspended on Images`:null,f,p)),el(e,a,o,!l);return}xl(e,t,a,n,r,i,o,s,c,u,h,d,f,p)}function $c(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Rh(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function el(e,t,n,r){t&=~lx,t&=~cx,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-kp(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ie(e,n,t)}function tl(){return(Vb&(Mb|Nb))===jb?(V(0,!1),!1):!0}function nl(){if(Ub!==null){if(ex===Wb)var e=Ub.return;else e=Ub,Kr(),Sa(e),Vv=null,Hv=0,e=Ub;for(;e!==null;)Vs(e.alternate,e),e=e.return;Ub=null}}function rl(e,t){e&127&&(E_=t),e&4194048&&(I_=t),e&62914560&&(q_=t),e&2080374784&&(J_=t)}function il(e,t){hg&&(console.timeStamp(`Blocking Track`,.003,.003,`Blocking`,_g,`primary-light`),console.timeStamp(`Transition Track`,.003,.003,`Transition`,_g,`primary-light`),console.timeStamp(`Suspense Track`,.003,.003,`Suspense`,_g,`primary-light`),console.timeStamp(`Idle Track`,.003,.003,`Idle`,_g,`primary-light`));var n=__;if(__=p_(),$!==0&&0<n){if(qn($),ox===Lb||ox===Rb)er(n,__,t,xx);else{var r=__,i=xx;if(hg&&!(r<=n)){var a=(t&738197653)===t?`tertiary-dark`:`primary-dark`,o=(t&536870912)===t?`Prewarm`:(t&201326741)===t?`Interrupted Hydration`:`Interrupted Render`;i?i.run(console.timeStamp.bind(console,o,n,r,vg,_g,a)):console.timeStamp(o,n,r,vg,_g,a)}}rl($,__)}if(n=xx,xx=null,t&127){xx=O_,i=0<=D_&&D_<E_?E_:D_,r=0<=M_&&M_<E_?E_:M_,a=0<=r?r:0<=i?i:__,0<=F_?(qn(2),tr(F_,a,t,n)):Y_&127&&(qn(2),or(E_,a,X_)),n=i;var s=r,c=N_,l=0<P_,u=k_===h_,d=k_===g_;if(i=__,r=O_,a=A_,o=j_,hg){if(vg=`Blocking`,0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,c!==null&&n>s){var f=l?`secondary-light`:`warning`;r?r.run(console.timeStamp.bind(console,l?`Consecutive`:`Event: `+c,s,n,vg,_g,f)):console.timeStamp(l?`Consecutive`:`Event: `+c,s,n,vg,_g,f)}i>n&&(s=u?`error`:(t&738197653)===t?`tertiary-light`:`primary-light`,u=d?`Promise Resolved`:u?`Cascading Update`:5<i-n?`Update Blocked`:`Update`,d=[],o!=null&&d.push([`Component name`,o]),a!=null&&d.push([`Method name`,a]),n={start:n,end:i,detail:{devtools:{properties:d,track:vg,trackGroup:_g,color:s}}},r?r.run(performance.measure.bind(performance,u,n)):performance.measure(u,n))}D_=-1.1,k_=0,j_=A_=null,F_=-1.1,P_=M_,M_=-1.1,E_=p_()}if(t&4194048&&(xx=B_,i=0<=L_&&L_<I_?I_:L_,n=0<=R_&&R_<I_?I_:R_,r=0<=U_&&U_<I_?I_:U_,a=0<=r?r:0<=n?n:__,0<=K_?(qn(256),tr(K_,a,t,xx)):Y_&4194048&&(qn(256),or(I_,a,X_)),d=r,s=W_,c=0<G_,l=z_===g_,a=__,r=B_,o=V_,u=H_,hg&&(vg=`Transition`,0<n?n>a&&(n=a):n=a,0<i?i>n&&(i=n):i=n,0<d?d>i&&(d=i):d=i,i>d&&s!==null&&(f=c?`secondary-light`:`warning`,r?r.run(console.timeStamp.bind(console,c?`Consecutive`:`Event: `+s,d,i,vg,_g,f)):console.timeStamp(c?`Consecutive`:`Event: `+s,d,i,vg,_g,f)),n>i&&(r?r.run(console.timeStamp.bind(console,`Action`,i,n,vg,_g,`primary-dark`)):console.timeStamp(`Action`,i,n,vg,_g,`primary-dark`)),a>n&&(i=l?`Promise Resolved`:5<a-n?`Update Blocked`:`Update`,d=[],u!=null&&d.push([`Component name`,u]),o!=null&&d.push([`Method name`,o]),n={start:n,end:a,detail:{devtools:{properties:d,track:vg,trackGroup:_g,color:`primary-light`}}},r?r.run(performance.measure.bind(performance,i,n)):performance.measure(i,n))),R_=L_=-1.1,z_=0,K_=-1.1,G_=U_,U_=-1.1,I_=p_()),t&62914560&&Y_&62914560&&(qn(4194304),or(q_,__,X_)),t&2080374784&&Y_&2080374784&&(qn(268435456),or(J_,__,X_)),n=e.timeoutHandle,n!==QS&&(e.timeoutHandle=QS,ZS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Ix=0,nl(),Hb=e,Ub=n=br(e.current,null),$=t,ex=Wb,tx=null,nx=!1,rx=Ae(e,t),ix=!1,ox=Pb,dx=ux=lx=cx=sx=0,px=fx=null,mx=!1,t&8&&(t|=t&32),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=t;0<r;)i=31-kp(r),a=1<<i,t|=e[i],r&=~a;return ax=t,sr(),e=ig(),1e3<e-ng&&(G.recentlyCreatedOwnerStacks=0,ng=e),sv.discardPendingWarnings(),n}function al(e,t){Z=null,G.H=Fy,G.getCurrentStack=null,up=!1,lp=null,t===Fv||t===Lv?(t=Ni(),ex=qb):t===Iv?(t=Ni(),ex=Jb):ex=t===rb?Qb:typeof t==`object`&&t&&typeof t.then==`function`?Xb:Gb,tx=t;var n=Ub;n===null?(ox=Fb,Qo(e,Or(t,e.current))):n.mode&q&&vi(n)}function ol(){var e=oy.current;return e===null?!0:($&4194048)===$?sy===null:($&62914560)===$||$&536870912?e===sy:!1}function sl(){var e=G.H;return G.H=Fy,e===null?Fy:e}function cl(){var e=G.A;return G.A=Db,e}function ll(e){xx===null&&(xx=e._debugTask==null?null:e._debugTask)}function ul(){ox=Rb,nx||($&4194048)!==$&&oy.current!==null||(rx=!0),!(sx&134217727)&&!(cx&134217727)||Hb===null||el(Hb,$,ux,!1)}function dl(e,t,n){var r=Vb;Vb|=Mb;var i=sl(),a=cl();if(Hb!==e||$!==t){if(Op){var o=e.memoizedUpdaters;0<o.size&&(Bl(e,$),o.clear()),Ve(e,t)}bx=null,il(e,t)}t=!1,o=ox;a:do try{if(ex!==Wb&&Ub!==null){var s=Ub,c=tx;switch(ex){case Qb:nl(),o=zb;break a;case qb:case Kb:case $b:case Xb:oy.current===null&&(t=!0);var l=ex;if(ex=Wb,tx=null,vl(e,s,c,l),n&&rx){o=Pb;break a}break;default:l=ex,ex=Wb,tx=null,vl(e,s,c,l)}}fl(),o=ox;break}catch(t){al(e,t)}while(1);return t&&e.shellSuspendCounter++,Kr(),Vb=r,G.H=i,G.A=a,Ub===null&&(Hb=null,$=0,sr()),o}function fl(){for(;Ub!==null;)hl(Ub)}function pl(e,t){var n=Vb;Vb|=Mb;var r=sl(),i=cl();if(Hb!==e||$!==t){if(Op){var a=e.memoizedUpdaters;0<a.size&&(Bl(e,$),a.clear()),Ve(e,t)}bx=null,vx=gp()+yx,il(e,t)}else rx=Ae(e,t);a:do try{if(ex!==Wb&&Ub!==null)b:switch(t=Ub,a=tx,ex){case Gb:ex=Wb,tx=null,vl(e,t,a,Gb);break;case Kb:case $b:if(Ai(a)){ex=Wb,tx=null,gl(t);break}t=function(){ex!==Kb&&ex!==$b||Hb!==e||(ex=Zb),Ul(e)},a.then(t,t);break a;case qb:ex=Zb;break a;case Jb:ex=Yb;break a;case Zb:Ai(a)?(ex=Wb,tx=null,gl(t)):(ex=Wb,tx=null,vl(e,t,a,Zb));break;case Yb:var o=null;switch(Ub.tag){case 26:o=Ub.memoizedState;case 5:case 27:var s=Ub;if(o?zd(o):s.stateNode.complete){ex=Wb,tx=null;var c=s.sibling;if(c!==null)Ub=c;else{var l=s.return;l===null?Ub=null:(Ub=l,yl(l))}break b}break;default:console.error(`Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`)}ex=Wb,tx=null,vl(e,t,a,Yb);break;case Xb:ex=Wb,tx=null,vl(e,t,a,Xb);break;case Qb:nl(),ox=zb;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}G.actQueue===null?ml():fl();break}catch(t){al(e,t)}while(1);return Kr(),G.H=r,G.A=i,Vb=n,Ub===null?(Hb=null,$=0,sr(),ox):Pb}function ml(){for(;Ub!==null&&!mp();)hl(Ub)}function hl(e){var t=e.alternate;(e.mode&q)===K?t=j(e,Ms,t,e,ax):(_i(e),t=j(e,Ms,t,e,ax),vi(e)),e.memoizedProps=e.pendingProps,t===null?yl(e):Ub=t}function gl(e){var t=j(e,_l,e);e.memoizedProps=e.pendingProps,t===null?yl(e):Ub=t}function _l(e){var t=e.alternate,n=(e.mode&q)!==K;switch(n&&_i(e),e.tag){case 15:case 0:t=gs(t,e,e.pendingProps,e.type,void 0,$);break;case 11:t=gs(t,e,e.pendingProps,e.type.render,e.ref,$);break;case 5:Sa(e);default:Vs(t,e),e=Ub=xr(e,ax),t=Ms(t,e,ax)}return n&&vi(e),t}function vl(e,t,n,r){Kr(),Sa(t),Vv=null,Hv=0;var i=t.return;try{if(rs(e,i,t,n,$)){ox=Fb,Qo(e,Or(n,e.current)),Ub=null;return}}catch(t){if(i!==null)throw Ub=i,t;ox=Fb,Qo(e,Or(n,e.current)),Ub=null;return}t.flags&32768?(Zg||r===Gb?e=!0:rx||$&536870912?e=!1:(nx=e=!0,(r===Kb||r===$b||r===qb||r===Xb)&&(r=oy.current,r!==null&&r.tag===13&&(r.flags|=16384))),bl(t,e)):yl(t)}function yl(e){var t=e;do{if(t.flags&32768){bl(t,nx);return}var n=t.alternate;if(e=t.return,_i(t),n=j(t,zs,n,t,ax),(t.mode&q)!==K&&yi(t),n!==null){Ub=n;return}if(t=t.sibling,t!==null){Ub=t;return}Ub=t=e}while(t!==null);ox===Pb&&(ox=Bb)}function bl(e,t){do{var n=Bs(e.alternate,e);if(n!==null){n.flags&=32767,Ub=n;return}if((e.mode&q)!==K){yi(e),n=e.actualDuration;for(var r=e.child;r!==null;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ub=e;return}Ub=e=n}while(e!==null);ox=zb,Ub=null}function xl(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.cancelPendingCommit=null;do Dl();while(Nx!==Dx);if(sv.flushLegacyContextWarning(),sv.flushPendingUnsafeLifecycleWarnings(),(Vb&(Mb|Nb))!==jb)throw Error(`Should not already be working.`);if(qn(n),l===Ib?rr(f,p,n,xx):r===null?$n(f,p,n,xx):nr(f,p,n,r,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!=0,xx),t!==null){if(n===0&&console.error(`finishedLanes should not be empty during a commit. This is a bug in React.`),t===e.current)throw Error(`Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.`);if(a=t.lanes|t.childLanes,a|=kg,Fe(e,n,a,o,s,c),e===Hb&&(Ub=Hb=null,$=0),Fx=t,Px=e,Ix=n,Lx=a,zx=i,Bx=r,Rx=p,Vx=d,Hx=Cx,Ux=null,t.actualDuration!==0||t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Vl(bp,function(){return YS=window.event,Hx===Cx&&(Hx=Tx),Ol(),null})):(e.callbackNode=null,e.callbackPriority=0),b_=null,v_=p_(),d!==null&&ir(p,v_,d,xx),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=G.T,G.T=null,i=Hf.p,Hf.p=Fp,o=Vb,Vb|=Nb;try{pc(e,t,n)}finally{Vb=o,Hf.p=i,G.T=r}}Nx=Ox,Sl(),Cl(),wl()}}function Sl(){if(Nx===Ox){Nx=Dx;var e=Px,t=Fx,n=Ix,r=(t.flags&13878)!=0;if(t.subtreeFlags&13878||r){r=G.T,G.T=null;var i=Hf.p;Hf.p=Fp;var a=Vb;Vb|=Nb;try{bb=n,xb=e,ui(),Cc(t,e),xb=bb=null,n=KS;var o=Ln(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&In(s.ownerDocument.documentElement,s)){if(c!==null&&Rn(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Fn(s,h),v=Fn(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}IC=!!GS,KS=GS=null}finally{Vb=a,Hf.p=i,G.T=r}}e.current=t,Nx=kx}}function Cl(){if(Nx===kx){Nx=Dx;var e=Ux;if(e!==null){v_=p_();var t=y_,n=v_;!hg||n<=t||(X_?X_.run(console.timeStamp.bind(console,e,t,n,vg,_g,`secondary-light`)):console.timeStamp(e,t,n,vg,_g,`secondary-light`))}e=Px,t=Fx,n=Ix;var r=(t.flags&8772)!=0;if(t.subtreeFlags&8772||r){r=G.T,G.T=null;var i=Hf.p;Hf.p=Fp;var a=Vb;Vb|=Nb;try{bb=n,xb=e,ui(),mc(e,t.alternate,t),xb=bb=null}finally{Vb=a,Hf.p=i,G.T=r}}e=Rx,t=Vx,y_=p_(),e=t===null?e:v_,t=y_,n=Hx===wx,r=xx,b_===null?!hg||t<=e||(r?r.run(console.timeStamp.bind(console,n?`Commit Interrupted View Transition`:`Commit`,e,t,vg,_g,n?`error`:`secondary-dark`)):console.timeStamp(n?`Commit Interrupted View Transition`:`Commit`,e,t,vg,_g,n?`error`:`secondary-dark`)):ar(e,t,b_,!1,r),Nx=Ax}}function wl(){if(Nx===jx||Nx===Ax){if(Nx===jx){var e=y_;y_=p_();var t=y_,n=Hx===wx;!hg||t<=e||(X_?X_.run(console.timeStamp.bind(console,n?`Interrupted View Transition`:`Starting Animation`,e,t,vg,_g,n?`error`:`secondary-light`)):console.timeStamp(n?`Interrupted View Transition`:`Starting Animation`,e,t,vg,_g,n?` error`:`secondary-light`)),Hx!==wx&&(Hx=Ex)}Nx=Dx,hp(),e=Px;var r=Fx;t=Ix,n=Bx;var i=r.actualDuration!==0||(r.subtreeFlags&10256)!=0||(r.flags&10256)!=0;i?Nx=Mx:(Nx=Dx,Fx=Px=null,El(e,e.pendingLanes),Xx=0,Zx=null);var a=e.pendingLanes;if(a===0&&(Sx=null),i||Rl(e),a=He(t),r=r.stateNode,Ep&&typeof Ep.onCommitFiberRoot==`function`)try{var o=(r.current.flags&128)==128;switch(a){case Fp:var s=vp;break;case Ip:s=yp;break;case Lp:s=bp;break;case Rp:s=Sp;break;default:s=bp}Ep.onCommitFiberRoot(Tp,r,s,o)}catch(e){Dp||(Dp=!0,console.error(`React instrumentation encountered an error: %o`,e))}if(Op&&e.memoizedUpdaters.clear(),Kc(),n!==null){o=G.T,s=Hf.p,Hf.p=Fp,G.T=null;try{var c=e.onRecoverableError;for(r=0;r<n.length;r++){var l=n[r],u=Tl(l.stack);j(l.source,c,l.value,u)}}finally{G.T=o,Hf.p=s}}Ix&3&&Dl(),Ul(e),a=e.pendingLanes,t&261930&&a&42?(ev=!0,e===Kx?Gx++:(Gx=0,Kx=e)):Gx=0,i||rl(t,y_),V(0,!1)}}function Tl(e){return e={componentStack:e},Object.defineProperty(e,`digest`,{get:function(){console.error(`You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.`)}}),e}function El(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ii(t)))}function Dl(){return Sl(),Cl(),wl(),Ol()}function Ol(){if(Nx!==Mx)return!1;var e=Px,t=Lx;Lx=0;var n=He(Ix),r=Lp===0||Lp>n?Lp:n;n=G.T;var i=Hf.p;try{Hf.p=r,G.T=null;var a=zx;zx=null,r=Px;var o=Ix;if(Nx=Dx,Fx=Px=null,Ix=0,(Vb&(Mb|Nb))!==jb)throw Error(`Cannot flush passive effects while already rendering.`);qn(o),qx=!0,Jx=!1;var s=0;if(b_=null,s=gp(),Hx===Ex)or(y_,s,X_);else{var c=y_,l=s,u=Hx===Tx;!hg||l<=c||(xx?xx.run(console.timeStamp.bind(console,u?`Waiting for Paint`:`Waiting`,c,l,vg,_g,`secondary-light`)):console.timeStamp(u?`Waiting for Paint`:`Waiting`,c,l,vg,_g,`secondary-light`))}c=Vb,Vb|=Nb;var d=r.current;ui(),Hc(d);var f=r.current;d=Rx,ui(),Pc(r,f,o,a,d),Rl(r),Vb=c;var p=gp();if(f=s,d=xx,b_===null?!hg||p<=f||(d?d.run(console.timeStamp.bind(console,`Remaining Effects`,f,p,vg,_g,`secondary-dark`)):console.timeStamp(`Remaining Effects`,f,p,vg,_g,`secondary-dark`)):ar(f,p,b_,!0,d),rl(o,p),V(0,!1),Jx?r===Zx?Xx++:(Xx=0,Zx=r):Xx=0,Jx=qx=!1,Ep&&typeof Ep.onPostCommitFiberRoot==`function`)try{Ep.onPostCommitFiberRoot(Tp,r)}catch(e){Dp||(Dp=!0,console.error(`React instrumentation encountered an error: %o`,e))}var m=r.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{Hf.p=i,G.T=n,El(e,t)}}function kl(e,t,n){t=Or(n,t),xi(t),t=es(e.stateNode,t,2),e=Yi(e,t,2),e!==null&&(Pe(e,2),Ul(e))}function Al(e,t,n){if(Qx=!1,e.tag===3)kl(e,e,n);else{for(;t!==null;){if(t.tag===3){kl(t,e,n);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Sx===null||!Sx.has(r))){e=Or(n,e),xi(e),n=ts(2),r=Yi(t,n,2),r!==null&&(ns(n,r,t,e),Pe(r,2),Ul(r));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
155
-
156
- Error message:
157
-
158
- %s`,n)}}function jl(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ab;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ix=!0,i.add(n),r=Ml.bind(null,e,t,n),Op&&Bl(e,n),t.then(r,r))}function Ml(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,n&127?0>D_&&(E_=D_=p_(),O_=m_(`Promise Resolved`),k_=g_):n&4194048&&0>R_&&(I_=R_=p_(),B_=m_(`Promise Resolved`),z_=g_),qc()&&G.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
159
-
160
- When testing, code that resolves suspended data should be wrapped into act(...):
161
-
162
- act(() => {
163
- /* finish loading suspended data */
164
- });
165
- /* assert on the output */
166
-
167
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Hb===e&&($&n)===n&&(ox===Rb||ox===Lb&&($&62914560)===$&&gp()-hx<_x?(Vb&Mb)===jb&&il(e,0):lx|=n,dx===$&&(dx=0)),Ul(e)}function Nl(e,t){t===0&&(t=Me()),e=ur(e,t),e!==null&&(Pe(e,t),Ul(e))}function Pl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Nl(e,n)}function Fl(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(`Pinged unknown suspense boundary type. This is probably a bug in React.`)}r!==null&&r.delete(t),Nl(e,n)}function Il(e,t,n){if(t.subtreeFlags&67117056)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===Of;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&8192?j(i,Ll,r,i):i.subtreeFlags&67108864&&j(i,Il,r,i,a)):i.flags&67108864?a&&j(i,Ll,r,i):Il(r,i,a),t=t.sibling}}function Ll(e,t){Ee(!0);try{Dc(t),Wc(t),kc(e,t.alternate,t,!1),Ic(e,t,0,null,!1,0)}finally{Ee(!1)}}function Rl(e){var t=!0;e.current.mode&(Pg|Fg)||(t=!1),Il(e,e.current,t)}function zl(e){if((Vb&Mb)===jb){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=T(e)||`ReactComponent`,$x!==null){if($x.has(t))return;$x.add(t)}else $x=new Set([t]);j(e,function(){console.error(`Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.`)})}}}function Bl(e,t){Op&&e.memoizedUpdaters.forEach(function(n){Be(e,n,t)})}function Vl(e,t){var n=G.actQueue;return n===null?fp(e,t):(n.push(t),nS)}function Hl(e){qc()&&G.actQueue===null&&j(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
168
-
169
- When testing, code that causes React state updates should be wrapped into act(...):
170
-
171
- act(() => {
172
- /* fire events that update state */
173
- });
174
- /* assert on the output */
175
-
176
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,T(e))})}function Ul(e){e!==iS&&e.next===null&&(iS===null?rS=iS=e:iS=iS.next=e),sS=!0,G.actQueue===null?aS||(aS=!0,Xl()):oS||(oS=!0,Xl())}function V(e,t){if(!cS&&sS){cS=!0;do for(var n=!1,r=rS;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-kp(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Jl(r,a))}else a=$,a=ke(r,r===Hb?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==QS),!(a&3)||Ae(r,a)||(n=!0,Jl(r,a));r=r.next}while(n);cS=!1}}function Wl(){YS=window.event,Gl()}function Gl(){sS=oS=aS=!1;var e=0;lS!==0&&Ru()&&(e=lS);for(var t=gp(),n=null,r=rS;r!==null;){var i=r.next,a=Kl(r,t);a===0?(r.next=null,n===null?rS=i:n.next=i,i===null&&(iS=n)):(n=r,(e!==0||a&3)&&(sS=!0)),r=i}Nx!==Dx&&Nx!==Mx||V(e,!1),lS!==0&&(lS=0)}function Kl(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-kp(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=je(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Hb,n=$,n=ke(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==QS),r=e.callbackNode,n===0||e===t&&(ex===Kb||ex===$b)||e.cancelPendingCommit!==null)return r!==null&&Yl(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ae(e,n)){if(t=n&-n,t!==e.callbackPriority||G.actQueue!==null&&r!==uS)Yl(r);else return t;switch(He(n)){case Fp:case Ip:n=yp;break;case Lp:n=bp;break;case Rp:n=Sp;break;default:n=bp}return r=ql.bind(null,e),G.actQueue===null?n=fp(n,r):(G.actQueue.push(r),n=uS),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&Yl(r),e.callbackPriority=2,e.callbackNode=null,2}function ql(e,t){if(ev=$_=!1,YS=window.event,Nx!==Dx&&Nx!==Mx)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hx===Cx&&(Hx=Tx),Dl()&&e.callbackNode!==n)return null;var r=$;return r=ke(e,e===Hb?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==QS),r===0?null:(Zc(e,r,t),Kl(e,gp()),e.callbackNode!=null&&e.callbackNode===n?ql.bind(null,e):null)}function Jl(e,t){if(Dl())return null;$_=ev,ev=!1,Zc(e,t,!0)}function Yl(e){e!==uS&&e!==null&&pp(e)}function Xl(){G.actQueue!==null&&G.actQueue.push(function(){return Gl(),null}),eC(function(){(Vb&(Mb|Nb))===jb?Gl():fp(vp,Wl)})}function Zl(){if(lS===0){var e=rv;e===0&&(e=Mp,Mp<<=1,!(Mp&261888)&&(Mp=256)),lS=e}return lS}function Ql(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(Se(e,`action`),nn(``+e))}function $l(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function eu(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Ql((i[Vp]||null).action),o=r.submitter;o&&(t=(t=o[Vp]||null)?Ql(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new th(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(lS!==0){var e=o?$l(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),Do(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?$l(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),Do(n,t,a,e))},currentTarget:i}]})}}function tu(e,t,n){e.currentTarget=n;try{t(e)}catch(e){og(e)}e.currentTarget=null}function nu(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n];a:{var i=void 0,a=r.event;if(r=r.listeners,t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?tu(a,s,l):j(c,tu,a,s,l),i=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?tu(a,s,l):j(c,tu,a,s,l),i=c}}}}function H(e,t){fS.has(e)||console.error(`Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.`,e);var n=t[Up];n===void 0&&(n=t[Up]=new Set);var r=e+`__bubble`;n.has(r)||(au(t,e,2,!1),n.add(r))}function ru(e,t,n){fS.has(e)&&!t&&console.error(`Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.`,e);var r=0;t&&(r|=4),au(n,e,r,t)}function iu(e){if(!e[pS]){e[pS]=!0,Jp.forEach(function(t){t!==`selectionchange`&&(fS.has(t)||ru(t,!1,e),ru(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pS]||(t[pS]=!0,ru(`selectionchange`,!1,t))}}function au(e,t,n,r){switch(of(t)){case Fp:var i=ef;break;case Ip:i=tf;break;default:i=nf}n=i.bind(null,t,n,e),i=void 0,!Ym||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function ou(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Ke(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}sn(function(){var r=a,i=an(n),o=[];a:{var s=eg.get(e);if(s!==void 0){var c=th,l=e;switch(e){case`keypress`:if(un(n)===0)break a;case`keydown`:case`keyup`:c=vh;break;case`focusin`:l=`focus`,c=uh;break;case`focusout`:l=`blur`,c=uh;break;case`beforeblur`:case`afterblur`:c=uh;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=ch;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=lh;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=bh;break;case qh:case Jh:case Yh:c=dh;break;case $h:c=xh;break;case`scroll`:case`scrollend`:c=rh;break;case`wheel`:c=Sh;break;case`copy`:case`cut`:case`paste`:c=fh;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=yh;break;case`toggle`:case`beforetoggle`:c=Ch}var u=(t&4)!=0,d=!u&&(e===`scroll`||e===`scrollend`),f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){var h=p;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||f===null||(h=cn(p,f),h!=null&&u.push(su(p,h,m))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Wm&&(l=n.relatedTarget||n.fromElement)&&(Ke(l)||l[Hp]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Ke(l):null,l!==null&&(d=v(l),u=l.tag,l!==d||u!==5&&u!==27&&u!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=ch,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=yh,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Je(c),m=l==null?s:Je(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Ke(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=lu,f=c,p=l,m=0,h=f;h;h=u(h))m++;h=0;for(var g=p;g;g=u(g))h++;for(;0<m-h;)f=u(f),m--;for(;0<h-m;)p=u(p),h--;for(;m--;){if(f===p||p!==null&&f===p.alternate){u=f;break b}f=u(f),p=u(p)}u=null}else u=null;c!==null&&uu(o,s,c,u,!1),l!==null&&d!==null&&uu(o,d,l,u,!0)}}a:{if(s=r?Je(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=Tn;else if(bn(s))if(Lh)_=jn;else{_=kn;var y=On}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&Xt(r.elementType)&&(_=Tn):_=An;if(_&&=_(e,r)){Sn(o,_,n,i);break a}y&&y(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&ht(s,`number`,s.value)}switch(y=r?Je(r):window,e){case`focusin`:(bn(y)||y.contentEditable===`true`)&&(Bh=y,Vh=r,Hh=null);break;case`focusout`:Hh=Vh=Bh=null;break;case`mousedown`:Uh=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Uh=!1,zn(o,n,i);break;case`selectionchange`:if(zh)break;case`keydown`:case`keyup`:zn(o,n,i)}var b;if(Eh)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Nh?gn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===Th&&(x=`onCompositionStart`);x&&(kh&&n.locale!==`ko`&&(Nh||x!==`onCompositionStart`?x===`onCompositionEnd`&&Nh&&(b=ln()):(Zm=i,Qm=`value`in Zm?Zm.value:Zm.textContent,Nh=!0)),y=cu(r,x),0<y.length&&(x=new ph(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=_n(n),b!==null&&(x.data=b)))),(b=Oh?vn(e,n):yn(e,n))&&(x=cu(r,`onBeforeInput`),0<x.length&&(y=new mh(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),eu(o,e,r,n,i)}nu(o,t)})}function su(e,t,n){return{instance:e,listener:t,currentTarget:n}}function cu(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=cn(e,n),i!=null&&r.unshift(su(e,i,a)),i=cn(e,t),i!=null&&r.push(su(e,i,a))),e.tag===3)return r;e=e.return}return[]}function lu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function uu(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=cn(n,a),l!=null&&o.unshift(su(n,l,c))):i||(l=cn(n,a),l!=null&&o.push(su(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function du(e,t){$t(e,t),e!==`input`&&e!==`textarea`&&e!==`select`||t==null||t.value!==null||Lm||(Lm=!0,e===`select`&&t.multiple?console.error("`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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Yp,possibleRegistrationNames:Xp};Xt(e)||typeof t.is==`string`||tn(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("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.")}function fu(e,t,n,r){t!==n&&(n=gu(n),gu(t)!==n&&(r[e]=t))}function pu(e,t,n){t.forEach(function(t){n[Su(t)]=t===`style`?Cu(e):e.getAttribute(t)})}function mu(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function hu(e,t){return e=e.namespaceURI===km||e.namespaceURI===Am?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function gu(e){return be(e)&&(console.error(`The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,ye(e)),xe(e)),(typeof e==`string`?e:``+e).replace(SS,`
177
- `).replace(CS,``)}function _u(e,t){return t=gu(t),gu(e)===t}function vu(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?(Gt(r,t,!1),t===`body`||t===`textarea`&&r===``||Kt(e,r)):(typeof r==`number`||typeof r==`bigint`)&&(Gt(``+r,t,!1),t!==`body`&&Kt(e,``+r));break;case`className`:rt(e,`class`,r);break;case`tabIndex`:rt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:rt(e,n,r);break;case`style`:Yt(e,r,a);break;case`data`:if(t!==`object`){rt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){console.error(n===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,n,n),e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}Se(r,n),r=nn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(r!=null&&(t===`form`?n===`formAction`?console.error(`You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.`):typeof r==`function`&&(i.encType==null&&i.method==null||yS||(yS=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),i.target==null||vS||(vS=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`))):t===`input`||t===`button`?n===`action`?console.error(`You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.`):t!==`input`||i.type===`submit`||i.type===`image`||gS?t!==`button`||i.type==null||i.type===`submit`||gS?typeof r==`function`&&(i.name==null||_S||(_S=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i.formEncType==null&&i.formMethod==null||yS||(yS=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),i.formTarget==null||vS||(vS=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`))):(gS=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`)):(gS=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`)):console.error(n===`action`?`You can only pass the action prop to <form>.`:`You can only pass the formAction prop to <input> or <button>.`)),typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof a==`function`&&(n===`formAction`?(t!==`input`&&vu(e,t,`name`,i.name,i,null),vu(e,t,`formEncType`,i.formEncType,i,null),vu(e,t,`formMethod`,i.formMethod,i,null),vu(e,t,`formTarget`,i.formTarget,i,null)):(vu(e,t,`encType`,i.encType,i,null),vu(e,t,`method`,i.method,i,null),vu(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}Se(r,n),r=nn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&mu(n,r),e.onclick=rn);break;case`onScroll`:r!=null&&(typeof r!=`function`&&mu(n,r),H(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&mu(n,r),H(`scrollend`,e));break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}Se(r,n),n=nn(``+r),e.setAttributeNS(wS,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(Se(r,n),e.setAttribute(n,``+r)):e.removeAttribute(n);break;case`inert`:r!==``||xS[n]||(xS[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(Se(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?(Se(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):(Se(r,n),e.setAttribute(n,r));break;case`popover`:H(`beforetoggle`,e),H(`toggle`,e),nt(e,`popover`,r);break;case`xlinkActuate`:it(e,wS,`xlink:actuate`,r);break;case`xlinkArcrole`:it(e,wS,`xlink:arcrole`,r);break;case`xlinkRole`:it(e,wS,`xlink:role`,r);break;case`xlinkShow`:it(e,wS,`xlink:show`,r);break;case`xlinkTitle`:it(e,wS,`xlink:title`,r);break;case`xlinkType`:it(e,wS,`xlink:type`,r);break;case`xmlBase`:it(e,TS,`xml:base`,r);break;case`xmlLang`:it(e,TS,`xml:lang`,r);break;case`xmlSpace`:it(e,TS,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),nt(e,`is`,r);break;case`innerText`:case`textContent`:break;case`popoverTarget`:bS||typeof r!=`object`||!r||(bS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`?(n=Zt(n),nt(e,n,r)):Yp.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&mu(n,r)}}function yu(e,t,n,r,i,a){switch(n){case`style`:Yt(e,r,a);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`children`:typeof r==`string`?Kt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Kt(e,``+r);break;case`onScroll`:r!=null&&(typeof r!=`function`&&mu(n,r),H(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&mu(n,r),H(`scrollend`,e));break;case`onClick`:r!=null&&(typeof r!=`function`&&mu(n,r),e.onclick=rn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(Yp.hasOwnProperty(n))r!=null&&typeof r!=`function`&&mu(n,r);else a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),a=e[Vp]||null,a=a==null?null:a[n],typeof a==`function`&&e.removeEventListener(t,a,i),typeof r==`function`)){typeof a!=`function`&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):nt(e,n,r)}}}function bu(e,t,n){switch(du(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:H(`error`,e),H(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:vu(e,t,a,o,n,null)}}i&&vu(e,t,`srcSet`,n.srcSet,n,null),r&&vu(e,t,`src`,n.src,n,null);return;case`input`:$e(`input`,n),H(`invalid`,e);var s=a=o=i=null,c=null,l=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case`name`:i=u;break;case`type`:o=u;break;case`checked`:c=u;break;case`defaultChecked`:l=u;break;case`value`:a=u;break;case`defaultValue`:s=u;break;case`children`:case`dangerouslySetInnerHTML`:if(u!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:vu(e,t,r,u,n,null)}}ft(e,n),mt(e,a,s,c,l,o,i,!1);return;case`select`:for(i in $e(`select`,n),H(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case`value`:a=s;break;case`defaultValue`:o=s;break;case`multiple`:r=s;default:vu(e,t,i,s,n,null)}yt(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&vt(e,!!r,n,!0):vt(e,!!r,t,!1);return;case`textarea`:for(o in $e(`textarea`,n),H(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case`value`:r=s;break;case`defaultValue`:i=s;break;case`children`:a=s;break;case`dangerouslySetInnerHTML`:if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:vu(e,t,o,s,n,null)}bt(e,n),St(e,r,i,a);return;case`option`:for(c in gt(e,n),n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:vu(e,t,c,r,n,null)}return;case`dialog`:H(`beforetoggle`,e),H(`toggle`,e),H(`cancel`,e),H(`close`,e);break;case`iframe`:case`object`:H(`load`,e);break;case`video`:case`audio`:for(r=0;r<dS.length;r++)H(dS[r],e);break;case`image`:H(`error`,e),H(`load`,e);break;case`details`:H(`toggle`,e);break;case`embed`:case`source`:case`link`:H(`error`,e),H(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:vu(e,t,l,r,n,null)}return;default:if(Xt(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&yu(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&vu(e,t,s,r,n,null))}function xu(e,t,n,r){switch(du(t,r),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,s=null,c=null,l=null,u=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&d!=null)switch(p){case`checked`:break;case`value`:break;case`defaultValue`:c=d;default:r.hasOwnProperty(p)||vu(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(p!=null||d!=null))switch(f){case`type`:a=p;break;case`name`:i=p;break;case`checked`:l=p;break;case`defaultChecked`:u=p;break;case`value`:o=p;break;case`defaultValue`:s=p;break;case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&vu(e,t,f,p,r,d)}}t=n.type===`checkbox`||n.type===`radio`?n.checked!=null:n.value!=null,r=r.type===`checkbox`||r.type===`radio`?r.checked!=null:r.value!=null,t||!r||hS||(console.error(`A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),hS=!0),!t||r||mS||(console.error(`A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),mS=!0),pt(e,o,s,c,l,u,a,i);return;case`select`:for(a in p=o=s=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&c!=null)switch(a){case`value`:break;case`multiple`:p=c;default:r.hasOwnProperty(a)||vu(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(a!=null||c!=null))switch(i){case`value`:f=a;break;case`defaultValue`:s=a;break;case`multiple`:o=a;default:a!==c&&vu(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?vt(e,!!t,t?[]:``,!1):vt(e,!!t,r,!0)):vt(e,!!t,f,!1);return;case`textarea`:for(s in p=f=null,n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case`value`:break;case`children`:break;default:vu(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:f=i;break;case`defaultValue`:p=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:i!==a&&vu(e,t,o,i,r,a)}xt(e,f,p);return;case`option`:for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m))switch(m){case`selected`:e.selected=!1;break;default:vu(e,t,m,null,r,f)}for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case`selected`:e.selected=f&&typeof f!=`function`&&typeof f!=`symbol`;break;default:vu(e,t,c,f,r,p)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var h in n)f=n[h],n.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&vu(e,t,h,null,r,f);for(l in r)if(f=r[l],p=n[l],r.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:if(f!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:vu(e,t,l,f,r,p)}return;default:if(Xt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&yu(e,t,g,void 0,r,f);for(u in r)f=r[u],p=n[u],!r.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||yu(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&vu(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||vu(e,t,d,f,r,p)}function Su(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function Cu(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function wu(e,t,n){if(t!=null&&typeof t!=`object`)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,i=r=``,a;for(a in t)if(t.hasOwnProperty(a)){var o=t[a];o!=null&&typeof o!=`boolean`&&o!==``&&(a.indexOf(`--`)===0?(Ce(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||Om.has(a)?(Ce(o,a),r+=i+a.replace(vm,`-$1`).toLowerCase().replace(ym,`-ms-`)+`:`+(``+o).trim()):r+=i+a.replace(vm,`-$1`).toLowerCase().replace(ym,`-ms-`)+`:`+o+`px`,i=`;`)}r||=null,t=e.getAttribute(`style`),t!==r&&(r=gu(r),gu(t)!==r&&(n.style=Cu(e)))}}function Tu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(Se(r,t),e===``+r)return}fu(t,e,r,a)}function Eu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null){switch(typeof r){case`function`:case`symbol`:return}if(!r)return}else switch(typeof r){case`function`:case`symbol`:break;default:if(r)return}fu(t,e,r,a)}function Du(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(Se(r,n),e===``+r)return}fu(t,e,r,a)}function Ou(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(!isNaN(r)&&(Se(r,t),e===``+r))return}fu(t,e,r,a)}function ku(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(Se(r,t),n=nn(``+r),e===n)return}fu(t,e,r,a)}function Au(e,t,n,r){for(var i={},a=new Set,o=e.attributes,s=0;s<o.length;s++)switch(o[s].name.toLowerCase()){case`value`:break;case`checked`:break;case`selected`:break;default:a.add(o[s].name)}if(Xt(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(Yp.hasOwnProperty(c))typeof l!=`function`&&mu(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||fu(`children`,e.textContent,l,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,l=l?l.__html:void 0,l!=null&&(l=hu(e,l),fu(c,o,l,i));continue;case`style`:a.delete(c),wu(e,l,i);continue;case`offsetParent`:case`offsetTop`:case`offsetLeft`:case`offsetWidth`:case`offsetHeight`:case`isContentEditable`:case`outerText`:case`outerHTML`:a.delete(c.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",c);continue;case`className`:a.delete(`class`),o=tt(e,`class`,l),fu(`className`,o,l,i);continue;default:r.context===HS&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=tt(e,c,l),fu(c,o,l,i)}}}}else for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null)){if(Yp.hasOwnProperty(l))typeof c!=`function`&&mu(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||fu(`children`,e.textContent,c,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`value`:case`checked`:case`selected`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,c=c?c.__html:void 0,c!=null&&(c=hu(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:Tu(e,l,`class`,c,a,i);continue;case`tabIndex`:Tu(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),wu(e,c,i);continue;case`multiple`:a.delete(l),fu(l,e.multiple,c,i);continue;case`muted`:a.delete(l),fu(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),fu(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),fu(l,o,c,i);continue}case`src`:case`href`:if(!(c!==``||t===`a`&&l===`href`||t===`object`&&l===`data`)){console.error(l===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,l,l);continue}ku(e,l,l,c,a,i);continue;case`action`:case`formAction`:if(o=e.getAttribute(l),typeof c==`function`){a.delete(l.toLowerCase()),l===`formAction`?(a.delete(`name`),a.delete(`formenctype`),a.delete(`formmethod`),a.delete(`formtarget`)):(a.delete(`enctype`),a.delete(`method`),a.delete(`target`));continue}else if(o===ES){a.delete(l.toLowerCase()),fu(l,`function`,c,i);continue}ku(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:ku(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Du(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Du(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Du(e,l,l,c,a,i);continue;case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:Eu(e,l,l.toLowerCase(),c,a,i);continue;case`capture`:case`download`:a:{s=e;var u=o=l,d=i;if(a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:break a;default:if(!1===c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:break;case`boolean`:if(!0===c&&s===``)break a;break;default:if(Se(c,o),s===``+c)break a}fu(o,s,c,d)}continue;case`cols`:case`rows`:case`size`:case`span`:a:{if(s=e,u=o=l,d=i,a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:case`boolean`:break a;default:if(isNaN(c)||1>c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:case`boolean`:break;default:if(!(isNaN(c)||1>c)&&(Se(c,o),s===``+c))break a}fu(o,s,c,d)}continue;case`rowSpan`:Ou(e,l,`rowspan`,c,a,i);continue;case`start`:Ou(e,l,l,c,a,i);continue;case`xHeight`:Tu(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:Tu(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:Tu(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:Tu(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:Tu(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:Tu(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:Tu(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:Tu(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:Tu(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:Tu(e,l,`xml:space`,c,a,i);continue;case`inert`:c!==``||xS[l]||(xS[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l)),Eu(e,l,l,c,a,i);continue;default:if(!(2<l.length)||l[0]!==`o`&&l[0]!==`O`||l[1]!==`n`&&l[1]!==`N`){s=Zt(l),o=!1,r.context===HS&&t!==`svg`&&t!==`math`?a.delete(s.toLowerCase()):(u=l.toLowerCase(),u=Mm.hasOwnProperty(u)&&Mm[u]||null,u!==null&&u!==l&&(o=!0,a.delete(u)),a.delete(s));a:if(u=e,d=s,s=c,et(d))if(u.hasAttribute(d))u=u.getAttribute(d),Se(s,d),s=u===``+s?s:u;else{switch(typeof s){case`function`:case`symbol`:break a;case`boolean`:if(u=d.toLowerCase().slice(0,5),u!==`data-`&&u!==`aria-`)break a}s=s===void 0?void 0:null}else s=void 0;o||fu(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&pu(e,a,i),Object.keys(i).length===0?null:i}function ju(e,t){switch(e.length){case 0:return``;case 1:return e[0];case 2:return e[0]+` `+t+` `+e[1];default:return e.slice(0,-1).join(`, `)+`, `+t+` `+e[e.length-1]}}function Mu(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Nu(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Mu(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Mu(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}function Pu(e){return e.nodeType===9?e:e.ownerDocument}function Fu(e){switch(e){case Am:return US;case km:return WS;default:return HS}}function Iu(e,t){if(e===HS)switch(t){case`svg`:return US;case`math`:return WS;default:return HS}return e===US&&t===`foreignObject`?HS:e}function Lu(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Ru(){var e=window.event;return e&&e.type===`popstate`?e===JS?!1:(JS=e,!0):(JS=null,!1)}function zu(){var e=window.event;return e&&e!==YS?e.type:null}function Bu(){var e=window.event;return e&&e!==YS?e.timeStamp:-1.1}function Vu(e){setTimeout(function(){throw e})}function Hu(e,t,n){switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&e.focus();break;case`img`:n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Uu(){}function Wu(e,t,n,r){xu(e,t,n,r),e[Vp]=r}function Gu(e){Kt(e,``)}function Ku(e,t,n){e.nodeValue=n}function qu(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Vp]||null;if(t!==null){var n=qe(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,j(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,j(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Ju(e){return e===`head`}function Yu(e,t){e.removeChild(t)}function Xu(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function Zu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===jS||n===kS){if(r===0){e.removeChild(i),gf(t);return}r--}else if(n===AS||n===MS||n===NS||n===PS||n===OS)r++;else if(n===FS)Sd(e.ownerDocument.documentElement);else if(n===LS){n=e.ownerDocument.head,Sd(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[qp]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===IS&&Sd(e.ownerDocument.body);n=i}while(n);gf(t)}function Qu(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===jS){if(e===0)break;e--}else n!==AS&&n!==MS&&n!==NS&&n!==PS||e++;n=r}while(n)}function $u(e){Qu(e,!0)}function ed(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function td(e){e.nodeValue=``}function nd(e){Qu(e,!1)}function rd(e,t){t=t[VS],t=t!=null&&t.hasOwnProperty(`display`)?t.display:null,e.style.display=t==null||typeof t==`boolean`?``:(``+t).trim()}function id(e,t){e.nodeValue=t}function ad(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:ad(n),Ge(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function od(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){Se(i.name,`name`);var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[qp])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=fd(e.nextSibling),e===null)break}return null}function sd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=fd(e.nextSibling),e===null))return null;return e}function cd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=fd(e.nextSibling),e===null))return null;return e}function ld(e){return e.data===MS||e.data===NS}function ud(e){return e.data===PS||e.data===MS&&e.ownerDocument.readyState!==BS}function dd(e,t){var n=e.ownerDocument;if(e.data===NS)e._reactRetry=t;else if(e.data!==MS||n.readyState!==BS)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function fd(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===AS||t===PS||t===MS||t===NS||t===OS||t===RS||t===zS)break;if(t===jS||t===kS)return null}}return e}function pd(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,i=0;i<r.length;i++){var a=r[i];n[Su(a.name)]=a.name.toLowerCase()===`style`?Cu(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===OS?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function md(e,t,n){return n===null||!0!==n[DS]?(e.nodeValue===t?e=null:(t=gu(t),e=gu(e.nodeValue)===t?null:e.nodeValue),e):null}function hd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===jS||n===kS){if(t===0)return fd(e.nextSibling);t--}else n!==AS&&n!==PS&&n!==MS&&n!==NS&&n!==OS||t++}e=e.nextSibling}return null}function gd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===AS||n===PS||n===MS||n===NS||n===OS){if(t===0)return e;t--}else n!==jS&&n!==kS||t++}e=e.previousSibling}return null}function _d(e){gf(e)}function vd(e){gf(e)}function yd(e){gf(e)}function bd(e,t,n,r,i){switch(i&&Wt(e,r.ancestorInfo),t=Pu(n),e){case`html`:if(e=t.documentElement,!e)throw Error(`React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`head`:if(e=t.head,!e)throw Error(`React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`body`:if(e=t.body,!e)throw Error(`React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.`);return e;default:throw Error(`resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}}function xd(e,t,n,r){if(!n[Hp]&&qe(n)){var i=n.tagName.toLowerCase();console.error(`You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.`,i,i,i)}switch(e){case`html`:case`head`:case`body`:break;default:console.error(`acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}for(i=n.attributes;i.length;)n.removeAttributeNode(i[0]);bu(n,e,t),n[Bp]=r,n[Vp]=t}function Sd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ge(e)}function Cd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function wd(e,t,n){var r=uC;if(r&&typeof t==`string`&&t){var i=dt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),cC.has(i)||(cC.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),bu(t,`link`,e),Xe(t),r.head.appendChild(t)))}}function Td(e,t,n,r){var i=(i=Yf.current)?Cd(i):null;if(!i)throw Error(`"resourceRoot" was expected to exist. This is a bug in React.`);switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=U(n.href),t=Ye(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=U(n.href);var a=Ye(i).hoistableStyles,o=a.get(e);if(!o&&(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:nC,preload:null}},a.set(e,o),(a=i.querySelector(Dd(e)))&&!a._p&&(o.instance=a,o.state.loading=rC|oC),!sC.has(e))){var s={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};sC.set(e,s),a||kd(i,e,s,o.state)}if(t&&r===null)throw n=`
178
-
179
- - `+Ed(t)+`
180
- + `+Ed(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return o}if(t&&r!==null)throw n=`
181
-
182
- - `+Ed(t)+`
183
- + `+Ed(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Ad(n),t=Ye(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(`getResource encountered a type it did not expect: "`+e+`". this is a bug in React.`)}}function Ed(e){var t=0,n=`<link`;return typeof e.rel==`string`?(t++,n+=` rel="`+e.rel+`"`):dp.call(e,`rel`)&&(t++,n+=` rel="`+(e.rel===null?`null`:`invalid type `+typeof e.rel)+`"`),typeof e.href==`string`?(t++,n+=` href="`+e.href+`"`):dp.call(e,`href`)&&(t++,n+=` href="`+(e.href===null?`null`:`invalid type `+typeof e.href)+`"`),typeof e.precedence==`string`?(t++,n+=` precedence="`+e.precedence+`"`):dp.call(e,`precedence`)&&(t++,n+=` precedence={`+(e.precedence===null?`null`:`invalid type `+typeof e.precedence)+`}`),Object.getOwnPropertyNames(e).length>t&&(n+=` ...`),n+` />`}function U(e){return`href="`+dt(e)+`"`}function Dd(e){return`link[rel="stylesheet"][`+e+`]`}function Od(e){return W({},e,{"data-precedence":e.precedence,precedence:null})}function kd(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=rC:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=rC}),t.addEventListener(`error`,function(){return r.loading|=iC}),bu(t,`link`,n),Xe(t),e.head.appendChild(t))}function Ad(e){return`[src="`+dt(e)+`"]`}function jd(e){return`script[async]`+e}function Md(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+dt(n.href)+`"]`);if(r)return t.instance=r,Xe(r),r;var i=W({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Xe(r),bu(r,`style`,i),Nd(r,n.precedence,e),t.instance=r;case`stylesheet`:i=U(n.href);var a=e.querySelector(Dd(i));if(a)return t.state.loading|=oC,t.instance=a,Xe(a),a;r=Od(n),(i=sC.get(i))&&Pd(r,i),a=(e.ownerDocument||e).createElement(`link`),Xe(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),bu(a,`link`,r),t.state.loading|=oC,Nd(a,n.precedence,e),t.instance=a;case`script`:return a=Ad(n.src),(i=e.querySelector(jd(a)))?(t.instance=i,Xe(i),i):(r=n,(i=sC.get(a))&&(r=W({},n),Fd(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Xe(i),bu(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(`acquireResource encountered a resource type it did not expect: "`+t.type+`". this is a bug in React.`)}else t.type===`stylesheet`&&(t.state.loading&oC)===nC&&(r=t.instance,t.state.loading|=oC,Nd(r,n.precedence,e));return t.instance}function Nd(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Pd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Fd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Id(e,t,n){if(dC===null){var r=new Map,i=dC=new Map;i.set(n,r)}else i=dC,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[qp]||a[Bp]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==Am){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Ld(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Rd(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===US||t.itemProp!=null)return!r||t.itemProp==null||e!==`meta`&&e!==`title`&&e!==`style`&&e!==`link`&&e!==`script`||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError){if(t.rel===`stylesheet`&&typeof t.precedence==`string`){e=t.href;var i=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),i&&n.push("`onError`"),a!=null&&n.push("`disabled`"),i=ju(n,`and`),i+=n.length===1?` prop`:` props`,a=n.length===1?`an `+i:`the `+i,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,i)}r&&(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error(`Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`));break}switch(t.rel){case`stylesheet`:return e=t.precedence,t=t.disabled,typeof e!=`string`&&r&&console.error(`Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.`),typeof e==`string`&&t==null;default:return!0}case`script`:if(e=t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`,!e||t.onLoad||t.onError||!t.src||typeof t.src!=`string`){r&&(e?t.onLoad||t.onError?console.error(`Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error(`Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.`));break}return!0;case`noscript`:case`template`:r&&console.error(`Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,e)}return!1}function zd(e){return!(e.type===`stylesheet`&&(e.state.loading&aC)===nC)}function Bd(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&(n.state.loading&oC)===nC){if(n.instance===null){var i=U(r.href),a=t.querySelector(Dd(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Hd.bind(e),t.then(e,e)),n.state.loading|=oC,n.instance=a,Xe(a);return}a=t.ownerDocument||t,r=Od(r),(i=sC.get(i))&&Pd(r,i),a=a.createElement(`link`),Xe(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),bu(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&aC)===nC&&(e.count++,n=Hd.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Vd(e,t){return e.stylesheets&&e.count===0&&Ud(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Ud(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},fC+t);0<e.imgBytes&&hC===0&&(hC=125*Nu()*mC);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ud(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>hC?50:pC)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Hd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ud(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Ud(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,_C=new Map,t.forEach(Wd,e),_C=null,Hd.call(e))}function Wd(e,t){if(!(t.state.loading&oC)){var n=_C.get(e);if(n)var r=n.get(gC);else{n=new Map,_C.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(gC,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(gC,i),n.set(o,i),this.count++,r=Hd.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=oC}}function Gd(e,t,n,r,i,a,o,s,c){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=QS,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ne(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ne(0),this.hiddenUpdates=Ne(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?`hydrateRoot()`:`createRoot()`}function Kd(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Gd(e,t,n,o,c,l,u,d,s),t=Ng,!0===a&&(t|=Pg|Fg),t|=q,a=p(3,null,null,t),e.current=a,a.stateNode=e,t=ni(),ri(t),e.pooledCache=t,ri(t),a.memoizedState={element:r,isDehydrated:n,cache:t},Ki(a),e}function qd(e){return e?(e=Ag,e):Ag}function Jd(e,t,n,r,i,a){if(Ep&&typeof Ep.onScheduleFiberRoot==`function`)try{Ep.onScheduleFiberRoot(Tp,r,n)}catch(e){Dp||(Dp=!0,console.error(`React instrumentation encountered an error: %o`,e))}i=qd(i),r.context===null?r.context=i:r.pendingContext=i,up&&lp!==null&&!TC&&(TC=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
184
-
185
- Check the render method of %s.`,T(lp)||`Unknown`)),r=Ji(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(typeof a!=`function`&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),n=Yi(e,r,t),n!==null&&(ai(t,`root.render()`,null),Xc(n,e,t),Xi(n,e,t))}function Yd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xd(e,t){Yd(e,t),(e=e.alternate)&&Yd(e,t)}function Zd(e){if(e.tag===13||e.tag===31){var t=ur(e,67108864);t!==null&&Xc(t,e,67108864),Xd(e,67108864)}}function Qd(e){if(e.tag===13||e.tag===31){var t=Jc(e);t=ze(t);var n=ur(e,t);n!==null&&Xc(n,e,t),Xd(e,t)}}function $d(){return lp}function ef(e,t,n,r){var i=G.T;G.T=null;var a=Hf.p;try{Hf.p=Fp,nf(e,t,n,r)}finally{Hf.p=a,G.T=i}}function tf(e,t,n,r){var i=G.T;G.T=null;var a=Hf.p;try{Hf.p=Ip,nf(e,t,n,r)}finally{Hf.p=a,G.T=i}}function nf(e,t,n,r){if(IC){var i=rf(r);if(i===null)ou(e,t,r,LC,n),sf(e,r);else if(lf(i,e,t,n,r))r.stopPropagation();else if(sf(e,r),t&4&&-1<GC.indexOf(e)){for(;i!==null;){var a=qe(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Oe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-kp(o);s.entanglements[1]|=c,o&=~c}Ul(a),(Vb&(Mb|Nb))===jb&&(vx=gp()+yx,V(0,!1))}}break;case 31:case 13:s=ur(a,2),s!==null&&Xc(s,a,2),tl(),Xd(a,2)}if(a=rf(r),a===null&&ou(e,t,r,LC,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else ou(e,t,r,null,n)}}function rf(e){return e=an(e),af(e)}function af(e){if(LC=null,e=Ke(e),e!==null){var t=v(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=y(t),e!==null)return e;e=null}else if(n===31){if(e=b(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return LC=e,null}function of(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return Fp;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return Ip;case`message`:switch(_p()){case vp:return Fp;case yp:return Ip;case bp:case xp:return Lp;case Sp:return Rp;default:return Lp}default:return Lp}}function sf(e,t){switch(e){case`focusin`:case`focusout`:zC=null;break;case`dragenter`:case`dragleave`:BC=null;break;case`mouseover`:case`mouseout`:VC=null;break;case`pointerover`:case`pointerout`:HC.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:UC.delete(t.pointerId)}}function cf(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=qe(t),t!==null&&Zd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function lf(e,t,n,r,i){switch(t){case`focusin`:return zC=cf(zC,e,t,n,r,i),!0;case`dragenter`:return BC=cf(BC,e,t,n,r,i),!0;case`mouseover`:return VC=cf(VC,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return HC.set(a,cf(HC.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,UC.set(a,cf(UC.get(a)||null,e,t,n,r,i)),!0}return!1}function uf(e){var t=Ke(e.target);if(t!==null){var n=v(t);if(n!==null){if(t=n.tag,t===13){if(t=y(n),t!==null){e.blockedOn=t,We(e.priority,function(){Qd(n)});return}}else if(t===31){if(t=b(n),t!==null){e.blockedOn=t,We(e.priority,function(){Qd(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function df(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=rf(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n),i=r;Wm!==null&&console.error(`Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`),Wm=i,n.target.dispatchEvent(r),Wm===null&&console.error(`Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.`),Wm=null}else return t=qe(n),t!==null&&Zd(t),e.blockedOn=n,!1;t.shift()}return!0}function ff(e,t,n){df(e)&&n.delete(t)}function pf(){RC=!1,zC!==null&&df(zC)&&(zC=null),BC!==null&&df(BC)&&(BC=null),VC!==null&&df(VC)&&(VC=null),HC.forEach(ff),UC.forEach(ff)}function mf(e,t){e.blockedOn===t&&(e.blockedOn=null,RC||(RC=!0,xf.unstable_scheduleCallback(xf.unstable_NormalPriority,pf)))}function hf(e){KC!==e&&(KC=e,xf.unstable_scheduleCallback(xf.unstable_NormalPriority,function(){KC===e&&(KC=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(af(r||n)===null)continue;break}var a=qe(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),Do(a,n,r,i))}}))}function gf(e){function t(t){return mf(t,e)}zC!==null&&mf(zC,e),BC!==null&&mf(BC,e),VC!==null&&mf(VC,e),HC.forEach(t),UC.forEach(t);for(var n=0;n<WC.length;n++){var r=WC[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<WC.length&&(n=WC[0],n.blockedOn===null);)uf(n),n.blockedOn===null&&WC.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Vp]||null;if(typeof a==`function`)o||hf(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Vp]||null)s=o.formAction;else if(af(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),hf(n)}}}function _f(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function vf(e){this._internalRoot=e}function yf(e){this._internalRoot=e}function bf(e){e[Hp]&&(e._reactRootContainer?console.error(`You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.`):console.error(`You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.`))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var xf=ne(),Sf=require(`react`),Cf=require(`react-dom`),W=Object.assign,wf=Symbol.for(`react.element`),Tf=Symbol.for(`react.transitional.element`),Ef=Symbol.for(`react.portal`),Df=Symbol.for(`react.fragment`),Of=Symbol.for(`react.strict_mode`),kf=Symbol.for(`react.profiler`),Af=Symbol.for(`react.consumer`),jf=Symbol.for(`react.context`),Mf=Symbol.for(`react.forward_ref`),Nf=Symbol.for(`react.suspense`),Pf=Symbol.for(`react.suspense_list`),Ff=Symbol.for(`react.memo`),If=Symbol.for(`react.lazy`),Lf=Symbol.for(`react.activity`),Rf=Symbol.for(`react.memo_cache_sentinel`),zf=Symbol.iterator,Bf=Symbol.for(`react.client.reference`),Vf=Array.isArray,G=Sf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Hf=Cf.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Uf=Object.freeze({pending:!1,data:null,method:null,action:null}),Wf=[],Gf=[],Kf=-1,qf=re(null),Jf=re(null),Yf=re(null),Xf=re(null),Zf=0,Qf,$f,ep,tp,np,rp,ip;ce.__reactDisabledLog=!0;var ap,op,sp=!1,cp=new(typeof WeakMap==`function`?WeakMap:Map),lp=null,up=!1,dp=Object.prototype.hasOwnProperty,fp=xf.unstable_scheduleCallback,pp=xf.unstable_cancelCallback,mp=xf.unstable_shouldYield,hp=xf.unstable_requestPaint,gp=xf.unstable_now,_p=xf.unstable_getCurrentPriorityLevel,vp=xf.unstable_ImmediatePriority,yp=xf.unstable_UserBlockingPriority,bp=xf.unstable_NormalPriority,xp=xf.unstable_LowPriority,Sp=xf.unstable_IdlePriority,Cp=xf.log,wp=xf.unstable_setDisableYieldValue,Tp=null,Ep=null,Dp=!1,Op=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,kp=Math.clz32?Math.clz32:De,Ap=Math.log,jp=Math.LN2,Mp=256,Np=262144,Pp=4194304,Fp=2,Ip=8,Lp=32,Rp=268435456,zp=Math.random().toString(36).slice(2),Bp=`__reactFiber$`+zp,Vp=`__reactProps$`+zp,Hp=`__reactContainer$`+zp,Up=`__reactEvents$`+zp,Wp=`__reactListeners$`+zp,Gp=`__reactHandles$`+zp,Kp=`__reactResources$`+zp,qp=`__reactMarker$`+zp,Jp=new Set,Yp={},Xp={},Zp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Qp=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),$p={},em={},tm=/[\n"\\]/g,nm=!1,rm=!1,im=!1,am=!1,om=!1,sm=!1,cm=[`value`,`defaultValue`],lm=!1,um=/["'&<>\n\t]|^\s|\s$/,dm=`address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp`.split(` `),fm=`applet caption html table td th marquee object template foreignObject desc title`.split(` `),pm=fm.concat([`button`]),mm=`dd dt li option optgroup p rp rt`.split(` `),hm={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},gm={},_m={animation:`animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction`.split(` `),background:`backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize`.split(` `),backgroundPosition:[`backgroundPositionX`,`backgroundPositionY`],border:`borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth`.split(` `),borderBlockEnd:[`borderBlockEndColor`,`borderBlockEndStyle`,`borderBlockEndWidth`],borderBlockStart:[`borderBlockStartColor`,`borderBlockStartStyle`,`borderBlockStartWidth`],borderBottom:[`borderBottomColor`,`borderBottomStyle`,`borderBottomWidth`],borderColor:[`borderBottomColor`,`borderLeftColor`,`borderRightColor`,`borderTopColor`],borderImage:[`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`],borderInlineEnd:[`borderInlineEndColor`,`borderInlineEndStyle`,`borderInlineEndWidth`],borderInlineStart:[`borderInlineStartColor`,`borderInlineStartStyle`,`borderInlineStartWidth`],borderLeft:[`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`],borderRadius:[`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderTopLeftRadius`,`borderTopRightRadius`],borderRight:[`borderRightColor`,`borderRightStyle`,`borderRightWidth`],borderStyle:[`borderBottomStyle`,`borderLeftStyle`,`borderRightStyle`,`borderTopStyle`],borderTop:[`borderTopColor`,`borderTopStyle`,`borderTopWidth`],borderWidth:[`borderBottomWidth`,`borderLeftWidth`,`borderRightWidth`,`borderTopWidth`],columnRule:[`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`],columns:[`columnCount`,`columnWidth`],flex:[`flexBasis`,`flexGrow`,`flexShrink`],flexFlow:[`flexDirection`,`flexWrap`],font:`fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight`.split(` `),fontVariant:`fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition`.split(` `),gap:[`columnGap`,`rowGap`],grid:`gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows`.split(` `),gridArea:[`gridColumnEnd`,`gridColumnStart`,`gridRowEnd`,`gridRowStart`],gridColumn:[`gridColumnEnd`,`gridColumnStart`],gridColumnGap:[`columnGap`],gridGap:[`columnGap`,`rowGap`],gridRow:[`gridRowEnd`,`gridRowStart`],gridRowGap:[`rowGap`],gridTemplate:[`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`],listStyle:[`listStyleImage`,`listStylePosition`,`listStyleType`],margin:[`marginBottom`,`marginLeft`,`marginRight`,`marginTop`],marker:[`markerEnd`,`markerMid`,`markerStart`],mask:`maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize`.split(` `),maskPosition:[`maskPositionX`,`maskPositionY`],outline:[`outlineColor`,`outlineStyle`,`outlineWidth`],overflow:[`overflowX`,`overflowY`],padding:[`paddingBottom`,`paddingLeft`,`paddingRight`,`paddingTop`],placeContent:[`alignContent`,`justifyContent`],placeItems:[`alignItems`,`justifyItems`],placeSelf:[`alignSelf`,`justifySelf`],textDecoration:[`textDecorationColor`,`textDecorationLine`,`textDecorationStyle`],textEmphasis:[`textEmphasisColor`,`textEmphasisStyle`],transition:[`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`],wordWrap:[`overflowWrap`]},vm=/([A-Z])/g,ym=/^ms-/,bm=/^(?:webkit|moz|o)[A-Z]/,xm=/^-ms-/,Sm=/-(.)/g,Cm=/;\s*$/,wm={},Tm={},Em=!1,Dm=!1,Om=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),km=`http://www.w3.org/1998/Math/MathML`,Am=`http://www.w3.org/2000/svg`,jm=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Mm={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`,fetchpriority:`fetchPriority`,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`,inert:`inert`,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`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,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`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,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`},Nm={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Pm={},Fm=RegExp(`^(aria)-[: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]*$`),Im=RegExp(`^(aria)[A-Z][: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]*$`),Lm=!1,Rm={},zm=/^on./,Bm=/^on[^A-Z]/,Vm=RegExp(`^(aria)-[: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]*$`),Hm=RegExp(`^(aria)[A-Z][: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]*$`),Um=/^[\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,Wm=null,Gm=null,Km=null,qm=!1,Jm=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),Ym=!1;if(Jm)try{var Xm={};Object.defineProperty(Xm,`passive`,{get:function(){Ym=!0}}),window.addEventListener(`test`,Xm,Xm),window.removeEventListener(`test`,Xm,Xm)}catch{Ym=!1}var Zm=null,Qm=null,$m=null,eh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},th=pn(eh),nh=W({},eh,{view:0,detail:0}),rh=pn(nh),ih,ah,oh,sh=W({},nh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==oh&&(oh&&e.type===`mousemove`?(ih=e.screenX-oh.screenX,ah=e.screenY-oh.screenY):ah=ih=0,oh=e),ih)},movementY:function(e){return`movementY`in e?e.movementY:ah}}),ch=pn(sh),lh=pn(W({},sh,{dataTransfer:0})),uh=pn(W({},nh,{relatedTarget:0})),dh=pn(W({},eh,{animationName:0,elapsedTime:0,pseudoElement:0})),fh=pn(W({},eh,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),ph=pn(W({},eh,{data:0})),mh=ph,hh={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},gh={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},_h={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`},vh=pn(W({},nh,{key:function(e){if(e.key){var t=hh[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=un(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?gh[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hn,charCode:function(e){return e.type===`keypress`?un(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?un(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),yh=pn(W({},sh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bh=pn(W({},nh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hn})),xh=pn(W({},eh,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sh=pn(W({},sh,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Ch=pn(W({},eh,{newState:0,oldState:0})),wh=[9,13,27,32],Th=229,Eh=Jm&&`CompositionEvent`in window,Dh=null;Jm&&`documentMode`in document&&(Dh=document.documentMode);var Oh=Jm&&`TextEvent`in window&&!Dh,kh=Jm&&(!Eh||Dh&&8<Dh&&11>=Dh),Ah=32,jh=String.fromCharCode(Ah),Mh=!1,Nh=!1,Ph={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Fh=null,Ih=null,Lh=!1;Jm&&(Lh=xn(`input`)&&(!document.documentMode||9<document.documentMode));var Rh=typeof Object.is==`function`?Object.is:Mn,zh=Jm&&`documentMode`in document&&11>=document.documentMode,Bh=null,Vh=null,Hh=null,Uh=!1,Wh={animationend:Bn(`Animation`,`AnimationEnd`),animationiteration:Bn(`Animation`,`AnimationIteration`),animationstart:Bn(`Animation`,`AnimationStart`),transitionrun:Bn(`Transition`,`TransitionRun`),transitionstart:Bn(`Transition`,`TransitionStart`),transitioncancel:Bn(`Transition`,`TransitionCancel`),transitionend:Bn(`Transition`,`TransitionEnd`)},Gh={},Kh={};Jm&&(Kh=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wh.animationend.animation,delete Wh.animationiteration.animation,delete Wh.animationstart.animation),`TransitionEvent`in window||delete Wh.transitionend.transition);var qh=Vn(`animationend`),Jh=Vn(`animationiteration`),Yh=Vn(`animationstart`),Xh=Vn(`transitionrun`),Zh=Vn(`transitionstart`),Qh=Vn(`transitioncancel`),$h=Vn(`transitionend`),eg=new Map,tg=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);tg.push(`scrollEnd`);var ng=0;if(typeof performance==`object`&&typeof performance.now==`function`)var rg=performance,ig=function(){return rg.now()};else{var ag=Date;ig=function(){return ag.now()}}var og=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},sg=`This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.`,cg=0,lg=1,ug=2,dg=3,fg=`–\xA0`,pg=`+\xA0`,mg=` \xA0`,hg=typeof console<`u`&&typeof console.timeStamp==`function`&&typeof performance<`u`&&typeof performance.measure==`function`,gg=`Components ⚛`,_g=`Scheduler ⚛`,vg=`Blocking`,yg=!1,bg={color:`primary`,properties:null,tooltipText:``,track:gg},xg={start:-0,end:-0,detail:{devtools:bg}},Sg=[`Changed Props`,``],Cg=`This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,wg=[`Changed Props`,Cg],Tg=1,Eg=2,Dg=[],Og=0,kg=0,Ag={};Object.freeze(Ag);var jg=null,Mg=null,K=0,Ng=1,q=2,Pg=8,Fg=16,Ig=32,Lg=!1;try{var Rg=Object.preventExtensions({});new Map([[Rg,null]]),new Set([Rg])}catch{Lg=!0}var zg=new WeakMap,Bg=[],Vg=0,Hg=null,Ug=0,Wg=[],Gg=0,Kg=null,qg=1,Jg=``,Yg=null,Xg=null,Zg=!1,Qg=!1,$g=null,e_=null,t_=!1,n_=Error(`Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),r_=re(null),i_=re(null),a_={},o_=null,s_=null,c_=!1,l_=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},u_=xf.unstable_scheduleCallback,d_=xf.unstable_NormalPriority,f_={$$typeof:jf,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},p_=xf.unstable_now,m_=console.createTask?console.createTask:function(){return null},h_=1,g_=2,__=-0,v_=-0,y_=-0,b_=null,x_=-1.1,S_=-0,C_=-0,J=-1.1,Y=-1.1,w_=null,T_=!1,E_=-0,D_=-1.1,O_=null,k_=0,A_=null,j_=null,M_=-1.1,N_=null,P_=-1.1,F_=-1.1,I_=-0,L_=-1.1,R_=-1.1,z_=0,B_=null,V_=null,H_=null,U_=-1.1,W_=null,G_=-1.1,K_=-1.1,q_=-0,J_=-0,Y_=0,X_=null,Z_=0,Q_=-1.1,$_=!1,ev=!1,tv=null,nv=0,rv=0,iv=null,av=G.S;G.S=function(e,t){if(gx=gp(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>L_&&0>R_){L_=p_();var n=Bu(),r=zu();(n!==G_||r!==W_)&&(G_=-1.1),U_=n,W_=r}wi(e,t)}av!==null&&av(e,t)};var ov=re(null),sv={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},cv=[],lv=[],uv=[],dv=[],fv=[],pv=[],mv=new Set;sv.recordUnsafeLifecycleWarnings=function(e,t){mv.has(e.type)||(typeof t.componentWillMount==`function`&&!0!==t.componentWillMount.__suppressDeprecationWarning&&cv.push(e),e.mode&Pg&&typeof t.UNSAFE_componentWillMount==`function`&&lv.push(e),typeof t.componentWillReceiveProps==`function`&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&uv.push(e),e.mode&Pg&&typeof t.UNSAFE_componentWillReceiveProps==`function`&&dv.push(e),typeof t.componentWillUpdate==`function`&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&fv.push(e),e.mode&Pg&&typeof t.UNSAFE_componentWillUpdate==`function`&&pv.push(e))},sv.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<cv.length&&(cv.forEach(function(t){e.add(T(t)||`Component`),mv.add(t.type)}),cv=[]);var t=new Set;0<lv.length&&(lv.forEach(function(e){t.add(T(e)||`Component`),mv.add(e.type)}),lv=[]);var n=new Set;0<uv.length&&(uv.forEach(function(e){n.add(T(e)||`Component`),mv.add(e.type)}),uv=[]);var r=new Set;0<dv.length&&(dv.forEach(function(e){r.add(T(e)||`Component`),mv.add(e.type)}),dv=[]);var i=new Set;0<fv.length&&(fv.forEach(function(e){i.add(T(e)||`Component`),mv.add(e.type)}),fv=[]);var a=new Set;if(0<pv.length&&(pv.forEach(function(e){a.add(T(e)||`Component`),mv.add(e.type)}),pv=[]),0<t.size){var o=f(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
186
-
187
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
188
-
189
- Please update the following components: %s`,o)}0<r.size&&(o=f(r),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
190
-
191
- * Move data fetching code or side effects to componentDidUpdate.
192
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
193
-
194
- Please update the following components: %s`,o)),0<a.size&&(o=f(a),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
195
-
196
- * Move data fetching code or side effects to componentDidUpdate.
197
-
198
- Please update the following components: %s`,o)),0<e.size&&(o=f(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
199
-
200
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
201
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
202
-
203
- Please update the following components: %s`,o)),0<n.size&&(o=f(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
204
-
205
- * Move data fetching code or side effects to componentDidUpdate.
206
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
207
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
208
-
209
- Please update the following components: %s`,o)),0<i.size&&(o=f(i),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
210
-
211
- * Move data fetching code or side effects to componentDidUpdate.
212
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
213
-
214
- Please update the following components: %s`,o))};var hv=new Map,gv=new Set;sv.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;r!==null;)r.mode&Pg&&(n=r),r=r.return;n===null?console.error(`Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.`):!gv.has(e.type)&&(r=hv.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==`function`)&&(r===void 0&&(r=[],hv.set(n,r)),r.push(e))},sv.flushLegacyContextWarning=function(){hv.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(e){n.add(T(e)||`Component`),gv.add(e.type)});var r=f(n);j(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
215
-
216
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
217
-
218
- Please update the following components: %s
219
-
220
- Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},sv.discardPendingWarnings=function(){cv=[],lv=[],uv=[],dv=[],fv=[],pv=[],hv=new Map};var _v={react_stack_bottom_frame:function(e,t,n){var r=up;up=!0;try{return e(t,n)}finally{up=r}}},vv=_v.react_stack_bottom_frame.bind(_v),yv={react_stack_bottom_frame:function(e){var t=up;up=!0;try{return e.render()}finally{up=t}}},bv=yv.react_stack_bottom_frame.bind(yv),xv={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){Al(e,e.return,t)}}},Sv=xv.react_stack_bottom_frame.bind(xv),Cv={react_stack_bottom_frame:function(e,t,n,r,i){try{t.componentDidUpdate(n,r,i)}catch(t){Al(e,e.return,t)}}},wv=Cv.react_stack_bottom_frame.bind(Cv),Tv={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n===null?``:n})}},Ev=Tv.react_stack_bottom_frame.bind(Tv),Dv={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){Al(e,t,n)}}},Ov=Dv.react_stack_bottom_frame.bind(Dv),kv={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Av=kv.react_stack_bottom_frame.bind(kv),jv={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){Al(e,t,n)}}},Mv=jv.react_stack_bottom_frame.bind(jv),Nv={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Pv=Nv.react_stack_bottom_frame.bind(Nv),Fv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Iv=Error(`Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),Lv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Rv={then:function(){console.error(`Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.`)}},zv=null,Bv=!1,Vv=null,Hv=0,X=null,Uv,Wv=Uv=!1,Gv={},Kv={},qv={};d=function(e,t,n){if(typeof n==`object`&&n&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=T(e),i=r||`null`;if(!Gv[i]){Gv[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=T(e))&&(a=`
221
-
222
- Check the render method of \``+i+"`."),a||r&&(a=`
223
-
224
- Check the top-level render call using <`+r+`>.`);var o=``;n!=null&&e!==n&&(r=null,typeof n.tag==`number`?r=T(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),j(t,function(){console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,a,o)})}}};var Jv=Wi(!0),Yv=Wi(!1),Xv=0,Zv=1,Qv=2,$v=3,ey=!1,ty=!1,ny=null,ry=!1,iy=re(null),ay=re(0),oy=re(null),sy=null,cy=1,ly=2,uy=re(0),dy=0,fy=1,py=2,my=4,hy=8,gy,_y=new Set,vy=new Set,yy=new Set,by=new Set,xy=0,Z=null,Sy=null,Cy=null,wy=!1,Ty=!1,Ey=!1,Dy=0,Oy=0,ky=null,Ay=0,jy=25,Q=null,My=null,Ny=-1,Py=!1,Fy={readContext:$r,use:Da,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useLayoutEffect:ma,useInsertionEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useSyncExternalStore:ma,useId:ma,useHostTransitionStatus:ma,useFormState:ma,useActionState:ma,useOptimistic:ma,useMemoCache:ma,useCacheRefresh:ma};Fy.useEffectEvent=ma;var Iy=null,Ly=null,Ry=null,zy=null,By=null,Vy=null,Hy=null;Iy={readContext:function(e){return $r(e)},use:Da,useCallback:function(e,t){return Q=`useCallback`,L(),fa(t),_o(e,t)},useContext:function(e){return Q=`useContext`,L(),$r(e)},useEffect:function(e,t){return Q=`useEffect`,L(),fa(t),lo(e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,L(),fa(n),ho(e,t,n)},useInsertionEffect:function(e,t){Q=`useInsertionEffect`,L(),fa(t),so(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,L(),fa(t),po(e,t)},useMemo:function(e,t){Q=`useMemo`,L(),fa(t);var n=G.H;G.H=By;try{return yo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,L();var r=G.H;G.H=By;try{return Aa(e,t,n)}finally{G.H=r}},useRef:function(e){return Q=`useRef`,L(),oo(e)},useState:function(e){Q=`useState`,L();var t=G.H;G.H=By;try{return Ha(e)}finally{G.H=t}},useDebugValue:function(){Q=`useDebugValue`,L()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,L(),xo(e,t)},useTransition:function(){return Q=`useTransition`,L(),Ao()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,L(),Pa(e,t,n)},useId:function(){return Q=`useId`,L(),Po()},useFormState:function(e,t){return Q=`useFormState`,L(),pa(),eo(e,t)},useActionState:function(e,t){return Q=`useActionState`,L(),eo(e,t)},useOptimistic:function(e){return Q=`useOptimistic`,L(),Ua(e)},useHostTransitionStatus:No,useMemoCache:Oa,useCacheRefresh:function(){return Q=`useCacheRefresh`,L(),Fo()},useEffectEvent:function(e){return Q=`useEffectEvent`,L(),fo(e)}},Ly={readContext:function(e){return $r(e)},use:Da,useCallback:function(e,t){return Q=`useCallback`,R(),_o(e,t)},useContext:function(e){return Q=`useContext`,R(),$r(e)},useEffect:function(e,t){return Q=`useEffect`,R(),lo(e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,R(),ho(e,t,n)},useInsertionEffect:function(e,t){Q=`useInsertionEffect`,R(),so(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,R(),po(e,t)},useMemo:function(e,t){Q=`useMemo`,R();var n=G.H;G.H=By;try{return yo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,R();var r=G.H;G.H=By;try{return Aa(e,t,n)}finally{G.H=r}},useRef:function(e){return Q=`useRef`,R(),oo(e)},useState:function(e){Q=`useState`,R();var t=G.H;G.H=By;try{return Ha(e)}finally{G.H=t}},useDebugValue:function(){Q=`useDebugValue`,R()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,R(),xo(e,t)},useTransition:function(){return Q=`useTransition`,R(),Ao()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,R(),Pa(e,t,n)},useId:function(){return Q=`useId`,R(),Po()},useActionState:function(e,t){return Q=`useActionState`,R(),eo(e,t)},useFormState:function(e,t){return Q=`useFormState`,R(),pa(),eo(e,t)},useOptimistic:function(e){return Q=`useOptimistic`,R(),Ua(e)},useHostTransitionStatus:No,useMemoCache:Oa,useCacheRefresh:function(){return Q=`useCacheRefresh`,R(),Fo()},useEffectEvent:function(e){return Q=`useEffectEvent`,R(),fo(e)}},Ry={readContext:function(e){return $r(e)},use:Da,useCallback:function(e,t){return Q=`useCallback`,R(),vo(e,t)},useContext:function(e){return Q=`useContext`,R(),$r(e)},useEffect:function(e,t){Q=`useEffect`,R(),co(2048,hy,e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,R(),go(e,t,n)},useInsertionEffect:function(e,t){return Q=`useInsertionEffect`,R(),co(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,R(),co(4,my,e,t)},useMemo:function(e,t){Q=`useMemo`,R();var n=G.H;G.H=Vy;try{return bo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,R();var r=G.H;G.H=Vy;try{return ja(e,t,n)}finally{G.H=r}},useRef:function(){return Q=`useRef`,R(),wa().memoizedState},useState:function(){Q=`useState`,R();var e=G.H;G.H=Vy;try{return ja(ka)}finally{G.H=e}},useDebugValue:function(){Q=`useDebugValue`,R()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,R(),So(e,t)},useTransition:function(){return Q=`useTransition`,R(),jo()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,R(),Fa(e,t,n)},useId:function(){return Q=`useId`,R(),wa().memoizedState},useFormState:function(e){return Q=`useFormState`,R(),pa(),to(e)},useActionState:function(e){return Q=`useActionState`,R(),to(e)},useOptimistic:function(e,t){return Q=`useOptimistic`,R(),Wa(e,t)},useHostTransitionStatus:No,useMemoCache:Oa,useCacheRefresh:function(){return Q=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Q=`useEffectEvent`,R(),z(e)}},zy={readContext:function(e){return $r(e)},use:Da,useCallback:function(e,t){return Q=`useCallback`,R(),vo(e,t)},useContext:function(e){return Q=`useContext`,R(),$r(e)},useEffect:function(e,t){Q=`useEffect`,R(),co(2048,hy,e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,R(),go(e,t,n)},useInsertionEffect:function(e,t){return Q=`useInsertionEffect`,R(),co(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,R(),co(4,my,e,t)},useMemo:function(e,t){Q=`useMemo`,R();var n=G.H;G.H=Hy;try{return bo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,R();var r=G.H;G.H=Hy;try{return Na(e,t,n)}finally{G.H=r}},useRef:function(){return Q=`useRef`,R(),wa().memoizedState},useState:function(){Q=`useState`,R();var e=G.H;G.H=Hy;try{return Na(ka)}finally{G.H=e}},useDebugValue:function(){Q=`useDebugValue`,R()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,R(),Co(e,t)},useTransition:function(){return Q=`useTransition`,R(),Mo()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,R(),Fa(e,t,n)},useId:function(){return Q=`useId`,R(),wa().memoizedState},useFormState:function(e){return Q=`useFormState`,R(),pa(),io(e)},useActionState:function(e){return Q=`useActionState`,R(),io(e)},useOptimistic:function(e,t){return Q=`useOptimistic`,R(),Ka(e,t)},useHostTransitionStatus:No,useMemoCache:Oa,useCacheRefresh:function(){return Q=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Q=`useEffectEvent`,R(),z(e)}},By={readContext:function(e){return l(),$r(e)},use:function(e){return c(),Da(e)},useCallback:function(e,t){return Q=`useCallback`,c(),L(),_o(e,t)},useContext:function(e){return Q=`useContext`,c(),L(),$r(e)},useEffect:function(e,t){return Q=`useEffect`,c(),L(),lo(e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,c(),L(),ho(e,t,n)},useInsertionEffect:function(e,t){Q=`useInsertionEffect`,c(),L(),so(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,c(),L(),po(e,t)},useMemo:function(e,t){Q=`useMemo`,c(),L();var n=G.H;G.H=By;try{return yo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,c(),L();var r=G.H;G.H=By;try{return Aa(e,t,n)}finally{G.H=r}},useRef:function(e){return Q=`useRef`,c(),L(),oo(e)},useState:function(e){Q=`useState`,c(),L();var t=G.H;G.H=By;try{return Ha(e)}finally{G.H=t}},useDebugValue:function(){Q=`useDebugValue`,c(),L()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,c(),L(),xo(e,t)},useTransition:function(){return Q=`useTransition`,c(),L(),Ao()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,c(),L(),Pa(e,t,n)},useId:function(){return Q=`useId`,c(),L(),Po()},useFormState:function(e,t){return Q=`useFormState`,c(),L(),eo(e,t)},useActionState:function(e,t){return Q=`useActionState`,c(),L(),eo(e,t)},useOptimistic:function(e){return Q=`useOptimistic`,c(),L(),Ua(e)},useMemoCache:function(e){return c(),Oa(e)},useHostTransitionStatus:No,useCacheRefresh:function(){return Q=`useCacheRefresh`,L(),Fo()},useEffectEvent:function(e){return Q=`useEffectEvent`,c(),L(),fo(e)}},Vy={readContext:function(e){return l(),$r(e)},use:function(e){return c(),Da(e)},useCallback:function(e,t){return Q=`useCallback`,c(),R(),vo(e,t)},useContext:function(e){return Q=`useContext`,c(),R(),$r(e)},useEffect:function(e,t){Q=`useEffect`,c(),R(),co(2048,hy,e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,c(),R(),go(e,t,n)},useInsertionEffect:function(e,t){return Q=`useInsertionEffect`,c(),R(),co(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,c(),R(),co(4,my,e,t)},useMemo:function(e,t){Q=`useMemo`,c(),R();var n=G.H;G.H=Vy;try{return bo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,c(),R();var r=G.H;G.H=Vy;try{return ja(e,t,n)}finally{G.H=r}},useRef:function(){return Q=`useRef`,c(),R(),wa().memoizedState},useState:function(){Q=`useState`,c(),R();var e=G.H;G.H=Vy;try{return ja(ka)}finally{G.H=e}},useDebugValue:function(){Q=`useDebugValue`,c(),R()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,c(),R(),So(e,t)},useTransition:function(){return Q=`useTransition`,c(),R(),jo()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,c(),R(),Fa(e,t,n)},useId:function(){return Q=`useId`,c(),R(),wa().memoizedState},useFormState:function(e){return Q=`useFormState`,c(),R(),to(e)},useActionState:function(e){return Q=`useActionState`,c(),R(),to(e)},useOptimistic:function(e,t){return Q=`useOptimistic`,c(),R(),Wa(e,t)},useMemoCache:function(e){return c(),Oa(e)},useHostTransitionStatus:No,useCacheRefresh:function(){return Q=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Q=`useEffectEvent`,c(),R(),z(e)}},Hy={readContext:function(e){return l(),$r(e)},use:function(e){return c(),Da(e)},useCallback:function(e,t){return Q=`useCallback`,c(),R(),vo(e,t)},useContext:function(e){return Q=`useContext`,c(),R(),$r(e)},useEffect:function(e,t){Q=`useEffect`,c(),R(),co(2048,hy,e,t)},useImperativeHandle:function(e,t,n){return Q=`useImperativeHandle`,c(),R(),go(e,t,n)},useInsertionEffect:function(e,t){return Q=`useInsertionEffect`,c(),R(),co(4,py,e,t)},useLayoutEffect:function(e,t){return Q=`useLayoutEffect`,c(),R(),co(4,my,e,t)},useMemo:function(e,t){Q=`useMemo`,c(),R();var n=G.H;G.H=Vy;try{return bo(e,t)}finally{G.H=n}},useReducer:function(e,t,n){Q=`useReducer`,c(),R();var r=G.H;G.H=Vy;try{return Na(e,t,n)}finally{G.H=r}},useRef:function(){return Q=`useRef`,c(),R(),wa().memoizedState},useState:function(){Q=`useState`,c(),R();var e=G.H;G.H=Vy;try{return Na(ka)}finally{G.H=e}},useDebugValue:function(){Q=`useDebugValue`,c(),R()},useDeferredValue:function(e,t){return Q=`useDeferredValue`,c(),R(),Co(e,t)},useTransition:function(){return Q=`useTransition`,c(),R(),Mo()},useSyncExternalStore:function(e,t,n){return Q=`useSyncExternalStore`,c(),R(),Fa(e,t,n)},useId:function(){return Q=`useId`,c(),R(),wa().memoizedState},useFormState:function(e){return Q=`useFormState`,c(),R(),io(e)},useActionState:function(e){return Q=`useActionState`,c(),R(),io(e)},useOptimistic:function(e,t){return Q=`useOptimistic`,c(),R(),Ka(e,t)},useMemoCache:function(e){return c(),Oa(e)},useHostTransitionStatus:No,useCacheRefresh:function(){return Q=`useCacheRefresh`,R(),wa().memoizedState},useEffectEvent:function(e){return Q=`useEffectEvent`,c(),R(),z(e)}};var Uy={},Wy=new Set,Gy=new Set,Ky=new Set,qy=new Set,Jy=new Set,Yy=new Set,Xy=new Set,Zy=new Set,Qy=new Set,$y=new Set;Object.freeze(Uy);var eb={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Jc(e),i=Ji(r);i.payload=t,n!=null&&(Wo(n),i.callback=n),t=Yi(e,i,r),t!==null&&(ai(r,`this.setState()`,e),Xc(t,e,r),Xi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Jc(e),i=Ji(r);i.tag=Zv,i.payload=t,n!=null&&(Wo(n),i.callback=n),t=Yi(e,i,r),t!==null&&(ai(r,`this.replaceState()`,e),Xc(t,e,r),Xi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Jc(e),r=Ji(n);r.tag=Qv,t!=null&&(Wo(t),r.callback=t),t=Yi(e,r,n),t!==null&&(ai(n,`this.forceUpdate()`,e),Xc(t,e,n),Xi(t,e,n))}},tb=null,nb=null,rb=Error(`This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.`),ib=!1,ab={},ob={},sb={},cb={},lb=!1,ub={},db={},fb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},pb=!1,mb=null;mb=new Set;var hb=!1,gb=!1,_b=!1,vb=typeof WeakSet==`function`?WeakSet:Set,yb=null,bb=null,xb=null,Sb=null,Cb=!1,wb=null,Tb=!1,Eb=8192,Db={getCacheForType:function(e){var t=$r(f_),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $r(f_).controller.signal},getOwner:function(){return lp}};if(typeof Symbol==`function`&&Symbol.for){var Ob=Symbol.for;Ob(`selector.component`),Ob(`selector.has_pseudo_class`),Ob(`selector.role`),Ob(`selector.test_id`),Ob(`selector.text`)}var kb=[],Ab=typeof WeakMap==`function`?WeakMap:Map,jb=0,Mb=2,Nb=4,Pb=0,Fb=1,Ib=2,Lb=3,Rb=4,zb=6,Bb=5,Vb=jb,Hb=null,Ub=null,$=0,Wb=0,Gb=1,Kb=2,qb=3,Jb=4,Yb=5,Xb=6,Zb=7,Qb=8,$b=9,ex=Wb,tx=null,nx=!1,rx=!1,ix=!1,ax=0,ox=Pb,sx=0,cx=0,lx=0,ux=0,dx=0,fx=null,px=null,mx=!1,hx=0,gx=0,_x=300,vx=1/0,yx=500,bx=null,xx=null,Sx=null,Cx=0,wx=1,Tx=2,Ex=3,Dx=0,Ox=1,kx=2,Ax=3,jx=4,Mx=5,Nx=0,Px=null,Fx=null,Ix=0,Lx=0,Rx=-0,zx=null,Bx=null,Vx=null,Hx=Cx,Ux=null,Wx=50,Gx=0,Kx=null,qx=!1,Jx=!1,Yx=50,Xx=0,Zx=null,Qx=!1,$x=null,eS=!1,tS=new Set,nS={},rS=null,iS=null,aS=!1,oS=!1,sS=!1,cS=!1,lS=0,uS={};(function(){for(var e=0;e<tg.length;e++){var t=tg[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Hn(n,`on`+t)}Hn(qh,`onAnimationEnd`),Hn(Jh,`onAnimationIteration`),Hn(Yh,`onAnimationStart`),Hn(`dblclick`,`onDoubleClick`),Hn(`focusin`,`onFocus`),Hn(`focusout`,`onBlur`),Hn(Xh,`onTransitionRun`),Hn(Zh,`onTransitionStart`),Hn(Qh,`onTransitionCancel`),Hn($h,`onTransitionEnd`)})(),Qe(`onMouseEnter`,[`mouseout`,`mouseover`]),Qe(`onMouseLeave`,[`mouseout`,`mouseover`]),Qe(`onPointerEnter`,[`pointerout`,`pointerover`]),Qe(`onPointerLeave`,[`pointerout`,`pointerover`]),Ze(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Ze(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Ze(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Ze(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Ze(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Ze(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var dS=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),fS=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(dS)),pS=`_reactListening`+Math.random().toString(36).slice(2),mS=!1,hS=!1,gS=!1,_S=!1,vS=!1,yS=!1,bS=!1,xS={},SS=/\r\n?/g,CS=/\u0000|\uFFFD/g,wS=`http://www.w3.org/1999/xlink`,TS=`http://www.w3.org/XML/1998/namespace`,ES=`javascript:throw new Error('React form unexpectedly submitted.')`,DS=`suppressHydrationWarning`,OS=`&`,kS=`/&`,AS=`$`,jS=`/$`,MS=`$?`,NS=`$~`,PS=`$!`,FS=`html`,IS=`body`,LS=`head`,RS=`F!`,zS=`F`,BS=`loading`,VS=`style`,HS=0,US=1,WS=2,GS=null,KS=null,qS={dialog:!0,webview:!0},JS=null,YS=void 0,XS=typeof setTimeout==`function`?setTimeout:void 0,ZS=typeof clearTimeout==`function`?clearTimeout:void 0,QS=-1,$S=typeof Promise==`function`?Promise:void 0,eC=typeof queueMicrotask==`function`?queueMicrotask:$S===void 0?XS:function(e){return $S.resolve(null).then(e).catch(Vu)},tC=null,nC=0,rC=1,iC=2,aC=3,oC=4,sC=new Map,cC=new Set,lC=Hf.d;Hf.d={f:function(){var e=lC.f(),t=tl();return e||t},r:function(e){var t=qe(e);t!==null&&t.tag===5&&t.type===`form`?ko(t):lC.r(e)},D:function(e){lC.D(e),wd(`dns-prefetch`,e,null)},C:function(e,t){lC.C(e,t),wd(`preconnect`,e,t)},L:function(e,t,n){lC.L(e,t,n);var r=uC;if(r&&e&&t){var i=`link[rel="preload"][as="`+dt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+dt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+dt(n.imageSizes)+`"]`)):i+=`[href="`+dt(e)+`"]`;var a=i;switch(t){case`style`:a=U(e);break;case`script`:a=Ad(e)}sC.has(a)||(e=W({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),sC.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Dd(a))||t===`script`&&r.querySelector(jd(a))||(t=r.createElement(`link`),bu(t,`link`,e),Xe(t),r.head.appendChild(t)))}},m:function(e,t){lC.m(e,t);var n=uC;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+dt(r)+`"][href="`+dt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ad(e)}if(!sC.has(a)&&(e=W({rel:`modulepreload`,href:e},t),sC.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(jd(a)))return}r=n.createElement(`link`),bu(r,`link`,e),Xe(r),n.head.appendChild(r)}}},X:function(e,t){lC.X(e,t);var n=uC;if(n&&e){var r=Ye(n).hoistableScripts,i=Ad(e),a=r.get(i);a||(a=n.querySelector(jd(i)),a||(e=W({src:e,async:!0},t),(t=sC.get(i))&&Fd(e,t),a=n.createElement(`script`),Xe(a),bu(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){lC.S(e,t,n);var r=uC;if(r&&e){var i=Ye(r).hoistableStyles,a=U(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:nC,preload:null};if(o=r.querySelector(Dd(a)))s.loading=rC|oC;else{e=W({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=sC.get(a))&&Pd(e,n);var c=o=r.createElement(`link`);Xe(c),bu(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=rC}),c.addEventListener(`error`,function(){s.loading|=iC}),s.loading|=oC,Nd(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){lC.M(e,t);var n=uC;if(n&&e){var r=Ye(n).hoistableScripts,i=Ad(e),a=r.get(i);a||(a=n.querySelector(jd(i)),a||(e=W({src:e,async:!0,type:`module`},t),(t=sC.get(i))&&Fd(e,t),a=n.createElement(`script`),Xe(a),bu(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}};var uC=typeof document>`u`?null:document,dC=null,fC=6e4,pC=800,mC=500,hC=0,gC=null,_C=null,vC=Uf,yC={$$typeof:jf,Provider:null,Consumer:null,_currentValue:vC,_currentValue2:vC,_threadCount:0},bC=`%c%s%c`,xC=`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,SC=``,CC=` `,wC=Function.prototype.bind,TC=!1,EC=null,DC=null,OC=null,kC=null,AC=null,jC=null,MC=null,NC=null,PC=null,FC=null;EC=function(e,r,i,a){r=t(e,r),r!==null&&(i=n(r.memoizedState,i,0,a),r.memoizedState=i,r.baseState=i,e.memoizedProps=W({},e.memoizedProps),i=ur(e,2),i!==null&&Xc(i,e,2))},DC=function(e,n,r){n=t(e,n),n!==null&&(r=a(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,e.memoizedProps=W({},e.memoizedProps),r=ur(e,2),r!==null&&Xc(r,e,2))},OC=function(e,n,i,a){n=t(e,n),n!==null&&(i=r(n.memoizedState,i,a),n.memoizedState=i,n.baseState=i,e.memoizedProps=W({},e.memoizedProps),i=ur(e,2),i!==null&&Xc(i,e,2))},kC=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ur(e,2),t!==null&&Xc(t,e,2)},AC=function(e,t){e.pendingProps=a(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ur(e,2),t!==null&&Xc(t,e,2)},jC=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ur(e,2),t!==null&&Xc(t,e,2)},MC=function(e){var t=ur(e,2);t!==null&&Xc(t,e,2)},NC=function(e){var t=Me(),n=ur(e,t);n!==null&&Xc(n,e,t)},PC=function(e){s=e},FC=function(e){o=e};var IC=!0,LC=null,RC=!1,zC=null,BC=null,VC=null,HC=new Map,UC=new Map,WC=[],GC=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `),KC=null;if(yf.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(`Cannot update an unmounted root.`);var n=arguments;typeof n[1]==`function`?console.error(`does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`):_(n[1])?console.error(`You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.`):n[1]!==void 0&&console.error(`You passed a second argument to root.render(...) but it only accepts one argument.`),n=e;var r=t.current;Jd(r,Jc(r),n,t,null,null)},yf.prototype.unmount=vf.prototype.unmount=function(){var e=arguments;if(typeof e[0]==`function`&&console.error(`does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Vb&(Mb|Nb))!==jb&&console.error(`Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.`),Jd(e.current,2,null,e,null,null),tl(),t[Hp]=null}},yf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ue();e={blockedOn:null,target:e,priority:t};for(var n=0;n<WC.length&&t!==0&&t<WC[n].priority;n++);WC.splice(n,0,e),n===0&&uf(e)}},(function(){var e=Sf.version;if(e!==`19.2.5`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
225
- - react: `+(e+`
226
- - react-dom: 19.2.5
227
- Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills`),Hf.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(`Unable to find node on an unmounted component.`):(e=Object.keys(e).join(`,`),Error(`Argument appears to not be a ReactComponent. Keys: `+e));return e=ee(t),e=e===null?null:S(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:G,reconcilerVersion:`19.2.5`};return e.overrideHookState=EC,e.overrideHookStateDeletePath=DC,e.overrideHookStateRenamePath=OC,e.overrideProps=kC,e.overridePropsDeletePath=AC,e.overridePropsRenamePath=jC,e.scheduleUpdate=MC,e.scheduleRetry=NC,e.setErrorHandler=PC,e.setSuspenseHandler=FC,e.scheduleRefresh=h,e.scheduleRoot=m,e.setRefreshHandler=g,e.getCurrentFiber=$d,Te(e)})()&&Jm&&window.top===window.self&&(-1<navigator.userAgent.indexOf(`Chrome`)&&navigator.userAgent.indexOf(`Edge`)===-1||-1<navigator.userAgent.indexOf(`Firefox`))){var qC=window.location.protocol;/^(https?|file):$/.test(qC)&&console.info(`%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools`+(qC===`file:`?`
228
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:``),`font-weight:bold`)}e.createRoot=function(e,t){if(!_(e))throw Error(`Target container is not a DOM element.`);bf(e);var n=!1,r=``,i=Yo,a=Xo,o=Zo;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Tf&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
229
-
230
- let root = createRoot(domContainer);
231
- root.render(<App />);`),!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Kd(e,1,!1,null,null,n,r,null,i,a,o,_f),e[Hp]=t.current,iu(e),new vf(t)},e.hydrateRoot=function(e,t,n){if(!_(e))throw Error(`Target container is not a DOM element.`);bf(e),t===void 0&&console.error(`Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`);var r=!1,i=``,a=Yo,o=Xo,s=Zo,c=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(c=n.formState)),t=Kd(e,1,!0,t,n??null,r,i,c,a,o,s,_f),t.context=qd(null),n=t.current,r=Jc(n),r=ze(r),i=Ji(r),i.callback=null,Yi(n,i,r),ai(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Pe(t,n),Ul(t),e[Hp]=t.current,iu(e),new yf(t)},e.version=`19.2.5`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),E=p(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`)){if(process.env.NODE_ENV!==`production`)throw Error(`^_^`);try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}}process.env.NODE_ENV===`production`?(n(),t.exports=T()):t.exports=re()})),D,ie=f((()=>{D=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim()})),ae,O=f((()=>{ae=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()})),k,oe=f((()=>{k=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase())})),se,ce=f((()=>{oe(),se=e=>{let t=k(e);return t.charAt(0).toUpperCase()+t.slice(1)}})),le,ue=f((()=>{le={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`}})),A,de=f((()=>{A=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1}})),fe,pe,me=f((()=>{fe=(0,t.createContext)({}),pe=()=>(0,t.useContext)(fe)})),he,ge=f((()=>{ue(),de(),ie(),me(),he=(0,t.forwardRef)(({color:e,size:n,strokeWidth:r,absoluteStrokeWidth:i,className:a=``,children:o,iconNode:s,...c},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=pe()??{},h=i??f?Number(r??d)*24/Number(n??u):r??d;return(0,t.createElement)(`svg`,{ref:l,...le,width:n??u??le.width,height:n??u??le.height,stroke:e??p,strokeWidth:h,className:D(`lucide`,m,a),...!o&&!A(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(o)?o:[o]])})})),_e,j=f((()=>{ie(),O(),ce(),ge(),_e=(e,n)=>{let r=(0,t.forwardRef)(({className:r,...i},a)=>(0,t.createElement)(he,{ref:a,iconNode:n,className:D(`lucide-${ae(se(e))}`,`lucide-${e}`,r),...i}));return r.displayName=se(e),r}})),ve,ye,be=f((()=>{j(),ve=[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]],ye=_e(`arrow-down`,ve)})),xe,Se,Ce=f((()=>{j(),xe=[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]],Se=_e(`arrow-up-down`,xe)})),we,Te,Ee=f((()=>{j(),we=[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]],Te=_e(`arrow-up`,we)})),De,Oe,ke=f((()=>{j(),De=[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]],Oe=_e(`camera`,De)})),Ae,je,Me=f((()=>{j(),Ae=[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]],je=_e(`check`,Ae)})),Ne,Pe,Fe=f((()=>{j(),Ne=[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]],Pe=_e(`chevron-left`,Ne)})),Ie,Le,Re=f((()=>{j(),Ie=[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]],Le=_e(`chevron-right`,Ie)})),ze,Be,Ve=f((()=>{j(),ze=[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],Be=_e(`circle-alert`,ze)})),He,Ue,We=f((()=>{j(),He=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]],Ue=_e(`copy`,He)})),Ge,Ke,qe=f((()=>{j(),Ge=[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`,key:`ron5a4`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`,key:`7s9ehn`}]],Ke=_e(`crop`,Ge)})),Je,Ye,Xe=f((()=>{j(),Je=[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]],Ye=_e(`crosshair`,Je)})),Ze,Qe,$e=f((()=>{j(),Ze=[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]],Qe=_e(`eraser`,Ze)})),et,tt,nt=f((()=>{j(),et=[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]],tt=_e(`external-link`,et)})),rt,it,at=f((()=>{j(),rt=[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]],it=_e(`eye-off`,rt)})),ot,st,ct=f((()=>{j(),ot=[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]],st=_e(`eye`,ot)})),lt,ut,dt=f((()=>{j(),lt=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]],ut=_e(`file`,lt)})),ft,pt,mt=f((()=>{j(),ft=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]],pt=_e(`image`,ft)})),ht,gt,_t=f((()=>{j(),ht=[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],gt=_e(`loader-circle`,ht)})),vt,yt,bt=f((()=>{j(),vt=[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]],yt=_e(`map-pin`,vt)})),xt,St,Ct=f((()=>{j(),xt=[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]],St=_e(`maximize-2`,xt)})),wt,Tt,Et=f((()=>{j(),wt=[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]],Tt=_e(`phone`,wt)})),Dt,Ot,kt=f((()=>{j(),Dt=[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]],Ot=_e(`plus`,Dt)})),At,jt,Mt=f((()=>{j(),At=[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]],jt=_e(`qr-code`,At)})),Nt,Pt,Ft=f((()=>{j(),Nt=[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]],Pt=_e(`rotate-cw`,Nt)})),It,Lt,Rt=f((()=>{j(),It=[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]],Lt=_e(`search`,It)})),zt,Bt,Vt=f((()=>{j(),zt=[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]],Bt=_e(`sliders-horizontal`,zt)})),Ht,Ut,Wt=f((()=>{j(),Ht=[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]],Ut=_e(`star`,Ht)})),Gt,Kt,qt=f((()=>{j(),Gt=[[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]],Kt=_e(`table-properties`,Gt)})),Jt,Yt,Xt=f((()=>{j(),Jt=[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]],Yt=_e(`upload`,Jt)})),Zt,Qt,$t=f((()=>{j(),Zt=[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]],Qt=_e(`x`,Zt)})),en=f((()=>{j(),Ve(),_t(),be(),Ce(),Ee(),ke(),Me(),Fe(),Re(),We(),qe(),Xe(),$e(),nt(),at(),ct(),dt(),mt(),bt(),Ct(),Et(),kt(),Mt(),Ft(),Rt(),Vt(),Wt(),qt(),Xt(),$t(),me(),ge()})),tn=m({TextField:()=>nn});function nn({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema;if(i)return(0,rn.jsx)(`span`,{className:`text-sm`,children:e||(0,rn.jsx)(r.EmptyValue,{})});let s=o?.rows,{inputType:c,...l}=a;return s&&s>1?(0,rn.jsx)(r.Textarea,{...l,value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder,disabled:i||l.disabled}):(0,rn.jsx)(r.Input,{...l,type:o?.type===`password`?`password`:`text`,value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder,disabled:i||l.disabled})}var rn,an=f((()=>{rn=v()})),on=m({NumberField:()=>sn});function sn({value:e,onChange:t,field:n,readonly:i,...a}){if(i)return e==null?(0,cn.jsx)(r.EmptyValue,{}):(0,cn.jsx)(`span`,{className:`text-sm`,children:e});let o=n||a.schema,s=o?.precision,{inputType:c,...l}=a;return(0,cn.jsx)(r.Input,{...l,type:`number`,value:e??``,onChange:e=>{let n=e.target.value;t(n===``?null:Number(n))},placeholder:o?.placeholder,disabled:i||l.disabled,step:s?10**-s:`any`})}var cn,ln=f((()=>{cn=v()})),un=m({BooleanField:()=>dn});function dn({value:e,onChange:n,field:i,readonly:a,...o}){let s=i||o.schema,c=s?.widget,l=(0,t.useId)(),u=s?.name||l,d=s?.label||`Checkbox`;if(a)return(0,fn.jsx)(`span`,{className:`text-sm`,children:e?`Yes`:`No`});let{inputType:f,...p}=o;return c===`checkbox`?(0,fn.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,fn.jsx)(r.Checkbox,{...p,id:u,checked:!!e,onCheckedChange:e=>n(!!e),disabled:a||p.disabled}),(0,fn.jsx)(r.Label,{htmlFor:u,children:d})]}):(0,fn.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,fn.jsx)(r.Switch,{...p,id:u,checked:!!e,onCheckedChange:n,disabled:a||p.disabled}),(0,fn.jsx)(r.Label,{htmlFor:u,children:d})]})}var fn,pn=f((()=>{fn=v()})),mn,hn,gn,_n,vn,yn,bn,xn,Sn,Cn=f((()=>{mn=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);xn(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},hn={},gn=(e,t,n,r)=>{xn(n)&&hn[n]||(xn(n)&&(hn[n]=new Date),mn(e,t,n,r))},_n=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},vn=(e,t,n)=>{e.loadNamespaces(t,_n(e,n))},yn=(e,t,n,r)=>{if(xn(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return vn(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,_n(e,r))},bn=(e,t,n={})=>!t.languages||!t.languages.length?(gn(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),xn=e=>typeof e==`string`,Sn=e=>typeof e==`object`&&!!e})),wn,Tn,En,Dn,On=f((()=>{wn=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Tn={"&amp;":`&`,"&#38;":`&`,"&lt;":`<`,"&#60;":`<`,"&gt;":`>`,"&#62;":`>`,"&apos;":`'`,"&#39;":`'`,"&quot;":`"`,"&#34;":`"`,"&nbsp;":` `,"&#160;":` `,"&copy;":`©`,"&#169;":`©`,"&reg;":`®`,"&#174;":`®`,"&hellip;":`…`,"&#8230;":`…`,"&#x2F;":`/`,"&#47;":`/`},En=e=>Tn[e],Dn=e=>e.replace(wn,En)})),kn,An,jn=f((()=>{On(),kn={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:Dn,transDefaultProps:void 0},An=()=>kn})),Mn,Nn,Pn=f((()=>{Nn=()=>Mn})),Fn,In,Ln=f((()=>{jn(),Pn(),Fn=(0,t.createContext)(),In=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}})),Rn=p((e=>{var t=require(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),zn=p((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function n(e,t){d||a.startTransition===void 0||(d=!0,console.error(`You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.`));var n=t();if(!f){var i=t();o(n,i)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),f=!0)}i=s({inst:{value:n,getSnapshot:t}});var p=i[0].inst,m=i[1];return l(function(){p.value=n,p.getSnapshot=t,r(p)&&m({inst:p})},[e,n,t]),c(function(){return r(p)&&m({inst:p}),e(function(){r(p)&&m({inst:p})})},[e]),u(n),n}function r(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch{return!0}}function i(e,t){return t()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var a=require(`react`),o=typeof Object.is==`function`?Object.is:t,s=a.useState,c=a.useEffect,l=a.useLayoutEffect,u=a.useDebugValue,d=!1,f=!1,p=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?i:n;e.useSyncExternalStore=a.useSyncExternalStore===void 0?p:a.useSyncExternalStore,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),Bn=p(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Rn():t.exports=zn()})),Vn,Hn,Un,Wn,Gn,Kn=f((()=>{Vn=Bn(),Ln(),Cn(),Hn=(e,t)=>{if(xn(t))return t;if(Sn(t)&&xn(t.defaultValue))return t.defaultValue;if(typeof e==`function`)return``;if(Array.isArray(e)){let t=e[e.length-1];return typeof t==`function`?``:t}return e},Un={t:Hn,ready:!1},Wn=()=>()=>{},Gn=(e,n={})=>{let{i18n:r}=n,{i18n:i,defaultNS:a}=(0,t.useContext)(Fn)||{},o=r||i||Nn();o&&!o.reportNamespaces&&(o.reportNamespaces=new In),o||gn(o,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next`);let s=(0,t.useMemo)(()=>({...An(),...o?.options?.react,...n}),[o,n]),{useSuspense:c,keyPrefix:l}=s,u=e||a||o?.options?.defaultNS,d=xn(u)?[u]:u||[`translation`],f=(0,t.useMemo)(()=>d,d);o?.reportNamespaces?.addUsedNamespaces?.(f);let p=(0,t.useRef)(0),m=(0,t.useCallback)(e=>{if(!o)return Wn;let{bindI18n:t,bindI18nStore:n}=s,r=()=>{p.current+=1,e()};return t&&o.on(t,r),n&&o.store.on(n,r),()=>{t&&t.split(` `).forEach(e=>o.off(e,r)),n&&n.split(` `).forEach(e=>o.store.off(e,r))}},[o,s]),h=(0,t.useRef)(),g=(0,t.useCallback)(()=>{if(!o)return Un;let e=!!(o.isInitialized||o.initializedStoreOnce)&&f.every(e=>bn(e,o,s)),t=n.lng||o.language,r=p.current,i=h.current;if(i&&i.ready===e&&i.lng===t&&i.keyPrefix===l&&i.revision===r)return i;let a={t:o.getFixedT(t,s.nsMode===`fallback`?f:f[0],l),ready:e,lng:t,keyPrefix:l,revision:r};return h.current=a,a},[o,f,l,s,n.lng]),[_,v]=(0,t.useState)(0),{t:y,ready:b}=(0,Vn.useSyncExternalStore)(m,g,g);(0,t.useEffect)(()=>{if(o&&!b&&!c){let e=()=>v(e=>e+1);n.lng?yn(o,n.lng,f,e):vn(o,f,e)}},[o,n.lng,f,b,c,_]);let x=o||{},ee=(0,t.useRef)(null),S=(0,t.useRef)(),te=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,`__original`))try{Object.defineProperty(n,`__original`,{value:e,writable:!1,enumerable:!1,configurable:!1})}catch{}return n},C=(0,t.useMemo)(()=>{let e=x,t=e?.language,n=e;e&&(ee.current&&ee.current.__original===e&&S.current===t?n=ee.current:(n=te(e),ee.current=n,S.current=t));let r=!b&&!c?(...e)=>(gn(o,`USE_T_BEFORE_READY`,`useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.`),y(...e)):y,i=[r,n,b];return i.t=r,i.i18n=n,i.ready=b,i},[y,x,b,x.resolvedLanguage,x.language,x.languages]);if(o&&c&&!b)throw new Promise(e=>{let t=()=>e();n.lng?yn(o,n.lng,f,t):vn(o,f,t)});return C}})),qn=f((()=>{Cn(),jn(),Pn(),On(),Ln(),Kn()}));function Jn(e){let n=(0,t.useContext)(Yn),{t:r,i18n:i}=Gn(e);return{t:r,language:n?.language||i.language||`en`,changeLanguage:n?.changeLanguage||(async e=>{await i.changeLanguage(e)}),direction:n?.direction||`ltr`,i18n:i}}var Yn,Xn=f((()=>{qn(),Yn=(0,t.createContext)(null)}));function Zn(e,t){return function(){try{let n=Jn();return n.t(t)===t?{t:(t,n)=>{let r=e[t]||t;if(n)for(let[e,t]of Object.entries(n))r=r.replace(`{{${e}}}`,String(t));return r}}:{t:n.t}}catch{return{t:(t,n)=>{let r=e[t]||t;if(n)for(let[e,t]of Object.entries(n))r=r.replace(`{{${e}}}`,String(t));return r}}}}}var Qn=f((()=>{Xn()})),$n=f((()=>{qn(),Xn(),Qn()})),er,tr,nr=f((()=>{$n(),er={"common.selectOption":`Select an option`,"common.select":`Select...`,"common.search":`Search`,"table.selected":`{{count}} selected`},tr=Zn(er,`common.selectOption`)})),rr=m({SelectField:()=>ir});function ir({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=o?.options||[],{t:c}=tr();if(i){let t=s.find(t=>t.value===e)?.label||e;return t?(0,ar.jsx)(`span`,{className:`text-sm`,children:t}):(0,ar.jsx)(r.EmptyValue,{})}return(0,ar.jsxs)(r.Select,{...a,value:e,onValueChange:t,disabled:i||a.disabled,children:[(0,ar.jsx)(r.SelectTrigger,{className:a.className,id:a.id,children:(0,ar.jsx)(r.SelectValue,{placeholder:o?.placeholder||c(`common.selectOption`)})}),(0,ar.jsx)(r.SelectContent,{position:`popper`,children:s.map(e=>(0,ar.jsx)(r.SelectItem,{value:e.value,children:e.label},e.value))})]})}var ar,or=f((()=>{nr(),ar=v()})),sr=m({DateField:()=>cr});function cr({value:e,onChange:t,field:n,readonly:i,...a}){if(i)return e?(0,lr.jsx)(`span`,{className:`text-sm`,children:new Date(e).toLocaleDateString()}):(0,lr.jsx)(r.EmptyValue,{});let{inputType:o,...s}=a;return(0,lr.jsx)(r.Input,{...s,type:`date`,value:e||``,onChange:e=>t(e.target.value),disabled:i||s.disabled})}var lr,ur=f((()=>{lr=v()})),dr=m({EmailField:()=>fr});function fr({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){let s=n||o.schema;if(i)return e?(0,pr.jsx)(`a`,{href:`mailto:${e}`,className:`text-sm text-blue-600 hover:text-blue-800 hover:underline`,children:e}):(0,pr.jsx)(r.EmptyValue,{});let{inputType:c,...l}=o;return(0,pr.jsx)(r.Input,{...l,type:`email`,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`email@example.com`,disabled:i||l.disabled,"aria-invalid":!!a})}var pr,mr=f((()=>{pr=v()})),hr=m({PhoneField:()=>gr});function gr({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){let s=n||o.schema;if(i)return e?(0,_r.jsx)(`a`,{href:`tel:${e}`,className:`text-sm text-blue-600 hover:text-blue-800 hover:underline`,children:e}):(0,_r.jsx)(r.EmptyValue,{});let{inputType:c,...l}=o;return(0,_r.jsx)(r.Input,{...l,type:`tel`,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`(555) 123-4567`,disabled:i||l.disabled,"aria-invalid":!!a})}var _r,vr=f((()=>{_r=v()})),yr=m({UrlField:()=>br});function br({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){let s=n||o.schema;if(i)return e?e.startsWith(`http://`)||e.startsWith(`https://`)?(0,xr.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-blue-600 hover:text-blue-800 hover:underline`,children:e}):(0,xr.jsx)(`span`,{className:`text-sm`,children:e}):(0,xr.jsx)(r.EmptyValue,{});let{inputType:c,...l}=o;return(0,xr.jsx)(r.Input,{...l,type:`url`,value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`https://example.com`,disabled:i||l.disabled,"aria-invalid":!!a})}var xr,Sr=f((()=>{xr=v()})),Cr=m({CurrencyField:()=>Tr});function wr(e,t=`USD`){try{return new Intl.NumberFormat(`en-US`,{style:`currency`,currency:t}).format(e)}catch{return`${t} ${e.toFixed(2)}`}}function Tr({value:e,onChange:t,field:n,readonly:i,errorMessage:a,className:o,...s}){let c=n||s.schema,l=c?.currency||`USD`,u=c?.precision??2;if(i)return e==null?(0,Er.jsx)(r.EmptyValue,{}):(0,Er.jsx)(`span`,{className:`text-sm font-medium tabular-nums`,children:wr(Number(e),l)});let d=e=>{let n=parseFloat(e.target.value);isNaN(n)||t(parseFloat(n.toFixed(u)))};return(0,Er.jsxs)(`div`,{className:`relative`,children:[(0,Er.jsx)(`span`,{className:`absolute left-3 top-1/2 -translate-y-1/2 text-sm text-gray-500`,children:l===`USD`?`$`:l}),(0,Er.jsx)(r.Input,{...s,type:`number`,value:e??``,onChange:e=>{t(e.target.value===``?null:parseFloat(e.target.value))},onBlur:d,placeholder:c?.placeholder||`0.00`,disabled:i||s.disabled,className:`pl-8 ${o||``}`,step:(10**-u).toFixed(u),"aria-invalid":!!a})]})}var Er,Dr=f((()=>{Er=v()})),Or=m({TextAreaField:()=>kr});function kr({value:e,onChange:n,field:i,readonly:a,errorMessage:o,...s}){if(a)return(0,Ar.jsx)(`div`,{className:`text-sm whitespace-pre-wrap`,children:e||(0,Ar.jsx)(r.EmptyValue,{})});let c=i||s.schema,l=c?.rows||4,u=c?.max_length,d=!!(s.mobileFullscreen??c?.mobile_fullscreen??s.mobile_fullscreen??s.schema?.mobile_fullscreen),[f,p]=(0,t.useState)(!1),[m,h]=(0,t.useState)(e??``),g=()=>{h(e??``),p(!0)},_=()=>p(!1),v=()=>{n(m),p(!1)},{inputType:y,mobileFullscreen:b,...x}=s;return(0,Ar.jsxs)(`div`,{className:`relative`,children:[(0,Ar.jsx)(r.Textarea,{...x,value:e||``,onChange:e=>n(e.target.value),placeholder:c?.placeholder,disabled:a||x.disabled,rows:l,maxLength:u,"aria-invalid":!!o,className:x.className}),d&&(0,Ar.jsx)(`button`,{type:`button`,onClick:g,className:`absolute top-1.5 right-1.5 inline-flex items-center justify-center size-7 rounded-md bg-background/80 text-muted-foreground hover:text-foreground hover:bg-background border shadow-sm transition-colors`,"aria-label":`Edit ${c?.label??`text`} fullscreen`,"data-testid":`textarea-fullscreen-toggle`,children:(0,Ar.jsx)(St,{className:`size-3.5`})}),u&&(0,Ar.jsxs)(`div`,{className:`absolute bottom-2 right-2 text-xs text-gray-400`,"aria-live":`polite`,"aria-label":`Character count: ${(e||``).length} of ${u}`,children:[(e||``).length,`/`,u]}),d&&(0,Ar.jsx)(r.Dialog,{open:f,onOpenChange:p,children:(0,Ar.jsxs)(r.DialogContent,{className:`sm:max-w-3xl h-[100dvh] sm:h-[80vh] max-h-[100dvh] sm:max-h-[80vh] flex flex-col p-0 gap-0`,"data-testid":`textarea-fullscreen-dialog`,children:[(0,Ar.jsx)(r.DialogHeader,{className:`p-4 border-b`,children:(0,Ar.jsx)(r.DialogTitle,{className:`text-base`,children:c?.label??`Edit text`})}),(0,Ar.jsx)(`div`,{className:`flex-1 min-h-0 p-4`,children:(0,Ar.jsx)(r.Textarea,{autoFocus:!0,value:m,onChange:e=>h(e.target.value),maxLength:u,placeholder:c?.placeholder,className:`h-full min-h-full resize-none text-base`,"data-testid":`textarea-fullscreen-input`})}),(0,Ar.jsxs)(r.DialogFooter,{className:`p-3 border-t flex-row justify-between sm:justify-end gap-2`,children:[u&&(0,Ar.jsxs)(`span`,{className:`text-xs text-muted-foreground self-center`,children:[m.length,`/`,u]}),(0,Ar.jsxs)(`div`,{className:`flex gap-2 ml-auto`,children:[(0,Ar.jsxs)(r.Button,{type:`button`,variant:`ghost`,onClick:_,children:[(0,Ar.jsx)(Qt,{className:`size-4 mr-1`}),` Cancel`]}),(0,Ar.jsxs)(r.Button,{type:`button`,onClick:v,"data-testid":`textarea-fullscreen-save`,children:[(0,Ar.jsx)(je,{className:`size-4 mr-1`}),` Done`]})]})]})]})})]})}var Ar,jr=f((()=>{en(),Ar=v()})),Mr=m({RichTextField:()=>Nr});function Nr({value:e,onChange:t,field:n,readonly:i,errorMessage:a,...o}){if(i)return(0,Pr.jsx)(`div`,{className:`text-sm prose prose-sm max-w-none`,children:e||(0,Pr.jsx)(r.EmptyValue,{})});let s=n||o.schema,c=s?.rows||8;return(0,Pr.jsxs)(`div`,{className:`space-y-2`,children:[(0,Pr.jsxs)(`div`,{className:`flex items-center justify-between text-xs text-gray-500`,children:[(0,Pr.jsxs)(`span`,{children:[`Format: `,s?.format||`markdown`]}),(0,Pr.jsx)(`span`,{className:`italic`,children:`Rich text editor (basic)`})]}),(0,Pr.jsx)(r.Textarea,{value:e||``,onChange:e=>t(e.target.value),placeholder:s?.placeholder||`Enter text...`,disabled:i||o.disabled,rows:c,className:`font-mono text-sm ${o.className||``}`,"aria-invalid":!!a})]})}var Pr,Fr=f((()=>{Pr=v()}));function Ir(e){return typeof e==`string`?{field:e}:e}function Lr(e){return e.replace(/_/g,` `).replace(/([a-z])([A-Z])/g,`$1 $2`).replace(/\b\w/g,e=>e.toUpperCase())}function Rr(e){let t={};for(let n of e)switch(n.operator){case`eq`:t[n.field]=n.value;break;case`ne`:t[n.field]={$ne:n.value};break;case`gt`:t[n.field]={$gt:n.value};break;case`lt`:t[n.field]={$lt:n.value};break;case`gte`:t[n.field]={$gte:n.value};break;case`lte`:t[n.field]={$lte:n.value};break;case`contains`:t[n.field]={$contains:n.value};break;case`in`:t[n.field]={$in:n.value};break;case`notIn`:t[n.field]={$nin:n.value};break}return t}function zr(e,t){let n={};for(let r of t){let t=e[r.field];t==null||t===``||(r.type===`boolean`?n[r.field]=!!t:r.type===`text`?n[r.field]={$contains:t}:n[r.field]=t)}return n}function Br({open:e,onOpenChange:n,title:i=`Select Record`,multiple:a=!1,dataSource:o,objectName:s,columns:c,displayField:l=`name`,idField:u=`id`,pageSize:d=Vr,value:f,onSelect:p,onSelectRecords:m,lookupFilters:h,cellRenderer:g,filterColumns:_,renderFilterBar:v,renderGrid:y}){let[b,x]=(0,t.useState)([]),[ee,S]=(0,t.useState)(!1),[te,C]=(0,t.useState)(null),[w,ne]=(0,t.useState)(0),[T,re]=(0,t.useState)(``),[E,D]=(0,t.useState)(1),ie=(0,t.useRef)(null),[ae,O]=(0,t.useState)(null),[k,oe]=(0,t.useState)(`asc`),[se,ce]=(0,t.useState)(new Set),le=(0,t.useRef)(new Map),[ue,A]=(0,t.useState)(-1),de=(0,t.useRef)(null),[fe,pe]=(0,t.useState)(!1),[me,he]=(0,t.useState)({}),[ge,_e]=(0,t.useState)({}),j=(0,t.useRef)(null),[ve,be]=(0,t.useState)(``),xe=(0,t.useMemo)(()=>c&&c.length>0?c.map(Ir):[{field:l,label:Lr(l)}],[c,l]),Ce=(0,t.useMemo)(()=>{if(_&&_.length>0)return _;if(h&&h.length>0)return h.map(e=>{let t=`text`;return typeof e.value==`boolean`?t=`boolean`:Array.isArray(e.value)?t=`select`:typeof e.value==`number`||e.operator===`gt`||e.operator===`lt`||e.operator===`gte`||e.operator===`lte`?t=`number`:(e.operator===`in`||e.operator===`notIn`)&&(t=`select`),{field:e.field,label:Lr(e.field),type:t,...Array.isArray(e.value)?{options:e.value.map(e=>{if(typeof e==`object`&&e){let t=e;return{label:String(t.name||t.label||t.title||e),value:e}}return{label:String(e),value:e}})}:{}}})},[_,h]),we=(0,t.useMemo)(()=>{let e=h?.length?Rr(h):{},t=Ce?.length?zr(me,Ce):{},n={...e,...t};return Object.keys(n).length>0?n:void 0},[h,Ce,me]),Ee=Math.max(1,Math.ceil(w/d)),De=(0,t.useCallback)(async(e,t=1,n,r)=>{if(!(!o||!s)){S(!0),C(null);try{let i={$top:d,$skip:(t-1)*d};e&&e.trim()&&(i.$search=e.trim()),n&&(i.$orderby={[n.field]:n.direction});let a=r===void 0?we:r;a&&Object.keys(a).length>0&&(i.$filter=a);let c=await o.find(s,i),l=c?.data??c??[];x(l),ne(c?.total??l.length),A(-1)}catch(e){C(e instanceof Error?e.message:String(e)),x([])}finally{S(!1)}}},[o,s,d,we]),Oe=(0,t.useMemo)(()=>ae?{field:ae,direction:k}:null,[ae,k]);(0,t.useEffect)(()=>{e||(re(``),D(1),C(null),x([]),O(null),oe(`asc`),A(-1),pe(!1),he({}),_e({}),be(``),ce(new Set(a&&Array.isArray(f)?f:[])),le.current.clear())},[e]),(0,t.useEffect)(()=>{e&&De(T||void 0,E,Oe)},[e,E,Oe,we]),(0,t.useEffect)(()=>{e&&a&&ce(new Set(Array.isArray(f)?f:[]))},[e,a,f]);let ke=(0,t.useCallback)(e=>{re(e),D(1),ie.current&&clearTimeout(ie.current),ie.current=setTimeout(()=>{De(e||void 0,1,Oe)},300)},[De,Oe]);(0,t.useEffect)(()=>()=>{ie.current&&clearTimeout(ie.current)},[]);let Ae=(0,t.useCallback)(e=>{O(t=>t===e?(oe(e=>e===`asc`?`desc`:`asc`),e):(oe(`asc`),e)),D(1)},[]),Me=(0,t.useCallback)(e=>e[u]??e.id??e._id,[u]),Ne=(0,t.useCallback)(e=>{let t=Me(e);return a?se.has(t):f===t},[a,f,se,Me]),Fe=(0,t.useCallback)(e=>{let t=Me(e);a?ce(n=>{let r=new Set(n);return r.has(t)?(r.delete(t),le.current.delete(t)):(r.add(t),le.current.set(t,e)),r}):(p(t),m?.([e]),n(!1))},[a,Me,p,m,n]),Ie=(0,t.useCallback)(()=>{let e=Array.from(se);p(e);let t=e.map(e=>le.current.get(e)).filter(Boolean);m?.(t),n(!1)},[se,p,m,n]),Re=(0,t.useCallback)(()=>{D(e=>Math.max(1,e-1))},[]),ze=(0,t.useCallback)(()=>{D(e=>Math.min(Ee,e+1))},[Ee]),Ve=(0,t.useCallback)(e=>{if(e.key!==`Enter`)return;let t=parseInt(ve,10);!isNaN(t)&&t>=1&&t<=Ee&&D(t),be(``)},[ve,Ee]),He=(0,t.useCallback)(e=>{b.length!==0&&(e.key===`ArrowDown`?(e.preventDefault(),A(e=>Math.min(e+1,b.length-1))):e.key===`ArrowUp`?(e.preventDefault(),A(e=>Math.max(e-1,0))):(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),ue>=0&&ue<b.length&&Fe(b[ue])))},[b,ue,Fe]);(0,t.useEffect)(()=>{if(ue>=0&&de.current){let e=de.current.querySelector(`[data-row-index="${ue}"]`);e&&typeof e.scrollIntoView==`function`&&e.scrollIntoView({block:`nearest`})}},[ue]);let Ue=(0,t.useCallback)((e,t)=>{let n=e[t.field];if(t.type&&g){let e=g(t.type);if(e)return(0,M.jsx)(e,{value:n,field:{name:t.field,type:t.type}})}return n==null?``:typeof n==`object`?n.$numberDecimal?String(Number(n.$numberDecimal)):n.$oid?String(n.$oid):n.$date?new Date(n.$date).toLocaleDateString():n.name||n.label?String(n.name||n.label):JSON.stringify(n):typeof n==`boolean`?n?`Yes`:`No`:String(n)},[g]),We=(0,t.useCallback)(e=>ae===e?k===`asc`?(0,M.jsx)(Te,{className:`ml-1 size-3`}):(0,M.jsx)(ye,{className:`ml-1 size-3`}):(0,M.jsx)(Se,{className:`ml-1 size-3 opacity-40`}),[ae,k]),Ge=(0,t.useCallback)((e,t,n)=>{e.preventDefault(),e.stopPropagation(),j.current={field:t,startX:e.clientX,startWidth:n};let r=e=>{if(!j.current)return;let t=e.clientX-j.current.startX,n=Math.max(Hr,j.current.startWidth+t);_e(e=>({...e,[j.current.field]:n}))},i=()=>{j.current=null,document.removeEventListener(`mousemove`,r),document.removeEventListener(`mouseup`,i)};document.addEventListener(`mousemove`,r),document.addEventListener(`mouseup`,i)},[]),Ke=(0,t.useCallback)((e,t)=>{he(n=>({...n,[e]:t})),D(1)},[]),qe=(0,t.useCallback)(()=>{he({}),D(1)},[]),Je=(0,t.useMemo)(()=>Object.values(me).filter(e=>e!=null&&e!==``).length,[me]),Ye=(0,t.useCallback)(e=>{let t=me[e.field],n=e.label||Lr(e.field);switch(e.type){case`select`:return(0,M.jsxs)(`div`,{className:`space-y-1`,children:[(0,M.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,M.jsxs)(r.Select,{value:t==null?``:String(t),onValueChange:t=>Ke(e.field,t),children:[(0,M.jsx)(r.SelectTrigger,{className:`h-8 text-xs`,children:(0,M.jsx)(r.SelectValue,{placeholder:`Filter ${n}`})}),(0,M.jsx)(r.SelectContent,{children:e.options?.map(e=>(0,M.jsx)(r.SelectItem,{value:String(e.value),children:e.label},String(e.value)))})]})]});case`number`:return(0,M.jsxs)(`div`,{className:`space-y-1`,children:[(0,M.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,M.jsx)(r.Input,{type:`number`,className:`h-8 text-xs`,value:t??``,placeholder:`Filter ${n}`,onChange:t=>{let n=t.target.value;Ke(e.field,n===``?``:Number(n))}})]});case`date`:return(0,M.jsxs)(`div`,{className:`space-y-1`,children:[(0,M.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,M.jsx)(r.Input,{type:`date`,className:`h-8 text-xs`,value:t??``,onChange:t=>Ke(e.field,t.target.value)})]});case`boolean`:return(0,M.jsxs)(`div`,{className:`space-y-1`,children:[(0,M.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,M.jsxs)(`div`,{className:`flex items-center gap-2 h-8`,children:[(0,M.jsx)(r.Checkbox,{checked:!!t,onCheckedChange:t=>Ke(e.field,!!t)}),(0,M.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Yes`})]})]});default:return(0,M.jsxs)(`div`,{className:`space-y-1`,children:[(0,M.jsx)(r.Label,{className:`text-xs text-muted-foreground`,children:n}),(0,M.jsx)(r.Input,{className:`h-8 text-xs`,value:t??``,placeholder:`Filter ${n}`,onChange:t=>Ke(e.field,t.target.value)})]})}},[me,Ke]),Xe=(0,t.useCallback)((e,t)=>e?`bg-primary/5 hover:bg-primary/10`:t%2==1?`bg-muted/20 hover:bg-accent/30`:`hover:bg-accent/30`,[]);return(0,M.jsx)(r.Dialog,{open:e,onOpenChange:n,children:(0,M.jsxs)(r.DialogContent,{className:`w-[95vw] sm:max-w-3xl lg:max-w-5xl max-h-[85vh] sm:max-h-[80vh] flex flex-col gap-0`,"data-testid":`record-picker-dialog`,children:[(0,M.jsx)(r.DialogHeader,{children:(0,M.jsxs)(r.DialogTitle,{children:[i,a&&(0,M.jsx)(`span`,{className:`sr-only`,children:` (multiple selection)`})]})}),(0,M.jsxs)(`div`,{className:`relative rounded-md border bg-muted/30 mb-3`,children:[(0,M.jsx)(Lt,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,M.jsx)(r.Input,{placeholder:`Search...`,value:T,onChange:e=>ke(e.target.value),className:`pl-9 border-0 bg-transparent shadow-none focus-visible:ring-0`,"data-testid":`record-picker-search`}),ee&&(0,M.jsx)(gt,{className:`absolute right-3 top-1/2 -translate-y-1/2 size-4 animate-spin text-muted-foreground`,"data-testid":`record-picker-loading-indicator`})]}),Ce&&Ce.length>0&&(0,M.jsx)(`div`,{className:`py-2`,children:v?(0,M.jsx)(`div`,{"data-testid":`record-picker-filter-bar`,children:v({filterColumns:Ce,values:me,onChange:Ke,onClear:qe,activeCount:Je})}):(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(`div`,{className:`flex items-center gap-2`,"data-testid":`record-picker-filter-bar`,children:[(0,M.jsxs)(r.Button,{type:`button`,variant:Je>0?`secondary`:`outline`,size:`sm`,className:`gap-1.5 shrink-0`,onClick:()=>pe(e=>!e),children:[(0,M.jsx)(Bt,{className:`size-3.5`}),`Filters`,Je>0&&(0,M.jsx)(`span`,{className:`inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-primary/10 px-1 text-xs font-medium text-primary`,children:Je})]}),Je>0&&(0,M.jsxs)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,className:`gap-1 text-xs`,onClick:qe,children:[(0,M.jsx)(Qt,{className:`size-3`}),`Clear`]})]}),fe&&(0,M.jsx)(`div`,{className:`mt-2 grid gap-3 sm:grid-cols-2 lg:grid-cols-3 border rounded-md p-3 bg-muted/30`,"data-testid":`record-picker-filter-panel`,children:Ce.map(e=>(0,M.jsx)(`div`,{children:Ye(e)},e.field))})]})}),te&&(0,M.jsxs)(`div`,{className:`flex flex-col items-center gap-2 py-4`,role:`alert`,children:[(0,M.jsx)(Be,{className:`size-5 text-destructive`}),(0,M.jsx)(`p`,{className:`text-sm text-destructive`,children:te}),(0,M.jsx)(r.Button,{variant:`outline`,size:`sm`,onClick:()=>De(T||void 0,E,Oe),type:`button`,children:`Retry`})]}),y?(0,M.jsx)(`div`,{className:`flex-1 min-h-0`,"data-testid":`record-picker-grid-slot`,children:y({columns:xe,records:b,loading:ee,totalCount:w,currentPage:E,pageSize:d,sortField:ae,sortDirection:k,onSort:Ae,onPageChange:D,onRowClick:Fe,isSelected:Ne,multiple:a,idField:u,cellRenderer:g})}):(0,M.jsxs)(M.Fragment,{children:[ee&&b.length===0&&!te&&(0,M.jsx)(`div`,{className:`flex-1 overflow-hidden min-h-0 border rounded-md`,role:`status`,"aria-live":`polite`,"data-testid":`record-picker-skeleton`,children:(0,M.jsxs)(r.Table,{children:[(0,M.jsx)(r.TableHeader,{children:(0,M.jsxs)(r.TableRow,{className:`bg-muted/40`,children:[a&&(0,M.jsx)(r.TableHead,{className:`w-10`}),xe.map(e=>(0,M.jsx)(r.TableHead,{children:(0,M.jsx)(r.Skeleton,{className:`h-4 w-20`})},e.field))]})}),(0,M.jsx)(r.TableBody,{children:Array.from({length:Ur},(e,t)=>(0,M.jsxs)(r.TableRow,{children:[a&&(0,M.jsx)(r.TableCell,{className:`w-10`,children:(0,M.jsx)(r.Skeleton,{className:`size-4 rounded`})}),xe.map(e=>(0,M.jsx)(r.TableCell,{children:(0,M.jsx)(r.Skeleton,{className:`h-4 w-full`})},e.field))]},t))})]})}),!ee&&!te&&b.length===0&&(0,M.jsx)(`div`,{className:`py-8 text-center`,children:(0,M.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No records found`})}),!te&&b.length>0&&(0,M.jsxs)(`div`,{className:`relative flex-1 overflow-auto min-h-0 border rounded-md`,tabIndex:0,onKeyDown:He,role:`grid`,"aria-label":`Records`,children:[ee&&(0,M.jsx)(`div`,{className:`absolute inset-0 z-10 flex items-center justify-center bg-background/60`,"data-testid":`record-picker-loading-overlay`,children:(0,M.jsx)(gt,{className:`size-6 animate-spin text-muted-foreground`})}),(0,M.jsxs)(r.Table,{style:Object.keys(ge).length>0?{tableLayout:`fixed`}:void 0,children:[(0,M.jsx)(r.TableHeader,{className:`sticky top-0 z-[5] bg-muted/50 [&_tr]:border-b`,"data-testid":`record-picker-sticky-header`,children:(0,M.jsxs)(r.TableRow,{children:[a&&(0,M.jsx)(r.TableHead,{className:`w-10`}),xe.map(e=>{let t=ge[e.field];return(0,M.jsxs)(r.TableHead,{style:t?{width:`${t}px`,minWidth:`${t}px`}:e.width?{width:e.width}:void 0,className:`cursor-pointer select-none relative group text-xs font-semibold uppercase tracking-wider`,onClick:()=>Ae(e.field),"aria-sort":ae===e.field?k===`asc`?`ascending`:`descending`:`none`,children:[(0,M.jsxs)(`span`,{className:`inline-flex items-center`,children:[e.label||Lr(e.field),We(e.field)]}),(0,M.jsx)(`span`,{role:`separator`,"aria-orientation":`vertical`,className:`absolute right-0 top-0 bottom-0 w-1 cursor-col-resize opacity-0 group-hover:opacity-100 bg-border hover:bg-primary/50 transition-opacity`,onMouseDown:t=>{let n=t.currentTarget.parentElement?.getBoundingClientRect();Ge(t,e.field,n?.width??100)},onClick:e=>e.stopPropagation(),"data-testid":`resize-handle-${e.field}`})]},e.field)})]})}),(0,M.jsx)(r.TableBody,{ref:de,children:b.map((e,t)=>{let n=Me(e),i=Ne(e),o=t===ue;return(0,M.jsxs)(r.TableRow,{"data-row-index":t,className:(0,r.cn)(`cursor-pointer transition-colors`,Xe(i,t),o&&`ring-2 ring-primary ring-inset`),onClick:()=>Fe(e),"data-testid":`record-row-${n}`,"aria-selected":i,children:[a&&(0,M.jsx)(r.TableCell,{className:`w-10`,children:i&&(0,M.jsx)(je,{className:`size-4 text-primary`})}),xe.map(t=>(0,M.jsx)(r.TableCell,{className:`py-2.5`,children:Ue(e,t)},t.field))]},n??t)})})]})]}),!te&&w>0&&(0,M.jsxs)(`div`,{className:`flex items-center justify-between text-sm text-muted-foreground border-t pt-3 mt-2 px-1`,"data-testid":`record-picker-pagination`,children:[(0,M.jsxs)(`span`,{children:[w,` `,w===1?`record`:`records`,Ee>1&&` · Page ${E} of ${Ee}`]}),Ee>1&&(0,M.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,M.jsx)(r.Button,{variant:`outline`,size:`icon`,className:`size-7`,onClick:Re,disabled:E<=1,type:`button`,"aria-label":`Previous page`,children:(0,M.jsx)(Pe,{className:`size-4`})}),(0,M.jsx)(r.Input,{className:`h-7 w-12 text-center text-xs px-1`,placeholder:String(E),value:ve,onChange:e=>be(e.target.value),onKeyDown:Ve,"aria-label":`Jump to page`,"data-testid":`record-picker-page-jump`}),(0,M.jsx)(r.Button,{variant:`outline`,size:`icon`,className:`size-7`,onClick:ze,disabled:E>=Ee,type:`button`,"aria-label":`Next page`,children:(0,M.jsx)(Le,{className:`size-4`})})]})]})]}),a&&(0,M.jsx)(r.DialogFooter,{children:(0,M.jsxs)(`div`,{className:`flex items-center gap-2 w-full justify-between`,children:[(0,M.jsxs)(`span`,{className:`text-sm text-muted-foreground`,children:[se.size,` selected`]}),(0,M.jsxs)(`div`,{className:`flex gap-2`,children:[(0,M.jsx)(r.Button,{variant:`outline`,type:`button`,onClick:()=>n(!1),children:`Cancel`}),(0,M.jsx)(r.Button,{type:`button`,onClick:Ie,children:`Confirm`})]})]})})]})})}var M,Vr,Hr,Ur,Wr=f((()=>{en(),M=v(),Vr=10,Hr=60,Ur=5}));function Gr(e){qr=e}function Kr(){return qr}var qr,Jr=f((()=>{})),Yr=m({LookupField:()=>Qr});function Xr(e,t,n,r){let i=e[n]??e.id??e._id,a=e[t]??e.label??e.name??String(i),o=r?e[r]:void 0;return{value:i,label:String(a),description:o,...e}}function Zr(e){return{text:`text`,number:`number`,currency:`number`,percent:`number`,select:`select`,status:`select`,date:`date`,datetime:`date`,boolean:`boolean`}[e]}function Qr({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=(0,t.useState)(!1),[l,u]=(0,t.useState)(``),{t:d}=tr(),[f,p]=(0,t.useState)([]),[m,h]=(0,t.useState)(!1),[g,_]=(0,t.useState)(null),[v,y]=(0,t.useState)(0),b=(0,t.useRef)(null),[x,ee]=(0,t.useState)([]),[S,te]=(0,t.useState)(-1),C=(0,t.useRef)(null),w=i||o.schema,ne=w?.field,T=ne&&typeof ne==`object`&&(`reference_to`in ne||`reference`in ne||`type`in ne)?ne:w,re=T?.options||[],E=T?.multiple||!1,D=T?.display_field||T?.reference_field||`name`,ie=T?.description_field,ae=T?.id_field||`id`,O=T?.reference_to||T?.reference,k=T?.lookup_columns,oe=T?.lookup_page_size,se=T?.lookup_filters,ce=(0,t.useMemo)(()=>{let e=T?.depends_on??T?.dependsOn;return e&&Array.isArray(e)?e.map(e=>typeof e==`string`?{field:e,param:e}:{field:e.field,param:e.param??e.field}):[]},[T?.depends_on,T?.dependsOn]),le=o.dependentValues,ue=(0,t.useMemo)(()=>{if(!k)return;let e=[];for(let t of k)if(typeof t==`object`&&t.type){let n=Zr(t.type);n&&e.push({field:t.field,label:t.label,type:n})}return e.length>0?e:void 0},[k]),A=(0,t.useContext)(ei),de=A?.dataSource??null,fe=o.dataSource??w?.dataSource??T?.dataSource??de,pe=(0,t.useMemo)(()=>le||(A?.formValues??A?.data??{}),[le,A?.formValues,A?.data]),me=(0,t.useMemo)(()=>ce.length===0?!1:ce.some(({field:e})=>{let t=pe[e];return t==null||t===``||Array.isArray(t)&&t.length===0}),[ce,pe]),he=fe!=null&&typeof fe.find==`function`&&!!O,ge=o.onCreateNew??w?.onCreateNew,[_e,j]=(0,t.useState)(!1),ve=he?f:re,ye=(0,t.useMemo)(()=>{if(he||!l)return ve;let e=l.toLowerCase();return ve.filter(t=>t.label.toLowerCase().includes(e)||t.description&&t.description.toLowerCase().includes(e))},[he,ve,l]);(0,t.useEffect)(()=>{te(-1)},[ye.length]);let be=(0,t.useCallback)(async e=>{if(!(!fe||!O)){if(me){p([]),y(0);return}h(!0),_(null);try{let t={$top:$r};if(e&&e.trim()&&(t.$search=e.trim()),ce.length>0){let e={};for(let{field:t,param:n}of ce){let r=pe[t];r==null||r===``||(e[n]=typeof r==`number`?r:String(r))}Object.keys(e).length>0&&(t.$filter=e)}let n=await fe.find(O,t),r=n?.data??n??[];p(r.map(e=>Xr(e,D,ae,ie))),y(n?.total??r.length)}catch(e){_(e instanceof Error?e.message:String(e)),p([])}finally{h(!1)}}},[fe,O,D,ae,ie,me,ce,pe]);(0,t.useEffect)(()=>{s&&he&&ce.length>0&&be(l||void 0)},[(0,t.useMemo)(()=>ce.map(e=>`${e.param}=${pe[e.field]??``}`).join(`|`),[ce,pe])]),(0,t.useEffect)(()=>{s&&he&&be(l||void 0),s||(u(``),_(null),te(-1))},[s]);let xe=(0,t.useCallback)(e=>{u(e),he&&(b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{be(e||void 0)},300))},[he,be]);(0,t.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]);let Se=(0,t.useCallback)(e=>re.find(t=>t.value===e)??f.find(t=>t.value===e)??x.find(t=>t.value===e),[re,f,x]),Ce=E?(Array.isArray(e)?e:[]).map(Se).filter(Boolean):e?[Se(e)].filter(Boolean):[],we=(0,t.useCallback)(t=>{if(E){let r=Array.isArray(e)?e:[];r.includes(t.value)?n(r.filter(e=>e!==t.value)):n([...r,t.value])}else n(t.value),c(!1)},[E,e,n]),Te=t=>{n(E?(Array.isArray(e)?e:[]).filter(e=>e!==t):null)},Ee=(0,t.useCallback)(e=>{ee(e.map(e=>Xr(e,D,ae,ie)))},[D,ae,ie]),De=(0,t.useCallback)(e=>{e.key===`ArrowDown`?(e.preventDefault(),te(e=>e<ye.length-1?e+1:e)):e.key===`ArrowUp`?(e.preventDefault(),te(e=>e>0?e-1:0)):e.key===`Enter`&&(e.preventDefault(),S>=0&&S<ye.length&&we(ye[S]))},[ye,S,we]);return(0,t.useEffect)(()=>{S>=0&&C.current&&C.current.querySelector(`[data-lookup-index="${S}"]`)?.scrollIntoView({block:`nearest`})},[S]),a?Ce.length?E?(0,N.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:Ce.map((e,t)=>(0,N.jsx)(r.Badge,{variant:`outline`,children:e?.[D]||e?.label},t))}):(0,N.jsx)(`span`,{className:`text-sm`,children:Ce[0]?.[D]||Ce[0]?.label}):(0,N.jsx)(r.EmptyValue,{}):(0,N.jsxs)(`div`,{className:`space-y-2`,children:[Ce.length>0&&(0,N.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:Ce.map((e,t)=>(0,N.jsxs)(r.Badge,{variant:`outline`,className:`gap-1`,children:[e?.[D]||e?.label,(0,N.jsx)(`button`,{onClick:()=>Te(e?.value),className:`ml-1 hover:text-destructive`,type:`button`,"aria-label":`Remove ${e?.[D]||e?.label}`,children:(0,N.jsx)(Qt,{className:`size-3`})})]},t))}),(0,N.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,N.jsxs)(r.Popover,{open:s,onOpenChange:e=>!me&&c(e),children:[(0,N.jsx)(r.PopoverTrigger,{asChild:!0,children:(0,N.jsxs)(r.Button,{variant:`outline`,className:`min-w-0 flex-1 justify-start text-left font-normal`,type:`button`,disabled:me||o.disabled,"data-testid":me?`lookup-trigger-gated`:void 0,title:me?`Select ${ce.map(e=>e.field).join(`, `)} first`:void 0,children:[(0,N.jsx)(Lt,{className:`mr-2 size-4`}),me?`Select ${ce.map(e=>e.field).join(`, `)} first`:Ce.length===0?w?.placeholder||d(`common.select`):E?d(`table.selected`,{count:Ce.length}):d(`common.select`)]})}),(0,N.jsxs)(r.PopoverContent,{className:`w-[var(--radix-popover-trigger-width)] p-0`,align:`start`,children:[(0,N.jsx)(`div`,{className:`p-2`,children:(0,N.jsxs)(`div`,{className:`relative`,children:[(0,N.jsx)(Lt,{className:`absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground`}),(0,N.jsx)(r.Input,{placeholder:d(`common.search`)+`...`,value:l,onChange:e=>xe(e.target.value),onKeyDown:De,className:`w-full pl-9 h-8 text-sm`}),m&&(0,N.jsx)(gt,{className:`absolute right-3 top-1/2 -translate-y-1/2 size-4 animate-spin text-muted-foreground`,"data-testid":`lookup-loading`})]})}),g&&(0,N.jsxs)(`div`,{className:`flex flex-col items-center gap-2 py-4 px-2`,role:`alert`,children:[(0,N.jsx)(Be,{className:`size-5 text-destructive`}),(0,N.jsx)(`p`,{className:`text-sm text-destructive`,children:g}),(0,N.jsx)(r.Button,{variant:`outline`,size:`sm`,onClick:()=>be(l||void 0),type:`button`,children:`Retry`})]}),m&&ye.length===0&&!g&&(0,N.jsxs)(`div`,{className:`flex flex-col items-center gap-2 py-6`,role:`status`,"aria-live":`polite`,children:[(0,N.jsx)(gt,{className:`size-6 animate-spin text-muted-foreground`}),(0,N.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`})]}),!g&&!(m&&ye.length===0)&&(0,N.jsx)(`div`,{ref:C,className:`max-h-64 overflow-y-auto px-1 pb-1`,role:`listbox`,children:ye.length===0?(0,N.jsxs)(`div`,{className:`py-4 text-center`,children:[(0,N.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No options found`}),ge&&(0,N.jsxs)(r.Button,{variant:`ghost`,size:`sm`,className:`mt-2 gap-1`,type:`button`,onClick:()=>{ge(l),c(!1)},children:[(0,N.jsx)(Ot,{className:`size-4`}),`Create new`]})]}):(0,N.jsxs)(N.Fragment,{children:[ye.map((t,n)=>{let i=E?(Array.isArray(e)?e:[]).includes(t.value):e===t.value;return(0,N.jsxs)(`button`,{"data-lookup-index":n,role:`option`,"aria-selected":i,onClick:()=>we(t),className:`w-full text-left px-3 py-2 rounded-md text-sm hover:bg-accent flex items-center justify-between ${n===S?`bg-accent text-accent-foreground`:i?`bg-accent/50 text-accent-foreground`:``}`,type:`button`,children:[(0,N.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,N.jsx)(`span`,{className:`block truncate`,children:t.label}),t.description&&(0,N.jsx)(`span`,{className:`block truncate text-xs text-muted-foreground`,children:t.description})]}),i&&(0,N.jsx)(r.Badge,{variant:`default`,className:`ml-2 shrink-0`,children:`Selected`})]},t.value)}),he&&v>ye.length&&(0,N.jsxs)(`p`,{className:`text-xs text-muted-foreground text-center py-2`,children:[`Showing `,ye.length,` of `,v,` results.`]}),he&&v>ye.length&&(0,N.jsxs)(`button`,{type:`button`,className:`w-full text-center px-3 py-2 rounded-md text-sm font-medium text-primary hover:bg-accent flex items-center justify-center gap-1.5`,onClick:()=>{c(!1),j(!0)},"data-testid":`show-all-results`,children:[(0,N.jsx)(Kt,{className:`size-3.5`}),`Show All Results (`,v,`)`]}),ge&&(0,N.jsxs)(`button`,{type:`button`,className:`w-full text-left px-3 py-2 rounded-md text-sm hover:bg-accent flex items-center gap-1.5 text-muted-foreground`,onClick:()=>{ge(l),c(!1)},children:[(0,N.jsx)(Ot,{className:`size-3.5`}),`Create new`,l?` "${l}"`:``]})]})})]})]}),he&&(0,N.jsx)(r.Button,{variant:`outline`,size:`icon`,className:`shrink-0`,type:`button`,onClick:()=>j(!0),"aria-label":`Browse all records`,title:`Browse all records`,"data-testid":`browse-all-records`,children:(0,N.jsx)(Kt,{className:`size-4`})})]}),he&&fe&&O&&(0,N.jsx)(Br,{open:_e,onOpenChange:j,title:w?.label||`Select`,multiple:E,dataSource:fe,objectName:O,columns:k,displayField:D,idField:ae,pageSize:oe,value:e,onSelect:n,onSelectRecords:Ee,lookupFilters:se,cellRenderer:Kr(),filterColumns:ue})]})}var N,$r,ei,ti=f((()=>{en(),Wr(),Jr(),nr(),N=v(),$r=50,ei=a.SchemaRendererContext})),ni=m({DateTimeField:()=>ri});function ri({value:e,onChange:t,field:n,readonly:i,...a}){if(i){if(!e)return(0,ii.jsx)(r.EmptyValue,{});let t=new Date(e);return(0,ii.jsxs)(`span`,{className:`text-sm`,children:[t.toLocaleDateString(),` `,t.toLocaleTimeString()]})}let{inputType:o,...s}=a;return(0,ii.jsx)(r.Input,{...s,type:`datetime-local`,value:e||``,onChange:e=>t(e.target.value),disabled:i||s.disabled})}var ii,ai=f((()=>{ii=v()})),oi=m({TimeField:()=>si});function si({value:e,onChange:t,field:n,readonly:i,...a}){if(i)return(0,ci.jsx)(`span`,{className:`text-sm`,children:e||(0,ci.jsx)(r.EmptyValue,{})});let{inputType:o,...s}=a;return(0,ci.jsx)(r.Input,{...s,type:`time`,value:e||``,onChange:e=>t(e.target.value),disabled:i||s.disabled})}var ci,li=f((()=>{ci=v()})),ui=m({PercentField:()=>di});function di({value:e,onChange:t,field:n,readonly:i,errorMessage:a,className:o,...s}){let c=n||s.schema,l=c?.precision??2;if(i)return e==null?(0,fi.jsx)(r.EmptyValue,{}):(0,fi.jsxs)(`span`,{className:`text-sm font-medium tabular-nums`,children:[(e*100).toFixed(l),`%`]});let u=e==null?``:e*100,d=e==null?0:e*100,f=e=>{if(e.target.value===``){t(null);return}let n=parseFloat(e.target.value);t(isNaN(n)?null:n/100)},p=e=>{if(i||s.disabled)return;if(!Array.isArray(e)||e.length===0){t(null);return}let n=e[0];t(typeof n==`number`?n/100:null)},m=10**-l;return(0,fi.jsxs)(`div`,{className:`space-y-2`,children:[(0,fi.jsxs)(`div`,{className:`relative`,children:[(0,fi.jsx)(r.Input,{...s,type:`number`,value:u,onChange:f,placeholder:c?.placeholder||`0`,disabled:i||s.disabled,className:`pr-8 ${o||``}`,step:(10**-l).toFixed(l),"aria-invalid":!!a}),(0,fi.jsx)(`span`,{className:`absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500`,children:`%`})]}),(0,fi.jsx)(r.Slider,{value:[d],onValueChange:p,min:0,max:100,step:m,disabled:i||s.disabled,className:`w-full`,"aria-label":`Percentage`,"data-testid":`percent-slider`})]})}var fi,pi=f((()=>{fi=v()})),mi=m({PasswordField:()=>hi});function hi({value:e,onChange:n,field:i,readonly:a,className:o,...s}){let[c,l]=(0,t.useState)(!1),u=i||s.schema;if(a)return(0,gi.jsx)(`span`,{className:`text-sm`,children:`••••••••`});let{inputType:d,...f}=s;return(0,gi.jsxs)(`div`,{className:`relative`,children:[(0,gi.jsx)(r.Input,{...f,type:c?`text`:`password`,value:e||``,onChange:e=>n(e.target.value),placeholder:u?.placeholder,disabled:a||f.disabled,className:`pr-10 ${o||``}`}),(0,gi.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,className:`absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent`,onClick:()=>l(!c),tabIndex:-1,children:c?(0,gi.jsx)(it,{className:`size-4 text-gray-500`}):(0,gi.jsx)(st,{className:`size-4 text-gray-500`})})]})}var gi,_i=f((()=>{en(),gi=v()})),vi=f((()=>{v(),(0,t.createContext)(null)})),yi=f((()=>{v(),(0,t.createContext)(null)})),bi=f((()=>{v(),(0,t.createContext)(null)}));function xi(){return{name:`object-url`,async upload(e){let t=e,n=`name`in t&&t.name||`upload`;return{url:URL.createObjectURL(e),name:n,size:e.size,mimeType:e.type||`application/octet-stream`}}}}function Si(){let e=(0,t.useContext)(Ci),n=(0,t.useMemo)(()=>{let e=xi();return{upload:(t,n)=>e.upload(t,n),adapter:e}},[]);return e??n}var Ci,wi=f((()=>{v(),Ci=(0,t.createContext)(null)})),Ti=f((()=>{vi(),yi(),bi(),wi()})),Ei=m({FileField:()=>Di});function Di({value:e,onChange:n,field:i,readonly:a,...o}){let s=(0,t.useRef)(null),c=(0,t.useRef)(null),l=i||o.schema,u=l?.multiple||!1,d=l?.accept?l.accept.join(`,`):void 0,f=l?.maxSize,p=l?.capture??null,m=!d||d.split(`,`).some(e=>e.trim().startsWith(`image/`)||e.trim()===`image/*`||e.trim().startsWith(`.jp`)||e.trim().startsWith(`.png`)||e.trim().startsWith(`.gif`)||e.trim().startsWith(`.webp`)),h=typeof navigator<`u`&&(navigator.maxTouchPoints>0||/Mobi|Android/i.test(navigator.userAgent)),g=p===!1?!1:p??(m&&h?`environment`:null),[_,v]=(0,t.useState)(!1),[y,b]=(0,t.useState)([]),{upload:x}=Si(),[ee,S]=(0,t.useState)({}),[te,C]=(0,t.useState)(!1),w=e?Array.isArray(e)?e:[e]:[],ne=(0,t.useCallback)(async e=>{if(e.length===0)return;let t=[],r=e.filter(e=>{if(f&&e.size>f){let n=(f/(1024*1024)).toFixed(1);return t.push(`"${e.name}" exceeds max size (${n} MB)`),!1}return!0});if(b(t),r.length!==0){C(!0);try{let e=(await Promise.all(r.map(async e=>{try{let t=await x(e,{onProgress:t=>S(n=>({...n,[e.name]:t}))});return{name:t.name,original_name:e.name,size:t.size,mime_type:t.mimeType,url:t.url}}catch(n){return t.push(`Failed to upload "${e.name}": ${n.message}`),b([...t]),null}}))).filter(Boolean);if(e.length===0)return;n(u?[...w,...e]:e[0])}finally{C(!1),S({})}}},[w,u,n,f,x]),T=(0,t.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),v(!0)},[]),re=(0,t.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),v(!1)},[]),E=(0,t.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),v(!1);let t=Array.from(e.dataTransfer.files);if(d){let e=d.split(`,`).map(e=>e.trim().toLowerCase());ne(t.filter(t=>{let n=t.name.split(`.`),r=n.length>1?`.`+n.pop()?.toLowerCase():``;return e.some(e=>e===t.type||r&&e===r||e.endsWith(`/*`)&&t.type.startsWith(e.replace(`/*`,`/`)))}))}else ne(t)},[d,ne]);if(a)return e?(0,P.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:(Array.isArray(e)?e:[e]).map((e,t)=>(0,P.jsx)(`span`,{className:`text-sm truncate max-w-xs`,children:e.name||e.original_name||`File`},t))}):(0,P.jsx)(r.EmptyValue,{});let D=e=>{ne(Array.from(e.target.files||[]))},ie=e=>{if(u){let t=w.filter((t,n)=>n!==e);n(t.length>0?t:null)}else n(null)},ae=e=>(e.mime_type||``).startsWith(`image/`);return(0,P.jsxs)(`div`,{className:o.className,children:[(0,P.jsx)(`input`,{ref:s,type:`file`,multiple:u,accept:d,onChange:D,className:`hidden`}),g&&(0,P.jsx)(`input`,{ref:c,type:`file`,accept:`image/*`,capture:g,onChange:D,className:`hidden`,"aria-label":`Camera capture`,"data-testid":`file-field-camera-input`}),(0,P.jsxs)(`div`,{className:`space-y-2`,children:[(0,P.jsxs)(`div`,{onDragOver:T,onDragLeave:re,onDrop:E,onClick:()=>s.current?.click(),className:`
232
- flex flex-col items-center justify-center gap-2 p-6
233
- border-2 border-dashed rounded-lg cursor-pointer
234
- transition-colors duration-200
235
- ${_?`border-primary bg-primary/5 text-primary`:`border-muted-foreground/25 hover:border-primary/50 text-muted-foreground hover:text-foreground`}
236
- `,role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),s.current?.click())},children:[(0,P.jsx)(Yt,{className:`size-8 ${_?`text-primary`:`text-muted-foreground`}`}),(0,P.jsxs)(`div`,{className:`text-center`,children:[(0,P.jsx)(`p`,{className:`text-sm font-medium`,children:_?`Drop files here`:`Drag & drop files here`}),(0,P.jsxs)(`p`,{className:`text-xs text-muted-foreground mt-1`,children:[`or click to browse`,g?` • use the camera button below`:``]})]})]}),g&&(0,P.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,className:`w-full`,onClick:e=>{e.stopPropagation(),c.current?.click()},"data-testid":`file-field-camera-button`,children:[(0,P.jsx)(Oe,{className:`size-4 mr-2`}),g===`user`?`Take selfie`:`Take photo`]}),te&&(0,P.jsxs)(`div`,{className:`flex items-center gap-2 text-xs text-muted-foreground`,"data-testid":`file-field-uploading`,children:[(0,P.jsx)(gt,{className:`size-3 animate-spin`}),(0,P.jsxs)(`span`,{children:[`Uploading…`,Object.keys(ee).length>0&&` (${Math.round(Object.values(ee).reduce((e,t)=>e+t,0)/Object.keys(ee).length*100)}%)`]})]}),y.length>0&&(0,P.jsx)(`div`,{className:`space-y-0.5`,children:y.map((e,t)=>(0,P.jsx)(`p`,{className:`text-xs text-destructive`,children:e},t))}),w.length>0&&(0,P.jsx)(`div`,{className:`space-y-1`,children:w.map((e,t)=>(0,P.jsxs)(`div`,{className:`flex items-center justify-between gap-2 p-2 bg-muted/50 rounded-md border`,children:[(0,P.jsxs)(`div`,{className:`flex items-center gap-2 flex-1 min-w-0`,children:[ae(e)&&e.url?(0,P.jsx)(`img`,{src:e.url,alt:e.name,className:`size-8 object-cover rounded flex-shrink-0`}):ae(e)?(0,P.jsx)(pt,{className:`size-4 text-muted-foreground flex-shrink-0`}):(0,P.jsx)(ut,{className:`size-4 text-muted-foreground flex-shrink-0`}),(0,P.jsx)(`span`,{className:`text-sm truncate`,children:e.name||e.original_name||`File`}),e.size&&(0,P.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`(`,(e.size/1024).toFixed(1),` KB)`]})]}),(0,P.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:e=>{e.stopPropagation(),ie(t)},className:`h-6 w-6 p-0`,children:(0,P.jsx)(Qt,{className:`size-3`})})]},t))})]})]})}var P,Oi=f((()=>{Ti(),en(),P=v()})),ki=m({ImageCropperDialog:()=>ji}),Ai,ji,Mi=f((()=>{en(),Ai=v(),ji=({open:e,onOpenChange:n,src:i,outputType:a=`image/png`,outputName:o=`cropped.png`,onConfirm:s})=>{let c=(0,t.useRef)(null),l=(0,t.useRef)(null),[u,d]=(0,t.useState)(0),[f,p]=(0,t.useState)({x:0,y:0,width:100,height:100}),[m,h]=(0,t.useState)(null),[g,_]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(!e||!i)return;_(!1);let t=new Image;t.crossOrigin=`anonymous`,t.onload=()=>{l.current=t;let e=t.naturalWidth*.8,n=t.naturalHeight*.8;p({x:(t.naturalWidth-e)/2,y:(t.naturalHeight-n)/2,width:e,height:n}),d(0),_(!0)},t.onerror=()=>_(!1),t.src=i},[e,i]),(0,t.useEffect)(()=>{if(!g||!l.current||!c.current)return;let e=l.current,t=c.current,n=t.getContext(`2d`);if(!n)return;let r=480/e.naturalWidth,i=e.naturalHeight*r;t.width=480,t.height=i,n.clearRect(0,0,480,i),n.save(),n.translate(480/2,i/2),n.rotate(u*Math.PI/180);let a=u%180==0?480:i,o=u%180==0?i:480;n.drawImage(e,-a/2,-o/2,a,o),n.restore();let s=f.x*r,d=f.y*r,p=f.width*r,m=f.height*r;n.fillStyle=`rgba(0,0,0,0.45)`,n.fillRect(0,0,480,d),n.fillRect(0,d+m,480,i-d-m),n.fillRect(0,d,s,m),n.fillRect(s+p,d,480-s-p,m),n.strokeStyle=`#3b82f6`,n.lineWidth=2,n.strokeRect(s,d,p,m)},[g,f,u]);let v=(0,t.useCallback)(e=>{if(!l.current||!c.current)return;let t=c.current.getBoundingClientRect(),n=l.current.naturalWidth/t.width;h({ox:(e.clientX-t.left)*n,oy:(e.clientY-t.top)*n,cx:f.x,cy:f.y}),e.target.setPointerCapture(e.pointerId)},[f]),y=(0,t.useCallback)(e=>{if(!m||!l.current||!c.current)return;let t=c.current.getBoundingClientRect(),n=l.current.naturalWidth/t.width,r=(e.clientX-t.left)*n-m.ox,i=(e.clientY-t.top)*n-m.oy,a=Math.max(0,Math.min(m.cx+r,l.current.naturalWidth-f.width)),o=Math.max(0,Math.min(m.cy+i,l.current.naturalHeight-f.height));p(e=>({...e,x:a,y:o}))},[m,f.width,f.height]),b=(0,t.useCallback)(()=>h(null),[]),x=(0,t.useCallback)(()=>d(e=>(e+90)%360),[]),ee=(0,t.useCallback)(async()=>{if(!l.current)return;let e=l.current,t=document.createElement(`canvas`),r=f.width,i=f.height;t.width=u%180==0?r:i,t.height=u%180==0?i:r;let c=t.getContext(`2d`);if(!c)return;c.save(),c.translate(t.width/2,t.height/2),c.rotate(u*Math.PI/180),c.drawImage(e,f.x,f.y,r,i,-r/2,-i/2,r,i),c.restore();let d=await new Promise(e=>t.toBlob(e,a));d&&(s(d,o),n(!1))},[f,u,o,a,s,n]);return(0,Ai.jsx)(r.Dialog,{open:e,onOpenChange:n,children:(0,Ai.jsxs)(r.DialogContent,{className:`max-w-xl`,children:[(0,Ai.jsxs)(r.DialogHeader,{children:[(0,Ai.jsx)(r.DialogTitle,{children:`Crop & rotate image`}),(0,Ai.jsx)(r.DialogDescription,{children:`Drag the highlighted box to reposition the crop. Use the rotate button to spin the image in 90° increments.`})]}),(0,Ai.jsxs)(`div`,{className:`flex flex-col items-center gap-3`,children:[g?(0,Ai.jsx)(`canvas`,{ref:c,"data-testid":`image-cropper-canvas`,role:`img`,"aria-label":`Image crop preview`,className:`border rounded-md cursor-move touch-none max-w-full`,onPointerDown:v,onPointerMove:y,onPointerUp:b,onPointerCancel:b}):(0,Ai.jsx)(`div`,{className:`flex h-[270px] w-full items-center justify-center text-sm text-muted-foreground`,children:`Loading image…`}),(0,Ai.jsxs)(`div`,{className:`flex w-full items-center justify-between text-xs text-muted-foreground`,children:[(0,Ai.jsxs)(`span`,{children:[`Crop: `,Math.round(f.width),` × `,Math.round(f.height),` px`]}),(0,Ai.jsxs)(`span`,{children:[`Rotation: `,u,`°`]})]})]}),(0,Ai.jsxs)(r.DialogFooter,{className:`flex justify-between sm:justify-between`,children:[(0,Ai.jsxs)(r.Button,{type:`button`,variant:`outline`,onClick:x,"data-testid":`image-cropper-rotate`,children:[(0,Ai.jsx)(Pt,{className:`size-4 mr-2`}),`Rotate 90°`]}),(0,Ai.jsxs)(`div`,{className:`flex gap-2`,children:[(0,Ai.jsx)(r.Button,{type:`button`,variant:`ghost`,onClick:()=>n(!1),children:`Cancel`}),(0,Ai.jsxs)(r.Button,{type:`button`,onClick:ee,disabled:!g,"data-testid":`image-cropper-confirm`,children:[(0,Ai.jsx)(Ke,{className:`size-4 mr-2`}),`Apply crop`]})]})]})]})})}})),Ni=m({ImageField:()=>Pi});function Pi({value:e,onChange:n,field:i,readonly:a,...o}){let s=(0,t.useRef)(null),c=i||o.schema,l=c?.multiple||!1,u=c?.accept?c.accept.join(`,`):`image/*`,d=c?.crop!==!1,[f,p]=(0,t.useState)(null),{upload:m}=Si(),[h,g]=(0,t.useState)(!1);if(a)return e?(0,F.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:(Array.isArray(e)?e:[e]).map((e,t)=>(0,F.jsx)(`img`,{src:e.url||``,alt:e.name||`Image ${t+1}`,className:`size-20 rounded-md object-cover border border-gray-200`},t))}):(0,F.jsx)(r.EmptyValue,{});let _=e?Array.isArray(e)?e:[e]:[],v=async e=>{let t=Array.from(e.target.files||[]);if(t.length!==0){g(!0);try{let e=await Promise.all(t.map(async e=>{let t=await m(e);return{name:t.name,original_name:e.name,size:t.size,mime_type:t.mimeType,url:t.url}}));n(l?[..._,...e]:e[0])}finally{g(!1),s.current&&(s.current.value=``)}}},y=e=>{if(l){let t=_.filter((t,n)=>n!==e);n(t.length>0?t:null)}else n(null)},b=(0,t.useCallback)(async(e,t)=>{if(f){g(!0);try{let r=await m(e),i={name:r.name||t,original_name:t,size:r.size,mime_type:r.mimeType,url:r.url};if(l){let e=[..._];e[f.index]=i,n(e)}else n(i)}finally{g(!1),p(null)}}},[f,_,l,n,m]),x=(0,t.useCallback)(e=>{let t=_[e];t?.url&&p({index:e,src:t.url,name:t.name||`image-${e}.png`})},[_]);return(0,F.jsxs)(`div`,{className:o.className,children:[(0,F.jsx)(`input`,{ref:s,type:`file`,multiple:l,accept:u,onChange:v,className:`hidden`}),(0,F.jsxs)(`div`,{className:`space-y-2`,children:[_.length>0&&(0,F.jsx)(`div`,{className:`grid grid-cols-4 gap-2`,children:_.map((e,t)=>(0,F.jsxs)(`div`,{className:`relative group`,children:[(0,F.jsx)(`img`,{src:e.url||``,alt:e.name||`Image ${t+1}`,className:`size-20 rounded-md object-cover border border-gray-200`}),(0,F.jsxs)(`div`,{className:`absolute top-1 right-1 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity`,children:[d&&(0,F.jsx)(r.Button,{type:`button`,variant:`secondary`,size:`sm`,onClick:()=>x(t),className:`h-6 w-6 p-0`,"aria-label":`Crop image ${t+1}`,"data-testid":`image-field-crop-${t}`,children:(0,F.jsx)(Ke,{className:`size-3`})}),(0,F.jsx)(r.Button,{type:`button`,variant:`destructive`,size:`sm`,onClick:()=>y(t),className:`h-6 w-6 p-0`,children:(0,F.jsx)(Qt,{className:`size-3`})})]})]},t))}),(0,F.jsxs)(r.Button,{type:`button`,variant:`outline`,onClick:()=>s.current?.click(),className:`w-full`,disabled:h,"data-testid":`image-field-upload-button`,children:[h?(0,F.jsx)(gt,{className:`size-4 mr-2 animate-spin`}):(0,F.jsx)(pt,{className:`size-4 mr-2`}),h?`Uploading…`:_.length>0?`Add More Images`:`Upload Image`]})]}),d&&f&&(0,F.jsx)(t.Suspense,{fallback:null,children:(0,F.jsx)(Fi,{open:!0,onOpenChange:e=>!e&&p(null),src:f.src,outputName:f.name,onConfirm:b})})]})}var F,Fi,I=f((()=>{Ti(),en(),F=v(),Fi=(0,t.lazy)(()=>Promise.resolve().then(()=>(Mi(),ki)).then(e=>({default:e.ImageCropperDialog})))})),Ii=m({LocationField:()=>Li});function Li({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=e&&typeof e==`object`?`${e.latitude||0}, ${e.longitude||0}`:``;return i?(0,Ri.jsx)(`span`,{className:`text-sm`,children:s||(0,Ri.jsx)(r.EmptyValue,{})}):(0,Ri.jsx)(r.Input,{type:`text`,value:s,onChange:e=>{let n=e.target.value;if(!n.trim()){t(null);return}let r=n.split(`,`).map(e=>e.trim());if(r.length===2){let e=parseFloat(r[0]),n=parseFloat(r[1]);!isNaN(e)&&!isNaN(n)&&t({latitude:e,longitude:n})}},placeholder:o?.placeholder||`latitude, longitude`,disabled:i||a.disabled,className:a.className})}var Ri,zi=f((()=>{Ri=v()})),Bi=m({FormulaField:()=>Vi});function Vi({value:e,field:t,...n}){let i=(t||n.schema)?.return_type||`text`;if(e==null)return(0,Hi.jsx)(r.EmptyValue,{className:n.className});let a;return a=i===`number`||i===`currency`?typeof e==`number`?e.toFixed(2):String(e):i===`boolean`?e?`Yes`:`No`:i===`date`?new Date(e).toLocaleDateString():String(e),(0,Hi.jsx)(`span`,{className:`text-sm font-mono text-gray-700 ${n.className||``}`,children:a})}var Hi,Ui=f((()=>{Hi=v()})),Wi=m({SummaryField:()=>Gi});function Gi({value:e,field:t,...n}){let i=(t||n.schema)?.summary_type||`count`;if(e==null)return(0,Ki.jsx)(r.EmptyValue,{className:n.className});let a;return a=i===`count`?String(e):[`sum`,`avg`,`min`,`max`].includes(i)&&typeof e==`number`?e.toFixed(2):String(e),(0,Ki.jsx)(`span`,{className:`text-sm font-medium tabular-nums text-gray-700 ${n.className||``}`,children:a})}var Ki,qi=f((()=>{Ki=v()})),Ji=m({AutoNumberField:()=>Yi});function Yi({value:e,field:t,...n}){return e==null?(0,Xi.jsx)(r.EmptyValue,{className:n.className}):(0,Xi.jsx)(`span`,{className:`text-sm font-mono text-gray-700 ${n.className||``}`,children:String(e)})}var Xi,Zi=f((()=>{Xi=v()})),Qi=m({UserField:()=>$i});function $i({value:e,onChange:t,field:n,readonly:i,...a}){let o=(n||a.schema)?.multiple||!1;if(i){if(!e)return(0,ea.jsx)(r.EmptyValue,{});let t=Array.isArray(e)?e:[e];return(0,ea.jsxs)(`div`,{className:`flex -space-x-2`,children:[t.slice(0,3).map((e,t)=>{let n=e.name||e.username||`User`;return(0,ea.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,title:n,children:(0,ea.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:n.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})},t)}),t.length>3&&(0,ea.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,children:(0,ea.jsxs)(r.AvatarFallback,{className:`bg-gray-200 text-gray-600 text-xs`,children:[`+`,t.length-3]})})]})}let s=e?Array.isArray(e)?e:[e]:[],c=e=>{if(o){let n=s.filter((t,n)=>n!==e);t(n.length>0?n:null)}else t(null)};return(0,ea.jsxs)(`div`,{className:a.className,children:[s.length>0&&(0,ea.jsx)(`div`,{className:`flex flex-wrap gap-2 mb-2`,children:s.map((e,t)=>{let n=e.name||e.username||`User`;return(0,ea.jsxs)(r.Badge,{variant:`outline`,className:`gap-2 pr-1`,children:[(0,ea.jsx)(r.Avatar,{className:`size-5`,children:(0,ea.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:n.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})}),(0,ea.jsx)(`span`,{className:`text-sm`,children:n}),(0,ea.jsx)(`button`,{type:`button`,onClick:()=>c(t),className:`ml-1 rounded-full hover:bg-gray-200 p-0.5`,children:(0,ea.jsx)(Qt,{className:`size-3`})})]},t)})}),(0,ea.jsx)(`div`,{className:`text-sm text-gray-500 italic`,children:`User selection component requires integration with user management system`})]})}var ea,ta=f((()=>{en(),ea=v()})),na=m({ObjectField:()=>ra});function ra({value:e,onChange:n,field:i,readonly:a,...o}){let s=i||o.schema,[c,l]=(0,t.useState)(()=>e==null?``:JSON.stringify(e,null,2)),[u,d]=(0,t.useState)(null);return(0,t.useEffect)(()=>{try{if(e==null){l(``);return}let t=c?JSON.parse(c):null;JSON.stringify(t)!==JSON.stringify(e)&&l(JSON.stringify(e,null,2))}catch{l(JSON.stringify(e,null,2))}},[e,c]),a?e?(0,ia.jsx)(`pre`,{className:(0,r.cn)(`text-xs bg-gray-50 p-2 rounded border border-gray-200 overflow-auto max-h-40`,o.className),children:JSON.stringify(e,null,2)}):(0,ia.jsx)(r.EmptyValue,{}):(0,ia.jsxs)(`div`,{className:`space-y-1`,children:[(0,ia.jsx)(r.Textarea,{value:c,onChange:e=>{let t=e.target.value;if(l(t),d(null),!t.trim()){n(null);return}try{n(JSON.parse(t))}catch{d(`Invalid JSON`)}},placeholder:s?.placeholder||`{
237
- "key": "value"
238
- }`,disabled:a||o.disabled,className:(0,r.cn)(`font-mono text-xs`,u?`border-red-500 focus-visible:ring-red-500`:``,o.className),rows:6}),u&&(0,ia.jsx)(`p`,{className:`text-xs text-red-500`,children:u})]})}var ia,aa=f((()=>{ia=v()})),oa=m({VectorField:()=>sa});function sa({value:e,field:t,...n}){let i=(t||n.schema)?.dimensions||(Array.isArray(e)?e.length:0);if(!e||!Array.isArray(e))return(0,ca.jsx)(r.EmptyValue,{});let a=e.slice(0,3).map(e=>{let t=Number(e);return isNaN(t)?`0`:t.toFixed(4)}).join(`, `);return(0,ca.jsxs)(`div`,{className:`text-sm ${n.className||``}`,children:[(0,ca.jsxs)(`span`,{className:`font-mono text-gray-700`,children:[`[`,a,`...]`]}),(0,ca.jsxs)(`span`,{className:`text-gray-500 ml-2`,children:[`(`,i,`D)`]})]})}var ca,la=f((()=>{ca=v()})),ua=m({GridField:()=>da});function da({value:e,field:t,readonly:n,...i}){let a=(t||i.schema)?.columns||[];return!e||!Array.isArray(e)?(0,L.jsx)(r.EmptyValue,{}):n?(0,L.jsx)(`div`,{className:(0,r.cn)(`text-sm`,i.className),children:(0,L.jsxs)(`span`,{className:`text-foreground`,children:[e.length,` rows`]})}):(0,L.jsxs)(`div`,{className:(0,r.cn)(`border border-border rounded-lg overflow-hidden`,i.className),children:[(0,L.jsx)(`div`,{className:`overflow-auto max-h-60`,children:(0,L.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,L.jsx)(`thead`,{className:`bg-muted border-b border-border`,children:(0,L.jsx)(`tr`,{children:a.map((e,t)=>(0,L.jsx)(`th`,{className:`px-3 py-2 text-left text-xs font-medium text-muted-foreground`,children:e.label||e.name},t))})}),(0,L.jsx)(`tbody`,{className:`divide-y divide-border`,children:e.slice(0,5).map((e,t)=>(0,L.jsx)(`tr`,{className:`hover:bg-muted/50 transition-colors`,children:a.map((t,n)=>(0,L.jsx)(`td`,{className:`px-3 py-2 text-foreground`,children:e[t.name]==null?(0,L.jsx)(r.EmptyValue,{}):String(e[t.name])},n))},t))})]})}),e.length>5&&(0,L.jsxs)(`div`,{className:`bg-muted px-3 py-2 text-xs text-muted-foreground border-t border-border`,children:[`Showing 5 of `,e.length,` rows`]})]})}var L,R=f((()=>{L=v()})),fa=m({ColorField:()=>pa});function pa({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema;return i?(0,ma.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,ma.jsx)(`div`,{className:`w-6 h-6 rounded border border-input`,style:{backgroundColor:e||`#000000`}}),(0,ma.jsx)(`span`,{className:`text-sm`,children:e||(0,ma.jsx)(r.EmptyValue,{})})]}):(0,ma.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,ma.jsx)(`input`,{type:`color`,value:e||`#000000`,onChange:e=>t(e.target.value),disabled:i||a.disabled,className:`w-10 h-10 rounded border border-input cursor-pointer`}),(0,ma.jsx)(r.Input,{type:`text`,value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder||`#000000`,disabled:i||a.disabled,className:a.className,pattern:`^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$`})]})}var ma,ha=f((()=>{ma=v()})),ga=m({SliderField:()=>_a});function _a({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=o?.min??0,c=o?.max??100,l=o?.step??1;return i?(0,va.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,va.jsx)(`span`,{className:`text-sm font-medium`,children:e??s}),(0,va.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`/ `,c]})]}):(0,va.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,va.jsx)(r.Slider,{value:[e??s],onValueChange:e=>t(e[0]),min:s,max:c,step:l,disabled:i||a.disabled,className:a.className}),(0,va.jsx)(`span`,{className:`text-sm font-medium w-12 text-right`,children:e??s})]})}var va,ya=f((()=>{va=v()})),ba=m({RatingField:()=>xa});function xa({value:e,onChange:n,field:i,readonly:a,className:o,...s}){let c=(i||s.schema)?.max??5,l=e??0,[u,d]=t.default.useState(null),f=u===null?l:u;return a?(0,Sa.jsxs)(`div`,{className:(0,r.cn)(`flex items-center gap-1`,o),children:[Array.from({length:c},(e,t)=>(0,Sa.jsx)(Ut,{className:`w-5 h-5 ${t<l?`fill-yellow-400 text-yellow-400`:`text-muted-foreground`}`},t)),(0,Sa.jsxs)(`span`,{className:`ml-2 text-sm text-muted-foreground`,children:[l,` / `,c]})]}):(0,Sa.jsxs)(`div`,{className:(0,r.cn)(`flex items-center gap-1`,o),children:[Array.from({length:c},(e,t)=>(0,Sa.jsx)(`button`,{type:`button`,onClick:()=>n(t+1),onMouseEnter:()=>d(t+1),onMouseLeave:()=>d(null),className:`focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded`,disabled:a||s.disabled,children:(0,Sa.jsx)(Ut,{className:`w-5 h-5 transition-colors ${t<f?`fill-yellow-400 text-yellow-400 hover:fill-yellow-500 hover:text-yellow-500`:`text-muted-foreground hover:text-yellow-400`}`})},t)),(0,Sa.jsxs)(`span`,{className:`ml-2 text-sm text-muted-foreground`,children:[l,` / `,c]})]})}var Sa,Ca=f((()=>{en(),Sa=v()})),wa=m({CodeField:()=>Ta});function Ta({value:e,onChange:t,field:n,readonly:i,...a}){let o=n||a.schema,s=o?.language??`javascript`;return i?(0,Ea.jsx)(`pre`,{className:(0,r.cn)(`text-sm bg-muted p-2 rounded overflow-x-auto border`,a.className),children:(0,Ea.jsx)(`code`,{children:e||(0,Ea.jsx)(r.EmptyValue,{})})}):(0,Ea.jsx)(r.Textarea,{value:e||``,onChange:e=>t(e.target.value),placeholder:o?.placeholder||`// Write ${s} code here...`,disabled:i||a.disabled,className:(0,r.cn)(`font-mono text-sm`,a.className),rows:12,spellCheck:!1})}var Ea,Da=f((()=>{Ea=v()})),Oa=m({AvatarField:()=>ka});function ka({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=t.default.useState(!1),l=t.default.useRef(null),u=i||o.schema,d=e=>{let t=e.target.files?.[0];if(!t)return;if(!t.type.startsWith(`image/`)){console.error(`Please select an image file`);return}if(t.size>5*1024*1024){console.error(`File size must be less than 5MB`);return}let r=new FileReader;r.onloadend=()=>{n(r.result)},r.readAsDataURL(t)},f=()=>{n(``)},p=()=>(u?.defaultName||u?.label||`User`).split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2);return a?(0,Aa.jsxs)(r.Avatar,{className:`w-16 h-16`,children:[e&&(0,Aa.jsx)(r.AvatarImage,{src:e,alt:u?.label}),(0,Aa.jsx)(r.AvatarFallback,{children:p()})]}):(0,Aa.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,Aa.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[(0,Aa.jsxs)(r.Avatar,{className:`w-16 h-16`,children:[e&&(0,Aa.jsx)(r.AvatarImage,{src:e,alt:u?.label}),(0,Aa.jsx)(r.AvatarFallback,{children:p()})]}),!a&&s&&e&&(0,Aa.jsx)(`button`,{type:`button`,onClick:f,className:`absolute -top-1 -right-1 bg-destructive text-destructive-foreground rounded-full p-1 hover:bg-destructive/90`,children:(0,Aa.jsx)(Qt,{className:`w-3 h-3`})})]}),(0,Aa.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,Aa.jsx)(`input`,{ref:l,type:`file`,accept:`image/*`,onChange:d,className:`hidden`}),(0,Aa.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>l.current?.click(),disabled:a||o.disabled,children:[(0,Aa.jsx)(Yt,{className:`w-4 h-4 mr-2`}),e?`Change`:`Upload`,` Avatar`]}),(0,Aa.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`PNG, JPG up to 5MB`})]})]})}var Aa,ja=f((()=>{en(),Aa=v()})),Ma=m({AddressField:()=>Na});function Na({value:e,onChange:t,field:n,readonly:i,...a}){let o=e||{},s=(e,n)=>{t({...o,[e]:n})},c=e=>[e.street,e.city,[e.state,e.zipCode].filter(Boolean).join(` `),e.country].filter(Boolean).join(`, `);if(i){let e=c(o);return e?(0,Pa.jsx)(`span`,{className:`text-sm`,children:e}):(0,Pa.jsx)(r.EmptyValue,{})}return(0,Pa.jsxs)(`div`,{className:`space-y-3`,children:[(0,Pa.jsxs)(`div`,{children:[(0,Pa.jsx)(r.Label,{htmlFor:`street`,className:`text-xs`,children:`Street Address`}),(0,Pa.jsx)(r.Input,{id:`street`,type:`text`,value:o.street||``,onChange:e=>s(`street`,e.target.value),placeholder:`123 Main St`,disabled:i||a.disabled,className:a.className})]}),(0,Pa.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,Pa.jsxs)(`div`,{children:[(0,Pa.jsx)(r.Label,{htmlFor:`city`,className:`text-xs`,children:`City`}),(0,Pa.jsx)(r.Input,{id:`city`,type:`text`,value:o.city||``,onChange:e=>s(`city`,e.target.value),placeholder:`San Francisco`,disabled:i||a.disabled})]}),(0,Pa.jsxs)(`div`,{children:[(0,Pa.jsx)(r.Label,{htmlFor:`state`,className:`text-xs`,children:`State / Province`}),(0,Pa.jsx)(r.Input,{id:`state`,type:`text`,value:o.state||``,onChange:e=>s(`state`,e.target.value),placeholder:`CA`,disabled:i||a.disabled})]})]}),(0,Pa.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,Pa.jsxs)(`div`,{children:[(0,Pa.jsx)(r.Label,{htmlFor:`zipCode`,className:`text-xs`,children:`ZIP / Postal Code`}),(0,Pa.jsx)(r.Input,{id:`zipCode`,type:`text`,value:o.zipCode||``,onChange:e=>s(`zipCode`,e.target.value),placeholder:`94102`,disabled:i||a.disabled})]}),(0,Pa.jsxs)(`div`,{children:[(0,Pa.jsx)(r.Label,{htmlFor:`country`,className:`text-xs`,children:`Country`}),(0,Pa.jsx)(r.Input,{id:`country`,type:`text`,value:o.country||``,onChange:e=>s(`country`,e.target.value),placeholder:`United States`,disabled:i||a.disabled})]})]})]})}var Pa,Fa=f((()=>{Pa=v()})),Ia=m({GeolocationField:()=>La});function La({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=t.default.useState(!1),l=e||{},u=(e,t)=>{n({...l,[e]:t?Number(t):void 0})},d=()=>{if(!navigator.geolocation){console.error(`Geolocation is not supported by this browser`);return}c(!0),navigator.geolocation.getCurrentPosition(e=>{n({latitude:e.coords.latitude,longitude:e.coords.longitude,accuracy:e.coords.accuracy}),c(!1)},e=>{console.error(`Error getting location:`,e.message),c(!1)},{enableHighAccuracy:!0,timeout:5e3,maximumAge:0})},f=e=>!e.latitude||!e.longitude?``:`${e.latitude.toFixed(6)}, ${e.longitude.toFixed(6)}`,p=()=>{if(!l.latitude||!l.longitude)return;let e=`https://www.google.com/maps?q=${l.latitude},${l.longitude}`;window.open(e,`_blank`)};if(a){let e=f(l);return(0,Ra.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Ra.jsx)(yt,{className:`w-4 h-4 text-muted-foreground`}),e?(0,Ra.jsx)(`span`,{className:`text-sm`,children:e}):(0,Ra.jsx)(r.EmptyValue,{}),l.latitude&&l.longitude&&(0,Ra.jsx)(r.Button,{type:`button`,variant:`link`,size:`sm`,onClick:p,className:`p-0 h-auto`,children:`View on map`})]})}return(0,Ra.jsxs)(`div`,{className:`space-y-3`,children:[(0,Ra.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Ra.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:d,disabled:a||s,children:[(0,Ra.jsx)(Ye,{className:`w-4 h-4 mr-2`}),s?`Getting location...`:`Use Current Location`]}),l.latitude&&l.longitude&&(0,Ra.jsxs)(r.Button,{type:`button`,variant:`link`,size:`sm`,onClick:p,children:[(0,Ra.jsx)(yt,{className:`w-4 h-4 mr-2`}),`View on map`]})]}),(0,Ra.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,Ra.jsxs)(`div`,{children:[(0,Ra.jsx)(r.Label,{htmlFor:`latitude`,className:`text-xs`,children:`Latitude`}),(0,Ra.jsx)(r.Input,{id:`latitude`,type:`number`,value:l.latitude??``,onChange:e=>u(`latitude`,e.target.value),placeholder:`37.7749`,disabled:a||o.disabled,step:`any`,className:o.className})]}),(0,Ra.jsxs)(`div`,{children:[(0,Ra.jsx)(r.Label,{htmlFor:`longitude`,className:`text-xs`,children:`Longitude`}),(0,Ra.jsx)(r.Input,{id:`longitude`,type:`number`,value:l.longitude??``,onChange:e=>u(`longitude`,e.target.value),placeholder:`-122.4194`,disabled:a||o.disabled,step:`any`})]})]}),l.accuracy&&(0,Ra.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Accuracy: ±`,l.accuracy.toFixed(0),`m`]})]})}var Ra,za=f((()=>{en(),Ra=v()})),Ba=m({SignatureField:()=>Va});function Va({value:e,onChange:n,readonly:i}){let a=(0,t.useRef)(null),[o,s]=t.default.useState(!1),[c,l]=t.default.useState(!e);(0,t.useEffect)(()=>{if(e&&a.current){let t=a.current.getContext(`2d`);if(t){let n=new Image;n.onload=()=>{t.drawImage(n,0,0),l(!1)},n.src=e}}},[e]);let u=e=>{if(i)return;s(!0),l(!1);let t=a.current;if(!t)return;let n=t.getContext(`2d`);if(!n)return;let r=t.getBoundingClientRect(),o=`touches`in e?e.touches[0].clientX-r.left:e.clientX-r.left,c=`touches`in e?e.touches[0].clientY-r.top:e.clientY-r.top;n.beginPath(),n.moveTo(o,c)},d=e=>{if(!o||i)return;let t=a.current;if(!t)return;let n=t.getContext(`2d`);if(!n)return;let r=t.getBoundingClientRect(),s=`touches`in e?e.touches[0].clientX-r.left:e.clientX-r.left,c=`touches`in e?e.touches[0].clientY-r.top:e.clientY-r.top;n.lineTo(s,c),n.strokeStyle=`#000`,n.lineWidth=2,n.lineCap=`round`,n.lineJoin=`round`,n.stroke()},f=()=>{if(!o)return;s(!1);let e=a.current;e&&n(e.toDataURL(`image/png`))};return i&&e?(0,Ha.jsx)(`div`,{className:`border rounded p-2 bg-white`,children:(0,Ha.jsx)(`img`,{src:e,alt:`Signature`,loading:`lazy`,className:`max-w-full h-auto`})}):i&&!e?(0,Ha.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`No signature`}):(0,Ha.jsxs)(`div`,{className:`space-y-2`,children:[(0,Ha.jsx)(`div`,{className:`border rounded bg-white`,children:(0,Ha.jsx)(`canvas`,{ref:a,width:400,height:200,className:`w-full touch-none cursor-crosshair`,onMouseDown:u,onMouseMove:d,onMouseUp:f,onMouseLeave:f,onTouchStart:u,onTouchMove:d,onTouchEnd:f})}),(0,Ha.jsxs)(`div`,{className:`flex justify-between items-center`,children:[(0,Ha.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:c?`Sign above`:`Signature captured`}),(0,Ha.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>{let e=a.current;if(!e)return;let t=e.getContext(`2d`);t&&(t.clearRect(0,0,e.width,e.height),l(!0),n(``))},disabled:i||c,children:[(0,Ha.jsx)(Qe,{className:`w-4 h-4 mr-2`}),`Clear`]})]})]})}var Ha,Ua=f((()=>{en(),Ha=v()})),Wa=m({QRCodeField:()=>Ga});function Ga({value:e,onChange:n,field:i,readonly:a,...o}){let[s,c]=t.default.useState(!1),l=i||o.schema;return a?(0,Ka.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Ka.jsx)(`span`,{className:`text-sm flex-1 truncate`,children:e||(0,Ka.jsx)(r.EmptyValue,{})}),e&&(0,Ka.jsxs)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>c(!s),children:[(0,Ka.jsx)(jt,{className:`w-4 h-4 mr-2`}),s?`Hide`:`Show`,` QR`]})]}):(0,Ka.jsxs)(`div`,{className:`space-y-3`,children:[(0,Ka.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Ka.jsx)(r.Input,{type:`text`,value:e||``,onChange:e=>n(e.target.value),placeholder:l?.placeholder||`Enter text for QR code`,disabled:a||o.disabled,className:o.className}),e&&(0,Ka.jsxs)(Ka.Fragment,{children:[(0,Ka.jsx)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>{e&&navigator.clipboard.writeText(e)},children:(0,Ka.jsx)(Ue,{className:`w-4 h-4`})}),(0,Ka.jsx)(r.Button,{type:`button`,variant:`outline`,size:`sm`,onClick:()=>c(!s),children:(0,Ka.jsx)(jt,{className:`w-4 h-4`})})]})]}),s&&e&&(0,Ka.jsx)(`div`,{className:`border rounded p-4 bg-white flex justify-center`,children:(0,Ka.jsx)(`img`,{src:(e=>`https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(e)}`)(e),alt:`QR Code`,className:`w-48 h-48`})}),e&&(0,Ka.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`QR code contains: `,e.length,` characters`]})]})}var Ka,qa=f((()=>{en(),Ka=v()})),Ja=m({MasterDetailField:()=>Ya});function Ya({value:e,onChange:t,field:n,readonly:i,className:a,...o}){let s=e||[],c=n||o.schema,l=()=>{let e={id:`new-${Date.now()}`,label:`New Related Record`};t([...s,e])},u=e=>{t(s.filter(t=>t.id!==e))},d=e=>{console.log(`View detail:`,e)};return i?(0,Xa.jsxs)(`div`,{className:(0,r.cn)(`space-y-2`,a),children:[s.length===0?(0,Xa.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`No related records`}):s.map(e=>(0,Xa.jsxs)(`div`,{className:`flex items-center justify-between p-2 border rounded hover:bg-muted/50`,children:[(0,Xa.jsx)(`span`,{className:`text-sm`,children:e.label}),(0,Xa.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>d(e),children:(0,Xa.jsx)(tt,{className:`w-4 h-4`})})]},e.id)),(0,Xa.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[s.length,` `,s.length===1?`record`:`records`]})]}):(0,Xa.jsxs)(`div`,{className:(0,r.cn)(`space-y-3`,a),children:[(0,Xa.jsxs)(`div`,{className:`space-y-2`,children:[s.map(e=>(0,Xa.jsxs)(`div`,{className:`flex items-center justify-between gap-2 p-2 border rounded hover:bg-muted/50`,children:[(0,Xa.jsxs)(`div`,{className:`flex items-center gap-2 flex-1`,children:[(0,Xa.jsx)(r.Badge,{variant:`outline`,children:e.id}),(0,Xa.jsx)(`span`,{className:`text-sm flex-1`,children:e.label})]}),(0,Xa.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,Xa.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>d(e),children:(0,Xa.jsx)(tt,{className:`w-4 h-4`})}),(0,Xa.jsx)(r.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>u(e.id),disabled:o.disabled,children:(0,Xa.jsx)(Qt,{className:`w-4 h-4`})})]})]},e.id)),s.length===0&&(0,Xa.jsx)(`div`,{className:`text-sm text-muted-foreground text-center py-4 border border-dashed rounded bg-muted/20`,children:`No related records`})]}),(0,Xa.jsxs)(r.Button,{type:`button`,variant:`outline`,className:`w-full`,onClick:l,disabled:o.disabled,children:[(0,Xa.jsx)(Ot,{className:`w-4 h-4 mr-2`}),`Add `,c?.label||`Record`]})]})}var Xa,Za=f((()=>{en(),Xa=v()})),Qa=f((()=>{}));function $a(e){if(e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e;if(e instanceof Date)return e.toISOString();if(Array.isArray(e))return e.map(e=>{if(typeof e==`object`&&e){let t=e;return String(t.name||t.label||t.id||t._id||`[Object]`)}return String(e)}).join(`, `);if(typeof e==`object`){let t=e;return`$numberDecimal`in t?Number(t.$numberDecimal):`$oid`in t?String(t.$oid):`$date`in t?String(t.$date):String(t.name||t.label||t.id||t._id||`[Object]`)}return String(e)}function eo(e,t=`USD`){try{return new Intl.NumberFormat(`en-US`,{style:`currency`,currency:t}).format(e)}catch{return`${t} ${e.toFixed(2)}`}}function to(e,t=0){return`${(e>-1&&e<1?e*100:e).toFixed(t)}%`}function no(e){return e.replace(/[_-]/g,` `).replace(/\b\w/g,e=>e.toUpperCase())}function ro(e){if(!e)return`—`;let t=typeof e==`string`?new Date(e):e;if(isNaN(t.getTime()))return`—`;let n=new Date,r=new Date(n.getFullYear(),n.getMonth(),n.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-r.getTime(),a=Math.round(i/(1e3*60*60*24));if(a===0)return`Today`;if(a===1)return`Tomorrow`;if(a===-1)return`Yesterday`;if(a<-1){let e=Math.abs(a);return e<=7?`Overdue ${e}d`:io(t)}return a>1&&a<=7?`In ${a} days`:io(t)}function io(e,t){if(!e)return`—`;let n=typeof e==`string`?new Date(e):e;return isNaN(n.getTime())?`—`:t===`short`?`${n.toLocaleDateString(`en-US`,{month:`short`})} ${n.getDate()}, '${String(n.getFullYear()).slice(-2)}`:t===`relative`?ro(n):n.toLocaleDateString(void 0,{year:`numeric`,month:`short`,day:`numeric`})}function ao({value:e}){let t=$a(e);return t==null||t===``?(0,B.jsx)(r.EmptyValue,{}):(0,B.jsx)(`span`,{className:`truncate`,children:String(t)})}function oo({value:e,field:t}){if(e==null)return(0,B.jsx)(r.EmptyValue,{});let n=$a(e),i=t.precision??0,a=Number(n);return(0,B.jsx)(`span`,{className:`tabular-nums`,children:isNaN(a)?String(n):new Intl.NumberFormat(`en-US`,{minimumFractionDigits:i,maximumFractionDigits:i}).format(a)})}function so({value:e,field:t}){if(e==null)return(0,B.jsx)(r.EmptyValue,{});let n=$a(e),i=t.currency||`USD`,a=Number(n);return(0,B.jsx)(`span`,{className:`tabular-nums font-medium whitespace-nowrap`,children:isNaN(a)?String(n):eo(a,i)})}function co({value:e,field:t}){if(e==null)return(0,B.jsx)(r.EmptyValue,{});let n=$a(e),i=t.precision??0,a=Number(n);if(isNaN(a))return(0,B.jsx)(`span`,{className:`tabular-nums whitespace-nowrap`,children:String(n)});let o=Do.test(t?.name?.toLowerCase()||``),s=o?a:a>-1&&a<1?a*100:a,c=o?`${a.toFixed(i)}%`:to(a,i),l=Math.max(0,Math.min(100,s));return(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(`div`,{className:`h-1.5 w-16 rounded-full bg-muted overflow-hidden flex-shrink-0`,role:`progressbar`,"aria-valuenow":l,"aria-valuemin":0,"aria-valuemax":100,children:(0,B.jsx)(`div`,{className:`h-full rounded-full bg-primary transition-all`,style:{width:`${l}%`}})}),(0,B.jsx)(`span`,{className:`tabular-nums whitespace-nowrap`,children:c})]})}function lo({value:e,field:t}){if(e==null)return(0,B.jsx)(`span`,{className:`flex items-center justify-center`,children:(0,B.jsx)(r.EmptyValue,{})});let n=t?.name?.toLowerCase()||``;return n===`completed`||n===`is_completed`||n===`done`||n===`is_done`?(0,B.jsx)(`div`,{className:`flex items-center justify-center`,children:e?(0,B.jsx)(`div`,{className:`size-5 rounded-full bg-green-500 flex items-center justify-center`,role:`img`,"aria-label":`Completed`,"data-testid":`completion-indicator`,children:(0,B.jsx)(je,{className:`size-3 text-white`})}):(0,B.jsx)(`div`,{className:`size-5 rounded-full border-2 border-muted-foreground/30`,role:`img`,"aria-label":`Not completed`,"data-testid":`completion-indicator`})}):Oo.has(n)&&!e?(0,B.jsxs)(r.Badge,{variant:`destructive`,className:`text-xs`,"data-testid":`boolean-warning-badge`,children:[t?.label||no(n),` — Off`]}):(0,B.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,B.jsx)(r.Checkbox,{checked:!!e,disabled:!0,className:`pointer-events-none`})})}function uo({value:e,field:t}){if(!e)return(0,B.jsx)(r.EmptyValue,{});let n=$a(e),i=t,a=io(n,i.format||`relative`),o=typeof n==`string`?new Date(n):n,s=o instanceof Date&&!isNaN(o.getTime()),c=new Date;c.setHours(0,0,0,0);let l=String(i?.name||i?.accessorKey||i?.key||``).toLowerCase(),u=(i?.dueLike===!0||/(^|_)(due|deadline|expires?|expiry|expiration|expected_close|target_close|sla|return_by|renewal|next_action)(_|$)/.test(l))&&s&&o<c,d=s?o.toISOString():String(n);return(0,B.jsx)(`span`,{className:`tabular-nums${u?` text-red-600`:``}`,title:d,children:a})}function fo({value:e}){if(!e)return(0,B.jsx)(r.EmptyValue,{});let t=$a(e),n=typeof t==`string`?new Date(t):t;if(!(n instanceof Date)||isNaN(n.getTime()))return(0,B.jsx)(r.EmptyValue,{});let i=n.toLocaleDateString(void 0,{month:`numeric`,day:`numeric`,year:`numeric`}),a=n.toLocaleTimeString(void 0,{hour:`numeric`,minute:`2-digit`,hour12:!0}).toLowerCase();return(0,B.jsxs)(`span`,{className:`tabular-nums text-sm whitespace-nowrap`,children:[(0,B.jsx)(`span`,{children:i}),(0,B.jsx)(`span`,{className:`ml-2 text-muted-foreground`,children:a})]})}function z(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t^e.charCodeAt(n);return jo[Math.abs(t)%jo.length]}function po(e,t){if(e&&Ao[e])return Ao[e];if(t==null||t===``)return`bg-muted text-muted-foreground border-border`;let n=String(t).toLowerCase().replace(/[\s-]/g,`_`),r=ko[n];return r&&Ao[r]?Ao[r]:Ao[z(n)]}function mo({value:e,field:t}){let n=t.options||[];if(e==null||e===``)return(0,B.jsx)(r.EmptyValue,{});if(Array.isArray(e))return(0,B.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.map((e,t)=>{let i=n.find(t=>t.value===e),a=i?.label||no(String(e));return(0,B.jsx)(r.Badge,{variant:`outline`,className:po(i?.color,e),children:a},t)})});let i=n.find(t=>t.value===e),a=i?.label||no(String(e));return(0,B.jsx)(r.Badge,{variant:`outline`,className:po(i?.color,e),children:a})}function ho({value:e}){if(!e)return(0,B.jsx)(r.EmptyValue,{});let n=String($a(e)??``),[i,a]=t.default.useState(!1);return(0,B.jsxs)(`span`,{className:`inline-flex items-center gap-1 group/email`,children:[(0,B.jsx)(r.Button,{variant:`link`,className:`p-0 h-auto font-normal text-blue-600 hover:text-blue-800`,asChild:!0,children:(0,B.jsx)(`a`,{href:`mailto:${n}`,onClick:e=>e.stopPropagation(),children:n})}),(0,B.jsx)(`button`,{type:`button`,className:`opacity-0 group-hover/email:opacity-100 transition-opacity p-0.5 rounded hover:bg-muted`,onClick:e=>{e.stopPropagation(),e.preventDefault(),navigator.clipboard.writeText(n).then(()=>{a(!0),setTimeout(()=>a(!1),2e3)}).catch(()=>{})},"aria-label":`Copy email`,children:i?(0,B.jsx)(je,{className:`h-3 w-3 text-green-600`}):(0,B.jsx)(Ue,{className:`h-3 w-3 text-muted-foreground`})})]})}function go({value:e}){if(!e)return(0,B.jsx)(r.EmptyValue,{});let t=String($a(e)??``);return(0,B.jsx)(r.Button,{variant:`link`,className:`p-0 h-auto font-normal text-blue-600 hover:text-blue-800`,asChild:!0,children:(0,B.jsx)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>e.stopPropagation(),children:t})})}function _o({value:e}){if(!e)return(0,B.jsx)(r.EmptyValue,{});let n=String($a(e)??``),[i,a]=t.default.useState(!1);return(0,B.jsxs)(`span`,{className:`inline-flex items-center gap-1 group/phone`,children:[(0,B.jsxs)(`a`,{href:`tel:${n}`,className:`inline-flex items-center gap-1 text-blue-600 hover:text-blue-800`,onClick:e=>e.stopPropagation(),children:[(0,B.jsx)(Tt,{className:`h-3 w-3`}),n]}),(0,B.jsx)(`button`,{type:`button`,className:`opacity-0 group-hover/phone:opacity-100 transition-opacity p-0.5 rounded hover:bg-muted`,onClick:e=>{e.stopPropagation(),e.preventDefault(),navigator.clipboard.writeText(n).then(()=>{a(!0),setTimeout(()=>a(!1),2e3)}).catch(()=>{})},"aria-label":`Copy phone number`,children:i?(0,B.jsx)(je,{className:`h-3 w-3 text-green-600`}):(0,B.jsx)(Ue,{className:`h-3 w-3 text-muted-foreground`})})]})}function vo({value:e,field:t}){if(!e)return(0,B.jsx)(r.EmptyValue,{});if(t.multiple,Array.isArray(e)){let t=e.length;return(0,B.jsxs)(`span`,{className:`text-sm text-gray-600`,children:[t,` `,t===1?`file`:`files`]})}return(0,B.jsx)(`span`,{className:`text-sm truncate`,children:e.name||e.original_name||`File`})}function yo({value:e}){return e?Array.isArray(e)?(0,B.jsxs)(`div`,{className:`flex -space-x-2`,children:[e.slice(0,3).map((e,t)=>(0,B.jsx)(`img`,{src:e.url||``,alt:e.name||`Image ${t+1}`,className:`size-8 rounded-md border-2 border-white object-cover`},t)),e.length>3&&(0,B.jsxs)(`div`,{className:`size-8 rounded-md border-2 border-white bg-gray-100 flex items-center justify-center text-xs font-medium text-gray-600`,children:[`+`,e.length-3]})]}):(0,B.jsx)(`img`,{src:e.url||``,alt:e.name||`Image`,className:`size-10 rounded-md object-cover`}):(0,B.jsx)(r.EmptyValue,{})}function bo({value:e,field:t}){if(e==null||e===``)return(0,B.jsx)(r.EmptyValue,{});let n=t.options||[],i=e=>{if(n.length>0){let t=n.find(t=>String(t.value)===String(e));if(t)return t.label}return String(e)};return Array.isArray(e)?(0,B.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.map((e,t)=>{let n;return n=typeof e==`object`&&e?e.name||e.label||e.id||e._id||String(e):i(e),(0,B.jsx)(`span`,{className:`inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-50 text-gray-700 dark:bg-gray-800/50 dark:text-gray-200`,children:n},t)})}):typeof e==`object`&&e?(0,B.jsx)(`span`,{className:`truncate`,children:e.name||e.label||e.id||e._id||`[Object]`}):(0,B.jsx)(`span`,{className:`truncate`,children:i(e)})}function xo({value:e}){let t=$a(e);return t==null||t===``?(0,B.jsx)(r.EmptyValue,{}):(0,B.jsx)(`span`,{className:`text-gray-700 font-mono text-sm`,children:String(t)})}function So({value:e}){if(!e)return(0,B.jsx)(r.EmptyValue,{});if(typeof e!=`object`)return(0,B.jsx)(`span`,{className:`truncate`,children:String(e)});if(Array.isArray(e))return(0,B.jsxs)(`div`,{className:`flex -space-x-2`,children:[e.slice(0,3).map((e,t)=>{if(typeof e!=`object`||!e)return(0,B.jsx)(`span`,{className:`truncate text-sm`,children:String(e)},t);let n=e.name||e.username||`User`;return(0,B.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,title:n,children:(0,B.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:n.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})},t)}),e.length>3&&(0,B.jsx)(r.Avatar,{className:`size-8 border-2 border-white`,children:(0,B.jsxs)(r.AvatarFallback,{className:`bg-gray-200 text-gray-600 text-xs`,children:[`+`,e.length-3]})})]});let t=e.name||e.username||`User`;return(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(r.Avatar,{className:`size-8`,children:(0,B.jsx)(r.AvatarFallback,{className:`bg-blue-500 text-white text-xs`,children:t.split(` `).map(e=>e[0]).join(``).toUpperCase().slice(0,2)})}),(0,B.jsx)(`span`,{className:`truncate`,children:t})]})}function Co(e,t){Mo.set(e,t)}function wo(e){return Mo.has(e)?Mo.get(e):{text:ao,textarea:ao,markdown:ao,html:ao,number:oo,currency:so,percent:co,boolean:lo,date:uo,datetime:fo,time:ao,select:mo,status:mo,lookup:bo,master_detail:bo,email:ho,url:go,phone:_o,file:vo,image:yo,formula:xo,summary:xo,auto_number:ao,user:So,owner:So,password:()=>(0,B.jsx)(`span`,{children:`••••••`}),location:ao,object:()=>(0,B.jsx)(`span`,{className:`text-gray-500 italic`,children:`[Object]`}),vector:()=>(0,B.jsx)(`span`,{className:`text-gray-500 italic`,children:`[Vector]`}),grid:()=>(0,B.jsx)(`span`,{className:`text-gray-500 italic`,children:`[Grid]`})}[e]||ao}function To(e){let r=No[e];if(!r){console.warn(`Unknown field type: ${e}`);return}let i=t.default.lazy(r);n.ComponentRegistry.register(e,i,{namespace:`field`})}function Eo(){Object.keys(No).forEach(e=>{To(e)})}var B,Do,Oo,ko,Ao,jo,Mo,No,Po=f((()=>{en(),an(),ln(),pn(),or(),ur(),mr(),vr(),Sr(),Dr(),jr(),Fr(),ti(),ai(),li(),pi(),_i(),Oi(),I(),zi(),Ui(),qi(),Zi(),ta(),aa(),la(),R(),ha(),ya(),Ca(),Da(),ja(),Fa(),za(),Ua(),qa(),Za(),B=v(),Jr(),Qa(),an(),ln(),pn(),or(),ur(),ai(),li(),mr(),vr(),Sr(),Dr(),pi(),_i(),jr(),Fr(),ti(),Wr(),Oi(),I(),Mi(),zi(),Ui(),qi(),Zi(),ta(),aa(),la(),R(),ha(),ya(),Ca(),Da(),ja(),Fa(),za(),Ua(),qa(),Za(),Do=/progress|completion/,Oo=new Set([`active`,`is_active`,`enabled`,`is_enabled`,`verified`,`is_verified`]),ko={critical:`red`,urgent:`red`,high:`orange`,medium:`yellow`,normal:`blue`,low:`gray`,none:`gray`,paid:`green`,completed:`green`,done:`green`,active:`green`,approved:`green`,resolved:`green`,pending:`yellow`,waiting:`yellow`,on_hold:`yellow`,shipped:`blue`,in_progress:`blue`,open:`blue`,processing:`blue`,draft:`gray`,new:`gray`,inactive:`gray`,closed:`gray`,cancelled:`red`,canceled:`red`,rejected:`red`,failed:`red`,overdue:`red`,delivered:`purple`,archived:`indigo`},Ao={gray:`bg-gray-50 text-gray-700 border-gray-200 dark:bg-gray-800/50 dark:text-gray-200 dark:border-gray-700/60`,red:`bg-red-50 text-red-700 border-red-200 dark:bg-red-950/40 dark:text-red-300 dark:border-red-900/60`,orange:`bg-orange-50 text-orange-700 border-orange-200 dark:bg-orange-950/40 dark:text-orange-300 dark:border-orange-900/60`,yellow:`bg-yellow-50 text-yellow-800 border-yellow-200 dark:bg-yellow-950/40 dark:text-yellow-300 dark:border-yellow-900/60`,green:`bg-green-50 text-green-700 border-green-200 dark:bg-green-950/40 dark:text-green-300 dark:border-green-900/60`,blue:`bg-blue-50 text-blue-700 border-blue-200 dark:bg-blue-950/40 dark:text-blue-300 dark:border-blue-900/60`,indigo:`bg-indigo-50 text-indigo-700 border-indigo-200 dark:bg-indigo-950/40 dark:text-indigo-300 dark:border-indigo-900/60`,purple:`bg-purple-50 text-purple-700 border-purple-200 dark:bg-purple-950/40 dark:text-purple-300 dark:border-purple-900/60`,pink:`bg-pink-50 text-pink-700 border-pink-200 dark:bg-pink-950/40 dark:text-pink-300 dark:border-pink-900/60`},jo=[`blue`,`green`,`purple`,`orange`,`pink`,`indigo`,`yellow`,`red`],Mo=new Map,Co(`lookup`,bo),Co(`master_detail`,bo),Co(`select`,mo),Co(`status`,mo),Co(`user`,So),Co(`owner`,So),Gr(wo),No={text:()=>Promise.resolve().then(()=>(an(),tn)).then(e=>({default:e.TextField})),textarea:()=>Promise.resolve().then(()=>(jr(),Or)).then(e=>({default:e.TextAreaField})),number:()=>Promise.resolve().then(()=>(ln(),on)).then(e=>({default:e.NumberField})),boolean:()=>Promise.resolve().then(()=>(pn(),un)).then(e=>({default:e.BooleanField})),select:()=>Promise.resolve().then(()=>(or(),rr)).then(e=>({default:e.SelectField})),date:()=>Promise.resolve().then(()=>(ur(),sr)).then(e=>({default:e.DateField})),datetime:()=>Promise.resolve().then(()=>(ai(),ni)).then(e=>({default:e.DateTimeField})),time:()=>Promise.resolve().then(()=>(li(),oi)).then(e=>({default:e.TimeField})),email:()=>Promise.resolve().then(()=>(mr(),dr)).then(e=>({default:e.EmailField})),phone:()=>Promise.resolve().then(()=>(vr(),hr)).then(e=>({default:e.PhoneField})),url:()=>Promise.resolve().then(()=>(Sr(),yr)).then(e=>({default:e.UrlField})),currency:()=>Promise.resolve().then(()=>(Dr(),Cr)).then(e=>({default:e.CurrencyField})),percent:()=>Promise.resolve().then(()=>(pi(),ui)).then(e=>({default:e.PercentField})),password:()=>Promise.resolve().then(()=>(_i(),mi)).then(e=>({default:e.PasswordField})),markdown:()=>Promise.resolve().then(()=>(Fr(),Mr)).then(e=>({default:e.RichTextField})),html:()=>Promise.resolve().then(()=>(Fr(),Mr)).then(e=>({default:e.RichTextField})),lookup:()=>Promise.resolve().then(()=>(ti(),Yr)).then(e=>({default:e.LookupField})),master_detail:()=>Promise.resolve().then(()=>(Za(),Ja)).then(e=>({default:e.MasterDetailField})),file:()=>Promise.resolve().then(()=>(Oi(),Ei)).then(e=>({default:e.FileField})),image:()=>Promise.resolve().then(()=>(I(),Ni)).then(e=>({default:e.ImageField})),location:()=>Promise.resolve().then(()=>(zi(),Ii)).then(e=>({default:e.LocationField})),formula:()=>Promise.resolve().then(()=>(Ui(),Bi)).then(e=>({default:e.FormulaField})),summary:()=>Promise.resolve().then(()=>(qi(),Wi)).then(e=>({default:e.SummaryField})),auto_number:()=>Promise.resolve().then(()=>(Zi(),Ji)).then(e=>({default:e.AutoNumberField})),user:()=>Promise.resolve().then(()=>(ta(),Qi)).then(e=>({default:e.UserField})),owner:()=>Promise.resolve().then(()=>(ta(),Qi)).then(e=>({default:e.UserField})),object:()=>Promise.resolve().then(()=>(aa(),na)).then(e=>({default:e.ObjectField})),vector:()=>Promise.resolve().then(()=>(la(),oa)).then(e=>({default:e.VectorField})),grid:()=>Promise.resolve().then(()=>(R(),ua)).then(e=>({default:e.GridField})),color:()=>Promise.resolve().then(()=>(ha(),fa)).then(e=>({default:e.ColorField})),slider:()=>Promise.resolve().then(()=>(ya(),ga)).then(e=>({default:e.SliderField})),rating:()=>Promise.resolve().then(()=>(Ca(),ba)).then(e=>({default:e.RatingField})),code:()=>Promise.resolve().then(()=>(Da(),wa)).then(e=>({default:e.CodeField})),avatar:()=>Promise.resolve().then(()=>(ja(),Oa)).then(e=>({default:e.AvatarField})),address:()=>Promise.resolve().then(()=>(Fa(),Ma)).then(e=>({default:e.AddressField})),geolocation:()=>Promise.resolve().then(()=>(za(),Ia)).then(e=>({default:e.GeolocationField})),signature:()=>Promise.resolve().then(()=>(Ua(),Ba)).then(e=>({default:e.SignatureField})),qrcode:()=>Promise.resolve().then(()=>(qa(),Wa)).then(e=>({default:e.QRCodeField}))},Eo()}));function Fo(e){return Bo[e]||null}function Io(e){return class extends Vo{init(t){super.init({...t,field:e})}refresh(t){return super.refresh({...t,field:e})}}}function Lo(e){return class extends Ho{init(t){super.init({...t,field:e})}}}var Ro,zo,Bo,Vo,Ho,Uo=f((()=>{Ro=E(),Po(),zo=v(),Bo={text:nn,textarea:kr,number:sn,currency:Tr,percent:di,boolean:dn,select:ir,date:cr,datetime:ri,time:si,email:fr,phone:gr,url:br,password:hi,color:pa,rating:xa,image:Pi,avatar:ka,lookup:Qr,slider:_a,code:Ta},Vo=class{eGui;root=null;init(e){let{value:t,field:n}=e,r=Fo(n.type);this.eGui=document.createElement(`div`),this.eGui.className=`field-widget-cell`,r?(this.root=(0,Ro.createRoot)(this.eGui),this.root.render((0,zo.jsx)(r,{value:t,onChange:()=>{},field:n,readonly:!0}))):this.eGui.textContent=t==null?``:String(t)}getGui(){return this.eGui}refresh(e){let{value:t,field:n}=e,r=Fo(n.type);return r&&this.root?(this.root.render((0,zo.jsx)(r,{value:t,onChange:()=>{},field:n,readonly:!0})),!0):this.eGui?(this.eGui.textContent=t==null?``:String(t),!0):!1}destroy(){this.root&&this.root.unmount()}},Ho=class{eGui;root=null;currentValue;params;init(e){this.params=e,this.currentValue=e.value;let{field:t}=e,n=Fo(t.type);if(this.eGui=document.createElement(`div`),this.eGui.className=`field-widget-editor`,n)this.root=(0,Ro.createRoot)(this.eGui),this.root.render((0,zo.jsx)(n,{value:this.currentValue,onChange:e=>{this.currentValue=e},field:t,readonly:!1}));else{let e=document.createElement(`input`);e.value=this.currentValue==null?``:String(this.currentValue),e.className=`ag-input-field-input ag-text-field-input`,e.addEventListener(`input`,e=>{this.currentValue=e.target.value}),this.eGui.appendChild(e),setTimeout(()=>e.focus(),0)}}getGui(){return this.eGui}getValue(){return this.currentValue}destroy(){this.root&&this.root.unmount()}isPopup(){return[`date`,`datetime`,`select`,`lookup`,`color`].includes(this.params.field.type)}}})),Wo=m({default:()=>Go});function Go({objectName:e,dataSource:r,fields:a,fieldNames:o,filters:s,sort:c,pageSize:l=10,pagination:u=!0,domLayout:d=`normal`,animateRows:f=!0,rowSelection:p,theme:m=`quartz`,height:h=500,className:g=``,editable:_=!1,editType:v,singleClickEdit:y=!1,stopEditingWhenCellsLoseFocus:b=!0,exportConfig:x,statusBar:ee,callbacks:S,columnConfig:te,enableRangeSelection:C=!1,enableCharts:w=!1,contextMenu:ne}){let T=(0,t.useRef)(null),[re,E]=(0,t.useState)(!0),[D,ie]=(0,t.useState)(null),[ae,O]=(0,t.useState)(null),[k,oe]=(0,t.useState)([]);(0,t.useEffect)(()=>{if(!r){ie(Error(`DataSource is required`)),E(!1);return}(async()=>{try{E(!0),ie(null),O(await r.getObjectSchema(e))}catch(e){let t=e instanceof Error?e:Error(String(e));ie(t),S?.onDataError?.(t)}finally{E(!1)}})()},[e,r,S]),(0,t.useEffect)(()=>{!r||!ae||(async()=>{try{E(!0),ie(null);let t={$top:l,$skip:0};s&&(t.$filter=s),c&&(t.$orderby=c);let i=(0,n.buildExpandFields)(ae?.fields);i.length>0&&(t.$expand=i);let a=await r.find(e,t);oe(a.data||[]),S?.onDataLoaded?.(a.data||[])}catch(e){let t=e instanceof Error?e:Error(String(e));ie(t),S?.onDataError?.(t)}finally{E(!1)}})()},[e,r,ae,s,c,l,S]);let se=(0,t.useMemo)(()=>{if(!ae?.fields)return[];let e=a||Object.values(ae.fields);return(o?e.filter(e=>o.includes(e.name)):e).map(e=>{let t={field:e.name,headerName:e.label||e.name,sortable:e.sortable!==!1,filter:Ko(e),editable:_&&!e.readonly};return te&&(te.resizable!==void 0&&(t.resizable=te.resizable),te.sortable!==void 0&&t.sortable===void 0&&(t.sortable=te.sortable)),qo(t,e),t})},[ae,a,o,_,te]),ce=(0,t.useMemo)(()=>{if(!ee?.enabled)return;let e=ee.aggregations||[`count`,`sum`,`avg`],t=[];return e.includes(`count`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`count`]}}),e.includes(`sum`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`sum`]}}),e.includes(`avg`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`avg`]}}),e.includes(`min`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`min`]}}),e.includes(`max`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`max`]}}),t},[ee]),le=(0,t.useCallback)(()=>{if(!T.current?.api)return;let t={fileName:x?.fileName||`${e}-export.csv`,skipColumnHeaders:x?.skipColumnHeaders||!1,allColumns:x?.allColumns||!1,onlySelected:x?.onlySelected||!1};if(T.current.api.exportDataAsCsv(t),S?.onExport){let e=x?.onlySelected?T.current.api.getSelectedRows():k;S.onExport(e||[],`csv`)}},[x,S,k,e]),ue=(0,t.useCallback)(e=>{if(!ne?.enabled)return[];let t=[];return(ne.items||[`copy`,`copyWithHeaders`,`separator`,`export`]).forEach(e=>{e===`export`?t.push({name:`Export CSV`,icon:`<span>📥</span>`,action:()=>le()}):e===`autoSizeAll`?t.push({name:`Auto-size All Columns`,action:()=>{T.current?.api&&T.current.api.autoSizeAllColumns()}}):e===`resetColumns`?t.push({name:`Reset Columns`,action:()=>{T.current?.api&&T.current.api.resetColumnState()}}):t.push(e)}),ne.customItems&&(t.length>0&&t.push(`separator`),ne.customItems.forEach(n=>{t.push({name:n.name,disabled:n.disabled,action:()=>{S?.onContextMenuAction&&S.onContextMenuAction(n.action,e.node?.data)}})})),t},[ne,le,S]),A=(0,t.useCallback)(e=>{S?.onCellClicked?.(e)},[S]),de=(0,t.useCallback)(e=>{S?.onRowClicked?.(e)},[S]),fe=(0,t.useCallback)(e=>{S?.onSelectionChanged?.(e)},[S]),pe=(0,t.useCallback)(async t=>{if(S?.onCellValueChanged?.(t),r&&t.data&&t.data.id)try{await r.update(e,t.data.id,{[t.colDef.field]:t.newValue})}catch(e){console.error(`Failed to update record:`,e),t.node.setDataValue(t.colDef.field,t.oldValue)}},[S,r,e]),me=(0,t.useCallback)(e=>{T.current=e},[]),he=(0,t.useMemo)(()=>({pagination:u,paginationPageSize:l,domLayout:d,animateRows:f,rowSelection:p,editType:v,singleClickEdit:y,stopEditingWhenCellsLoseFocus:b,statusBar:ce?{statusPanels:ce}:void 0,enableRangeSelection:C,enableCharts:w,getContextMenuItems:ne?.enabled?ue:void 0,suppressCellFocus:!_,enableCellTextSelection:!0,ensureDomOrder:!0,onCellClicked:A,onRowClicked:de,onSelectionChanged:fe,onCellValueChanged:pe,onGridReady:me}),[u,l,d,f,p,v,y,b,ce,C,w,ne,ue,_,A,de,fe,pe,me]),ge=(0,t.useMemo)(()=>({height:typeof h==`number`?`${h}px`:h,width:`100%`}),[h]),_e=[`ag-theme-${m}`,`rounded-xl`,`border`,`border-border`,`overflow-hidden`,`shadow-lg`,g].filter(Boolean).join(` `);return re?(0,Jo.jsx)(`div`,{className:`flex items-center justify-center`,style:ge,children:(0,Jo.jsxs)(`div`,{className:`text-muted-foreground`,children:[`Loading `,e,`...`]})}):D?(0,Jo.jsx)(`div`,{className:`flex items-center justify-center`,style:ge,children:(0,Jo.jsxs)(`div`,{className:`text-destructive`,children:[`Error loading data: `,D.message]})}):(0,Jo.jsxs)(`div`,{className:`object-aggrid-container`,children:[x?.enabled&&(0,Jo.jsx)(`div`,{className:`mb-2 flex gap-2`,children:(0,Jo.jsx)(`button`,{onClick:le,className:`px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors`,children:`Export CSV`})}),(0,Jo.jsx)(`div`,{className:_e,style:ge,children:(0,Jo.jsx)(i.AgGridReact,{ref:T,rowData:k,columnDefs:se,gridOptions:he})})]})}function Ko(e){return e.filterable===!1?!1:S[e.type]||`agTextColumnFilter`}function qo(e,t){if([`text`,`textarea`,`number`,`currency`,`percent`,`boolean`,`select`,`date`,`datetime`,`time`,`email`,`phone`,`url`,`password`,`color`,`rating`,`image`,`avatar`,`lookup`,`slider`,`code`].includes(t.type))e.cellRenderer=Io(t),e.editable&&(e.cellEditor=Lo(t),[`date`,`datetime`,`select`,`lookup`,`color`].includes(t.type)&&(e.cellEditorPopup=!0));else switch(t.type){case`master_detail`:e.valueFormatter=e=>e.value?typeof e.value==`object`?e.value.name||e.value.label||e.value.id||``:String(e.value):``;break;case`object`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Object]`,e};break;case`vector`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Vector]`,e};break;case`grid`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Grid]`,e};break;default:e.valueFormatter=e=>e.value==null?``:String(e.value)}}var Jo,Yo=f((()=>{te(),Uo(),Jo=v()})),Xo=v(),Zo=t.default.lazy(()=>Promise.resolve().then(()=>(ee(),y))),Qo=t.default.lazy(()=>Promise.resolve().then(()=>(Yo(),Wo))),$o=({schema:e})=>(0,Xo.jsx)(t.Suspense,{fallback:(0,Xo.jsx)(r.Skeleton,{className:`w-full h-[500px]`}),children:(0,Xo.jsx)(Zo,{rowData:e.rowData,columnDefs:e.columnDefs,gridOptions:e.gridOptions,pagination:e.pagination,paginationPageSize:e.paginationPageSize,domLayout:e.domLayout,animateRows:e.animateRows,rowSelection:e.rowSelection,theme:e.theme,height:e.height,className:e.className,editable:e.editable,editType:e.editType,singleClickEdit:e.singleClickEdit,stopEditingWhenCellsLoseFocus:e.stopEditingWhenCellsLoseFocus,exportConfig:e.exportConfig,statusBar:e.statusBar,callbacks:e.callbacks,columnConfig:e.columnConfig,enableRangeSelection:e.enableRangeSelection,enableCharts:e.enableCharts,contextMenu:e.contextMenu,treeData:e.treeData,rowGrouping:e.rowGrouping,excelExport:e.excelExport})});n.ComponentRegistry.register(`aggrid`,$o,{namespace:`plugin-aggrid`,label:`AG Grid`,icon:`Table`,category:`plugin`,inputs:[{name:`rowData`,type:`array`,label:`Row Data`,description:`Array of objects to display in the grid`,required:!0},{name:`columnDefs`,type:`array`,label:`Column Definitions`,description:`Array of column definitions`,required:!0},{name:`pagination`,type:`boolean`,label:`Enable Pagination`,defaultValue:!1},{name:`paginationPageSize`,type:`number`,label:`Page Size`,defaultValue:10,description:`Number of rows per page when pagination is enabled`},{name:`theme`,type:`enum`,label:`Theme`,enum:[{label:`Quartz`,value:`quartz`},{label:`Alpine`,value:`alpine`},{label:`Balham`,value:`balham`},{label:`Material`,value:`material`}],defaultValue:`quartz`},{name:`rowSelection`,type:`enum`,label:`Row Selection`,enum:[{label:`None`,value:void 0},{label:`Single`,value:`single`},{label:`Multiple`,value:`multiple`}],defaultValue:void 0,advanced:!0},{name:`domLayout`,type:`enum`,label:`DOM Layout`,enum:[{label:`Normal`,value:`normal`},{label:`Auto Height`,value:`autoHeight`},{label:`Print`,value:`print`}],defaultValue:`normal`,advanced:!0},{name:`animateRows`,type:`boolean`,label:`Animate Rows`,defaultValue:!0,advanced:!0},{name:`height`,type:`number`,label:`Height (px)`,defaultValue:500},{name:`editable`,type:`boolean`,label:`Enable Editing`,defaultValue:!1,description:`Allow cells to be edited inline`,advanced:!0},{name:`singleClickEdit`,type:`boolean`,label:`Single Click Edit`,defaultValue:!1,description:`Start editing on single click instead of double click`,advanced:!0},{name:`exportConfig`,type:`code`,label:`Export Config (JSON)`,description:`Configure CSV export: { enabled: true, fileName: "data.csv" }`,advanced:!0},{name:`statusBar`,type:`code`,label:`Status Bar Config (JSON)`,description:`Configure status bar: { enabled: true, aggregations: ["count", "sum", "avg"] }`,advanced:!0},{name:`callbacks`,type:`code`,label:`Event Callbacks (JSON)`,description:`Event handlers for cell clicks, selection changes, etc.`,advanced:!0},{name:`columnConfig`,type:`code`,label:`Column Config (JSON)`,description:`Global column settings: { resizable: true, sortable: true, filterable: true }`,advanced:!0},{name:`enableRangeSelection`,type:`boolean`,label:`Enable Range Selection`,defaultValue:!1,description:`Allow selecting ranges of cells (like Excel)`,advanced:!0},{name:`enableCharts`,type:`boolean`,label:`Enable Charts`,defaultValue:!1,description:`Enable integrated charting (requires AG Grid Enterprise)`,advanced:!0},{name:`contextMenu`,type:`code`,label:`Context Menu Config (JSON)`,description:`Configure right-click menu: { enabled: true, items: ["copy", "export"] }`,advanced:!0},{name:`treeData`,type:`code`,label:`Tree Data Config (JSON)`,description:`Configure tree data: { enabled: true, pathField: "orgHierarchy" }`,advanced:!0},{name:`rowGrouping`,type:`code`,label:`Row Grouping Config (JSON)`,description:`Configure row grouping: { enabled: true, groupByFields: ["category"] }`,advanced:!0},{name:`excelExport`,type:`code`,label:`Excel Export Config (JSON)`,description:`Configure Excel export: { enabled: true, fileName: "data.xlsx" }`,advanced:!0},{name:`gridOptions`,type:`code`,label:`Grid Options (JSON)`,description:`Advanced AG Grid options`,advanced:!0},{name:`className`,type:`string`,label:`CSS Class`}],defaultProps:{rowData:[{make:`Tesla`,model:`Model Y`,price:64950,electric:!0},{make:`Ford`,model:`F-Series`,price:33850,electric:!1},{make:`Toyota`,model:`Corolla`,price:29600,electric:!1},{make:`Mercedes`,model:`EQA`,price:48890,electric:!0},{make:`Fiat`,model:`500`,price:15774,electric:!1},{make:`Nissan`,model:`Juke`,price:20675,electric:!1},{make:`Vauxhall`,model:`Corsa`,price:18460,electric:!1},{make:`Volvo`,model:`XC90`,price:72835,electric:!1},{make:`Mercedes`,model:`GLA`,price:47825,electric:!1},{make:`Ford`,model:`Puma`,price:27420,electric:!1},{make:`Volkswagen`,model:`Golf`,price:28850,electric:!1},{make:`Kia`,model:`Sportage`,price:31095,electric:!1}],columnDefs:[{field:`make`,headerName:`Make`,sortable:!0,filter:!0},{field:`model`,headerName:`Model`,sortable:!0,filter:!0},{field:`price`,headerName:`Price`,sortable:!0,filter:`number`,valueFormatter:e=>e.value==null?``:`$`+e.value.toLocaleString()},{field:`electric`,headerName:`Electric`,sortable:!0,filter:!0,cellRenderer:e=>e.value===!0?`⚡ Yes`:`No`}],pagination:!0,paginationPageSize:10,theme:`quartz`,height:500,animateRows:!0,domLayout:`normal`}});var es=({schema:e})=>(0,Xo.jsx)(t.Suspense,{fallback:(0,Xo.jsx)(r.Skeleton,{className:`w-full h-[500px]`}),children:(0,Xo.jsx)(Qo,{objectName:e.objectName,dataSource:e.dataSource,fields:e.fields,fieldNames:e.fieldNames,filters:e.filters,sort:e.sort,pageSize:e.pageSize,pagination:e.pagination,domLayout:e.domLayout,animateRows:e.animateRows,rowSelection:e.rowSelection,theme:e.theme,height:e.height,className:e.className,editable:e.editable,editType:e.editType,singleClickEdit:e.singleClickEdit,stopEditingWhenCellsLoseFocus:e.stopEditingWhenCellsLoseFocus,exportConfig:e.exportConfig,statusBar:e.statusBar,callbacks:e.callbacks,columnConfig:e.columnConfig,enableRangeSelection:e.enableRangeSelection,enableCharts:e.enableCharts,contextMenu:e.contextMenu})}),ts={aggrid:$o,"object-aggrid":es};n.ComponentRegistry.register(`object-aggrid`,es,{namespace:`plugin-aggrid`,label:`Object AG Grid`,icon:`Table`,category:`view`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,description:`Name of the object to fetch metadata and data from`,required:!0},{name:`dataSource`,type:`object`,label:`Data Source`,description:`ObjectStack data source adapter instance`,required:!0},{name:`fieldNames`,type:`array`,label:`Field Names`,description:`Optional: Specify which fields to show (defaults to all fields)`},{name:`filters`,type:`object`,label:`Filters`,description:`Query filters to apply to the data`},{name:`sort`,type:`object`,label:`Sort`,description:`Sorting configuration: { fieldName: "asc" | "desc" }`},{name:`pagination`,type:`boolean`,label:`Enable Pagination`,defaultValue:!0},{name:`pageSize`,type:`number`,label:`Page Size`,defaultValue:10,description:`Number of rows per page`},{name:`theme`,type:`enum`,label:`Theme`,enum:[{label:`Quartz`,value:`quartz`},{label:`Alpine`,value:`alpine`},{label:`Balham`,value:`balham`},{label:`Material`,value:`material`}],defaultValue:`quartz`},{name:`height`,type:`number`,label:`Height (px)`,defaultValue:500},{name:`editable`,type:`boolean`,label:`Enable Editing`,defaultValue:!1,description:`Allow cells to be edited inline`,advanced:!0},{name:`exportConfig`,type:`code`,label:`Export Config (JSON)`,description:`Configure CSV export: { enabled: true, fileName: "data.csv" }`,advanced:!0},{name:`columnConfig`,type:`code`,label:`Column Config (JSON)`,description:`Global column settings: { resizable: true, sortable: true, filterable: true }`,advanced:!0},{name:`className`,type:`string`,label:`CSS Class`}]}),e.AgGridRenderer=$o,e.ObjectAgGridRenderer=es,e.aggridComponents=ts});
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`@object-ui/core`),require(`@object-ui/components`),require(`ag-grid-community/styles/ag-grid.css`),require(`ag-grid-community/styles/ag-theme-quartz.css`),require(`ag-grid-community/styles/ag-theme-alpine.css`),require(`ag-grid-community/styles/ag-theme-balham.css`),require(`ag-grid-community/styles/ag-theme-material.css`),require(`react/jsx-runtime`),require(`ag-grid-react`),require(`react-dom/client`),require(`@object-ui/fields`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`@object-ui/core`,`@object-ui/components`,`ag-grid-community/styles/ag-grid.css`,`ag-grid-community/styles/ag-theme-quartz.css`,`ag-grid-community/styles/ag-theme-alpine.css`,`ag-grid-community/styles/ag-theme-balham.css`,`ag-grid-community/styles/ag-theme-material.css`,`react/jsx-runtime`,`ag-grid-react`,`react-dom/client`,`@object-ui/fields`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.ObjectUIPluginAgGrid={},e.React,e.ObjectUICore,e.ObjectUIComponents,e.ag_grid_community_styles_ag_grid_css,e.ag_grid_community_styles_ag_theme_quartz_css,e.ag_grid_community_styles_ag_theme_alpine_css,e.ag_grid_community_styles_ag_theme_balham_css,e.ag_grid_community_styles_ag_theme_material_css,e.react_jsx_runtime,e.AgGridReact,e.react_dom_client,e._object_ui_fields))})(this,function(e,t,n,r,i,a,o,s,c,l,u,d,f){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var p=Object.create,m=Object.defineProperty,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,_=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,y=(e,t)=>()=>(e&&(t=e(e=0)),t),b=(e,t)=>{let n={};for(var r in e)m(n,r,{get:e[r],enumerable:!0});return t||m(n,Symbol.toStringTag,{value:`Module`}),n},x=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=g(t),a=0,o=i.length,s;a<o;a++)s=i[a],!v.call(e,s)&&s!==n&&m(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=h(t,s))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:p(_(e)),x(t||!e||!e.__esModule?m(n,`default`,{value:e,enumerable:!0}):n,e)))(t,1);var S=b({default:()=>C});function C({rowData:e=[],columnDefs:n=[],gridOptions:r={},pagination:i=!1,paginationPageSize:a=10,domLayout:o=`normal`,animateRows:s=!0,rowSelection:c,theme:d=`quartz`,height:f=500,className:p=``,editable:m=!1,editType:h,singleClickEdit:g=!1,stopEditingWhenCellsLoseFocus:_=!0,exportConfig:v,statusBar:y,callbacks:b,columnConfig:x,enableRangeSelection:S=!1,enableCharts:C=!1,contextMenu:w,treeData:T,rowGrouping:E,excelExport:D}){let O=(0,t.useRef)(null),k=(0,t.useMemo)(()=>{if(!y?.enabled)return;let e=y.aggregations||[`count`,`sum`,`avg`],t=[];return e.includes(`count`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`count`]}}),e.includes(`sum`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`sum`]}}),e.includes(`avg`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`avg`]}}),e.includes(`min`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`min`]}}),e.includes(`max`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`max`]}}),t},[y]),A=(0,t.useCallback)(()=>{if(!O.current?.api)return;let t={fileName:v?.fileName||`export.csv`,skipColumnHeaders:v?.skipColumnHeaders||!1,allColumns:v?.allColumns||!1,onlySelected:v?.onlySelected||!1};if(O.current.api.exportDataAsCsv(t),b?.onExport){let t=v?.onlySelected?O.current.api.getSelectedRows():e;b.onExport(t||[],`csv`)}},[v,b,e]),j=(0,t.useCallback)(()=>{if(!O.current?.api)return;let t={fileName:D?.fileName||v?.fileName||`export.csv`,skipColumnHeaders:D?.includeHeaders===!1,allColumns:!0,onlySelected:D?.onlySelected||!1};if(O.current.api.exportDataAsCsv(t),b?.onExport){let t=D?.onlySelected?O.current.api.getSelectedRows():e;b.onExport(t||[],`excel`)}},[D,v,b,e]),M=(0,t.useCallback)(e=>{if(!w?.enabled)return[];let t=[];return(w.items||[`copy`,`copyWithHeaders`,`separator`,`export`]).forEach(e=>{e===`export`?t.push({name:`Export CSV`,icon:`<span>📥</span>`,action:()=>A()}):e===`export-excel`?t.push({name:`Export Excel (CSV)`,icon:`<span>📊</span>`,action:()=>j()}):e===`autoSizeAll`?t.push({name:`Auto-size All Columns`,action:()=>{O.current?.api&&O.current.api.autoSizeAllColumns()}}):e===`resetColumns`?t.push({name:`Reset Columns`,action:()=>{O.current?.api&&O.current.api.resetColumnState()}}):t.push(e)}),w.customItems&&(t.length>0&&t.push(`separator`),w.customItems.forEach(n=>{t.push({name:n.name,disabled:n.disabled,action:()=>{b?.onContextMenuAction&&b.onContextMenuAction(n.action,e.node?.data)}})})),t},[w,A,j,b]),N=(0,t.useCallback)(e=>{b?.onCellClicked?.(e)},[b]),P=(0,t.useCallback)(e=>{b?.onRowClicked?.(e)},[b]),F=(0,t.useCallback)(e=>{b?.onSelectionChanged?.(e)},[b]),I=(0,t.useCallback)(e=>{b?.onCellValueChanged?.(e)},[b]),L=(0,t.useCallback)(e=>{O.current=e},[]),R=(0,t.useMemo)(()=>n?n.map(e=>{let t={...e};return m&&e.editable!==!1&&(t.editable=!0),x&&(x.resizable!==void 0&&e.resizable===void 0&&(t.resizable=x.resizable),x.sortable!==void 0&&e.sortable===void 0&&(t.sortable=x.sortable),x.filterable!==void 0&&e.filter===void 0&&(t.filter=x.filterable)),E?.enabled&&E.groupByFields?.includes(e.field||``)&&(t.rowGroup=!0,t.hide=!0),E?.aggregations&&e.field&&E.aggregations[e.field]&&(t.aggFunc=E.aggregations[e.field]),t}):[],[n,m,x,E]),z=(0,t.useMemo)(()=>({...r,pagination:i,paginationPageSize:a,domLayout:o,animateRows:s,rowSelection:c,editType:h,singleClickEdit:g,stopEditingWhenCellsLoseFocus:_,statusBar:k?{statusPanels:k}:void 0,enableRangeSelection:S,enableCharts:C,getContextMenuItems:w?.enabled?M:void 0,...T?.enabled?{treeData:!0,getDataPath:T.pathField?e=>e[T.pathField]:void 0,autoGroupColumnDef:{headerName:`Hierarchy`,minWidth:250,cellRendererParams:{suppressCount:!1}},groupDefaultExpanded:T.expandAll?-1:T.expandDepth??0}:{},...E?.enabled?{groupDefaultExpanded:+!!E.groupByFields?.length,autoGroupColumnDef:{minWidth:200,cellRendererParams:{suppressCount:!E.showRowCount}}}:{},suppressCellFocus:!m,enableCellTextSelection:!0,ensureDomOrder:!0,rowBuffer:r.rowBuffer??10,debounceVerticalScrollbar:r.debounceVerticalScrollbar??e.length>1e3,onCellClicked:N,onRowClicked:P,onSelectionChanged:F,onCellValueChanged:I,onGridReady:L}),[r,i,a,o,s,c,h,g,_,k,S,C,w,M,T,E,m,e.length,N,P,F,I,L]),B=(0,t.useMemo)(()=>({height:typeof f==`number`?`${f}px`:f,width:`100%`}),[f]),V=[`ag-theme-${d}`,`rounded-xl`,`border`,`border-border`,`overflow-hidden`,`shadow-lg`,p].filter(Boolean).join(` `);return(0,l.jsxs)(`div`,{className:`ag-grid-container`,children:[(v?.enabled||D?.enabled)&&(0,l.jsxs)(`div`,{className:`mb-2 flex gap-2`,children:[v?.enabled&&(0,l.jsx)(`button`,{onClick:A,className:`px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors`,children:`Export CSV`}),D?.enabled&&(0,l.jsx)(`button`,{onClick:j,className:`px-3 py-1.5 text-sm font-medium text-white bg-green-600 hover:bg-green-700 rounded-md transition-colors`,children:`Export Excel (CSV)`})]}),(0,l.jsx)(`div`,{className:V,style:B,children:(0,l.jsx)(u.AgGridReact,{ref:O,rowData:e,columnDefs:R,gridOptions:z})})]})}var w=y((()=>{})),T,E=y((()=>{T={text:`agTextColumnFilter`,textarea:`agTextColumnFilter`,number:`agNumberColumnFilter`,currency:`agNumberColumnFilter`,percent:`agNumberColumnFilter`,boolean:`agSetColumnFilter`,date:`agDateColumnFilter`,datetime:`agDateColumnFilter`,time:`agTextColumnFilter`,email:`agTextColumnFilter`,phone:`agTextColumnFilter`,url:`agTextColumnFilter`,select:`agSetColumnFilter`}}));function D(e){return A[e]||null}function O(e){return class extends j{init(t){super.init({...t,field:e})}refresh(t){return super.refresh({...t,field:e})}}}function k(e){return class extends M{init(t){super.init({...t,field:e})}}}var A,j,M,N=y((()=>{A={text:f.TextField,textarea:f.TextAreaField,number:f.NumberField,currency:f.CurrencyField,percent:f.PercentField,boolean:f.BooleanField,select:f.SelectField,date:f.DateField,datetime:f.DateTimeField,time:f.TimeField,email:f.EmailField,phone:f.PhoneField,url:f.UrlField,password:f.PasswordField,color:f.ColorField,rating:f.RatingField,image:f.ImageField,avatar:f.AvatarField,lookup:f.LookupField,slider:f.SliderField,code:f.CodeField},j=class{eGui;root=null;init(e){let{value:t,field:n}=e,r=D(n.type);this.eGui=document.createElement(`div`),this.eGui.className=`field-widget-cell`,r?(this.root=(0,d.createRoot)(this.eGui),this.root.render((0,l.jsx)(r,{value:t,onChange:()=>{},field:n,readonly:!0}))):this.eGui.textContent=t==null?``:String(t)}getGui(){return this.eGui}refresh(e){let{value:t,field:n}=e,r=D(n.type);return r&&this.root?(this.root.render((0,l.jsx)(r,{value:t,onChange:()=>{},field:n,readonly:!0})),!0):this.eGui?(this.eGui.textContent=t==null?``:String(t),!0):!1}destroy(){this.root&&this.root.unmount()}},M=class{eGui;root=null;currentValue;params;init(e){this.params=e,this.currentValue=e.value;let{field:t}=e,n=D(t.type);if(this.eGui=document.createElement(`div`),this.eGui.className=`field-widget-editor`,n)this.root=(0,d.createRoot)(this.eGui),this.root.render((0,l.jsx)(n,{value:this.currentValue,onChange:e=>{this.currentValue=e},field:t,readonly:!1}));else{let e=document.createElement(`input`);e.value=this.currentValue==null?``:String(this.currentValue),e.className=`ag-input-field-input ag-text-field-input`,e.addEventListener(`input`,e=>{this.currentValue=e.target.value}),this.eGui.appendChild(e),setTimeout(()=>e.focus(),0)}}getGui(){return this.eGui}getValue(){return this.currentValue}destroy(){this.root&&this.root.unmount()}isPopup(){return[`date`,`datetime`,`select`,`lookup`,`color`].includes(this.params.field.type)}}})),P=b({default:()=>F});function F({objectName:e,dataSource:r,fields:i,fieldNames:a,filters:o,sort:s,pageSize:c=10,pagination:d=!0,domLayout:f=`normal`,animateRows:p=!0,rowSelection:m,theme:h=`quartz`,height:g=500,className:_=``,editable:v=!1,editType:y,singleClickEdit:b=!1,stopEditingWhenCellsLoseFocus:x=!0,exportConfig:S,statusBar:C,callbacks:w,columnConfig:T,enableRangeSelection:E=!1,enableCharts:D=!1,contextMenu:O}){let k=(0,t.useRef)(null),[A,j]=(0,t.useState)(!0),[M,N]=(0,t.useState)(null),[P,F]=(0,t.useState)(null),[R,z]=(0,t.useState)([]);(0,t.useEffect)(()=>{if(!r){N(Error(`DataSource is required`)),j(!1);return}(async()=>{try{j(!0),N(null),F(await r.getObjectSchema(e))}catch(e){let t=e instanceof Error?e:Error(String(e));N(t),w?.onDataError?.(t)}finally{j(!1)}})()},[e,r,w]),(0,t.useEffect)(()=>{!r||!P||(async()=>{try{j(!0),N(null);let t={$top:c,$skip:0};o&&(t.$filter=o),s&&(t.$orderby=s);let i=(0,n.buildExpandFields)(P?.fields);i.length>0&&(t.$expand=i);let a=await r.find(e,t);z(a.data||[]),w?.onDataLoaded?.(a.data||[])}catch(e){let t=e instanceof Error?e:Error(String(e));N(t),w?.onDataError?.(t)}finally{j(!1)}})()},[e,r,P,o,s,c,w]);let B=(0,t.useMemo)(()=>{if(!P?.fields)return[];let e=i||Object.values(P.fields);return(a?e.filter(e=>a.includes(e.name)):e).map(e=>{let t={field:e.name,headerName:e.label||e.name,sortable:e.sortable!==!1,filter:I(e),editable:v&&!e.readonly};return T&&(T.resizable!==void 0&&(t.resizable=T.resizable),T.sortable!==void 0&&t.sortable===void 0&&(t.sortable=T.sortable)),L(t,e),t})},[P,i,a,v,T]),V=(0,t.useMemo)(()=>{if(!C?.enabled)return;let e=C.aggregations||[`count`,`sum`,`avg`],t=[];return e.includes(`count`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`count`]}}),e.includes(`sum`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`sum`]}}),e.includes(`avg`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`avg`]}}),e.includes(`min`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`min`]}}),e.includes(`max`)&&t.push({statusPanel:`agAggregationComponent`,statusPanelParams:{aggFuncs:[`max`]}}),t},[C]),H=(0,t.useCallback)(()=>{if(!k.current?.api)return;let t={fileName:S?.fileName||`${e}-export.csv`,skipColumnHeaders:S?.skipColumnHeaders||!1,allColumns:S?.allColumns||!1,onlySelected:S?.onlySelected||!1};if(k.current.api.exportDataAsCsv(t),w?.onExport){let e=S?.onlySelected?k.current.api.getSelectedRows():R;w.onExport(e||[],`csv`)}},[S,w,R,e]),U=(0,t.useCallback)(e=>{if(!O?.enabled)return[];let t=[];return(O.items||[`copy`,`copyWithHeaders`,`separator`,`export`]).forEach(e=>{e===`export`?t.push({name:`Export CSV`,icon:`<span>📥</span>`,action:()=>H()}):e===`autoSizeAll`?t.push({name:`Auto-size All Columns`,action:()=>{k.current?.api&&k.current.api.autoSizeAllColumns()}}):e===`resetColumns`?t.push({name:`Reset Columns`,action:()=>{k.current?.api&&k.current.api.resetColumnState()}}):t.push(e)}),O.customItems&&(t.length>0&&t.push(`separator`),O.customItems.forEach(n=>{t.push({name:n.name,disabled:n.disabled,action:()=>{w?.onContextMenuAction&&w.onContextMenuAction(n.action,e.node?.data)}})})),t},[O,H,w]),W=(0,t.useCallback)(e=>{w?.onCellClicked?.(e)},[w]),G=(0,t.useCallback)(e=>{w?.onRowClicked?.(e)},[w]),K=(0,t.useCallback)(e=>{w?.onSelectionChanged?.(e)},[w]),q=(0,t.useCallback)(async t=>{if(w?.onCellValueChanged?.(t),r&&t.data&&t.data.id)try{await r.update(e,t.data.id,{[t.colDef.field]:t.newValue})}catch(e){console.error(`Failed to update record:`,e),t.node.setDataValue(t.colDef.field,t.oldValue)}},[w,r,e]),J=(0,t.useCallback)(e=>{k.current=e},[]),Y=(0,t.useMemo)(()=>({pagination:d,paginationPageSize:c,domLayout:f,animateRows:p,rowSelection:m,editType:y,singleClickEdit:b,stopEditingWhenCellsLoseFocus:x,statusBar:V?{statusPanels:V}:void 0,enableRangeSelection:E,enableCharts:D,getContextMenuItems:O?.enabled?U:void 0,suppressCellFocus:!v,enableCellTextSelection:!0,ensureDomOrder:!0,onCellClicked:W,onRowClicked:G,onSelectionChanged:K,onCellValueChanged:q,onGridReady:J}),[d,c,f,p,m,y,b,x,V,E,D,O,U,v,W,G,K,q,J]),X=(0,t.useMemo)(()=>({height:typeof g==`number`?`${g}px`:g,width:`100%`}),[g]),Z=[`ag-theme-${h}`,`rounded-xl`,`border`,`border-border`,`overflow-hidden`,`shadow-lg`,_].filter(Boolean).join(` `);return A?(0,l.jsx)(`div`,{className:`flex items-center justify-center`,style:X,children:(0,l.jsxs)(`div`,{className:`text-muted-foreground`,children:[`Loading `,e,`...`]})}):M?(0,l.jsx)(`div`,{className:`flex items-center justify-center`,style:X,children:(0,l.jsxs)(`div`,{className:`text-destructive`,children:[`Error loading data: `,M.message]})}):(0,l.jsxs)(`div`,{className:`object-aggrid-container`,children:[S?.enabled&&(0,l.jsx)(`div`,{className:`mb-2 flex gap-2`,children:(0,l.jsx)(`button`,{onClick:H,className:`px-3 py-1.5 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md transition-colors`,children:`Export CSV`})}),(0,l.jsx)(`div`,{className:Z,style:X,children:(0,l.jsx)(u.AgGridReact,{ref:k,rowData:R,columnDefs:B,gridOptions:Y})})]})}function I(e){return e.filterable===!1?!1:T[e.type]||`agTextColumnFilter`}function L(e,t){if([`text`,`textarea`,`number`,`currency`,`percent`,`boolean`,`select`,`date`,`datetime`,`time`,`email`,`phone`,`url`,`password`,`color`,`rating`,`image`,`avatar`,`lookup`,`slider`,`code`].includes(t.type))e.cellRenderer=O(t),e.editable&&(e.cellEditor=k(t),[`date`,`datetime`,`select`,`lookup`,`color`].includes(t.type)&&(e.cellEditorPopup=!0));else switch(t.type){case`master_detail`:e.valueFormatter=e=>e.value?typeof e.value==`object`?e.value.name||e.value.label||e.value.id||``:String(e.value):``;break;case`object`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Object]`,e};break;case`vector`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Vector]`,e};break;case`grid`:e.cellRenderer=()=>{let e=document.createElement(`span`);return e.className=`text-gray-500 italic`,e.textContent=`[Grid]`,e};break;default:e.valueFormatter=e=>e.value==null?``:String(e.value)}}var R=y((()=>{E(),N()})),z=t.default.lazy(()=>Promise.resolve().then(()=>(w(),S))),B=t.default.lazy(()=>Promise.resolve().then(()=>(R(),P))),V=({schema:e})=>(0,l.jsx)(t.Suspense,{fallback:(0,l.jsx)(r.Skeleton,{className:`w-full h-[500px]`}),children:(0,l.jsx)(z,{rowData:e.rowData,columnDefs:e.columnDefs,gridOptions:e.gridOptions,pagination:e.pagination,paginationPageSize:e.paginationPageSize,domLayout:e.domLayout,animateRows:e.animateRows,rowSelection:e.rowSelection,theme:e.theme,height:e.height,className:e.className,editable:e.editable,editType:e.editType,singleClickEdit:e.singleClickEdit,stopEditingWhenCellsLoseFocus:e.stopEditingWhenCellsLoseFocus,exportConfig:e.exportConfig,statusBar:e.statusBar,callbacks:e.callbacks,columnConfig:e.columnConfig,enableRangeSelection:e.enableRangeSelection,enableCharts:e.enableCharts,contextMenu:e.contextMenu,treeData:e.treeData,rowGrouping:e.rowGrouping,excelExport:e.excelExport})});n.ComponentRegistry.register(`aggrid`,V,{namespace:`plugin-aggrid`,label:`AG Grid`,icon:`Table`,category:`plugin`,inputs:[{name:`rowData`,type:`array`,label:`Row Data`,description:`Array of objects to display in the grid`,required:!0},{name:`columnDefs`,type:`array`,label:`Column Definitions`,description:`Array of column definitions`,required:!0},{name:`pagination`,type:`boolean`,label:`Enable Pagination`,defaultValue:!1},{name:`paginationPageSize`,type:`number`,label:`Page Size`,defaultValue:10,description:`Number of rows per page when pagination is enabled`},{name:`theme`,type:`enum`,label:`Theme`,enum:[{label:`Quartz`,value:`quartz`},{label:`Alpine`,value:`alpine`},{label:`Balham`,value:`balham`},{label:`Material`,value:`material`}],defaultValue:`quartz`},{name:`rowSelection`,type:`enum`,label:`Row Selection`,enum:[{label:`None`,value:void 0},{label:`Single`,value:`single`},{label:`Multiple`,value:`multiple`}],defaultValue:void 0,advanced:!0},{name:`domLayout`,type:`enum`,label:`DOM Layout`,enum:[{label:`Normal`,value:`normal`},{label:`Auto Height`,value:`autoHeight`},{label:`Print`,value:`print`}],defaultValue:`normal`,advanced:!0},{name:`animateRows`,type:`boolean`,label:`Animate Rows`,defaultValue:!0,advanced:!0},{name:`height`,type:`number`,label:`Height (px)`,defaultValue:500},{name:`editable`,type:`boolean`,label:`Enable Editing`,defaultValue:!1,description:`Allow cells to be edited inline`,advanced:!0},{name:`singleClickEdit`,type:`boolean`,label:`Single Click Edit`,defaultValue:!1,description:`Start editing on single click instead of double click`,advanced:!0},{name:`exportConfig`,type:`code`,label:`Export Config (JSON)`,description:`Configure CSV export: { enabled: true, fileName: "data.csv" }`,advanced:!0},{name:`statusBar`,type:`code`,label:`Status Bar Config (JSON)`,description:`Configure status bar: { enabled: true, aggregations: ["count", "sum", "avg"] }`,advanced:!0},{name:`callbacks`,type:`code`,label:`Event Callbacks (JSON)`,description:`Event handlers for cell clicks, selection changes, etc.`,advanced:!0},{name:`columnConfig`,type:`code`,label:`Column Config (JSON)`,description:`Global column settings: { resizable: true, sortable: true, filterable: true }`,advanced:!0},{name:`enableRangeSelection`,type:`boolean`,label:`Enable Range Selection`,defaultValue:!1,description:`Allow selecting ranges of cells (like Excel)`,advanced:!0},{name:`enableCharts`,type:`boolean`,label:`Enable Charts`,defaultValue:!1,description:`Enable integrated charting (requires AG Grid Enterprise)`,advanced:!0},{name:`contextMenu`,type:`code`,label:`Context Menu Config (JSON)`,description:`Configure right-click menu: { enabled: true, items: ["copy", "export"] }`,advanced:!0},{name:`treeData`,type:`code`,label:`Tree Data Config (JSON)`,description:`Configure tree data: { enabled: true, pathField: "orgHierarchy" }`,advanced:!0},{name:`rowGrouping`,type:`code`,label:`Row Grouping Config (JSON)`,description:`Configure row grouping: { enabled: true, groupByFields: ["category"] }`,advanced:!0},{name:`excelExport`,type:`code`,label:`Excel Export Config (JSON)`,description:`Configure Excel export: { enabled: true, fileName: "data.xlsx" }`,advanced:!0},{name:`gridOptions`,type:`code`,label:`Grid Options (JSON)`,description:`Advanced AG Grid options`,advanced:!0},{name:`className`,type:`string`,label:`CSS Class`}],defaultProps:{rowData:[{make:`Tesla`,model:`Model Y`,price:64950,electric:!0},{make:`Ford`,model:`F-Series`,price:33850,electric:!1},{make:`Toyota`,model:`Corolla`,price:29600,electric:!1},{make:`Mercedes`,model:`EQA`,price:48890,electric:!0},{make:`Fiat`,model:`500`,price:15774,electric:!1},{make:`Nissan`,model:`Juke`,price:20675,electric:!1},{make:`Vauxhall`,model:`Corsa`,price:18460,electric:!1},{make:`Volvo`,model:`XC90`,price:72835,electric:!1},{make:`Mercedes`,model:`GLA`,price:47825,electric:!1},{make:`Ford`,model:`Puma`,price:27420,electric:!1},{make:`Volkswagen`,model:`Golf`,price:28850,electric:!1},{make:`Kia`,model:`Sportage`,price:31095,electric:!1}],columnDefs:[{field:`make`,headerName:`Make`,sortable:!0,filter:!0},{field:`model`,headerName:`Model`,sortable:!0,filter:!0},{field:`price`,headerName:`Price`,sortable:!0,filter:`number`,valueFormatter:e=>e.value==null?``:`$`+e.value.toLocaleString()},{field:`electric`,headerName:`Electric`,sortable:!0,filter:!0,cellRenderer:e=>e.value===!0?`⚡ Yes`:`No`}],pagination:!0,paginationPageSize:10,theme:`quartz`,height:500,animateRows:!0,domLayout:`normal`}});var H=({schema:e})=>(0,l.jsx)(t.Suspense,{fallback:(0,l.jsx)(r.Skeleton,{className:`w-full h-[500px]`}),children:(0,l.jsx)(B,{objectName:e.objectName,dataSource:e.dataSource,fields:e.fields,fieldNames:e.fieldNames,filters:e.filters,sort:e.sort,pageSize:e.pageSize,pagination:e.pagination,domLayout:e.domLayout,animateRows:e.animateRows,rowSelection:e.rowSelection,theme:e.theme,height:e.height,className:e.className,editable:e.editable,editType:e.editType,singleClickEdit:e.singleClickEdit,stopEditingWhenCellsLoseFocus:e.stopEditingWhenCellsLoseFocus,exportConfig:e.exportConfig,statusBar:e.statusBar,callbacks:e.callbacks,columnConfig:e.columnConfig,enableRangeSelection:e.enableRangeSelection,enableCharts:e.enableCharts,contextMenu:e.contextMenu})}),U={aggrid:V,"object-aggrid":H};n.ComponentRegistry.register(`object-aggrid`,H,{namespace:`plugin-aggrid`,label:`Object AG Grid`,icon:`Table`,category:`view`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,description:`Name of the object to fetch metadata and data from`,required:!0},{name:`dataSource`,type:`object`,label:`Data Source`,description:`ObjectStack data source adapter instance`,required:!0},{name:`fieldNames`,type:`array`,label:`Field Names`,description:`Optional: Specify which fields to show (defaults to all fields)`},{name:`filters`,type:`object`,label:`Filters`,description:`Query filters to apply to the data`},{name:`sort`,type:`object`,label:`Sort`,description:`Sorting configuration: { fieldName: "asc" | "desc" }`},{name:`pagination`,type:`boolean`,label:`Enable Pagination`,defaultValue:!0},{name:`pageSize`,type:`number`,label:`Page Size`,defaultValue:10,description:`Number of rows per page`},{name:`theme`,type:`enum`,label:`Theme`,enum:[{label:`Quartz`,value:`quartz`},{label:`Alpine`,value:`alpine`},{label:`Balham`,value:`balham`},{label:`Material`,value:`material`}],defaultValue:`quartz`},{name:`height`,type:`number`,label:`Height (px)`,defaultValue:500},{name:`editable`,type:`boolean`,label:`Enable Editing`,defaultValue:!1,description:`Allow cells to be edited inline`,advanced:!0},{name:`exportConfig`,type:`code`,label:`Export Config (JSON)`,description:`Configure CSV export: { enabled: true, fileName: "data.csv" }`,advanced:!0},{name:`columnConfig`,type:`code`,label:`Column Config (JSON)`,description:`Global column settings: { resizable: true, sortable: true, filterable: true }`,advanced:!0},{name:`className`,type:`string`,label:`CSS Class`}]}),e.AgGridRenderer=V,e.ObjectAgGridRenderer=H,e.aggridComponents=U});