@object-ui/plugin-aggrid 0.4.1 → 2.0.0
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.
- package/.turbo/turbo-build.log +99 -0
- package/CHANGELOG.md +16 -0
- package/OBJECT_AGGRID_CN.md +483 -0
- package/QUICKSTART.md +186 -0
- package/README.md +221 -1
- package/dist/AddressField-Bntpynvd.js +95 -0
- package/dist/AgGridImpl-3Mmf2qrR.js +229 -0
- package/dist/AutoNumberField-C1kBJaxh.js +8 -0
- package/dist/FileField-BDwbJvor.js +101 -0
- package/dist/FormulaField-BXNiyGoh.js +9 -0
- package/dist/GeolocationField-Df3yYcM9.js +141 -0
- package/dist/GridField-CcjQp4WM.js +29 -0
- package/dist/LocationField-BIfN5QIq.js +33 -0
- package/dist/MasterDetailField-CAEmxbIT.js +117 -0
- package/dist/ObjectAgGridImpl-EjifM4aY.js +28727 -0
- package/dist/ObjectField-BpkQpIF-.js +51 -0
- package/dist/QRCodeField-VCBewTDG.js +96 -0
- package/dist/RichTextField-CyQwSi2C.js +37 -0
- package/dist/SignatureField-Cr4tsEbj.js +96 -0
- package/dist/SummaryField-CnEJ_GZI.js +9 -0
- package/dist/UserField-DJjaVyrV.js +49 -0
- package/dist/VectorField-cPYmcKnV.js +25 -0
- package/dist/{index-B6NPAFZx.js → index-B87wd1E0.js} +301 -143
- package/dist/index.css +1 -1
- package/dist/index.js +4 -3
- package/dist/index.umd.cjs +225 -2
- package/dist/src/AgGridImpl.d.ts +5 -2
- package/dist/src/ObjectAgGridImpl.d.ts +6 -0
- package/dist/src/VirtualScrolling.d.ts +72 -0
- package/dist/src/field-renderers.d.ts +67 -0
- package/dist/src/index.d.ts +47 -2
- package/dist/src/object-aggrid.types.d.ts +74 -0
- package/dist/src/types.d.ts +48 -1
- package/package.json +11 -9
- package/src/AgGridImpl.tsx +100 -11
- package/src/ObjectAgGridImpl.tsx +501 -0
- package/src/VirtualScrolling.ts +74 -0
- package/src/field-renderers.test.tsx +383 -0
- package/src/field-renderers.tsx +224 -0
- package/src/index.test.ts +1 -1
- package/src/index.tsx +211 -2
- package/src/object-aggrid.test.ts +99 -0
- package/src/object-aggrid.types.ts +123 -0
- package/src/types.ts +57 -1
- package/vite.config.ts +13 -0
- package/dist/AgGridImpl-DKkq6v1B.js +0 -171
package/dist/index.umd.cjs
CHANGED
|
@@ -1,6 +1,229 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(bn,me){typeof exports=="object"&&typeof module<"u"?me(exports,require("react"),require("@object-ui/core"),require("@object-ui/components"),require("ag-grid-react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","@object-ui/core","@object-ui/components","ag-grid-react","react-dom"],me):(bn=typeof globalThis<"u"?globalThis:bn||self,me(bn.ObjectUIPluginAgGrid={},bn.React,bn.ObjectUICore,bn.ObjectUIComponents,bn.AgGridReact,bn.ReactDOM))})(this,(function(bn,me,Xv,ae,Eb,Ab){"use strict";var mp={exports:{}},sm={};var zb;function AT(){if(zb)return sm;zb=1;var y=Symbol.for("react.transitional.element"),R=Symbol.for("react.fragment");function L(S,U,Y){var V=null;if(Y!==void 0&&(V=""+Y),U.key!==void 0&&(V=""+U.key),"key"in U){Y={};for(var _ in U)_!=="key"&&(Y[_]=U[_])}else Y=U;return U=Y.ref,{$$typeof:y,type:S,key:V,ref:U!==void 0?U:null,props:Y}}return sm.Fragment=R,sm.jsx=L,sm.jsxs=L,sm}var rm={};var xb;function zT(){return xb||(xb=1,process.env.NODE_ENV!=="production"&&(function(){function y(K){if(K==null)return null;if(typeof K=="function")return K.$$typeof===ht?null:K.displayName||K.name||null;if(typeof K=="string")return K;switch(K){case Pe:return"Fragment";case Be:return"Profiler";case ie:return"StrictMode";case _t:return"Suspense";case it:return"SuspenseList";case ye:return"Activity"}if(typeof K=="object")switch(typeof K.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),K.$$typeof){case Se:return"Portal";case we:return K.displayName||"Context";case st:return(K._context.displayName||"Context")+".Consumer";case Et:var de=K.render;return K=K.displayName,K||(K=de.displayName||de.name||"",K=K!==""?"ForwardRef("+K+")":"ForwardRef"),K;case Oe:return de=K.displayName||null,de!==null?de:y(K.type)||"Memo";case Ve:de=K._payload,K=K._init;try{return y(K(de))}catch{}}return null}function R(K){return""+K}function L(K){try{R(K);var de=!1}catch{de=!0}if(de){de=console;var pe=de.error,ue=typeof Symbol=="function"&&Symbol.toStringTag&&K[Symbol.toStringTag]||K.constructor.name||"Object";return pe.call(de,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ue),R(K)}}function S(K){if(K===Pe)return"<>";if(typeof K=="object"&&K!==null&&K.$$typeof===Ve)return"<...>";try{var de=y(K);return de?"<"+de+">":"<...>"}catch{return"<...>"}}function U(){var K=qe.A;return K===null?null:K.getOwner()}function Y(){return Error("react-stack-top-frame")}function V(K){if(_e.call(K,"key")){var de=Object.getOwnPropertyDescriptor(K,"key").get;if(de&&de.isReactWarning)return!1}return K.key!==void 0}function _(K,de){function pe(){M||(M=!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)",de))}pe.isReactWarning=!0,Object.defineProperty(K,"key",{get:pe,configurable:!0})}function Z(){var K=y(this.type);return k[K]||(k[K]=!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.")),K=this.props.ref,K!==void 0?K:null}function ee(K,de,pe,ue,Ee,Al){var ke=pe.ref;return K={$$typeof:oe,type:K,key:de,props:pe,_owner:ue},(ke!==void 0?ke:null)!==null?Object.defineProperty(K,"ref",{enumerable:!1,get:Z}):Object.defineProperty(K,"ref",{enumerable:!1,value:null}),K._store={},Object.defineProperty(K._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(K,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(K,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ee}),Object.defineProperty(K,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Al}),Object.freeze&&(Object.freeze(K.props),Object.freeze(K)),K}function se(K,de,pe,ue,Ee,Al){var ke=de.children;if(ke!==void 0)if(ue)if(qt(ke)){for(ue=0;ue<ke.length;ue++)J(ke[ue]);Object.freeze&&Object.freeze(ke)}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 J(ke);if(_e.call(de,"key")){ke=y(K);var Jl=Object.keys(de).filter(function(ic){return ic!=="key"});ue=0<Jl.length?"{key: someKey, "+Jl.join(": ..., ")+": ...}":"{key: someKey}",ze[ke+ue]||(Jl=0<Jl.length?"{"+Jl.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
2
|
let props = %s;
|
|
3
3
|
<%s {...props} />
|
|
4
4
|
React keys must be passed directly to JSX without using spread:
|
|
5
5
|
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,o,i,x,i),n[i+o]=!0)}if(i=null,r!==void 0&&(E(r),i=""+r),R(a)&&(E(a.key),i=""+a.key),"key"in a){r={};for(var K in a)K!=="key"&&(r[K]=a[K])}else r=a;return i&&y(r,typeof e=="function"?e.displayName||e.name||"Unknown":e),k(e,i,r,u(),B,Z)}function S(e){w(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===A&&(e._payload.status==="fulfilled"?w(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function w(e){return typeof e=="object"&&e!==null&&e.$$typeof===j}var h=l,j=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),I=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),T=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z=Object.prototype.hasOwnProperty,J=Array.isArray,M=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var U,W={},Q=h.react_stack_bottom_frame.bind(h,c)(),H=M(C(c)),n={};O.Fragment=_,O.jsx=function(e,a,r){var o=1e4>T.recentlyCreatedOwnerStacks++;return G(e,a,r,!1,o?Error("react-stack-top-frame"):Q,o?M(C(e)):H)},O.jsxs=function(e,a,r){var o=1e4>T.recentlyCreatedOwnerStacks++;return G(e,a,r,!0,o?Error("react-stack-top-frame"):Q,o?M(C(e)):H)}})()),O}var te;function ie(){return te||(te=1,process.env.NODE_ENV==="production"?F.exports=le():F.exports=oe()),F.exports}var g=ie();const se=l.lazy(()=>Promise.resolve().then(()=>de)),X=({schema:t})=>g.jsx(l.Suspense,{fallback:g.jsx(re.Skeleton,{className:"w-full h-[500px]"}),children:g.jsx(se,{rowData:t.rowData,columnDefs:t.columnDefs,gridOptions:t.gridOptions,pagination:t.pagination,paginationPageSize:t.paginationPageSize,domLayout:t.domLayout,animateRows:t.animateRows,rowSelection:t.rowSelection,theme:t.theme,height:t.height,className:t.className,editable:t.editable,editType:t.editType,singleClickEdit:t.singleClickEdit,stopEditingWhenCellsLoseFocus:t.stopEditingWhenCellsLoseFocus,exportConfig:t.exportConfig,statusBar:t.statusBar,callbacks:t.callbacks,columnConfig:t.columnConfig,enableRangeSelection:t.enableRangeSelection,enableCharts:t.enableCharts,contextMenu:t.contextMenu})});ae.ComponentRegistry.register("aggrid",X,{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:"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:t=>t.value!=null?"$"+t.value.toLocaleString():""},{field:"electric",headerName:"Electric",sortable:!0,filter:!0,cellRenderer:t=>t.value===!0?"⚡ Yes":"No"}],pagination:!0,paginationPageSize:10,theme:"quartz",height:500,animateRows:!0,domLayout:"normal"}});const ue={aggrid:X};function ce({rowData:t=[],columnDefs:v=[],gridOptions:E={},pagination:C=!1,paginationPageSize:u=10,domLayout:c="normal",animateRows:R=!0,rowSelection:y,theme:q="quartz",height:k=500,className:G="",editable:S=!1,editType:w,singleClickEdit:h=!1,stopEditingWhenCellsLoseFocus:j=!0,exportConfig:p,statusBar:_,callbacks:s,columnConfig:m,enableRangeSelection:D=!1,enableCharts:I=!1,contextMenu:b}){const f=l.useRef(null),N=l.useMemo(()=>{if(!_?.enabled)return;const n=_.aggregations||["count","sum","avg"],e=[];return n.includes("count")&&e.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["count"]}}),n.includes("sum")&&e.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["sum"]}}),n.includes("avg")&&e.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["avg"]}}),n.includes("min")&&e.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["min"]}}),n.includes("max")&&e.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["max"]}}),e},[_]),V=l.useCallback(()=>{if(!f.current?.api)return;const n={fileName:p?.fileName||"export.csv",skipColumnHeaders:p?.skipColumnHeaders||!1,allColumns:p?.allColumns||!1,onlySelected:p?.onlySelected||!1};if(f.current.api.exportDataAsCsv(n),s?.onExport){const e=p?.onlySelected?f.current.api.getSelectedRows():t;s.onExport(e||[],"csv")}},[p,s,t]),A=l.useCallback(n=>{if(!b?.enabled)return[];const e=[];return(b.items||["copy","copyWithHeaders","separator","export"]).forEach(r=>{r==="export"?e.push({name:"Export CSV",icon:"<span>📥</span>",action:()=>V()}):r==="autoSizeAll"?e.push({name:"Auto-size All Columns",action:()=>{f.current?.api&&f.current.api.autoSizeAllColumns()}}):r==="resetColumns"?e.push({name:"Reset Columns",action:()=>{f.current?.api&&f.current.api.resetColumnState()}}):e.push(r)}),b.customItems&&(e.length>0&&e.push("separator"),b.customItems.forEach(r=>{e.push({name:r.name,disabled:r.disabled,action:()=>{s?.onContextMenuAction&&s.onContextMenuAction(r.action,n.node?.data)}})})),e},[b,V,s]),Y=l.useCallback(n=>{s?.onCellClicked?.(n)},[s]),L=l.useCallback(n=>{s?.onRowClicked?.(n)},[s]),T=l.useCallback(n=>{s?.onSelectionChanged?.(n)},[s]),z=l.useCallback(n=>{s?.onCellValueChanged?.(n)},[s]),J=l.useCallback(n=>{f.current=n},[]),M=l.useMemo(()=>v?v.map(n=>{const e={...n};return S&&n.editable!==!1&&(e.editable=!0),m&&(m.resizable!==void 0&&n.resizable===void 0&&(e.resizable=m.resizable),m.sortable!==void 0&&n.sortable===void 0&&(e.sortable=m.sortable),m.filterable!==void 0&&n.filter===void 0&&(e.filter=m.filterable)),e}):[],[v,S,m]),U=l.useMemo(()=>({...E,pagination:C,paginationPageSize:u,domLayout:c,animateRows:R,rowSelection:y,editType:w,singleClickEdit:h,stopEditingWhenCellsLoseFocus:j,statusBar:N?{statusPanels:N}:void 0,enableRangeSelection:D,enableCharts:I,getContextMenuItems:b?.enabled?A:void 0,suppressCellFocus:!S,enableCellTextSelection:!0,ensureDomOrder:!0,onCellClicked:Y,onRowClicked:L,onSelectionChanged:T,onCellValueChanged:z,onGridReady:J}),[E,C,u,c,R,y,w,h,j,N,D,I,b,A,S,Y,L,T,z,J]),W=l.useMemo(()=>({height:typeof k=="number"?`${k}px`:k,width:"100%"}),[k]),H=[`ag-theme-${q}`,"rounded-xl","border","border-border","overflow-hidden","shadow-lg",G].filter(Boolean).join(" ");return g.jsxs("div",{className:"ag-grid-container",children:[p?.enabled&&g.jsx("div",{className:"mb-2 flex gap-2",children:g.jsx("button",{onClick:V,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"})}),g.jsx("div",{className:H,style:W,children:g.jsx(ne.AgGridReact,{ref:f,rowData:t,columnDefs:M,gridOptions:U})})]})}const de=Object.freeze(Object.defineProperty({__proto__:null,default:ce},Symbol.toStringTag,{value:"Module"}));d.AgGridRenderer=X,d.aggridComponents=ue,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})}));
|
|
6
|
+
<%s key={someKey} {...props} />`,ue,ke,Jl,ke),ze[ke+ue]=!0)}if(ke=null,pe!==void 0&&(L(pe),ke=""+pe),V(de)&&(L(de.key),ke=""+de.key),"key"in de){pe={};for(var ba in de)ba!=="key"&&(pe[ba]=de[ba])}else pe=de;return ke&&_(pe,typeof K=="function"?K.displayName||K.name||"Unknown":K),ee(K,ke,pe,U(),Ee,Al)}function J(K){w(K)?K._store&&(K._store.validated=1):typeof K=="object"&&K!==null&&K.$$typeof===Ve&&(K._payload.status==="fulfilled"?w(K._payload.value)&&K._payload.value._store&&(K._payload.value._store.validated=1):K._store&&(K._store.validated=1))}function w(K){return typeof K=="object"&&K!==null&&K.$$typeof===oe}var te=me,oe=Symbol.for("react.transitional.element"),Se=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),st=Symbol.for("react.consumer"),we=Symbol.for("react.context"),Et=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),Oe=Symbol.for("react.memo"),Ve=Symbol.for("react.lazy"),ye=Symbol.for("react.activity"),ht=Symbol.for("react.client.reference"),qe=te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_e=Object.prototype.hasOwnProperty,qt=Array.isArray,Ft=console.createTask?console.createTask:function(){return null};te={react_stack_bottom_frame:function(K){return K()}};var M,k={},ne=te.react_stack_bottom_frame.bind(te,Y)(),be=Ft(S(Y)),ze={};rm.Fragment=Pe,rm.jsx=function(K,de,pe){var ue=1e4>qe.recentlyCreatedOwnerStacks++;return se(K,de,pe,!1,ue?Error("react-stack-top-frame"):ne,ue?Ft(S(K)):be)},rm.jsxs=function(K,de,pe){var ue=1e4>qe.recentlyCreatedOwnerStacks++;return se(K,de,pe,!0,ue?Error("react-stack-top-frame"):ne,ue?Ft(S(K)):be)}})()),rm}var Ob;function xT(){return Ob||(Ob=1,process.env.NODE_ENV==="production"?mp.exports=AT():mp.exports=zT()),mp.exports}var b=xT();const OT=me.lazy(()=>Promise.resolve().then(()=>_T)),DT=me.lazy(()=>Promise.resolve().then(()=>uA)),Qv=({schema:y})=>b.jsx(me.Suspense,{fallback:b.jsx(ae.Skeleton,{className:"w-full h-[500px]"}),children:b.jsx(OT,{rowData:y.rowData,columnDefs:y.columnDefs,gridOptions:y.gridOptions,pagination:y.pagination,paginationPageSize:y.paginationPageSize,domLayout:y.domLayout,animateRows:y.animateRows,rowSelection:y.rowSelection,theme:y.theme,height:y.height,className:y.className,editable:y.editable,editType:y.editType,singleClickEdit:y.singleClickEdit,stopEditingWhenCellsLoseFocus:y.stopEditingWhenCellsLoseFocus,exportConfig:y.exportConfig,statusBar:y.statusBar,callbacks:y.callbacks,columnConfig:y.columnConfig,enableRangeSelection:y.enableRangeSelection,enableCharts:y.enableCharts,contextMenu:y.contextMenu,treeData:y.treeData,rowGrouping:y.rowGrouping,excelExport:y.excelExport})});Xv.ComponentRegistry.register("aggrid",Qv,{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:y=>y.value!=null?"$"+y.value.toLocaleString():""},{field:"electric",headerName:"Electric",sortable:!0,filter:!0,cellRenderer:y=>y.value===!0?"⚡ Yes":"No"}],pagination:!0,paginationPageSize:10,theme:"quartz",height:500,animateRows:!0,domLayout:"normal"}});const Lv=({schema:y})=>b.jsx(me.Suspense,{fallback:b.jsx(ae.Skeleton,{className:"w-full h-[500px]"}),children:b.jsx(DT,{objectName:y.objectName,dataSource:y.dataSource,fields:y.fields,fieldNames:y.fieldNames,filters:y.filters,sort:y.sort,pageSize:y.pageSize,pagination:y.pagination,domLayout:y.domLayout,animateRows:y.animateRows,rowSelection:y.rowSelection,theme:y.theme,height:y.height,className:y.className,editable:y.editable,editType:y.editType,singleClickEdit:y.singleClickEdit,stopEditingWhenCellsLoseFocus:y.stopEditingWhenCellsLoseFocus,exportConfig:y.exportConfig,statusBar:y.statusBar,callbacks:y.callbacks,columnConfig:y.columnConfig,enableRangeSelection:y.enableRangeSelection,enableCharts:y.enableCharts,contextMenu:y.contextMenu})}),CT={aggrid:Qv,"object-aggrid":Lv};Xv.ComponentRegistry.register("object-aggrid",Lv,{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"}]});function MT({rowData:y=[],columnDefs:R=[],gridOptions:L={},pagination:S=!1,paginationPageSize:U=10,domLayout:Y="normal",animateRows:V=!0,rowSelection:_,theme:Z="quartz",height:ee=500,className:se="",editable:J=!1,editType:w,singleClickEdit:te=!1,stopEditingWhenCellsLoseFocus:oe=!0,exportConfig:Se,statusBar:Pe,callbacks:ie,columnConfig:Be,enableRangeSelection:st=!1,enableCharts:we=!1,contextMenu:Et,treeData:_t,rowGrouping:it,excelExport:Oe}){const Ve=me.useRef(null),ye=me.useMemo(()=>{if(!Pe?.enabled)return;const ue=Pe.aggregations||["count","sum","avg"],Ee=[];return ue.includes("count")&&Ee.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["count"]}}),ue.includes("sum")&&Ee.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["sum"]}}),ue.includes("avg")&&Ee.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["avg"]}}),ue.includes("min")&&Ee.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["min"]}}),ue.includes("max")&&Ee.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["max"]}}),Ee},[Pe]),ht=me.useCallback(()=>{if(!Ve.current?.api)return;const ue={fileName:Se?.fileName||"export.csv",skipColumnHeaders:Se?.skipColumnHeaders||!1,allColumns:Se?.allColumns||!1,onlySelected:Se?.onlySelected||!1};if(Ve.current.api.exportDataAsCsv(ue),ie?.onExport){const Ee=Se?.onlySelected?Ve.current.api.getSelectedRows():y;ie.onExport(Ee||[],"csv")}},[Se,ie,y]),qe=me.useCallback(()=>{if(!Ve.current?.api)return;const ue=Oe?.fileName||Se?.fileName||"export.csv",Ee=Oe?.includeHeaders!==!1,Al={fileName:ue,skipColumnHeaders:!Ee,allColumns:!0,onlySelected:Oe?.onlySelected||!1};if(Ve.current.api.exportDataAsCsv(Al),ie?.onExport){const ke=Oe?.onlySelected?Ve.current.api.getSelectedRows():y;ie.onExport(ke||[],"excel")}},[Oe,Se,ie,y]),_e=me.useCallback(ue=>{if(!Et?.enabled)return[];const Ee=[];return(Et.items||["copy","copyWithHeaders","separator","export"]).forEach(ke=>{ke==="export"?Ee.push({name:"Export CSV",icon:"<span>📥</span>",action:()=>ht()}):ke==="export-excel"?Ee.push({name:"Export Excel (CSV)",icon:"<span>📊</span>",action:()=>qe()}):ke==="autoSizeAll"?Ee.push({name:"Auto-size All Columns",action:()=>{Ve.current?.api&&Ve.current.api.autoSizeAllColumns()}}):ke==="resetColumns"?Ee.push({name:"Reset Columns",action:()=>{Ve.current?.api&&Ve.current.api.resetColumnState()}}):Ee.push(ke)}),Et.customItems&&(Ee.length>0&&Ee.push("separator"),Et.customItems.forEach(ke=>{Ee.push({name:ke.name,disabled:ke.disabled,action:()=>{ie?.onContextMenuAction&&ie.onContextMenuAction(ke.action,ue.node?.data)}})})),Ee},[Et,ht,qe,ie]),qt=me.useCallback(ue=>{ie?.onCellClicked?.(ue)},[ie]),Ft=me.useCallback(ue=>{ie?.onRowClicked?.(ue)},[ie]),M=me.useCallback(ue=>{ie?.onSelectionChanged?.(ue)},[ie]),k=me.useCallback(ue=>{ie?.onCellValueChanged?.(ue)},[ie]),ne=me.useCallback(ue=>{Ve.current=ue},[]),be=me.useMemo(()=>R?R.map(ue=>{const Ee={...ue};return J&&ue.editable!==!1&&(Ee.editable=!0),Be&&(Be.resizable!==void 0&&ue.resizable===void 0&&(Ee.resizable=Be.resizable),Be.sortable!==void 0&&ue.sortable===void 0&&(Ee.sortable=Be.sortable),Be.filterable!==void 0&&ue.filter===void 0&&(Ee.filter=Be.filterable)),it?.enabled&&it.groupByFields?.includes(ue.field||"")&&(Ee.rowGroup=!0,Ee.hide=!0),it?.aggregations&&ue.field&&it.aggregations[ue.field]&&(Ee.aggFunc=it.aggregations[ue.field]),Ee}):[],[R,J,Be,it]),ze=me.useMemo(()=>({...L,pagination:S,paginationPageSize:U,domLayout:Y,animateRows:V,rowSelection:_,editType:w,singleClickEdit:te,stopEditingWhenCellsLoseFocus:oe,statusBar:ye?{statusPanels:ye}:void 0,enableRangeSelection:st,enableCharts:we,getContextMenuItems:Et?.enabled?_e:void 0,..._t?.enabled?{treeData:!0,getDataPath:_t.pathField?ue=>ue[_t.pathField]:void 0,autoGroupColumnDef:{headerName:"Hierarchy",minWidth:250,cellRendererParams:{suppressCount:!1}},groupDefaultExpanded:_t.expandAll?-1:_t.expandDepth??0}:{},...it?.enabled?{groupDefaultExpanded:it.groupByFields?.length?1:0,autoGroupColumnDef:{minWidth:200,cellRendererParams:{suppressCount:!it.showRowCount}}}:{},suppressCellFocus:!J,enableCellTextSelection:!0,ensureDomOrder:!0,rowBuffer:L.rowBuffer??10,debounceVerticalScrollbar:L.debounceVerticalScrollbar??y.length>1e3,onCellClicked:qt,onRowClicked:Ft,onSelectionChanged:M,onCellValueChanged:k,onGridReady:ne}),[L,S,U,Y,V,_,w,te,oe,ye,st,we,Et,_e,_t,it,J,y.length,qt,Ft,M,k,ne]),K=me.useMemo(()=>({height:typeof ee=="number"?`${ee}px`:ee,width:"100%"}),[ee]),pe=[`ag-theme-${Z}`,"rounded-xl","border","border-border","overflow-hidden","shadow-lg",se].filter(Boolean).join(" ");return b.jsxs("div",{className:"ag-grid-container",children:[(Se?.enabled||Oe?.enabled)&&b.jsxs("div",{className:"mb-2 flex gap-2",children:[Se?.enabled&&b.jsx("button",{onClick:ht,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"}),Oe?.enabled&&b.jsx("button",{onClick:qe,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)"})]}),b.jsx("div",{className:pe,style:K,children:b.jsx(Eb.AgGridReact,{ref:Ve,rowData:y,columnDefs:be,gridOptions:ze})})]})}const _T=Object.freeze(Object.defineProperty({__proto__:null,default:MT},Symbol.toStringTag,{value:"Module"})),RT={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"};var yp={exports:{}},dm={},pp={exports:{}},Zv={};var Db;function NT(){return Db||(Db=1,(function(y){function R(M,k){var ne=M.length;M.push(k);e:for(;0<ne;){var be=ne-1>>>1,ze=M[be];if(0<U(ze,k))M[be]=k,M[ne]=ze,ne=be;else break e}}function L(M){return M.length===0?null:M[0]}function S(M){if(M.length===0)return null;var k=M[0],ne=M.pop();if(ne!==k){M[0]=ne;e:for(var be=0,ze=M.length,K=ze>>>1;be<K;){var de=2*(be+1)-1,pe=M[de],ue=de+1,Ee=M[ue];if(0>U(pe,ne))ue<ze&&0>U(Ee,pe)?(M[be]=Ee,M[ue]=ne,be=ue):(M[be]=pe,M[de]=ne,be=de);else if(ue<ze&&0>U(Ee,ne))M[be]=Ee,M[ue]=ne,be=ue;else break e}}return k}function U(M,k){var ne=M.sortIndex-k.sortIndex;return ne!==0?ne:M.id-k.id}if(y.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var Y=performance;y.unstable_now=function(){return Y.now()}}else{var V=Date,_=V.now();y.unstable_now=function(){return V.now()-_}}var Z=[],ee=[],se=1,J=null,w=3,te=!1,oe=!1,Se=!1,Pe=!1,ie=typeof setTimeout=="function"?setTimeout:null,Be=typeof clearTimeout=="function"?clearTimeout:null,st=typeof setImmediate<"u"?setImmediate:null;function we(M){for(var k=L(ee);k!==null;){if(k.callback===null)S(ee);else if(k.startTime<=M)S(ee),k.sortIndex=k.expirationTime,R(Z,k);else break;k=L(ee)}}function Et(M){if(Se=!1,we(M),!oe)if(L(Z)!==null)oe=!0,_t||(_t=!0,qe());else{var k=L(ee);k!==null&&Ft(Et,k.startTime-M)}}var _t=!1,it=-1,Oe=5,Ve=-1;function ye(){return Pe?!0:!(y.unstable_now()-Ve<Oe)}function ht(){if(Pe=!1,_t){var M=y.unstable_now();Ve=M;var k=!0;try{e:{oe=!1,Se&&(Se=!1,Be(it),it=-1),te=!0;var ne=w;try{t:{for(we(M),J=L(Z);J!==null&&!(J.expirationTime>M&&ye());){var be=J.callback;if(typeof be=="function"){J.callback=null,w=J.priorityLevel;var ze=be(J.expirationTime<=M);if(M=y.unstable_now(),typeof ze=="function"){J.callback=ze,we(M),k=!0;break t}J===L(Z)&&S(Z),we(M)}else S(Z);J=L(Z)}if(J!==null)k=!0;else{var K=L(ee);K!==null&&Ft(Et,K.startTime-M),k=!1}}break e}finally{J=null,w=ne,te=!1}k=void 0}}finally{k?qe():_t=!1}}}var qe;if(typeof st=="function")qe=function(){st(ht)};else if(typeof MessageChannel<"u"){var _e=new MessageChannel,qt=_e.port2;_e.port1.onmessage=ht,qe=function(){qt.postMessage(null)}}else qe=function(){ie(ht,0)};function Ft(M,k){it=ie(function(){M(y.unstable_now())},k)}y.unstable_IdlePriority=5,y.unstable_ImmediatePriority=1,y.unstable_LowPriority=4,y.unstable_NormalPriority=3,y.unstable_Profiling=null,y.unstable_UserBlockingPriority=2,y.unstable_cancelCallback=function(M){M.callback=null},y.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Oe=0<M?Math.floor(1e3/M):5},y.unstable_getCurrentPriorityLevel=function(){return w},y.unstable_next=function(M){switch(w){case 1:case 2:case 3:var k=3;break;default:k=w}var ne=w;w=k;try{return M()}finally{w=ne}},y.unstable_requestPaint=function(){Pe=!0},y.unstable_runWithPriority=function(M,k){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var ne=w;w=M;try{return k()}finally{w=ne}},y.unstable_scheduleCallback=function(M,k,ne){var be=y.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?be+ne:be):ne=be,M){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=ne+ze,M={id:se++,callback:k,priorityLevel:M,startTime:ne,expirationTime:ze,sortIndex:-1},ne>be?(M.sortIndex=ne,R(ee,M),L(Z)===null&&M===L(ee)&&(Se?(Be(it),it=-1):Se=!0,Ft(Et,ne-be))):(M.sortIndex=ze,R(Z,M),oe||te||(oe=!0,_t||(_t=!0,qe()))),M},y.unstable_shouldYield=ye,y.unstable_wrapCallback=function(M){var k=w;return function(){var ne=w;w=k;try{return M.apply(this,arguments)}finally{w=ne}}}})(Zv)),Zv}var Jv={};var Cb;function jT(){return Cb||(Cb=1,(function(y){process.env.NODE_ENV!=="production"&&(function(){function R(){if(Et=!1,Ve){var M=y.unstable_now();qe=M;var k=!0;try{e:{st=!1,we&&(we=!1,it(ye),ye=-1),Be=!0;var ne=ie;try{t:{for(V(M),Pe=S(te);Pe!==null&&!(Pe.expirationTime>M&&Z());){var be=Pe.callback;if(typeof be=="function"){Pe.callback=null,ie=Pe.priorityLevel;var ze=be(Pe.expirationTime<=M);if(M=y.unstable_now(),typeof ze=="function"){Pe.callback=ze,V(M),k=!0;break t}Pe===S(te)&&U(te),V(M)}else U(te);Pe=S(te)}if(Pe!==null)k=!0;else{var K=S(oe);K!==null&&ee(_,K.startTime-M),k=!1}}break e}finally{Pe=null,ie=ne,Be=!1}k=void 0}}finally{k?_e():Ve=!1}}}function L(M,k){var ne=M.length;M.push(k);e:for(;0<ne;){var be=ne-1>>>1,ze=M[be];if(0<Y(ze,k))M[be]=k,M[ne]=ze,ne=be;else break e}}function S(M){return M.length===0?null:M[0]}function U(M){if(M.length===0)return null;var k=M[0],ne=M.pop();if(ne!==k){M[0]=ne;e:for(var be=0,ze=M.length,K=ze>>>1;be<K;){var de=2*(be+1)-1,pe=M[de],ue=de+1,Ee=M[ue];if(0>Y(pe,ne))ue<ze&&0>Y(Ee,pe)?(M[be]=Ee,M[ue]=ne,be=ue):(M[be]=pe,M[de]=ne,be=de);else if(ue<ze&&0>Y(Ee,ne))M[be]=Ee,M[ue]=ne,be=ue;else break e}}return k}function Y(M,k){var ne=M.sortIndex-k.sortIndex;return ne!==0?ne:M.id-k.id}function V(M){for(var k=S(oe);k!==null;){if(k.callback===null)U(oe);else if(k.startTime<=M)U(oe),k.sortIndex=k.expirationTime,L(te,k);else break;k=S(oe)}}function _(M){if(we=!1,V(M),!st)if(S(te)!==null)st=!0,Ve||(Ve=!0,_e());else{var k=S(oe);k!==null&&ee(_,k.startTime-M)}}function Z(){return Et?!0:!(y.unstable_now()-qe<ht)}function ee(M,k){ye=_t(function(){M(y.unstable_now())},k)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),y.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var se=performance;y.unstable_now=function(){return se.now()}}else{var J=Date,w=J.now();y.unstable_now=function(){return J.now()-w}}var te=[],oe=[],Se=1,Pe=null,ie=3,Be=!1,st=!1,we=!1,Et=!1,_t=typeof setTimeout=="function"?setTimeout:null,it=typeof clearTimeout=="function"?clearTimeout:null,Oe=typeof setImmediate<"u"?setImmediate:null,Ve=!1,ye=-1,ht=5,qe=-1;if(typeof Oe=="function")var _e=function(){Oe(R)};else if(typeof MessageChannel<"u"){var qt=new MessageChannel,Ft=qt.port2;qt.port1.onmessage=R,_e=function(){Ft.postMessage(null)}}else _e=function(){_t(R,0)};y.unstable_IdlePriority=5,y.unstable_ImmediatePriority=1,y.unstable_LowPriority=4,y.unstable_NormalPriority=3,y.unstable_Profiling=null,y.unstable_UserBlockingPriority=2,y.unstable_cancelCallback=function(M){M.callback=null},y.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ht=0<M?Math.floor(1e3/M):5},y.unstable_getCurrentPriorityLevel=function(){return ie},y.unstable_next=function(M){switch(ie){case 1:case 2:case 3:var k=3;break;default:k=ie}var ne=ie;ie=k;try{return M()}finally{ie=ne}},y.unstable_requestPaint=function(){Et=!0},y.unstable_runWithPriority=function(M,k){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var ne=ie;ie=M;try{return k()}finally{ie=ne}},y.unstable_scheduleCallback=function(M,k,ne){var be=y.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?be+ne:be):ne=be,M){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=ne+ze,M={id:Se++,callback:k,priorityLevel:M,startTime:ne,expirationTime:ze,sortIndex:-1},ne>be?(M.sortIndex=ne,L(oe,M),S(te)===null&&M===S(oe)&&(we?(it(ye),ye=-1):we=!0,ee(_,ne-be))):(M.sortIndex=ze,L(te,M),st||Be||(st=!0,Ve||(Ve=!0,_e()))),M},y.unstable_shouldYield=Z,y.unstable_wrapCallback=function(M){var k=ie;return function(){var ne=ie;ie=k;try{return M.apply(this,arguments)}finally{ie=ne}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Jv)),Jv}var Mb;function _b(){return Mb||(Mb=1,process.env.NODE_ENV==="production"?pp.exports=NT():pp.exports=jT()),pp.exports}var Rb;function UT(){if(Rb)return dm;Rb=1;var y=_b(),R=me,L=Ab;function S(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function U(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function Y(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function V(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function _(l){if(l.tag===31){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function Z(l){if(Y(l)!==l)throw Error(S(188))}function ee(l){var n=l.alternate;if(!n){if(n=Y(l),n===null)throw Error(S(188));return n!==l?null:l}for(var u=l,c=n;;){var s=u.return;if(s===null)break;var r=s.alternate;if(r===null){if(c=s.return,c!==null){u=c;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===u)return Z(s),l;if(r===c)return Z(s),n;r=r.sibling}throw Error(S(188))}if(u.return!==c.return)u=s,c=r;else{for(var m=!1,v=s.child;v;){if(v===u){m=!0,u=s,c=r;break}if(v===c){m=!0,c=s,u=r;break}v=v.sibling}if(!m){for(v=r.child;v;){if(v===u){m=!0,u=r,c=s;break}if(v===c){m=!0,c=r,u=s;break}v=v.sibling}if(!m)throw Error(S(189))}}if(u.alternate!==c)throw Error(S(190))}if(u.tag!==3)throw Error(S(188));return u.stateNode.current===u?l:n}function se(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=se(l),n!==null)return n;l=l.sibling}return null}var J=Object.assign,w=Symbol.for("react.element"),te=Symbol.for("react.transitional.element"),oe=Symbol.for("react.portal"),Se=Symbol.for("react.fragment"),Pe=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),Be=Symbol.for("react.consumer"),st=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),Et=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),it=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ve=Symbol.for("react.activity"),ye=Symbol.for("react.memo_cache_sentinel"),ht=Symbol.iterator;function qe(l){return l===null||typeof l!="object"?null:(l=ht&&l[ht]||l["@@iterator"],typeof l=="function"?l:null)}var _e=Symbol.for("react.client.reference");function qt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===_e?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Se:return"Fragment";case ie:return"Profiler";case Pe:return"StrictMode";case Et:return"Suspense";case _t:return"SuspenseList";case Ve:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case oe:return"Portal";case st:return l.displayName||"Context";case Be:return(l._context.displayName||"Context")+".Consumer";case we:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case it:return n=l.displayName||null,n!==null?n:qt(l.type)||"Memo";case Oe:n=l._payload,l=l._init;try{return qt(l(n))}catch{}}return null}var Ft=Array.isArray,M=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=L.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},be=[],ze=-1;function K(l){return{current:l}}function de(l){0>ze||(l.current=be[ze],be[ze]=null,ze--)}function pe(l,n){ze++,be[ze]=l.current,l.current=n}var ue=K(null),Ee=K(null),Al=K(null),ke=K(null);function Jl(l,n){switch(pe(Al,n),pe(Ee,l),pe(ue,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?jg(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=jg(n),l=f0(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}de(ue),pe(ue,l)}function ba(){de(ue),de(Ee),de(Al)}function ic(l){l.memoizedState!==null&&pe(ke,l);var n=ue.current,u=f0(n,l.type);n!==u&&(pe(Ee,l),pe(ue,u))}function le(l){Ee.current===l&&(de(ue),de(Ee)),ke.current===l&&(de(ke),dr._currentValue=ne)}var Ze,Yt;function Gt(l){if(Ze===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);Ze=n&&n[1]||"",Yt=-1<u.stack.indexOf(`
|
|
7
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
8
|
+
`+Ze+l+Yt}var cc=!1;function At(l,n){if(!l||cc)return"";cc=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(n){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(Q){var B=Q}Reflect.construct(l,[],I)}else{try{I.call()}catch(Q){B=Q}l.call(I.prototype)}}else{try{throw Error()}catch(Q){B=Q}(I=l())&&typeof I.catch=="function"&&I.catch(function(){})}}catch(Q){if(Q&&B&&typeof Q.stack=="string")return[Q.stack,B.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=c.DetermineComponentFrameRoot(),m=r[0],v=r[1];if(m&&v){var z=m.split(`
|
|
9
|
+
`),H=v.split(`
|
|
10
|
+
`);for(s=c=0;c<z.length&&!z[c].includes("DetermineComponentFrameRoot");)c++;for(;s<H.length&&!H[s].includes("DetermineComponentFrameRoot");)s++;if(c===z.length||s===H.length)for(c=z.length-1,s=H.length-1;1<=c&&0<=s&&z[c]!==H[s];)s--;for(;1<=c&&0<=s;c--,s--)if(z[c]!==H[s]){if(c!==1||s!==1)do if(c--,s--,0>s||z[c]!==H[s]){var $=`
|
|
11
|
+
`+z[c].replace(" at new "," at ");return l.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",l.displayName)),$}while(1<=c&&0<=s);break}}}finally{cc=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?Gt(u):""}function mm(l,n){switch(l.tag){case 26:case 27:case 5:return Gt(l.type);case 16:return Gt("Lazy");case 13:return l.child!==n&&n!==null?Gt("Suspense Fallback"):Gt("Suspense");case 19:return Gt("SuspenseList");case 0:case 15:return At(l.type,!1);case 11:return At(l.type.render,!1);case 1:return At(l.type,!0);case 31:return Gt("Activity");default:return""}}function wr(l){try{var n="",u=null;do n+=mm(l,u),u=l,l=l.return;while(l);return n}catch(c){return`
|
|
12
|
+
Error generating stack: `+c.message+`
|
|
13
|
+
`+c.stack}}var ym=Object.prototype.hasOwnProperty,Rt=y.unstable_scheduleCallback,pm=y.unstable_cancelCallback,oc=y.unstable_shouldYield,Vr=y.unstable_requestPaint,Gl=y.unstable_now,Fv=y.unstable_getCurrentPriorityLevel,Xr=y.unstable_ImmediatePriority,Qr=y.unstable_UserBlockingPriority,vi=y.unstable_NormalPriority,kv=y.unstable_LowPriority,gm=y.unstable_IdlePriority,gp=y.log,vp=y.unstable_setDisableYieldValue,fc=null,Sa=null;function Vu(l){if(typeof gp=="function"&&vp(l),Sa&&typeof Sa.setStrictMode=="function")try{Sa.setStrictMode(fc,l)}catch{}}var ta=Math.clz32?Math.clz32:vm,bp=Math.log,Sp=Math.LN2;function vm(l){return l>>>=0,l===0?32:31-(bp(l)/Sp|0)|0}var Xu=256,Sn=262144,bi=4194304;function tn(l){var n=l&42;if(n!==0)return n;switch(l&-l){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 l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function ul(l,n,u){var c=l.pendingLanes;if(c===0)return 0;var s=0,r=l.suspendedLanes,m=l.pingedLanes;l=l.warmLanes;var v=c&134217727;return v!==0?(c=v&~r,c!==0?s=tn(c):(m&=v,m!==0?s=tn(m):u||(u=v&~l,u!==0&&(s=tn(u))))):(v=c&~r,v!==0?s=tn(v):m!==0?s=tn(m):u||(u=c&~l,u!==0&&(s=tn(u)))),s===0?0:n!==0&&n!==s&&(n&r)===0&&(r=s&-s,u=n&-n,r>=u||r===32&&(u&4194048)!==0)?n:s}function Tn(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function So(l,n){switch(l){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 sc(){var l=bi;return bi<<=1,(bi&62914560)===0&&(bi=4194304),l}function Pf(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function To(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Lr(l,n,u,c,s,r){var m=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var v=l.entanglements,z=l.expirationTimes,H=l.hiddenUpdates;for(u=m&~u;0<u;){var $=31-ta(u),I=1<<$;v[$]=0,z[$]=-1;var B=H[$];if(B!==null)for(H[$]=null,$=0;$<B.length;$++){var Q=B[$];Q!==null&&(Q.lane&=-536870913)}u&=~I}c!==0&&es(l,c,0),r!==0&&s===0&&l.tag!==0&&(l.suspendedLanes|=r&~(m&~n))}function es(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var c=31-ta(n);l.entangledLanes|=n,l.entanglements[c]=l.entanglements[c]|1073741824|u&261930}function Wn(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var c=31-ta(u),s=1<<c;s&n|l[c]&n&&(l[c]|=n),u&=~s}}function Ra(l,n){var u=n&-n;return u=(u&42)!==0?1:Zr(u),(u&(l.suspendedLanes|n))!==0?0:u}function Zr(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function bm(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Jr(){var l=k.p;return l!==0?l:(l=window.event,l===void 0?32:hr(l.type))}function Sm(l,n){var u=k.p;try{return k.p=l,n()}finally{k.p=u}}var En=Math.random().toString(36).slice(2),zt="__reactFiber$"+En,la="__reactProps$"+En,Si="__reactContainer$"+En,Kr="__reactEvents$"+En,Tm="__reactListeners$"+En,Tp="__reactHandles$"+En,Em="__reactResources$"+En,In="__reactMarker$"+En;function $r(l){delete l[zt],delete l[la],delete l[Kr],delete l[Tm],delete l[Tp]}function rc(l){var n=l[zt];if(n)return n;for(var u=l.parentNode;u;){if(n=u[Si]||u[zt]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=Qn(l);l!==null;){if(u=l[zt])return u;l=Qn(l)}return n}l=u,u=l.parentNode}return null}function dc(l){if(l=l[zt]||l[Si]){var n=l.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return l}return null}function Eo(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(S(33))}function hc(l){var n=l[Em];return n||(n=l[Em]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function gt(l){l[In]=!0}var mc=new Set,Ti={};function Ei(l,n){Pn(l,n),Pn(l+"Capture",n)}function Pn(l,n){for(Ti[l]=n,l=0;l<n.length;l++)mc.add(n[l])}var Fr=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]*$"),kr={},Ao={};function zo(l){return ym.call(Ao,l)?!0:ym.call(kr,l)?!1:Fr.test(l)?Ao[l]=!0:(kr[l]=!0,!1)}function xo(l,n,u){if(zo(n))if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(n);return;case"boolean":var c=n.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){l.removeAttribute(n);return}}l.setAttribute(n,""+u)}}function Wr(l,n,u){if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(n);return}l.setAttribute(n,""+u)}}function Qu(l,n,u,c){if(c===null)l.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(n,u,""+c)}}function Na(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Ir(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Am(l,n,u){var c=Object.getOwnPropertyDescriptor(l.constructor.prototype,n);if(!l.hasOwnProperty(n)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var s=c.get,r=c.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return s.call(this)},set:function(m){u=""+m,r.call(this,m)}}),Object.defineProperty(l,n,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(m){u=""+m},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function Pr(l){if(!l._valueTracker){var n=Ir(l)?"checked":"value";l._valueTracker=Am(l,n,""+l[n])}}function zm(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),c="";return l&&(c=Ir(l)?l.checked?"true":"false":l.value),l=c,l!==u?(n.setValue(l),!0):!1}function ts(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Wv=/[\n"\\]/g;function ja(l){return l.replace(Wv,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function ls(l,n,u,c,s,r,m,v){l.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?l.type=m:l.removeAttribute("type"),n!=null?m==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+Na(n)):l.value!==""+Na(n)&&(l.value=""+Na(n)):m!=="submit"&&m!=="reset"||l.removeAttribute("value"),n!=null?yc(l,m,Na(n)):u!=null?yc(l,m,Na(u)):c!=null&&l.removeAttribute("value"),s==null&&r!=null&&(l.defaultChecked=!!r),s!=null&&(l.checked=s&&typeof s!="function"&&typeof s!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?l.name=""+Na(v):l.removeAttribute("name")}function as(l,n,u,c,s,r,m,v){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(l.type=r),n!=null||u!=null){if(!(r!=="submit"&&r!=="reset"||n!=null)){Pr(l);return}u=u!=null?""+Na(u):"",n=n!=null?""+Na(n):u,v||n===l.value||(l.value=n),l.defaultValue=n}c=c??s,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=v?l.checked:!!c,l.defaultChecked=!!c,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(l.name=m),Pr(l)}function yc(l,n,u){n==="number"&&ts(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Oo(l,n,u,c){if(l=l.options,n){n={};for(var s=0;s<u.length;s++)n["$"+u[s]]=!0;for(u=0;u<l.length;u++)s=n.hasOwnProperty("$"+l[u].value),l[u].selected!==s&&(l[u].selected=s),s&&c&&(l[u].defaultSelected=!0)}else{for(u=""+Na(u),n=null,s=0;s<l.length;s++){if(l[s].value===u){l[s].selected=!0,c&&(l[s].defaultSelected=!0);return}n!==null||l[s].disabled||(n=l[s])}n!==null&&(n.selected=!0)}}function xm(l,n,u){if(n!=null&&(n=""+Na(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+Na(u):""}function Om(l,n,u,c){if(n==null){if(c!=null){if(u!=null)throw Error(S(92));if(Ft(c)){if(1<c.length)throw Error(S(93));c=c[0]}u=c}u==null&&(u=""),n=u}u=Na(n),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c),Pr(l)}function eu(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var Ep=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 Ap(l,n,u){var c=n.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?l.setProperty(n,""):n==="float"?l.cssFloat="":l[n]="":c?l.setProperty(n,u):typeof u!="number"||u===0||Ep.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function zp(l,n,u){if(n!=null&&typeof n!="object")throw Error(S(62));if(l=l.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||n!=null&&n.hasOwnProperty(c)||(c.indexOf("--")===0?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="");for(var s in n)c=n[s],n.hasOwnProperty(s)&&u[s]!==c&&Ap(l,s,c)}else for(var r in n)n.hasOwnProperty(r)&&Ap(l,r,n[r])}function Dm(l){if(l.indexOf("-")===-1)return!1;switch(l){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 Iv=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"]]),ns=/^[\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 ln(l){return ns.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function An(){}var ed=null;function td(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var tu=null,pc=null;function us(l){var n=dc(l);if(n&&(l=n.stateNode)){var u=l[la]||null;e:switch(l=n.stateNode,n.type){case"input":if(ls(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),n=u.name,u.type==="radio"&&n!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+ja(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var c=u[n];if(c!==l&&c.form===l.form){var s=c[la]||null;if(!s)throw Error(S(90));ls(c,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(n=0;n<u.length;n++)c=u[n],c.form===l.form&&zm(c)}break e;case"textarea":xm(l,u.value,u.defaultValue);break e;case"select":n=u.value,n!=null&&Oo(l,!!u.multiple,n,!1)}}}var Do=!1;function Cm(l,n,u){if(Do)return l(n,u);Do=!0;try{var c=l(n);return c}finally{if(Do=!1,(tu!==null||pc!==null)&&(sf(),tu&&(n=tu,l=pc,pc=tu=null,us(n),l)))for(n=0;n<l.length;n++)us(l[n])}}function zl(l,n){var u=l.stateNode;if(u===null)return null;var c=u[la]||null;if(c===null)return null;u=c[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(l=l.type,c=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!c;break e;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(S(231,n,typeof u));return u}var Lu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),is=!1;if(Lu)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){is=!0}}),window.addEventListener("test",Co,Co),window.removeEventListener("test",Co,Co)}catch{is=!1}var Zu=null,Mm=null,ld=null;function _m(){if(ld)return ld;var l,n=Mm,u=n.length,c,s="value"in Zu?Zu.value:Zu.textContent,r=s.length;for(l=0;l<u&&n[l]===s[l];l++);var m=u-l;for(c=1;c<=m&&n[u-c]===s[r-c];c++);return ld=s.slice(l,1<c?1-c:void 0)}function ad(l){var n=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&n===13&&(l=13)):l=n,l===10&&(l=13),32<=l||l===13?l:0}function cs(){return!0}function xp(){return!1}function wl(l){function n(u,c,s,r,m){this._reactName=u,this._targetInst=s,this.type=c,this.nativeEvent=r,this.target=m,this.currentTarget=null;for(var v in l)l.hasOwnProperty(v)&&(u=l[v],this[v]=u?u(r):r[v]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?cs:xp,this.isPropagationStopped=xp,this}return J(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=cs)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=cs)},persist:function(){},isPersistent:cs}),n}var Ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},os=wl(Ai),Mo=J({},Ai,{view:0,detail:0}),Pv=wl(Mo),Rm,Nm,fs,nd=J({},Mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:an,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==fs&&(fs&&l.type==="mousemove"?(Rm=l.screenX-fs.screenX,Nm=l.screenY-fs.screenY):Nm=Rm=0,fs=l),Rm)},movementY:function(l){return"movementY"in l?l.movementY:Nm}}),_o=wl(nd),Op=J({},nd,{dataTransfer:0}),Dp=wl(Op),Cp=J({},Mo,{relatedTarget:0}),ud=wl(Cp),jm=J({},Ai,{animationName:0,elapsedTime:0,pseudoElement:0}),Mp=wl(jm),gc=J({},Ai,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),vc=wl(gc),zn=J({},Ai,{data:0}),_p=wl(zn),Um={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lu={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"},Rp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=Rp[l])?!!n[l]:!1}function an(){return xn}var id=J({},Mo,{key:function(l){if(l.key){var n=Um[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=ad(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?lu[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:an,charCode:function(l){return l.type==="keypress"?ad(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?ad(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),cd=wl(id),Hm=J({},nd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),On=wl(Hm),e1=J({},Mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:an}),Np=wl(e1),jp=J({},Ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),t1=wl(jp),Bm=J({},nd,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),l1=wl(Bm),Up=J({},Ai,{newState:0,oldState:0}),qm=wl(Up),od=[9,13,27,32],Ro=Lu&&"CompositionEvent"in window,bc=null;Lu&&"documentMode"in document&&(bc=document.documentMode);var Kl=Lu&&"TextEvent"in window&&!bc,Ym=Lu&&(!Ro||bc&&8<bc&&11>=bc),ss=" ",zi=!1;function fd(l,n){switch(l){case"keyup":return od.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gm(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Sc=!1;function Hp(l,n){switch(l){case"compositionend":return Gm(n);case"keypress":return n.which!==32?null:(zi=!0,ss);case"textInput":return l=n.data,l===ss&&zi?null:l;default:return null}}function a1(l,n){if(Sc)return l==="compositionend"||!Ro&&fd(l,n)?(l=_m(),ld=Mm=Zu=null,Sc=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Ym&&n.locale!=="ko"?null:n.data;default:return null}}var wm={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 au(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!wm[l.type]:n==="textarea"}function Vm(l,n,u,c){tu?pc?pc.push(c):pc=[c]:tu=c,n=ir(n,"onChange"),0<n.length&&(u=new os("onChange","change",null,u,c),l.push({event:u,listeners:n}))}var Tc=null,xi=null;function Ec(l){_g(l,0)}function No(l){var n=Eo(l);if(zm(n))return l}function Xm(l,n){if(l==="change")return n}var sd=!1;if(Lu){var aa;if(Lu){var Dn="oninput"in document;if(!Dn){var Qm=document.createElement("div");Qm.setAttribute("oninput","return;"),Dn=typeof Qm.oninput=="function"}aa=Dn}else aa=!1;sd=aa&&(!document.documentMode||9<document.documentMode)}function rd(){Tc&&(Tc.detachEvent("onpropertychange",dd),xi=Tc=null)}function dd(l){if(l.propertyName==="value"&&No(xi)){var n=[];Vm(n,xi,l,td(l)),Cm(Ec,n)}}function Bp(l,n,u){l==="focusin"?(rd(),Tc=n,xi=u,Tc.attachEvent("onpropertychange",dd)):l==="focusout"&&rd()}function qp(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return No(xi)}function Oi(l,n){if(l==="click")return No(n)}function Ac(l,n){if(l==="input"||l==="change")return No(n)}function Yp(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var $l=typeof Object.is=="function"?Object.is:Yp;function nn(l,n){if($l(l,n))return!0;if(typeof l!="object"||l===null||typeof n!="object"||n===null)return!1;var u=Object.keys(l),c=Object.keys(n);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var s=u[c];if(!ym.call(n,s)||!$l(l[s],n[s]))return!1}return!0}function Lm(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Zm(l,n){var u=Lm(l);l=0;for(var c;u;){if(u.nodeType===3){if(c=l+u.textContent.length,l<=n&&c>=n)return{node:u,offset:n-l};l=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Lm(u)}}function zc(l,n){return l&&n?l===n?!0:l&&l.nodeType===3?!1:n&&n.nodeType===3?zc(l,n.parentNode):"contains"in l?l.contains(n):l.compareDocumentPosition?!!(l.compareDocumentPosition(n)&16):!1:!1}function Di(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var n=ts(l.document);n instanceof l.HTMLIFrameElement;){try{var u=typeof n.contentWindow.location.href=="string"}catch{u=!1}if(u)l=n.contentWindow;else break;n=ts(l.document)}return n}function rs(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n&&(n==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||n==="textarea"||l.contentEditable==="true")}var ds=Lu&&"documentMode"in document&&11>=document.documentMode,Ci=null,jo=null,un=null,Cn=!1;function hd(l,n,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Cn||Ci==null||Ci!==ts(c)||(c=Ci,"selectionStart"in c&&rs(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),un&&nn(un,c)||(un=c,c=ir(jo,"onSelect"),0<c.length&&(n=new os("onSelect","select",null,n,u),l.push({event:n,listeners:c}),n.target=Ci)))}function Ju(l,n){var u={};return u[l.toLowerCase()]=n.toLowerCase(),u["Webkit"+l]="webkit"+n,u["Moz"+l]="moz"+n,u}var Mn={animationend:Ju("Animation","AnimationEnd"),animationiteration:Ju("Animation","AnimationIteration"),animationstart:Ju("Animation","AnimationStart"),transitionrun:Ju("Transition","TransitionRun"),transitionstart:Ju("Transition","TransitionStart"),transitioncancel:Ju("Transition","TransitionCancel"),transitionend:Ju("Transition","TransitionEnd")},Uo={},Mi={};Lu&&(Mi=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);function mt(l){if(Uo[l])return Uo[l];if(!Mn[l])return l;var n=Mn[l],u;for(u in n)if(n.hasOwnProperty(u)&&u in Mi)return Uo[l]=n[u];return l}var hs=mt("animationend"),Jm=mt("animationiteration"),md=mt("animationstart"),xc=mt("transitionrun"),ms=mt("transitionstart"),nu=mt("transitioncancel"),Gp=mt("transitionend"),uu=new Map,Ho="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(" ");Ho.push("scrollEnd");function na(l,n){uu.set(l,n),Ei(n,[l])}var Oc=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},Xt=[],xl=0,cn=0;function Ua(){for(var l=xl,n=cn=xl=0;n<l;){var u=Xt[n];Xt[n++]=null;var c=Xt[n];Xt[n++]=null;var s=Xt[n];Xt[n++]=null;var r=Xt[n];if(Xt[n++]=null,c!==null&&s!==null){var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}r!==0&&yd(u,s,r)}}function Ha(l,n,u,c){Xt[xl++]=l,Xt[xl++]=n,Xt[xl++]=u,Xt[xl++]=c,cn|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function on(l,n,u,c){return Ha(l,n,u,c),ys(l)}function Ku(l,n){return Ha(l,null,null,n),ys(l)}function yd(l,n,u){l.lanes|=u;var c=l.alternate;c!==null&&(c.lanes|=u);for(var s=!1,r=l.return;r!==null;)r.childLanes|=u,c=r.alternate,c!==null&&(c.childLanes|=u),r.tag===22&&(l=r.stateNode,l===null||l._visibility&1||(s=!0)),l=r,r=r.return;return l.tag===3?(r=l.stateNode,s&&n!==null&&(s=31-ta(u),l=r.hiddenUpdates,c=l[s],c===null?l[s]=[n]:c.push(n),n.lane=u|536870912),r):null}function ys(l){if(50<ff)throw ff=0,Ws=null,Error(S(185));for(var n=l.return;n!==null;)l=n,n=l.return;return l.tag===3?l.stateNode:null}var ua={};function wp(l,n,u,c){this.tag=l,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function el(l,n,u,c){return new wp(l,n,u,c)}function Dc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function $u(l,n){var u=l.alternate;return u===null?(u=el(l.tag,n,l.key,l.mode),u.elementType=l.elementType,u.type=l.type,u.stateNode=l.stateNode,u.alternate=l,l.alternate=u):(u.pendingProps=n,u.type=l.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=l.flags&65011712,u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,n=l.dependencies,u.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},u.sibling=l.sibling,u.index=l.index,u.ref=l.ref,u.refCleanup=l.refCleanup,u}function Km(l,n){l.flags&=65011714;var u=l.alternate;return u===null?(l.childLanes=0,l.lanes=n,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,n=u.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l}function pd(l,n,u,c,s,r){var m=0;if(c=l,typeof l=="function")Dc(l)&&(m=1);else if(typeof l=="string")m=p0(l,u,ue.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case Ve:return l=el(31,u,n,s),l.elementType=Ve,l.lanes=r,l;case Se:return Fu(u.children,s,r,n);case Pe:m=8,s|=24;break;case ie:return l=el(12,u,n,s|2),l.elementType=ie,l.lanes=r,l;case Et:return l=el(13,u,n,s),l.elementType=Et,l.lanes=r,l;case _t:return l=el(19,u,n,s),l.elementType=_t,l.lanes=r,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case st:m=10;break e;case Be:m=9;break e;case we:m=11;break e;case it:m=14;break e;case Oe:m=16,c=null;break e}m=29,u=Error(S(130,l===null?"null":typeof l,"")),c=null}return n=el(m,u,n,s),n.elementType=l,n.type=c,n.lanes=r,n}function Fu(l,n,u,c){return l=el(7,l,c,n),l.lanes=u,l}function Bo(l,n,u){return l=el(6,l,null,n),l.lanes=u,l}function $m(l){var n=el(18,null,null,0);return n.stateNode=l,n}function gd(l,n,u){return n=el(4,l.children!==null?l.children:[],l.key,n),n.lanes=u,n.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},n}var Fm=new WeakMap;function Ba(l,n){if(typeof l=="object"&&l!==null){var u=Fm.get(l);return u!==void 0?u:(n={value:l,source:n,stack:wr(n)},Fm.set(l,n),n)}return{value:l,source:n,stack:wr(n)}}var qa=[],Cc=0,ps=null,il=0,Ta=[],ia=0,_n=null,Ea=1,Rn="";function fn(l,n){qa[Cc++]=il,qa[Cc++]=ps,ps=l,il=n}function km(l,n,u){Ta[ia++]=Ea,Ta[ia++]=Rn,Ta[ia++]=_n,_n=l;var c=Ea;l=Rn;var s=32-ta(c)-1;c&=~(1<<s),u+=1;var r=32-ta(n)+s;if(30<r){var m=s-s%5;r=(c&(1<<m)-1).toString(32),c>>=m,s-=m,Ea=1<<32-ta(n)+s|u<<s|c,Rn=r+l}else Ea=1<<r|u<<s|c,Rn=l}function qo(l){l.return!==null&&(fn(l,1),km(l,1,0))}function vd(l){for(;l===ps;)ps=qa[--Cc],qa[Cc]=null,il=qa[--Cc],qa[Cc]=null;for(;l===_n;)_n=Ta[--ia],Ta[ia]=null,Rn=Ta[--ia],Ta[ia]=null,Ea=Ta[--ia],Ta[ia]=null}function gs(l,n){Ta[ia++]=Ea,Ta[ia++]=Rn,Ta[ia++]=_n,Ea=n.id,Rn=n.overflow,_n=l}var Ol=null,Nt=null,tt=!1,iu=null,pl=!1,cu=Error(S(519));function sn(l){var n=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Go(Ba(n,l)),cu}function vs(l){var n=l.stateNode,u=l.type,c=l.memoizedProps;switch(n[zt]=l,n[la]=c,u){case"dialog":et("cancel",n),et("close",n);break;case"iframe":case"object":case"embed":et("load",n);break;case"video":case"audio":for(u=0;u<yf.length;u++)et(yf[u],n);break;case"source":et("error",n);break;case"img":case"image":case"link":et("error",n),et("load",n);break;case"details":et("toggle",n);break;case"input":et("invalid",n),as(n,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":et("invalid",n);break;case"textarea":et("invalid",n),Om(n,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||n.textContent===""+u||c.suppressHydrationWarning===!0||u0(n.textContent,u)?(c.popover!=null&&(et("beforetoggle",n),et("toggle",n)),c.onScroll!=null&&et("scroll",n),c.onScrollEnd!=null&&et("scrollend",n),c.onClick!=null&&(n.onclick=An),n=!0):n=!1,n||sn(l,!0)}function Yo(l){for(Ol=l.return;Ol;)switch(Ol.tag){case 5:case 31:case 13:pl=!1;return;case 27:case 3:pl=!0;return;default:Ol=Ol.return}}function ou(l){if(l!==Ol)return!1;if(!tt)return Yo(l),tt=!0,!1;var n=l.tag,u;if((u=n!==3&&n!==27)&&((u=n===5)&&(u=l.type,u=!(u!=="form"&&u!=="button")||gf(l.type,l.memoizedProps)),u=!u),u&&Nt&&sn(l),Yo(l),n===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));Nt=Th(l)}else if(n===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));Nt=Th(l)}else n===27?(n=Nt,Xn(l.type)?(l=fr,fr=null,Nt=l):Nt=n):Nt=Ol?pa(l.stateNode.nextSibling):null;return!0}function _i(){Nt=Ol=null,tt=!1}function Wm(){var l=iu;return l!==null&&(It===null?It=l:It.push.apply(It,l),iu=null),l}function Go(l){iu===null?iu=[l]:iu.push(l)}var bd=K(null),ku=null,Nn=null;function ca(l,n,u){pe(bd,n._currentValue),n._currentValue=u}function jn(l){l._currentValue=bd.current,de(bd)}function Sd(l,n,u){for(;l!==null;){var c=l.alternate;if((l.childLanes&n)!==n?(l.childLanes|=n,c!==null&&(c.childLanes|=n)):c!==null&&(c.childLanes&n)!==n&&(c.childLanes|=n),l===u)break;l=l.return}}function fu(l,n,u,c){var s=l.child;for(s!==null&&(s.return=l);s!==null;){var r=s.dependencies;if(r!==null){var m=s.child;r=r.firstContext;e:for(;r!==null;){var v=r;r=s;for(var z=0;z<n.length;z++)if(v.context===n[z]){r.lanes|=u,v=r.alternate,v!==null&&(v.lanes|=u),Sd(r.return,u,l),c||(m=null);break e}r=v.next}}else if(s.tag===18){if(m=s.return,m===null)throw Error(S(341));m.lanes|=u,r=m.alternate,r!==null&&(r.lanes|=u),Sd(m,u,l),m=null}else m=s.child;if(m!==null)m.return=s;else for(m=s;m!==null;){if(m===l){m=null;break}if(s=m.sibling,s!==null){s.return=m.return,m=s;break}m=m.return}s=m}}function Dl(l,n,u,c){l=null;for(var s=n,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var m=s.alternate;if(m===null)throw Error(S(387));if(m=m.memoizedProps,m!==null){var v=s.type;$l(s.pendingProps.value,m.value)||(l!==null?l.push(v):l=[v])}}else if(s===ke.current){if(m=s.alternate,m===null)throw Error(S(387));m.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(l!==null?l.push(dr):l=[dr])}s=s.return}l!==null&&fu(n,l,u,c),n.flags|=262144}function Mc(l){for(l=l.firstContext;l!==null;){if(!$l(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function je(l){ku=l,Nn=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function P(l){return bs(ku,l)}function Wu(l,n){return ku===null&&je(l),bs(l,n)}function bs(l,n){var u=n._currentValue;if(n={context:n,memoizedValue:u,next:null},Nn===null){if(l===null)throw Error(S(308));Nn=n,l.dependencies={lanes:0,firstContext:n},l.flags|=524288}else Nn=Nn.next=n;return u}var tl=typeof AbortController<"u"?AbortController:function(){var l=[],n=this.signal={aborted:!1,addEventListener:function(u,c){l.push(c)}};this.abort=function(){n.aborted=!0,l.forEach(function(u){return u()})}},Im=y.unstable_scheduleCallback,Pm=y.unstable_NormalPriority,cl={$$typeof:st,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ss(){return{controller:new tl,data:new Map,refCount:0}}function Ts(l){l.refCount--,l.refCount===0&&Im(Pm,function(){l.controller.abort()})}var _c=null,Es=0,Ri=0,dl=null;function vt(l,n){if(_c===null){var u=_c=[];Es=0,Ri=hh(),dl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Es++,n.then(As,As),n}function As(){if(--Es===0&&_c!==null){dl!==null&&(dl.status="fulfilled");var l=_c;_c=null,Ri=0,dl=null;for(var n=0;n<l.length;n++)(0,l[n])()}}function zs(l,n){var u=[],c={status:"pending",value:null,reason:null,then:function(s){u.push(s)}};return l.then(function(){c.status="fulfilled",c.value=n;for(var s=0;s<u.length;s++)(0,u[s])(n)},function(s){for(c.status="rejected",c.reason=s,s=0;s<u.length;s++)(0,u[s])(void 0)}),c}var Iu=M.S;M.S=function(l,n){Jy=Gl(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&vt(l,n),Iu!==null&&Iu(l,n)};var Ya=K(null);function Ga(){var l=Ya.current;return l!==null?l:Ot.pooledCache}function wo(l,n){n===null?pe(Ya,Ya.current):pe(Ya,n.pool)}function Rc(){var l=Ga();return l===null?null:{parent:cl._currentValue,pool:l}}var Ni=Error(S(460)),Nc=Error(S(474)),Vo=Error(S(542)),jc={then:function(){}};function ey(l){return l=l.status,l==="fulfilled"||l==="rejected"}function ty(l,n,u){switch(u=l[u],u===void 0?l.push(n):u!==n&&(n.then(An,An),n=u),n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,Td(l),l;default:if(typeof n.status=="string")n.then(An,An);else{if(l=Ot,l!==null&&100<l.shellSuspendCounter)throw Error(S(482));l=n,l.status="pending",l.then(function(c){if(n.status==="pending"){var s=n;s.status="fulfilled",s.value=c}},function(c){if(n.status==="pending"){var s=n;s.status="rejected",s.reason=c}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,Td(l),l}throw Ui=n,Ni}}function ji(l){try{var n=l._init;return n(l._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Ui=u,Ni):u}}var Ui=null;function ly(){if(Ui===null)throw Error(S(459));var l=Ui;return Ui=null,l}function Td(l){if(l===Ni||l===Vo)throw Error(S(483))}var Hi=null,Uc=0;function xs(l){var n=Uc;return Uc+=1,Hi===null&&(Hi=[]),ty(Hi,l,n)}function Xo(l,n){n=n.props.ref,l.ref=n!==void 0?n:null}function Os(l,n){throw n.$$typeof===w?Error(S(525)):(l=Object.prototype.toString.call(n),Error(S(31,l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)))}function Vp(l){function n(N,D){if(l){var j=N.deletions;j===null?(N.deletions=[D],N.flags|=16):j.push(D)}}function u(N,D){if(!l)return null;for(;D!==null;)n(N,D),D=D.sibling;return null}function c(N){for(var D=new Map;N!==null;)N.key!==null?D.set(N.key,N):D.set(N.index,N),N=N.sibling;return D}function s(N,D){return N=$u(N,D),N.index=0,N.sibling=null,N}function r(N,D,j){return N.index=j,l?(j=N.alternate,j!==null?(j=j.index,j<D?(N.flags|=67108866,D):j):(N.flags|=67108866,D)):(N.flags|=1048576,D)}function m(N){return l&&N.alternate===null&&(N.flags|=67108866),N}function v(N,D,j,W){return D===null||D.tag!==6?(D=Bo(j,N.mode,W),D.return=N,D):(D=s(D,j),D.return=N,D)}function z(N,D,j,W){var Te=j.type;return Te===Se?$(N,D,j.props.children,W,j.key):D!==null&&(D.elementType===Te||typeof Te=="object"&&Te!==null&&Te.$$typeof===Oe&&ji(Te)===D.type)?(D=s(D,j.props),Xo(D,j),D.return=N,D):(D=pd(j.type,j.key,j.props,null,N.mode,W),Xo(D,j),D.return=N,D)}function H(N,D,j,W){return D===null||D.tag!==4||D.stateNode.containerInfo!==j.containerInfo||D.stateNode.implementation!==j.implementation?(D=gd(j,N.mode,W),D.return=N,D):(D=s(D,j.children||[]),D.return=N,D)}function $(N,D,j,W,Te){return D===null||D.tag!==7?(D=Fu(j,N.mode,W,Te),D.return=N,D):(D=s(D,j),D.return=N,D)}function I(N,D,j){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=Bo(""+D,N.mode,j),D.return=N,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case te:return j=pd(D.type,D.key,D.props,null,N.mode,j),Xo(j,D),j.return=N,j;case oe:return D=gd(D,N.mode,j),D.return=N,D;case Oe:return D=ji(D),I(N,D,j)}if(Ft(D)||qe(D))return D=Fu(D,N.mode,j,null),D.return=N,D;if(typeof D.then=="function")return I(N,xs(D),j);if(D.$$typeof===st)return I(N,Wu(N,D),j);Os(N,D)}return null}function B(N,D,j,W){var Te=D!==null?D.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return Te!==null?null:v(N,D,""+j,W);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case te:return j.key===Te?z(N,D,j,W):null;case oe:return j.key===Te?H(N,D,j,W):null;case Oe:return j=ji(j),B(N,D,j,W)}if(Ft(j)||qe(j))return Te!==null?null:$(N,D,j,W,null);if(typeof j.then=="function")return B(N,D,xs(j),W);if(j.$$typeof===st)return B(N,D,Wu(N,j),W);Os(N,j)}return null}function Q(N,D,j,W,Te){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return N=N.get(j)||null,v(D,N,""+W,Te);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case te:return N=N.get(W.key===null?j:W.key)||null,z(D,N,W,Te);case oe:return N=N.get(W.key===null?j:W.key)||null,H(D,N,W,Te);case Oe:return W=ji(W),Q(N,D,j,W,Te)}if(Ft(W)||qe(W))return N=N.get(j)||null,$(D,N,W,Te,null);if(typeof W.then=="function")return Q(N,D,j,xs(W),Te);if(W.$$typeof===st)return Q(N,D,j,Wu(D,W),Te);Os(D,W)}return null}function he(N,D,j,W){for(var Te=null,ot=null,ge=D,Ye=D=0,Qe=null;ge!==null&&Ye<j.length;Ye++){ge.index>Ye?(Qe=ge,ge=null):Qe=ge.sibling;var dt=B(N,ge,j[Ye],W);if(dt===null){ge===null&&(ge=Qe);break}l&&ge&&dt.alternate===null&&n(N,ge),D=r(dt,D,Ye),ot===null?Te=dt:ot.sibling=dt,ot=dt,ge=Qe}if(Ye===j.length)return u(N,ge),tt&&fn(N,Ye),Te;if(ge===null){for(;Ye<j.length;Ye++)ge=I(N,j[Ye],W),ge!==null&&(D=r(ge,D,Ye),ot===null?Te=ge:ot.sibling=ge,ot=ge);return tt&&fn(N,Ye),Te}for(ge=c(ge);Ye<j.length;Ye++)Qe=Q(ge,N,Ye,j[Ye],W),Qe!==null&&(l&&Qe.alternate!==null&&ge.delete(Qe.key===null?Ye:Qe.key),D=r(Qe,D,Ye),ot===null?Te=Qe:ot.sibling=Qe,ot=Qe);return l&&ge.forEach(function(Zn){return n(N,Zn)}),tt&&fn(N,Ye),Te}function De(N,D,j,W){if(j==null)throw Error(S(151));for(var Te=null,ot=null,ge=D,Ye=D=0,Qe=null,dt=j.next();ge!==null&&!dt.done;Ye++,dt=j.next()){ge.index>Ye?(Qe=ge,ge=null):Qe=ge.sibling;var Zn=B(N,ge,dt.value,W);if(Zn===null){ge===null&&(ge=Qe);break}l&&ge&&Zn.alternate===null&&n(N,ge),D=r(Zn,D,Ye),ot===null?Te=Zn:ot.sibling=Zn,ot=Zn,ge=Qe}if(dt.done)return u(N,ge),tt&&fn(N,Ye),Te;if(ge===null){for(;!dt.done;Ye++,dt=j.next())dt=I(N,dt.value,W),dt!==null&&(D=r(dt,D,Ye),ot===null?Te=dt:ot.sibling=dt,ot=dt);return tt&&fn(N,Ye),Te}for(ge=c(ge);!dt.done;Ye++,dt=j.next())dt=Q(ge,N,Ye,dt.value,W),dt!==null&&(l&&dt.alternate!==null&&ge.delete(dt.key===null?Ye:dt.key),D=r(dt,D,Ye),ot===null?Te=dt:ot.sibling=dt,ot=dt);return l&&ge.forEach(function(Zg){return n(N,Zg)}),tt&&fn(N,Ye),Te}function Ct(N,D,j,W){if(typeof j=="object"&&j!==null&&j.type===Se&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case te:e:{for(var Te=j.key;D!==null;){if(D.key===Te){if(Te=j.type,Te===Se){if(D.tag===7){u(N,D.sibling),W=s(D,j.props.children),W.return=N,N=W;break e}}else if(D.elementType===Te||typeof Te=="object"&&Te!==null&&Te.$$typeof===Oe&&ji(Te)===D.type){u(N,D.sibling),W=s(D,j.props),Xo(W,j),W.return=N,N=W;break e}u(N,D);break}else n(N,D);D=D.sibling}j.type===Se?(W=Fu(j.props.children,N.mode,W,j.key),W.return=N,N=W):(W=pd(j.type,j.key,j.props,null,N.mode,W),Xo(W,j),W.return=N,N=W)}return m(N);case oe:e:{for(Te=j.key;D!==null;){if(D.key===Te)if(D.tag===4&&D.stateNode.containerInfo===j.containerInfo&&D.stateNode.implementation===j.implementation){u(N,D.sibling),W=s(D,j.children||[]),W.return=N,N=W;break e}else{u(N,D);break}else n(N,D);D=D.sibling}W=gd(j,N.mode,W),W.return=N,N=W}return m(N);case Oe:return j=ji(j),Ct(N,D,j,W)}if(Ft(j))return he(N,D,j,W);if(qe(j)){if(Te=qe(j),typeof Te!="function")throw Error(S(150));return j=Te.call(j),De(N,D,j,W)}if(typeof j.then=="function")return Ct(N,D,xs(j),W);if(j.$$typeof===st)return Ct(N,D,Wu(N,j),W);Os(N,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,D!==null&&D.tag===6?(u(N,D.sibling),W=s(D,j),W.return=N,N=W):(u(N,D),W=Bo(j,N.mode,W),W.return=N,N=W),m(N)):u(N,D)}return function(N,D,j,W){try{Uc=0;var Te=Ct(N,D,j,W);return Hi=null,Te}catch(ge){if(ge===Ni||ge===Vo)throw ge;var ot=el(29,ge,null,N.mode);return ot.lanes=W,ot.return=N,ot}}}var Bi=Vp(!0),ay=Vp(!1),Pu=!1;function Ds(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ed(l,n){l=l.updateQueue,n.updateQueue===l&&(n.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function ei(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function wa(l,n,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(rt&2)!==0){var s=c.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),c.pending=n,n=ys(l),yd(l,null,u),n}return Ha(l,c,n,u),ys(l)}function qi(l,n,u){if(n=n.updateQueue,n!==null&&(n=n.shared,(u&4194048)!==0)){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,Wn(l,u)}}function Ad(l,n){var u=l.updateQueue,c=l.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var s=null,r=null;if(u=u.firstBaseUpdate,u!==null){do{var m={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};r===null?s=r=m:r=r.next=m,u=u.next}while(u!==null);r===null?s=r=n:r=r.next=n}else s=r=n;u={baseState:c.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:c.shared,callbacks:c.callbacks},l.updateQueue=u;return}l=u.lastBaseUpdate,l===null?u.firstBaseUpdate=n:l.next=n,u.lastBaseUpdate=n}var ny=!1;function Yi(){if(ny){var l=dl;if(l!==null)throw l}}function su(l,n,u,c){ny=!1;var s=l.updateQueue;Pu=!1;var r=s.firstBaseUpdate,m=s.lastBaseUpdate,v=s.shared.pending;if(v!==null){s.shared.pending=null;var z=v,H=z.next;z.next=null,m===null?r=H:m.next=H,m=z;var $=l.alternate;$!==null&&($=$.updateQueue,v=$.lastBaseUpdate,v!==m&&(v===null?$.firstBaseUpdate=H:v.next=H,$.lastBaseUpdate=z))}if(r!==null){var I=s.baseState;m=0,$=H=z=null,v=r;do{var B=v.lane&-536870913,Q=B!==v.lane;if(Q?(We&B)===B:(c&B)===B){B!==0&&B===Ri&&(ny=!0),$!==null&&($=$.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var he=l,De=v;B=n;var Ct=u;switch(De.tag){case 1:if(he=De.payload,typeof he=="function"){I=he.call(Ct,I,B);break e}I=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=De.payload,B=typeof he=="function"?he.call(Ct,I,B):he,B==null)break e;I=J({},I,B);break e;case 2:Pu=!0}}B=v.callback,B!==null&&(l.flags|=64,Q&&(l.flags|=8192),Q=s.callbacks,Q===null?s.callbacks=[B]:Q.push(B))}else Q={lane:B,tag:v.tag,payload:v.payload,callback:v.callback,next:null},$===null?(H=$=Q,z=I):$=$.next=Q,m|=B;if(v=v.next,v===null){if(v=s.shared.pending,v===null)break;Q=v,v=Q.next,Q.next=null,s.lastBaseUpdate=Q,s.shared.pending=null}}while(!0);$===null&&(z=I),s.baseState=z,s.firstBaseUpdate=H,s.lastBaseUpdate=$,r===null&&(s.shared.lanes=0),wn|=m,l.lanes=m,l.memoizedState=I}}function zd(l,n){if(typeof l!="function")throw Error(S(191,l));l.call(n)}function Gi(l,n){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)zd(u[l],n)}var gl=K(null),Hc=K(0);function Xp(l,n){l=Gn,pe(Hc,l),pe(gl,n),Gn=l|n.baseLanes}function Cs(){pe(Hc,Gn),pe(gl,gl.current)}function Qo(){Gn=Hc.current,de(gl),de(Hc)}var oa=K(null),Va=null;function ru(l){var n=l.alternate;pe(Qt,Qt.current&1),pe(oa,l),Va===null&&(n===null||gl.current!==null||n.memoizedState!==null)&&(Va=l)}function Lo(l){pe(Qt,Qt.current),pe(oa,l),Va===null&&(Va=l)}function xd(l){l.tag===22?(pe(Qt,Qt.current),pe(oa,l),Va===null&&(Va=l)):Un()}function Un(){pe(Qt,Qt.current),pe(oa,oa.current)}function fa(l){de(oa),Va===l&&(Va=null),de(Qt)}var Qt=K(0);function Zo(l){for(var n=l;n!==null;){if(n.tag===13){var u=n.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||mn(u)||Wi(u)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var du=0,Ge=null,bt=null,ol=null,Bc=!1,qc=!1,ti=!1,Ms=0,Jo=0,wi=null,Qp=0;function kt(){throw Error(S(321))}function li(l,n){if(n===null)return!1;for(var u=0;u<n.length&&u<l.length;u++)if(!$l(l[u],n[u]))return!1;return!0}function _s(l,n,u,c,s,r){return du=r,Ge=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,M.H=l===null||l.memoizedState===null?Wp:Xd,ti=!1,r=u(c,s),ti=!1,qc&&(r=Lp(n,u,c,s)),Od(l),r}function Od(l){M.H=Gs;var n=bt!==null&&bt.next!==null;if(du=0,ol=bt=Ge=null,Bc=!1,Jo=0,wi=null,n)throw Error(S(300));l===null||fl||(l=l.dependencies,l!==null&&Mc(l)&&(fl=!0))}function Lp(l,n,u,c){Ge=l;var s=0;do{if(qc&&(wi=null),Jo=0,qc=!1,25<=s)throw Error(S(301));if(s+=1,ol=bt=null,l.updateQueue!=null){var r=l.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}M.H=Ip,r=n(u,c)}while(qc);return r}function n1(){var l=M.H,n=l.useState()[0];return n=typeof n.then=="function"?Gc(n):n,l=l.useState()[0],(bt!==null?bt.memoizedState:null)!==l&&(Ge.flags|=1024),n}function Dd(){var l=Ms!==0;return Ms=0,l}function Yc(l,n,u){n.updateQueue=l.updateQueue,n.flags&=-2053,l.lanes&=~u}function Rs(l){if(Bc){for(l=l.memoizedState;l!==null;){var n=l.queue;n!==null&&(n.pending=null),l=l.next}Bc=!1}du=0,ol=bt=Ge=null,qc=!1,Jo=Ms=0,wi=null}function Cl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ol===null?Ge.memoizedState=ol=l:ol=ol.next=l,ol}function ll(){if(bt===null){var l=Ge.alternate;l=l!==null?l.memoizedState:null}else l=bt.next;var n=ol===null?Ge.memoizedState:ol.next;if(n!==null)ol=n,bt=l;else{if(l===null)throw Ge.alternate===null?Error(S(467)):Error(S(310));bt=l,l={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},ol===null?Ge.memoizedState=ol=l:ol=ol.next=l}return ol}function Ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gc(l){var n=Jo;return Jo+=1,wi===null&&(wi=[]),l=ty(wi,l,n),n=Ge,(ol===null?n.memoizedState:ol.next)===null&&(n=n.alternate,M.H=n===null||n.memoizedState===null?Wp:Xd),l}function Ko(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Gc(l);if(l.$$typeof===st)return P(l)}throw Error(S(438,String(l)))}function Cd(l){var n=null,u=Ge.updateQueue;if(u!==null&&(n=u.memoCache),n==null){var c=Ge.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(n={data:c.data.map(function(s){return s.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),u===null&&(u=Ns(),Ge.updateQueue=u),u.memoCache=n,u=n.data[n.index],u===void 0)for(u=n.data[n.index]=Array(l),c=0;c<l;c++)u[c]=ye;return n.index++,u}function hu(l,n){return typeof n=="function"?n(l):n}function mu(l){var n=ll();return Md(n,bt,l)}function Md(l,n,u){var c=l.queue;if(c===null)throw Error(S(311));c.lastRenderedReducer=u;var s=l.baseQueue,r=c.pending;if(r!==null){if(s!==null){var m=s.next;s.next=r.next,r.next=m}n.baseQueue=s=r,c.pending=null}if(r=l.baseState,s===null)l.memoizedState=r;else{n=s.next;var v=m=null,z=null,H=n,$=!1;do{var I=H.lane&-536870913;if(I!==H.lane?(We&I)===I:(du&I)===I){var B=H.revertLane;if(B===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),I===Ri&&($=!0);else if((du&B)===B){H=H.next,B===Ri&&($=!0);continue}else I={lane:0,revertLane:H.revertLane,gesture:null,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},z===null?(v=z=I,m=r):z=z.next=I,Ge.lanes|=B,wn|=B;I=H.action,ti&&u(r,I),r=H.hasEagerState?H.eagerState:u(r,I)}else B={lane:I,revertLane:H.revertLane,gesture:H.gesture,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},z===null?(v=z=B,m=r):z=z.next=B,Ge.lanes|=I,wn|=I;H=H.next}while(H!==null&&H!==n);if(z===null?m=r:z.next=v,!$l(r,l.memoizedState)&&(fl=!0,$&&(u=dl,u!==null)))throw u;l.memoizedState=r,l.baseState=m,l.baseQueue=z,c.lastRenderedState=r}return s===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function _d(l){var n=ll(),u=n.queue;if(u===null)throw Error(S(311));u.lastRenderedReducer=l;var c=u.dispatch,s=u.pending,r=n.memoizedState;if(s!==null){u.pending=null;var m=s=s.next;do r=l(r,m.action),m=m.next;while(m!==s);$l(r,n.memoizedState)||(fl=!0),n.memoizedState=r,n.baseQueue===null&&(n.baseState=r),u.lastRenderedState=r}return[r,c]}function uy(l,n,u){var c=Ge,s=ll(),r=tt;if(r){if(u===void 0)throw Error(S(407));u=u()}else u=n();var m=!$l((bt||s).memoizedState,u);if(m&&(s.memoizedState=u,fl=!0),s=s.queue,Hd(Rd.bind(null,c,s,l),[l]),s.getSnapshot!==n||m||ol!==null&&ol.memoizedState.tag&1){if(c.flags|=2048,Vc(9,{destroy:void 0},iy.bind(null,c,s,u,n),null),Ot===null)throw Error(S(349));r||(du&127)!==0||js(c,n,u)}return u}function js(l,n,u){l.flags|=16384,l={getSnapshot:n,value:u},n=Ge.updateQueue,n===null?(n=Ns(),Ge.updateQueue=n,n.stores=[l]):(u=n.stores,u===null?n.stores=[l]:u.push(l))}function iy(l,n,u,c){n.value=u,n.getSnapshot=c,Nd(n)&&jd(l)}function Rd(l,n,u){return u(function(){Nd(n)&&jd(l)})}function Nd(l){var n=l.getSnapshot;l=l.value;try{var u=n();return!$l(l,u)}catch{return!0}}function jd(l){var n=Ku(l,2);n!==null&&ya(n,l,2)}function cy(l){var n=Cl();if(typeof l=="function"){var u=l;if(l=u(),ti){Vu(!0);try{u()}finally{Vu(!1)}}}return n.memoizedState=n.baseState=l,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hu,lastRenderedState:l},n}function Ml(l,n,u,c){return l.baseState=u,Md(l,bt,typeof c=="function"?c:hu)}function Zp(l,n,u,c,s){if(Ys(l))throw Error(S(485));if(l=n.action,l!==null){var r={payload:s,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){r.listeners.push(m)}};M.T!==null?u(!0):r.isTransition=!1,c(r),u=n.pending,u===null?(r.next=n.pending=r,oy(n,r)):(r.next=u.next,n.pending=u.next=r)}}function oy(l,n){var u=n.action,c=n.payload,s=l.state;if(n.isTransition){var r=M.T,m={};M.T=m;try{var v=u(s,c),z=M.S;z!==null&&z(m,v),fy(l,n,v)}catch(H){wc(l,n,H)}finally{r!==null&&m.types!==null&&(r.types=m.types),M.T=r}}else try{r=u(s,c),fy(l,n,r)}catch(H){wc(l,n,H)}}function fy(l,n,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){sy(l,n,c)},function(c){return wc(l,n,c)}):sy(l,n,u)}function sy(l,n,u){n.status="fulfilled",n.value=u,ry(n),l.state=u,n=l.pending,n!==null&&(u=n.next,u===n?l.pending=null:(u=u.next,n.next=u,oy(l,u)))}function wc(l,n,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do n.status="rejected",n.reason=u,ry(n),n=n.next;while(n!==c)}l.action=null}function ry(l){l=l.listeners;for(var n=0;n<l.length;n++)(0,l[n])()}function Us(l,n){return n}function dy(l,n){if(tt){var u=Ot.formState;if(u!==null){e:{var c=Ge;if(tt){if(Nt){t:{for(var s=Nt,r=pl;s.nodeType!==8;){if(!r){s=null;break t}if(s=pa(s.nextSibling),s===null){s=null;break t}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){Nt=pa(s.nextSibling),c=s.data==="F!";break e}}sn(c)}c=!1}c&&(n=u[0])}}return u=Cl(),u.memoizedState=u.baseState=n,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Us,lastRenderedState:n},u.queue=c,u=wd.bind(null,Ge,c),c.dispatch=u,c=cy(!1),r=Vi.bind(null,Ge,!1,c.queue),c=Cl(),s={state:n,dispatch:null,action:l,pending:null},c.queue=s,u=Zp.bind(null,Ge,s,r,u),s.dispatch=u,c.memoizedState=l,[n,u,!1]}function Jp(l){var n=ll();return Hs(n,bt,l)}function Hs(l,n,u){if(n=Md(l,n,Us)[0],l=mu(hu)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var c=Gc(n)}catch(m){throw m===Ni?Vo:m}else c=n;n=ll();var s=n.queue,r=s.dispatch;return u!==n.memoizedState&&(Ge.flags|=2048,Vc(9,{destroy:void 0},hy.bind(null,s,u),null)),[c,r,l]}function hy(l,n){l.action=n}function my(l){var n=ll(),u=bt;if(u!==null)return Hs(n,u,l);ll(),n=n.memoizedState,u=ll();var c=u.queue.dispatch;return u.memoizedState=l,[n,c,!1]}function Vc(l,n,u,c){return l={tag:l,create:u,deps:c,inst:n,next:null},n=Ge.updateQueue,n===null&&(n=Ns(),Ge.updateQueue=n),u=n.lastEffect,u===null?n.lastEffect=l.next=l:(c=u.next,u.next=l,l.next=c,n.lastEffect=l),l}function yy(){return ll().memoizedState}function $o(l,n,u,c){var s=Cl();Ge.flags|=l,s.memoizedState=Vc(1|n,{destroy:void 0},u,c===void 0?null:c)}function Fo(l,n,u,c){var s=ll();c=c===void 0?null:c;var r=s.memoizedState.inst;bt!==null&&c!==null&&li(c,bt.memoizedState.deps)?s.memoizedState=Vc(n,r,u,c):(Ge.flags|=l,s.memoizedState=Vc(1|n,r,u,c))}function Ud(l,n){$o(8390656,8,l,n)}function Hd(l,n){Fo(2048,8,l,n)}function py(l){Ge.flags|=4;var n=Ge.updateQueue;if(n===null)n=Ns(),Ge.updateQueue=n,n.events=[l];else{var u=n.events;u===null?n.events=[l]:u.push(l)}}function Bs(l){var n=ll().memoizedState;return py({ref:n,nextImpl:l}),function(){if((rt&2)!==0)throw Error(S(440));return n.impl.apply(void 0,arguments)}}function Bd(l,n){return Fo(4,2,l,n)}function gy(l,n){return Fo(4,4,l,n)}function qd(l,n){if(typeof n=="function"){l=l();var u=n(l);return function(){typeof u=="function"?u():n(null)}}if(n!=null)return l=l(),n.current=l,function(){n.current=null}}function vy(l,n,u){u=u!=null?u.concat([l]):null,Fo(4,4,qd.bind(null,n,l),u)}function Hn(){}function Yd(l,n){var u=ll();n=n===void 0?null:n;var c=u.memoizedState;return n!==null&&li(n,c[1])?c[0]:(u.memoizedState=[l,n],l)}function Kp(l,n){var u=ll();n=n===void 0?null:n;var c=u.memoizedState;if(n!==null&&li(n,c[1]))return c[0];if(c=l(),ti){Vu(!0);try{l()}finally{Vu(!1)}}return u.memoizedState=[c,n],c}function qs(l,n,u){return u===void 0||(du&1073741824)!==0&&(We&261930)===0?l.memoizedState=n:(l.memoizedState=u,l=og(),Ge.lanes|=l,wn|=l,u)}function yu(l,n,u,c){return $l(u,n)?u:gl.current!==null?(l=qs(l,u,c),$l(l,n)||(fl=!0),l):(du&42)===0||(du&1073741824)!==0&&(We&261930)===0?(fl=!0,l.memoizedState=u):(l=og(),Ge.lanes|=l,wn|=l,n)}function Gd(l,n,u,c,s){var r=k.p;k.p=r!==0&&8>r?r:8;var m=M.T,v={};M.T=v,Vi(l,!1,n,u);try{var z=s(),H=M.S;if(H!==null&&H(v,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var $=zs(z,c);ai(l,n,$,Oa(l))}else ai(l,n,c,Oa(l))}catch(I){ai(l,n,{then:function(){},status:"rejected",reason:I},Oa())}finally{k.p=r,m!==null&&v.types!==null&&(m.types=v.types),M.T=m}}function $p(){}function ko(l,n,u,c){if(l.tag!==5)throw Error(S(476));var s=Wo(l).queue;Gd(l,s,n,ne,u===null?$p:function(){return xt(l),u(c)})}function Wo(l){var n=l.memoizedState;if(n!==null)return n;n={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hu,lastRenderedState:ne},next:null};var u={};return n.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hu,lastRenderedState:u},next:null},l.memoizedState=n,l=l.alternate,l!==null&&(l.memoizedState=n),n}function xt(l){var n=Wo(l);n.next===null&&(n=l.alternate.memoizedState),ai(l,n.next.queue,{},Oa())}function by(){return P(dr)}function Fp(){return ll().memoizedState}function Sy(){return ll().memoizedState}function pu(l){for(var n=l.return;n!==null;){switch(n.tag){case 24:case 3:var u=Oa();l=ei(u);var c=wa(n,l,u);c!==null&&(ya(c,n,u),qi(c,n,u)),n={cache:Ss()},l.payload=n;return}n=n.return}}function kp(l,n,u){var c=Oa();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Ys(l)?Vd(n,u):(u=on(l,n,u,c),u!==null&&(ya(u,l,c),Ty(u,n,c)))}function wd(l,n,u){var c=Oa();ai(l,n,u,c)}function ai(l,n,u,c){var s={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Ys(l))Vd(n,s);else{var r=l.alternate;if(l.lanes===0&&(r===null||r.lanes===0)&&(r=n.lastRenderedReducer,r!==null))try{var m=n.lastRenderedState,v=r(m,u);if(s.hasEagerState=!0,s.eagerState=v,$l(v,m))return Ha(l,n,s,0),Ot===null&&Ua(),!1}catch{}if(u=on(l,n,s,c),u!==null)return ya(u,l,c),Ty(u,n,c),!0}return!1}function Vi(l,n,u,c){if(c={lane:2,revertLane:hh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Ys(l)){if(n)throw Error(S(479))}else n=on(l,u,c,2),n!==null&&ya(n,l,2)}function Ys(l){var n=l.alternate;return l===Ge||n!==null&&n===Ge}function Vd(l,n){qc=Bc=!0;var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}function Ty(l,n,u){if((u&4194048)!==0){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,Wn(l,u)}}var Gs={readContext:P,use:Ko,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt};Gs.useEffectEvent=kt;var Wp={readContext:P,use:Ko,useCallback:function(l,n){return Cl().memoizedState=[l,n===void 0?null:n],l},useContext:P,useEffect:Ud,useImperativeHandle:function(l,n,u){u=u!=null?u.concat([l]):null,$o(4194308,4,qd.bind(null,n,l),u)},useLayoutEffect:function(l,n){return $o(4194308,4,l,n)},useInsertionEffect:function(l,n){$o(4,2,l,n)},useMemo:function(l,n){var u=Cl();n=n===void 0?null:n;var c=l();if(ti){Vu(!0);try{l()}finally{Vu(!1)}}return u.memoizedState=[c,n],c},useReducer:function(l,n,u){var c=Cl();if(u!==void 0){var s=u(n);if(ti){Vu(!0);try{u(n)}finally{Vu(!1)}}}else s=n;return c.memoizedState=c.baseState=s,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:s},c.queue=l,l=l.dispatch=kp.bind(null,Ge,l),[c.memoizedState,l]},useRef:function(l){var n=Cl();return l={current:l},n.memoizedState=l},useState:function(l){l=cy(l);var n=l.queue,u=wd.bind(null,Ge,n);return n.dispatch=u,[l.memoizedState,u]},useDebugValue:Hn,useDeferredValue:function(l,n){var u=Cl();return qs(u,l,n)},useTransition:function(){var l=cy(!1);return l=Gd.bind(null,Ge,l.queue,!0,!1),Cl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,n,u){var c=Ge,s=Cl();if(tt){if(u===void 0)throw Error(S(407));u=u()}else{if(u=n(),Ot===null)throw Error(S(349));(We&127)!==0||js(c,n,u)}s.memoizedState=u;var r={value:u,getSnapshot:n};return s.queue=r,Ud(Rd.bind(null,c,r,l),[l]),c.flags|=2048,Vc(9,{destroy:void 0},iy.bind(null,c,r,u,n),null),u},useId:function(){var l=Cl(),n=Ot.identifierPrefix;if(tt){var u=Rn,c=Ea;u=(c&~(1<<32-ta(c)-1)).toString(32)+u,n="_"+n+"R_"+u,u=Ms++,0<u&&(n+="H"+u.toString(32)),n+="_"}else u=Qp++,n="_"+n+"r_"+u.toString(32)+"_";return l.memoizedState=n},useHostTransitionStatus:by,useFormState:dy,useActionState:dy,useOptimistic:function(l){var n=Cl();n.memoizedState=n.baseState=l;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=u,n=Vi.bind(null,Ge,!0,u),u.dispatch=n,[l,n]},useMemoCache:Cd,useCacheRefresh:function(){return Cl().memoizedState=pu.bind(null,Ge)},useEffectEvent:function(l){var n=Cl(),u={impl:l};return n.memoizedState=u,function(){if((rt&2)!==0)throw Error(S(440));return u.impl.apply(void 0,arguments)}}},Xd={readContext:P,use:Ko,useCallback:Yd,useContext:P,useEffect:Hd,useImperativeHandle:vy,useInsertionEffect:Bd,useLayoutEffect:gy,useMemo:Kp,useReducer:mu,useRef:yy,useState:function(){return mu(hu)},useDebugValue:Hn,useDeferredValue:function(l,n){var u=ll();return yu(u,bt.memoizedState,l,n)},useTransition:function(){var l=mu(hu)[0],n=ll().memoizedState;return[typeof l=="boolean"?l:Gc(l),n]},useSyncExternalStore:uy,useId:Fp,useHostTransitionStatus:by,useFormState:Jp,useActionState:Jp,useOptimistic:function(l,n){var u=ll();return Ml(u,bt,l,n)},useMemoCache:Cd,useCacheRefresh:Sy};Xd.useEffectEvent=Bs;var Ip={readContext:P,use:Ko,useCallback:Yd,useContext:P,useEffect:Hd,useImperativeHandle:vy,useInsertionEffect:Bd,useLayoutEffect:gy,useMemo:Kp,useReducer:_d,useRef:yy,useState:function(){return _d(hu)},useDebugValue:Hn,useDeferredValue:function(l,n){var u=ll();return bt===null?qs(u,l,n):yu(u,bt.memoizedState,l,n)},useTransition:function(){var l=_d(hu)[0],n=ll().memoizedState;return[typeof l=="boolean"?l:Gc(l),n]},useSyncExternalStore:uy,useId:Fp,useHostTransitionStatus:by,useFormState:my,useActionState:my,useOptimistic:function(l,n){var u=ll();return bt!==null?Ml(u,bt,l,n):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:Cd,useCacheRefresh:Sy};Ip.useEffectEvent=Bs;function Xc(l,n,u,c){n=l.memoizedState,u=u(c,n),u=u==null?n:J({},n,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var rn={enqueueSetState:function(l,n,u){l=l._reactInternals;var c=Oa(),s=ei(c);s.payload=n,u!=null&&(s.callback=u),n=wa(l,s,c),n!==null&&(ya(n,l,c),qi(n,l,c))},enqueueReplaceState:function(l,n,u){l=l._reactInternals;var c=Oa(),s=ei(c);s.tag=1,s.payload=n,u!=null&&(s.callback=u),n=wa(l,s,c),n!==null&&(ya(n,l,c),qi(n,l,c))},enqueueForceUpdate:function(l,n){l=l._reactInternals;var u=Oa(),c=ei(u);c.tag=2,n!=null&&(c.callback=n),n=wa(l,c,u),n!==null&&(ya(n,l,u),qi(n,l,u))}};function Ey(l,n,u,c,s,r,m){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,r,m):n.prototype&&n.prototype.isPureReactComponent?!nn(u,c)||!nn(s,r):!0}function Pp(l,n,u,c){l=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(u,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(u,c),n.state!==l&&rn.enqueueReplaceState(n,n.state,null)}function Xi(l,n){var u=n;if("ref"in n){u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}if(l=l.defaultProps){u===n&&(u=J({},u));for(var s in l)u[s]===void 0&&(u[s]=l[s])}return u}function Qd(l){Oc(l)}function Ay(l){console.error(l)}function Ld(l){Oc(l)}function Io(l,n){try{var u=l.onUncaughtError;u(n.value,{componentStack:n.stack})}catch(c){setTimeout(function(){throw c})}}function ws(l,n,u){try{var c=l.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function zy(l,n,u){return u=ei(u),u.tag=3,u.payload={element:null},u.callback=function(){Io(l,n)},u}function xy(l){return l=ei(l),l.tag=3,l}function Oy(l,n,u,c){var s=u.type.getDerivedStateFromError;if(typeof s=="function"){var r=c.value;l.payload=function(){return s(r)},l.callback=function(){ws(n,u,c)}}var m=u.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(l.callback=function(){ws(n,u,c),typeof s!="function"&&(Lt===null?Lt=new Set([this]):Lt.add(this));var v=c.stack;this.componentDidCatch(c.value,{componentStack:v!==null?v:""})})}function u1(l,n,u,c,s){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(n=u.alternate,n!==null&&Dl(n,u,s,!0),u=oa.current,u!==null){switch(u.tag){case 31:case 13:return Va===null?fh():u.alternate===null&&Ut===0&&(Ut=3),u.flags&=-257,u.flags|=65536,u.lanes=s,c===jc?u.flags|=16384:(n=u.updateQueue,n===null?u.updateQueue=new Set([c]):n.add(c),er(l,c,s)),!1;case 22:return u.flags|=65536,c===jc?u.flags|=16384:(n=u.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=n):(u=n.retryQueue,u===null?n.retryQueue=new Set([c]):u.add(c)),er(l,c,s)),!1}throw Error(S(435,u.tag))}return er(l,c,s),fh(),!1}if(tt)return n=oa.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=s,c!==cu&&(l=Error(S(422),{cause:c}),Go(Ba(l,u)))):(c!==cu&&(n=Error(S(423),{cause:c}),Go(Ba(n,u))),l=l.current.alternate,l.flags|=65536,s&=-s,l.lanes|=s,c=Ba(c,u),s=zy(l.stateNode,c,s),Ad(l,s),Ut!==4&&(Ut=2)),!1;var r=Error(S(520),{cause:c});if(r=Ba(r,u),ks===null?ks=[r]:ks.push(r),Ut!==4&&(Ut=2),n===null)return!0;c=Ba(c,u),u=n;do{switch(u.tag){case 3:return u.flags|=65536,l=s&-s,u.lanes|=l,l=zy(u.stateNode,c,l),Ad(u,l),!1;case 1:if(n=u.type,r=u.stateNode,(u.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Lt===null||!Lt.has(r))))return u.flags|=65536,s&=-s,u.lanes|=s,s=xy(s),Oy(s,l,u,c),Ad(u,s),!1}u=u.return}while(u!==null);return!1}var Zd=Error(S(461)),fl=!1;function wt(l,n,u,c){n.child=l===null?ay(n,null,u,c):Bi(n,l.child,u,c)}function Dy(l,n,u,c,s){u=u.render;var r=n.ref;if("ref"in c){var m={};for(var v in c)v!=="ref"&&(m[v]=c[v])}else m=c;return je(n),c=_s(l,n,u,m,r,s),v=Dd(),l!==null&&!fl?(Yc(l,n,s),La(l,n,s)):(tt&&v&&qo(n),n.flags|=1,wt(l,n,c,s),n.child)}function Cy(l,n,u,c,s){if(l===null){var r=u.type;return typeof r=="function"&&!Dc(r)&&r.defaultProps===void 0&&u.compare===null?(n.tag=15,n.type=r,My(l,n,r,c,s)):(l=pd(u.type,null,c,n,n.mode,s),l.ref=n.ref,l.return=n,n.child=l)}if(r=l.child,!$d(l,s)){var m=r.memoizedProps;if(u=u.compare,u=u!==null?u:nn,u(m,c)&&l.ref===n.ref)return La(l,n,s)}return n.flags|=1,l=$u(r,c),l.ref=n.ref,l.return=n,n.child=l}function My(l,n,u,c,s){if(l!==null){var r=l.memoizedProps;if(nn(r,c)&&l.ref===n.ref)if(fl=!1,n.pendingProps=c=r,$d(l,s))(l.flags&131072)!==0&&(fl=!0);else return n.lanes=l.lanes,La(l,n,s)}return Jd(l,n,u,c,s)}function eg(l,n,u,c){var s=c.children,r=l!==null?l.memoizedState:null;if(l===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((n.flags&128)!==0){if(r=r!==null?r.baseLanes|u:u,l!==null){for(c=n.child=l.child,s=0;c!==null;)s=s|c.lanes|c.childLanes,c=c.sibling;c=s&~r}else c=0,n.child=null;return sa(l,n,r,u,c)}if((u&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},l!==null&&wo(n,r!==null?r.cachePool:null),r!==null?Xp(n,r):Cs(),xd(n);else return c=n.lanes=536870912,sa(l,n,r!==null?r.baseLanes|u:u,u,c)}else r!==null?(wo(n,r.cachePool),Xp(n,r),Un(),n.memoizedState=null):(l!==null&&wo(n,null),Cs(),Un());return wt(l,n,s,u),n.child}function Qi(l,n){return l!==null&&l.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function sa(l,n,u,c,s){var r=Ga();return r=r===null?null:{parent:cl._currentValue,pool:r},n.memoizedState={baseLanes:u,cachePool:r},l!==null&&wo(n,null),Cs(),xd(n),l!==null&&Dl(l,n,c,!0),n.childLanes=s,null}function Vs(l,n){return n=Ls({mode:n.mode,children:n.children},l.mode),n.ref=l.ref,l.child=n,n.return=l,n}function ra(l,n,u){return Bi(n,l.child,null,u),l=Vs(n,n.pendingProps),l.flags|=2,fa(n),n.memoizedState=null,l}function tg(l,n,u){var c=n.pendingProps,s=(n.flags&128)!==0;if(n.flags&=-129,l===null){if(tt){if(c.mode==="hidden")return l=Vs(n,c),n.lanes=536870912,Qi(null,l);if(Lo(n),(l=Nt)?(l=Bg(l,pl),l=l!==null&&l.data==="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:_n!==null?{id:Ea,overflow:Rn}:null,retryLane:536870912,hydrationErrors:null},u=$m(l),u.return=n,n.child=u,Ol=n,Nt=null)):l=null,l===null)throw sn(n);return n.lanes=536870912,null}return Vs(n,c)}var r=l.memoizedState;if(r!==null){var m=r.dehydrated;if(Lo(n),s)if(n.flags&256)n.flags&=-257,n=ra(l,n,u);else if(n.memoizedState!==null)n.child=l.child,n.flags|=128,n=null;else throw Error(S(558));else if(fl||Dl(l,n,u,!1),s=(u&l.childLanes)!==0,fl||s){if(c=Ot,c!==null&&(m=Ra(c,u),m!==0&&m!==r.retryLane))throw r.retryLane=m,Ku(l,m),ya(c,l,m),Zd;fh(),n=ra(l,n,u)}else l=r.treeContext,Nt=pa(m.nextSibling),Ol=n,tt=!0,iu=null,pl=!1,l!==null&&gs(n,l),n=Vs(n,c),n.flags|=4096;return n}return l=$u(l.child,{mode:c.mode,children:c.children}),l.ref=n.ref,n.child=l,l.return=n,l}function Xa(l,n){var u=n.ref;if(u===null)l!==null&&l.ref!==null&&(n.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(S(284));(l===null||l.ref!==u)&&(n.flags|=4194816)}}function Jd(l,n,u,c,s){return je(n),u=_s(l,n,u,c,void 0,s),c=Dd(),l!==null&&!fl?(Yc(l,n,s),La(l,n,s)):(tt&&c&&qo(n),n.flags|=1,wt(l,n,u,s),n.child)}function Li(l,n,u,c,s,r){return je(n),n.updateQueue=null,u=Lp(n,c,u,s),Od(l),c=Dd(),l!==null&&!fl?(Yc(l,n,r),La(l,n,r)):(tt&&c&&qo(n),n.flags|=1,wt(l,n,u,r),n.child)}function _y(l,n,u,c,s){if(je(n),n.stateNode===null){var r=ua,m=u.contextType;typeof m=="object"&&m!==null&&(r=P(m)),r=new u(c,r),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=rn,n.stateNode=r,r._reactInternals=n,r=n.stateNode,r.props=c,r.state=n.memoizedState,r.refs={},Ds(n),m=u.contextType,r.context=typeof m=="object"&&m!==null?P(m):ua,r.state=n.memoizedState,m=u.getDerivedStateFromProps,typeof m=="function"&&(Xc(n,u,m,c),r.state=n.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(m=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),m!==r.state&&rn.enqueueReplaceState(r,r.state,null),su(n,c,r,s),Yi(),r.state=n.memoizedState),typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!0}else if(l===null){r=n.stateNode;var v=n.memoizedProps,z=Xi(u,v);r.props=z;var H=r.context,$=u.contextType;m=ua,typeof $=="object"&&$!==null&&(m=P($));var I=u.getDerivedStateFromProps;$=typeof I=="function"||typeof r.getSnapshotBeforeUpdate=="function",v=n.pendingProps!==v,$||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(v||H!==m)&&Pp(n,r,c,m),Pu=!1;var B=n.memoizedState;r.state=B,su(n,c,r,s),Yi(),H=n.memoizedState,v||B!==H||Pu?(typeof I=="function"&&(Xc(n,u,I,c),H=n.memoizedState),(z=Pu||Ey(n,u,z,c,B,H,m))?($||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(n.flags|=4194308)):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=c,n.memoizedState=H),r.props=c,r.state=H,r.context=m,c=z):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!1)}else{r=n.stateNode,Ed(l,n),m=n.memoizedProps,$=Xi(u,m),r.props=$,I=n.pendingProps,B=r.context,H=u.contextType,z=ua,typeof H=="object"&&H!==null&&(z=P(H)),v=u.getDerivedStateFromProps,(H=typeof v=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(m!==I||B!==z)&&Pp(n,r,c,z),Pu=!1,B=n.memoizedState,r.state=B,su(n,c,r,s),Yi();var Q=n.memoizedState;m!==I||B!==Q||Pu||l!==null&&l.dependencies!==null&&Mc(l.dependencies)?(typeof v=="function"&&(Xc(n,u,v,c),Q=n.memoizedState),($=Pu||Ey(n,u,$,c,B,Q,z)||l!==null&&l.dependencies!==null&&Mc(l.dependencies))?(H||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(c,Q,z),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(c,Q,z)),typeof r.componentDidUpdate=="function"&&(n.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof r.componentDidUpdate!="function"||m===l.memoizedProps&&B===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||m===l.memoizedProps&&B===l.memoizedState||(n.flags|=1024),n.memoizedProps=c,n.memoizedState=Q),r.props=c,r.state=Q,r.context=z,c=$):(typeof r.componentDidUpdate!="function"||m===l.memoizedProps&&B===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||m===l.memoizedProps&&B===l.memoizedState||(n.flags|=1024),c=!1)}return r=c,Xa(l,n),c=(n.flags&128)!==0,r||c?(r=n.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:r.render(),n.flags|=1,l!==null&&c?(n.child=Bi(n,l.child,null,s),n.child=Bi(n,null,u,s)):wt(l,n,u,s),n.memoizedState=r.state,l=n.child):l=La(l,n,s),l}function Bn(l,n,u,c){return _i(),n.flags|=256,wt(l,n,u,c),n.child}var Xs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qs(l){return{baseLanes:l,cachePool:Rc()}}function Qa(l,n,u){return l=l!==null?l.childLanes&~u:0,n&&(l|=ma),l}function Ry(l,n,u){var c=n.pendingProps,s=!1,r=(n.flags&128)!==0,m;if((m=r)||(m=l!==null&&l.memoizedState===null?!1:(Qt.current&2)!==0),m&&(s=!0,n.flags&=-129),m=(n.flags&32)!==0,n.flags&=-33,l===null){if(tt){if(s?ru(n):Un(),(l=Nt)?(l=Bg(l,pl),l=l!==null&&l.data!=="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:_n!==null?{id:Ea,overflow:Rn}:null,retryLane:536870912,hydrationErrors:null},u=$m(l),u.return=n,n.child=u,Ol=n,Nt=null)):l=null,l===null)throw sn(n);return Wi(l)?n.lanes=32:n.lanes=536870912,null}var v=c.children;return c=c.fallback,s?(Un(),s=n.mode,v=Ls({mode:"hidden",children:v},s),c=Fu(c,s,u,null),v.return=n,c.return=n,v.sibling=c,n.child=v,c=n.child,c.memoizedState=Qs(u),c.childLanes=Qa(l,m,u),n.memoizedState=Xs,Qi(null,c)):(ru(n),Zi(n,v))}var z=l.memoizedState;if(z!==null&&(v=z.dehydrated,v!==null)){if(r)n.flags&256?(ru(n),n.flags&=-257,n=Qc(l,n,u)):n.memoizedState!==null?(Un(),n.child=l.child,n.flags|=128,n=null):(Un(),v=c.fallback,s=n.mode,c=Ls({mode:"visible",children:c.children},s),v=Fu(v,s,u,null),v.flags|=2,c.return=n,v.return=n,c.sibling=v,n.child=c,Bi(n,l.child,null,u),c=n.child,c.memoizedState=Qs(u),c.childLanes=Qa(l,m,u),n.memoizedState=Xs,n=Qi(null,c));else if(ru(n),Wi(v)){if(m=v.nextSibling&&v.nextSibling.dataset,m)var H=m.dgst;m=H,c=Error(S(419)),c.stack="",c.digest=m,Go({value:c,source:null,stack:null}),n=Qc(l,n,u)}else if(fl||Dl(l,n,u,!1),m=(u&l.childLanes)!==0,fl||m){if(m=Ot,m!==null&&(c=Ra(m,u),c!==0&&c!==z.retryLane))throw z.retryLane=c,Ku(l,c),ya(m,l,c),Zd;mn(v)||fh(),n=Qc(l,n,u)}else mn(v)?(n.flags|=192,n.child=l.child,n=null):(l=z.treeContext,Nt=pa(v.nextSibling),Ol=n,tt=!0,iu=null,pl=!1,l!==null&&gs(n,l),n=Zi(n,c.children),n.flags|=4096);return n}return s?(Un(),v=c.fallback,s=n.mode,z=l.child,H=z.sibling,c=$u(z,{mode:"hidden",children:c.children}),c.subtreeFlags=z.subtreeFlags&65011712,H!==null?v=$u(H,v):(v=Fu(v,s,u,null),v.flags|=2),v.return=n,c.return=n,c.sibling=v,n.child=c,Qi(null,c),c=n.child,v=l.child.memoizedState,v===null?v=Qs(u):(s=v.cachePool,s!==null?(z=cl._currentValue,s=s.parent!==z?{parent:z,pool:z}:s):s=Rc(),v={baseLanes:v.baseLanes|u,cachePool:s}),c.memoizedState=v,c.childLanes=Qa(l,m,u),n.memoizedState=Xs,Qi(l.child,c)):(ru(n),u=l.child,l=u.sibling,u=$u(u,{mode:"visible",children:c.children}),u.return=n,u.sibling=null,l!==null&&(m=n.deletions,m===null?(n.deletions=[l],n.flags|=16):m.push(l)),n.child=u,n.memoizedState=null,u)}function Zi(l,n){return n=Ls({mode:"visible",children:n},l.mode),n.return=l,l.child=n}function Ls(l,n){return l=el(22,l,null,n),l.lanes=0,l}function Qc(l,n,u){return Bi(n,l.child,null,u),l=Zi(n,n.pendingProps.children),l.flags|=2,n.memoizedState=null,l}function Lc(l,n,u){l.lanes|=n;var c=l.alternate;c!==null&&(c.lanes|=n),Sd(l.return,n,u)}function Kd(l,n,u,c,s,r){var m=l.memoizedState;m===null?l.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:s,treeForkCount:r}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=u,m.tailMode=s,m.treeForkCount=r)}function Ny(l,n,u){var c=n.pendingProps,s=c.revealOrder,r=c.tail;c=c.children;var m=Qt.current,v=(m&2)!==0;if(v?(m=m&1|2,n.flags|=128):m&=1,pe(Qt,m),wt(l,n,c,u),c=tt?il:0,!v&&l!==null&&(l.flags&128)!==0)e:for(l=n.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Lc(l,u,n);else if(l.tag===19)Lc(l,u,n);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(s){case"forwards":for(u=n.child,s=null;u!==null;)l=u.alternate,l!==null&&Zo(l)===null&&(s=u),u=u.sibling;u=s,u===null?(s=n.child,n.child=null):(s=u.sibling,u.sibling=null),Kd(n,!1,s,u,r,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,s=n.child,n.child=null;s!==null;){if(l=s.alternate,l!==null&&Zo(l)===null){n.child=s;break}l=s.sibling,s.sibling=u,u=s,s=l}Kd(n,!0,u,null,r,c);break;case"together":Kd(n,!1,null,null,void 0,c);break;default:n.memoizedState=null}return n.child}function La(l,n,u){if(l!==null&&(n.dependencies=l.dependencies),wn|=n.lanes,(u&n.childLanes)===0)if(l!==null){if(Dl(l,n,u,!1),(u&n.childLanes)===0)return null}else return null;if(l!==null&&n.child!==l.child)throw Error(S(153));if(n.child!==null){for(l=n.child,u=$u(l,l.pendingProps),n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=$u(l,l.pendingProps),u.return=n;u.sibling=null}return n.child}function $d(l,n){return(l.lanes&n)!==0?!0:(l=l.dependencies,!!(l!==null&&Mc(l)))}function Fd(l,n,u){switch(n.tag){case 3:Jl(n,n.stateNode.containerInfo),ca(n,cl,l.memoizedState.cache),_i();break;case 27:case 5:ic(n);break;case 4:Jl(n,n.stateNode.containerInfo);break;case 10:ca(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Lo(n),null;break;case 13:var c=n.memoizedState;if(c!==null)return c.dehydrated!==null?(ru(n),n.flags|=128,null):(u&n.child.childLanes)!==0?Ry(l,n,u):(ru(n),l=La(l,n,u),l!==null?l.sibling:null);ru(n);break;case 19:var s=(l.flags&128)!==0;if(c=(u&n.childLanes)!==0,c||(Dl(l,n,u,!1),c=(u&n.childLanes)!==0),s){if(c)return Ny(l,n,u);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),pe(Qt,Qt.current),c)break;return null;case 22:return n.lanes=0,eg(l,n,u,n.pendingProps);case 24:ca(n,cl,l.memoizedState.cache)}return La(l,n,u)}function jy(l,n,u){if(l!==null)if(l.memoizedProps!==n.pendingProps)fl=!0;else{if(!$d(l,u)&&(n.flags&128)===0)return fl=!1,Fd(l,n,u);fl=(l.flags&131072)!==0}else fl=!1,tt&&(n.flags&1048576)!==0&&km(n,il,n.index);switch(n.lanes=0,n.tag){case 16:e:{var c=n.pendingProps;if(l=ji(n.elementType),n.type=l,typeof l=="function")Dc(l)?(c=Xi(l,c),n.tag=1,n=_y(null,n,l,c,u)):(n.tag=0,n=Jd(null,n,l,c,u));else{if(l!=null){var s=l.$$typeof;if(s===we){n.tag=11,n=Dy(null,n,l,c,u);break e}else if(s===it){n.tag=14,n=Cy(null,n,l,c,u);break e}}throw n=qt(l)||l,Error(S(306,n,""))}}return n;case 0:return Jd(l,n,n.type,n.pendingProps,u);case 1:return c=n.type,s=Xi(c,n.pendingProps),_y(l,n,c,s,u);case 3:e:{if(Jl(n,n.stateNode.containerInfo),l===null)throw Error(S(387));c=n.pendingProps;var r=n.memoizedState;s=r.element,Ed(l,n),su(n,c,null,u);var m=n.memoizedState;if(c=m.cache,ca(n,cl,c),c!==r.cache&&fu(n,[cl],u,!0),Yi(),c=m.element,r.isDehydrated)if(r={element:c,isDehydrated:!1,cache:m.cache},n.updateQueue.baseState=r,n.memoizedState=r,n.flags&256){n=Bn(l,n,c,u);break e}else if(c!==s){s=Ba(Error(S(424)),n),Go(s),n=Bn(l,n,c,u);break e}else for(l=n.stateNode.containerInfo,l.nodeType===9?l=l.body:l=l.nodeName==="HTML"?l.ownerDocument.body:l,Nt=pa(l.firstChild),Ol=n,tt=!0,iu=null,pl=!0,u=ay(n,null,c,u),n.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(_i(),c===s){n=La(l,n,u);break e}wt(l,n,c,u)}n=n.child}return n;case 26:return Xa(l,n),l===null?(u=Tf(n.type,null,n.pendingProps,null))?n.memoizedState=u:tt||(u=n.type,l=n.pendingProps,c=ki(Al.current).createElement(u),c[zt]=n,c[la]=l,Vl(c,u,l),gt(c),n.stateNode=c):n.memoizedState=Tf(n.type,l.memoizedProps,n.pendingProps,l.memoizedState),null;case 27:return ic(n),l===null&&tt&&(c=n.stateNode=bf(n.type,n.pendingProps,Al.current),Ol=n,pl=!0,s=Nt,Xn(n.type)?(fr=s,Nt=pa(c.firstChild)):Nt=s),wt(l,n,n.pendingProps.children,u),Xa(l,n),l===null&&(n.flags|=4194304),n.child;case 5:return l===null&&tt&&((s=c=Nt)&&(c=o1(c,n.type,n.pendingProps,pl),c!==null?(n.stateNode=c,Ol=n,Nt=pa(c.firstChild),pl=!1,s=!0):s=!1),s||sn(n)),ic(n),s=n.type,r=n.pendingProps,m=l!==null?l.memoizedProps:null,c=r.children,gf(s,r)?c=null:m!==null&&gf(s,m)&&(n.flags|=32),n.memoizedState!==null&&(s=_s(l,n,n1,null,null,u),dr._currentValue=s),Xa(l,n),wt(l,n,c,u),n.child;case 6:return l===null&&tt&&((l=u=Nt)&&(u=Je(u,n.pendingProps,pl),u!==null?(n.stateNode=u,Ol=n,Nt=null,l=!0):l=!1),l||sn(n)),null;case 13:return Ry(l,n,u);case 4:return Jl(n,n.stateNode.containerInfo),c=n.pendingProps,l===null?n.child=Bi(n,null,c,u):wt(l,n,c,u),n.child;case 11:return Dy(l,n,n.type,n.pendingProps,u);case 7:return wt(l,n,n.pendingProps,u),n.child;case 8:return wt(l,n,n.pendingProps.children,u),n.child;case 12:return wt(l,n,n.pendingProps.children,u),n.child;case 10:return c=n.pendingProps,ca(n,n.type,c.value),wt(l,n,c.children,u),n.child;case 9:return s=n.type._context,c=n.pendingProps.children,je(n),s=P(s),c=c(s),n.flags|=1,wt(l,n,c,u),n.child;case 14:return Cy(l,n,n.type,n.pendingProps,u);case 15:return My(l,n,n.type,n.pendingProps,u);case 19:return Ny(l,n,u);case 31:return tg(l,n,u);case 22:return eg(l,n,u,n.pendingProps);case 24:return je(n),c=P(cl),l===null?(s=Ga(),s===null&&(s=Ot,r=Ss(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=u),s=r),n.memoizedState={parent:c,cache:s},Ds(n),ca(n,cl,s)):((l.lanes&u)!==0&&(Ed(l,n),su(n,null,null,u),Yi()),s=l.memoizedState,r=n.memoizedState,s.parent!==c?(s={parent:c,cache:c},n.memoizedState=s,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=s),ca(n,cl,c)):(c=r.cache,ca(n,cl,c),c!==s.cache&&fu(n,[cl],u,!0))),wt(l,n,n.pendingProps.children,u),n.child;case 29:throw n.pendingProps}throw Error(S(156,n.tag))}function gu(l){l.flags|=4}function Uy(l,n,u,c,s){if((n=(l.mode&32)!==0)&&(n=!1),n){if(l.flags|=16777216,(s&335544128)===s)if(l.stateNode.complete)l.flags|=8192;else if(rg())l.flags|=8192;else throw Ui=jc,Nc}else l.flags&=-16777217}function Hy(l,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Ca(n))if(rg())l.flags|=8192;else throw Ui=jc,Nc}function Fl(l,n){n!==null&&(l.flags|=4),l.flags&16384&&(n=l.tag!==22?sc():536870912,l.lanes|=n,Wt|=n)}function Po(l,n){if(!tt)switch(l.tailMode){case"hidden":n=l.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?n||l.tail===null?l.tail=null:l.tail.sibling=null:c.sibling=null}}function Ne(l){var n=l.alternate!==null&&l.alternate.child===l.child,u=0,c=0;if(n)for(var s=l.child;s!==null;)u|=s.lanes|s.childLanes,c|=s.subtreeFlags&65011712,c|=s.flags&65011712,s.return=l,s=s.sibling;else for(s=l.child;s!==null;)u|=s.lanes|s.childLanes,c|=s.subtreeFlags,c|=s.flags,s.return=l,s=s.sibling;return l.subtreeFlags|=c,l.childLanes=u,n}function lg(l,n,u){var c=n.pendingProps;switch(vd(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(n),null;case 1:return Ne(n),null;case 3:return u=n.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),n.memoizedState.cache!==c&&(n.flags|=2048),jn(cl),ba(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(ou(n)?gu(n):l===null||l.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Wm())),Ne(n),null;case 26:var s=n.type,r=n.memoizedState;return l===null?(gu(n),r!==null?(Ne(n),Hy(n,r)):(Ne(n),Uy(n,s,null,c,u))):r?r!==l.memoizedState?(gu(n),Ne(n),Hy(n,r)):(Ne(n),n.flags&=-16777217):(l=l.memoizedProps,l!==c&&gu(n),Ne(n),Uy(n,s,l,c,u)),null;case 27:if(le(n),u=Al.current,s=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&gu(n);else{if(!c){if(n.stateNode===null)throw Error(S(166));return Ne(n),null}l=ue.current,ou(n)?vs(n):(l=bf(s,c,u),n.stateNode=l,gu(n))}return Ne(n),null;case 5:if(le(n),s=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&gu(n);else{if(!c){if(n.stateNode===null)throw Error(S(166));return Ne(n),null}if(r=ue.current,ou(n))vs(n);else{var m=ki(Al.current);switch(r){case 1:r=m.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=m.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=m.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?m.createElement(s,{is:c.is}):m.createElement(s)}}r[zt]=n,r[la]=c;e:for(m=n.child;m!==null;){if(m.tag===5||m.tag===6)r.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===n)break e;for(;m.sibling===null;){if(m.return===null||m.return===n)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}n.stateNode=r;e:switch(Vl(r,s,c),s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&gu(n)}}return Ne(n),Uy(n,n.type,l===null?null:l.memoizedProps,n.pendingProps,u),null;case 6:if(l&&n.stateNode!=null)l.memoizedProps!==c&&gu(n);else{if(typeof c!="string"&&n.stateNode===null)throw Error(S(166));if(l=Al.current,ou(n)){if(l=n.stateNode,u=n.memoizedProps,c=null,s=Ol,s!==null)switch(s.tag){case 27:case 5:c=s.memoizedProps}l[zt]=n,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||u0(l.nodeValue,u)),l||sn(n,!0)}else l=ki(l).createTextNode(c),l[zt]=n,n.stateNode=l}return Ne(n),null;case 31:if(u=n.memoizedState,l===null||l.memoizedState!==null){if(c=ou(n),u!==null){if(l===null){if(!c)throw Error(S(318));if(l=n.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(557));l[zt]=n}else _i(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ne(n),l=!1}else u=Wm(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),l=!0;if(!l)return n.flags&256?(fa(n),n):(fa(n),null);if((n.flags&128)!==0)throw Error(S(558))}return Ne(n),null;case 13:if(c=n.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(s=ou(n),c!==null&&c.dehydrated!==null){if(l===null){if(!s)throw Error(S(318));if(s=n.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(S(317));s[zt]=n}else _i(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ne(n),s=!1}else s=Wm(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=s),s=!0;if(!s)return n.flags&256?(fa(n),n):(fa(n),null)}return fa(n),(n.flags&128)!==0?(n.lanes=u,n):(u=c!==null,l=l!==null&&l.memoizedState!==null,u&&(c=n.child,s=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(s=c.alternate.memoizedState.cachePool.pool),r=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(r=c.memoizedState.cachePool.pool),r!==s&&(c.flags|=2048)),u!==l&&u&&(n.child.flags|=8192),Fl(n,n.updateQueue),Ne(n),null);case 4:return ba(),l===null&&pf(n.stateNode.containerInfo),Ne(n),null;case 10:return jn(n.type),Ne(n),null;case 19:if(de(Qt),c=n.memoizedState,c===null)return Ne(n),null;if(s=(n.flags&128)!==0,r=c.rendering,r===null)if(s)Po(c,!1);else{if(Ut!==0||l!==null&&(l.flags&128)!==0)for(l=n.child;l!==null;){if(r=Zo(l),r!==null){for(n.flags|=128,Po(c,!1),l=r.updateQueue,n.updateQueue=l,Fl(n,l),n.subtreeFlags=0,l=u,u=n.child;u!==null;)Km(u,l),u=u.sibling;return pe(Qt,Qt.current&1|2),tt&&fn(n,c.treeForkCount),n.child}l=l.sibling}c.tail!==null&&Gl()>yt&&(n.flags|=128,s=!0,Po(c,!1),n.lanes=4194304)}else{if(!s)if(l=Zo(r),l!==null){if(n.flags|=128,s=!0,l=l.updateQueue,n.updateQueue=l,Fl(n,l),Po(c,!0),c.tail===null&&c.tailMode==="hidden"&&!r.alternate&&!tt)return Ne(n),null}else 2*Gl()-c.renderingStartTime>yt&&u!==536870912&&(n.flags|=128,s=!0,Po(c,!1),n.lanes=4194304);c.isBackwards?(r.sibling=n.child,n.child=r):(l=c.last,l!==null?l.sibling=r:n.child=r,c.last=r)}return c.tail!==null?(l=c.tail,c.rendering=l,c.tail=l.sibling,c.renderingStartTime=Gl(),l.sibling=null,u=Qt.current,pe(Qt,s?u&1|2:u&1),tt&&fn(n,c.treeForkCount),l):(Ne(n),null);case 22:case 23:return fa(n),Qo(),c=n.memoizedState!==null,l!==null?l.memoizedState!==null!==c&&(n.flags|=8192):c&&(n.flags|=8192),c?(u&536870912)!==0&&(n.flags&128)===0&&(Ne(n),n.subtreeFlags&6&&(n.flags|=8192)):Ne(n),u=n.updateQueue,u!==null&&Fl(n,u.retryQueue),u=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),c=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),c!==u&&(n.flags|=2048),l!==null&&de(Ya),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),jn(cl),Ne(n),null;case 25:return null;case 30:return null}throw Error(S(156,n.tag))}function ag(l,n){switch(vd(n),n.tag){case 1:return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 3:return jn(cl),ba(),l=n.flags,(l&65536)!==0&&(l&128)===0?(n.flags=l&-65537|128,n):null;case 26:case 27:case 5:return le(n),null;case 31:if(n.memoizedState!==null){if(fa(n),n.alternate===null)throw Error(S(340));_i()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 13:if(fa(n),l=n.memoizedState,l!==null&&l.dehydrated!==null){if(n.alternate===null)throw Error(S(340));_i()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 19:return de(Qt),null;case 4:return ba(),null;case 10:return jn(n.type),null;case 22:case 23:return fa(n),Qo(),l!==null&&de(Ya),l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 24:return jn(cl),null;case 25:return null;default:return null}}function ng(l,n){switch(vd(n),n.tag){case 3:jn(cl),ba();break;case 26:case 27:case 5:le(n);break;case 4:ba();break;case 31:n.memoizedState!==null&&fa(n);break;case 13:fa(n);break;case 19:de(Qt);break;case 10:jn(n.type);break;case 22:case 23:fa(n),Qo(),l!==null&&de(Ya);break;case 24:jn(cl)}}function dn(l,n){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var s=c.next;u=s;do{if((u.tag&l)===l){c=void 0;var r=u.create,m=u.inst;c=r(),m.destroy=c}u=u.next}while(u!==s)}}catch(v){Tt(n,n.return,v)}}function Za(l,n,u){try{var c=n.updateQueue,s=c!==null?c.lastEffect:null;if(s!==null){var r=s.next;c=r;do{if((c.tag&l)===l){var m=c.inst,v=m.destroy;if(v!==void 0){m.destroy=void 0,s=n;var z=u,H=v;try{H()}catch($){Tt(s,z,$)}}}c=c.next}while(c!==r)}}catch($){Tt(n,n.return,$)}}function kd(l){var n=l.updateQueue;if(n!==null){var u=l.stateNode;try{Gi(n,u)}catch(c){Tt(l,l.return,c)}}}function Ji(l,n,u){u.props=Xi(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){Tt(l,n,c)}}function vu(l,n){try{var u=l.ref;if(u!==null){switch(l.tag){case 26:case 27:case 5:var c=l.stateNode;break;case 30:c=l.stateNode;break;default:c=l.stateNode}typeof u=="function"?l.refCleanup=u(c):u.current=c}}catch(s){Tt(l,n,s)}}function qn(l,n){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(s){Tt(l,n,s)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(s){Tt(l,n,s)}else u.current=null}function By(l){var n=l.type,u=l.memoizedProps,c=l.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(s){Tt(l,l.return,s)}}function Wd(l,n,u){try{var c=l.stateNode;c0(c,l.type,u,n),c[la]=n}catch(s){Tt(l,l.return,s)}}function qy(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Xn(l.type)||l.tag===4}function ef(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||qy(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&Xn(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function tf(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(l,n):(n=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,n.appendChild(l),u=u._reactRootContainer,u!=null||n.onclick!==null||(n.onclick=An));else if(c!==4&&(c===27&&Xn(l.type)&&(u=l.stateNode,n=null),l=l.child,l!==null))for(tf(l,n,u),l=l.sibling;l!==null;)tf(l,n,u),l=l.sibling}function lf(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?u.insertBefore(l,n):u.appendChild(l);else if(c!==4&&(c===27&&Xn(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(lf(l,n,u),l=l.sibling;l!==null;)lf(l,n,u),l=l.sibling}function Yy(l){var n=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Vl(n,c,u),n[zt]=l,n[la]=u}catch(r){Tt(l,l.return,r)}}var ni=!1,hl=!1,Id=!1,Gy=typeof WeakSet=="function"?WeakSet:Set,_l=null;function af(l,n){if(l=l.containerInfo,vh=bl,l=Di(l),rs(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{u=(u=l.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var s=c.anchorOffset,r=c.focusNode;c=c.focusOffset;try{u.nodeType,r.nodeType}catch{u=null;break e}var m=0,v=-1,z=-1,H=0,$=0,I=l,B=null;t:for(;;){for(var Q;I!==u||s!==0&&I.nodeType!==3||(v=m+s),I!==r||c!==0&&I.nodeType!==3||(z=m+c),I.nodeType===3&&(m+=I.nodeValue.length),(Q=I.firstChild)!==null;)B=I,I=Q;for(;;){if(I===l)break t;if(B===u&&++H===s&&(v=m),B===r&&++$===c&&(z=m),(Q=I.nextSibling)!==null)break;I=B,B=I.parentNode}I=Q}u=v===-1||z===-1?null:{start:v,end:z}}else u=null}u=u||{start:0,end:0}}else u=null;for(bh={focusedElem:l,selectionRange:u},bl=!1,_l=n;_l!==null;)if(n=_l,l=n.child,(n.subtreeFlags&1028)!==0&&l!==null)l.return=n,_l=l;else for(;_l!==null;){switch(n=_l,r=n.alternate,l=n.flags,n.tag){case 0:if((l&4)!==0&&(l=n.updateQueue,l=l!==null?l.events:null,l!==null))for(u=0;u<l.length;u++)s=l[u],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&r!==null){l=void 0,u=n,s=r.memoizedProps,r=r.memoizedState,c=u.stateNode;try{var he=Xi(u.type,s);l=c.getSnapshotBeforeUpdate(he,r),c.__reactInternalSnapshotBeforeUpdate=l}catch(De){Tt(u,u.return,De)}}break;case 3:if((l&1024)!==0){if(l=n.stateNode.containerInfo,u=l.nodeType,u===9)or(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":or(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(S(163))}if(l=n.sibling,l!==null){l.return=n.return,_l=l;break}_l=n.return}}function Zs(l,n,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:ui(l,u),c&4&&dn(5,u);break;case 1:if(ui(l,u),c&4)if(l=u.stateNode,n===null)try{l.componentDidMount()}catch(m){Tt(u,u.return,m)}else{var s=Xi(u.type,n.memoizedProps);n=n.memoizedState;try{l.componentDidUpdate(s,n,l.__reactInternalSnapshotBeforeUpdate)}catch(m){Tt(u,u.return,m)}}c&64&&kd(u),c&512&&vu(u,u.return);break;case 3:if(ui(l,u),c&64&&(l=u.updateQueue,l!==null)){if(n=null,u.child!==null)switch(u.child.tag){case 27:case 5:n=u.child.stateNode;break;case 1:n=u.child.stateNode}try{Gi(l,n)}catch(m){Tt(u,u.return,m)}}break;case 27:n===null&&c&4&&Yy(u);case 26:case 5:ui(l,u),n===null&&c&4&&By(u),c&512&&vu(u,u.return);break;case 12:ui(l,u);break;case 31:ui(l,u),c&4&&ug(l,u);break;case 13:ui(l,u),c&4&&Xy(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=Ja.bind(null,u),vf(l,u))));break;case 22:if(c=u.memoizedState!==null||ni,!c){n=n!==null&&n.memoizedState!==null||hl,s=ni;var r=hl;ni=c,(hl=n)&&!r?Yn(l,u,(u.subtreeFlags&8772)!==0):ui(l,u),ni=s,hl=r}break;case 30:break;default:ui(l,u)}}function wy(l){var n=l.alternate;n!==null&&(l.alternate=null,wy(n)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(n=l.stateNode,n!==null&&$r(n)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var jt=null,da=!1;function bu(l,n,u){for(u=u.child;u!==null;)Vy(l,n,u),u=u.sibling}function Vy(l,n,u){if(Sa&&typeof Sa.onCommitFiberUnmount=="function")try{Sa.onCommitFiberUnmount(fc,u)}catch{}switch(u.tag){case 26:hl||qn(u,n),bu(l,n,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:hl||qn(u,n);var c=jt,s=da;Xn(u.type)&&(jt=u.stateNode,da=!1),bu(l,n,u),Ic(u.stateNode),jt=c,da=s;break;case 5:hl||qn(u,n);case 6:if(c=jt,s=da,jt=null,bu(l,n,u),jt=c,da=s,jt!==null)if(da)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(u.stateNode)}catch(r){Tt(u,n,r)}else try{jt.removeChild(u.stateNode)}catch(r){Tt(u,n,r)}break;case 18:jt!==null&&(da?(l=jt,r0(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),Mf(l)):r0(jt,u.stateNode));break;case 4:c=jt,s=da,jt=u.stateNode.containerInfo,da=!0,bu(l,n,u),jt=c,da=s;break;case 0:case 11:case 14:case 15:Za(2,u,n),hl||Za(4,u,n),bu(l,n,u);break;case 1:hl||(qn(u,n),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Ji(u,n,c)),bu(l,n,u);break;case 21:bu(l,n,u);break;case 22:hl=(c=hl)||u.memoizedState!==null,bu(l,n,u),hl=c;break;default:bu(l,n,u)}}function ug(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Mf(l)}catch(u){Tt(n,n.return,u)}}}function Xy(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Mf(l)}catch(u){Tt(n,n.return,u)}}function Js(l){switch(l.tag){case 31:case 13:case 19:var n=l.stateNode;return n===null&&(n=l.stateNode=new Gy),n;case 22:return l=l.stateNode,n=l._retryCache,n===null&&(n=l._retryCache=new Gy),n;default:throw Error(S(435,l.tag))}}function Ks(l,n){var u=Js(l);n.forEach(function(c){if(!u.has(c)){u.add(c);var s=Og.bind(null,l,c);c.then(s,s)}})}function ha(l,n){var u=n.deletions;if(u!==null)for(var c=0;c<u.length;c++){var s=u[c],r=l,m=n,v=m;e:for(;v!==null;){switch(v.tag){case 27:if(Xn(v.type)){jt=v.stateNode,da=!1;break e}break;case 5:jt=v.stateNode,da=!1;break e;case 3:case 4:jt=v.stateNode.containerInfo,da=!0;break e}v=v.return}if(jt===null)throw Error(S(160));Vy(r,m,s),jt=null,da=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Pd(n,l),n=n.sibling}var Xe=null;function Pd(l,n){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:ha(n,l),Aa(l),c&4&&(Za(3,l,l.return),dn(3,l),Za(5,l,l.return));break;case 1:ha(n,l),Aa(l),c&512&&(hl||u===null||qn(u,u.return)),c&64&&ni&&(l=l.updateQueue,l!==null&&(c=l.callbacks,c!==null&&(u=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var s=Xe;if(ha(n,l),Aa(l),c&512&&(hl||u===null||qn(u,u.return)),c&4){var r=u!==null?u.memoizedState:null;if(c=l.memoizedState,u===null)if(c===null)if(l.stateNode===null){e:{c=l.type,u=l.memoizedProps,s=s.ownerDocument||s;t:switch(c){case"title":r=s.getElementsByTagName("title")[0],(!r||r[In]||r[zt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(c),s.head.insertBefore(r,s.querySelector("head > title"))),Vl(r,c,u),r[zt]=l,gt(r),c=r;break e;case"link":var m=y0("link","href",s).get(c+(u.href||""));if(m){for(var v=0;v<m.length;v++)if(r=m[v],r.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&r.getAttribute("rel")===(u.rel==null?null:u.rel)&&r.getAttribute("title")===(u.title==null?null:u.title)&&r.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){m.splice(v,1);break t}}r=s.createElement(c),Vl(r,c,u),s.head.appendChild(r);break;case"meta":if(m=y0("meta","content",s).get(c+(u.content||""))){for(v=0;v<m.length;v++)if(r=m[v],r.getAttribute("content")===(u.content==null?null:""+u.content)&&r.getAttribute("name")===(u.name==null?null:u.name)&&r.getAttribute("property")===(u.property==null?null:u.property)&&r.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&r.getAttribute("charset")===(u.charSet==null?null:u.charSet)){m.splice(v,1);break t}}r=s.createElement(c),Vl(r,c,u),s.head.appendChild(r);break;default:throw Error(S(468,c))}r[zt]=l,gt(r),c=r}l.stateNode=c}else zh(s,l.type,l.stateNode);else l.stateNode=m0(s,c,l.memoizedProps);else r!==c?(r===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):r.count--,c===null?zh(s,l.type,l.stateNode):m0(s,c,l.memoizedProps)):c===null&&l.stateNode!==null&&Wd(l,l.memoizedProps,u.memoizedProps)}break;case 27:ha(n,l),Aa(l),c&512&&(hl||u===null||qn(u,u.return)),u!==null&&c&4&&Wd(l,l.memoizedProps,u.memoizedProps);break;case 5:if(ha(n,l),Aa(l),c&512&&(hl||u===null||qn(u,u.return)),l.flags&32){s=l.stateNode;try{eu(s,"")}catch(he){Tt(l,l.return,he)}}c&4&&l.stateNode!=null&&(s=l.memoizedProps,Wd(l,s,u!==null?u.memoizedProps:s)),c&1024&&(Id=!0);break;case 6:if(ha(n,l),Aa(l),c&4){if(l.stateNode===null)throw Error(S(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(he){Tt(l,l.return,he)}}break;case 3:if(zf=null,s=Xe,Xe=kl(n.containerInfo),ha(n,l),Xe=s,Aa(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Mf(n.containerInfo)}catch(he){Tt(l,l.return,he)}Id&&(Id=!1,Qy(l));break;case 4:c=Xe,Xe=kl(l.stateNode.containerInfo),ha(n,l),Aa(l),Xe=c;break;case 12:ha(n,l),Aa(l);break;case 31:ha(n,l),Aa(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Ks(l,c)));break;case 13:ha(n,l),Aa(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Vn=Gl()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Ks(l,c)));break;case 22:s=l.memoizedState!==null;var z=u!==null&&u.memoizedState!==null,H=ni,$=hl;if(ni=H||s,hl=$||z,ha(n,l),hl=$,ni=H,Aa(l),c&8192)e:for(n=l.stateNode,n._visibility=s?n._visibility&-2:n._visibility|1,s&&(u===null||z||ni||hl||Zc(l)),u=null,n=l;;){if(n.tag===5||n.tag===26){if(u===null){z=u=n;try{if(r=z.stateNode,s)m=r.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{v=z.stateNode;var I=z.memoizedProps.style,B=I!=null&&I.hasOwnProperty("display")?I.display:null;v.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(he){Tt(z,z.return,he)}}}else if(n.tag===6){if(u===null){z=n;try{z.stateNode.nodeValue=s?"":z.memoizedProps}catch(he){Tt(z,z.return,he)}}}else if(n.tag===18){if(u===null){z=n;try{var Q=z.stateNode;s?sl(Q,!0):sl(z.stateNode,!1)}catch(he){Tt(z,z.return,he)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===l)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;u===n&&(u=null),n=n.return}u===n&&(u=null),n.sibling.return=n.return,n=n.sibling}c&4&&(c=l.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,Ks(l,u))));break;case 19:ha(n,l),Aa(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Ks(l,c)));break;case 30:break;case 21:break;default:ha(n,l),Aa(l)}}function Aa(l){var n=l.flags;if(n&2){try{for(var u,c=l.return;c!==null;){if(qy(c)){u=c;break}c=c.return}if(u==null)throw Error(S(160));switch(u.tag){case 27:var s=u.stateNode,r=ef(l);lf(l,r,s);break;case 5:var m=u.stateNode;u.flags&32&&(eu(m,""),u.flags&=-33);var v=ef(l);lf(l,v,m);break;case 3:case 4:var z=u.stateNode.containerInfo,H=ef(l);tf(l,H,z);break;default:throw Error(S(161))}}catch($){Tt(l,l.return,$)}l.flags&=-3}n&4096&&(l.flags&=-4097)}function Qy(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var n=l;Qy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),l=l.sibling}}function ui(l,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Zs(l,n.alternate,n),n=n.sibling}function Zc(l){for(l=l.child;l!==null;){var n=l;switch(n.tag){case 0:case 11:case 14:case 15:Za(4,n,n.return),Zc(n);break;case 1:qn(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&Ji(n,n.return,u),Zc(n);break;case 27:Ic(n.stateNode);case 26:case 5:qn(n,n.return),Zc(n);break;case 22:n.memoizedState===null&&Zc(n);break;case 30:Zc(n);break;default:Zc(n)}l=l.sibling}}function Yn(l,n,u){for(u=u&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var c=n.alternate,s=l,r=n,m=r.flags;switch(r.tag){case 0:case 11:case 15:Yn(s,r,u),dn(4,r);break;case 1:if(Yn(s,r,u),c=r,s=c.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(H){Tt(c,c.return,H)}if(c=r,s=c.updateQueue,s!==null){var v=c.stateNode;try{var z=s.shared.hiddenCallbacks;if(z!==null)for(s.shared.hiddenCallbacks=null,s=0;s<z.length;s++)zd(z[s],v)}catch(H){Tt(c,c.return,H)}}u&&m&64&&kd(r),vu(r,r.return);break;case 27:Yy(r);case 26:case 5:Yn(s,r,u),u&&c===null&&m&4&&By(r),vu(r,r.return);break;case 12:Yn(s,r,u);break;case 31:Yn(s,r,u),u&&m&4&&ug(s,r);break;case 13:Yn(s,r,u),u&&m&4&&Xy(s,r);break;case 22:r.memoizedState===null&&Yn(s,r,u),vu(r,r.return);break;case 30:break;default:Yn(s,r,u)}n=n.sibling}}function eh(l,n){var u=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==u&&(l!=null&&l.refCount++,u!=null&&Ts(u))}function th(l,n){l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&Ts(l))}function hn(l,n,u,c){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)nf(l,n,u,c),n=n.sibling}function nf(l,n,u,c){var s=n.flags;switch(n.tag){case 0:case 11:case 15:hn(l,n,u,c),s&2048&&dn(9,n);break;case 1:hn(l,n,u,c);break;case 3:hn(l,n,u,c),s&2048&&(l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&Ts(l)));break;case 12:if(s&2048){hn(l,n,u,c),l=n.stateNode;try{var r=n.memoizedProps,m=r.id,v=r.onPostCommit;typeof v=="function"&&v(m,n.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(z){Tt(n,n.return,z)}}else hn(l,n,u,c);break;case 31:hn(l,n,u,c);break;case 13:hn(l,n,u,c);break;case 23:break;case 22:r=n.stateNode,m=n.alternate,n.memoizedState!==null?r._visibility&2?hn(l,n,u,c):$s(l,n):r._visibility&2?hn(l,n,u,c):(r._visibility|=2,uf(l,n,u,c,(n.subtreeFlags&10256)!==0||!1)),s&2048&&eh(m,n);break;case 24:hn(l,n,u,c),s&2048&&th(n.alternate,n);break;default:hn(l,n,u,c)}}function uf(l,n,u,c,s){for(s=s&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var r=l,m=n,v=u,z=c,H=m.flags;switch(m.tag){case 0:case 11:case 15:uf(r,m,v,z,s),dn(8,m);break;case 23:break;case 22:var $=m.stateNode;m.memoizedState!==null?$._visibility&2?uf(r,m,v,z,s):$s(r,m):($._visibility|=2,uf(r,m,v,z,s)),s&&H&2048&&eh(m.alternate,m);break;case 24:uf(r,m,v,z,s),s&&H&2048&&th(m.alternate,m);break;default:uf(r,m,v,z,s)}n=n.sibling}}function $s(l,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var u=l,c=n,s=c.flags;switch(c.tag){case 22:$s(u,c),s&2048&&eh(c.alternate,c);break;case 24:$s(u,c),s&2048&&th(c.alternate,c);break;default:$s(u,c)}n=n.sibling}}var za=8192;function Su(l,n,u){if(l.subtreeFlags&za)for(l=l.child;l!==null;)ig(l,n,u),l=l.sibling}function ig(l,n,u){switch(l.tag){case 26:Su(l,n,u),l.flags&za&&l.memoizedState!==null&&xu(u,Xe,l.memoizedState,l.memoizedProps);break;case 5:Su(l,n,u);break;case 3:case 4:var c=Xe;Xe=kl(l.stateNode.containerInfo),Su(l,n,u),Xe=c;break;case 22:l.memoizedState===null&&(c=l.alternate,c!==null&&c.memoizedState!==null?(c=za,za=16777216,Su(l,n,u),za=c):Su(l,n,u));break;default:Su(l,n,u)}}function lh(l){var n=l.alternate;if(n!==null&&(l=n.child,l!==null)){n.child=null;do n=l.sibling,l.sibling=null,l=n;while(l!==null)}}function cf(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];_l=c,ah(c,l)}lh(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Ly(l),l=l.sibling}function Ly(l){switch(l.tag){case 0:case 11:case 15:cf(l),l.flags&2048&&Za(9,l,l.return);break;case 3:cf(l);break;case 12:cf(l);break;case 22:var n=l.stateNode;l.memoizedState!==null&&n._visibility&2&&(l.return===null||l.return.tag!==13)?(n._visibility&=-3,Fs(l)):cf(l);break;default:cf(l)}}function Fs(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];_l=c,ah(c,l)}lh(l)}for(l=l.child;l!==null;){switch(n=l,n.tag){case 0:case 11:case 15:Za(8,n,n.return),Fs(n);break;case 22:u=n.stateNode,u._visibility&2&&(u._visibility&=-3,Fs(n));break;default:Fs(n)}l=l.sibling}}function ah(l,n){for(;_l!==null;){var u=_l;switch(u.tag){case 0:case 11:case 15:Za(8,u,n);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Ts(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,_l=c;else e:for(u=l;_l!==null;){c=_l;var s=c.sibling,r=c.return;if(wy(c),c===u){_l=null;break e}if(s!==null){s.return=r,_l=s;break e}_l=r}}}var cg={getCacheForType:function(l){var n=P(cl),u=n.data.get(l);return u===void 0&&(u=l(),n.data.set(l,u)),u},cacheSignal:function(){return P(cl).controller.signal}},Zy=typeof WeakMap=="function"?WeakMap:Map,rt=0,Ot=null,lt=null,We=0,St=0,Me=null,Tu=!1,Ki=!1,nh=!1,Gn=0,Ut=0,wn=0,Jc=0,uh=0,ma=0,Wt=0,ks=null,It=null,ih=!1,Vn=0,Jy=0,yt=1/0,of=null,Lt=null,vl=0,ii=null,$i=null,Eu=0,xa=0,ch=null,oh=null,ff=0,Ws=null;function Oa(){return(rt&2)!==0&&We!==0?We&-We:M.T!==null?hh():Jr()}function og(){if(ma===0)if((We&536870912)===0||tt){var l=Sn;Sn<<=1,(Sn&3932160)===0&&(Sn=262144),ma=l}else ma=536870912;return l=oa.current,l!==null&&(l.flags|=32),ma}function ya(l,n,u){(l===Ot&&(St===2||St===9)||l.cancelPendingCommit!==null)&&(Au(l,0),ci(l,We,ma,!1)),To(l,u),((rt&2)===0||l!==Ot)&&(l===Ot&&((rt&2)===0&&(Jc|=u),Ut===4&&ci(l,We,ma,!1)),zu(l))}function fg(l,n,u){if((rt&6)!==0)throw Error(S(327));var c=!u&&(n&127)===0&&(n&l.expiredLanes)===0||Tn(l,n),s=c?mg(l,n):sh(l,n,!0),r=c;do{if(s===0){Ki&&!c&&ci(l,n,0,!1);break}else{if(u=l.current.alternate,r&&!sg(u)){s=sh(l,n,!1),r=!1;continue}if(s===2){if(r=n,l.errorRecoveryDisabledLanes&r)var m=0;else m=l.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){n=m;e:{var v=l;s=ks;var z=v.current.memoizedState.isDehydrated;if(z&&(Au(v,m).flags|=256),m=sh(v,m,!1),m!==2){if(nh&&!z){v.errorRecoveryDisabledLanes|=r,Jc|=r,s=4;break e}r=It,It=s,r!==null&&(It===null?It=r:It.push.apply(It,r))}s=m}if(r=!1,s!==2)continue}}if(s===1){Au(l,0),ci(l,n,0,!0);break}e:{switch(c=l,r=s,r){case 0:case 1:throw Error(S(345));case 4:if((n&4194048)!==n)break;case 6:ci(c,n,ma,!Tu);break e;case 2:It=null;break;case 3:case 5:break;default:throw Error(S(329))}if((n&62914560)===n&&(s=Vn+300-Gl(),10<s)){if(ci(c,n,ma,!Tu),ul(c,0,!0)!==0)break e;Eu=n,c.timeoutHandle=cr(Is.bind(null,c,u,It,of,ih,n,ma,Jc,Wt,Tu,r,"Throttled",-0,0),s);break e}Is(c,u,It,of,ih,n,ma,Jc,Wt,Tu,r,null,-0,0)}}break}while(!0);zu(l)}function Is(l,n,u,c,s,r,m,v,z,H,$,I,B,Q){if(l.timeoutHandle=-1,I=n.subtreeFlags,I&8192||(I&16785408)===16785408){I={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:An},ig(n,r,I);var he=(r&62914560)===r?Vn-Gl():(r&4194048)===r?Jy-Gl():0;if(he=g0(I,he),he!==null){Eu=r,l.cancelPendingCommit=he(vg.bind(null,l,n,r,u,c,s,m,v,z,$,I,null,B,Q)),ci(l,r,m,!H);return}}vg(l,n,r,u,c,s,m,v,z)}function sg(l){for(var n=l;;){var u=n.tag;if((u===0||u===11||u===15)&&n.flags&16384&&(u=n.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var s=u[c],r=s.getSnapshot;s=s.value;try{if(!$l(r(),s))return!1}catch{return!1}}if(u=n.child,n.subtreeFlags&16384&&u!==null)u.return=n,n=u;else{if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function ci(l,n,u,c){n&=~uh,n&=~Jc,l.suspendedLanes|=n,l.pingedLanes&=~n,c&&(l.warmLanes|=n),c=l.expirationTimes;for(var s=n;0<s;){var r=31-ta(s),m=1<<r;c[r]=-1,s&=~m}u!==0&&es(l,u,n)}function sf(){return(rt&6)===0?(fi(0),!1):!0}function Ky(){if(lt!==null){if(St===0)var l=lt.return;else l=lt,Nn=ku=null,Rs(l),Hi=null,Uc=0,l=lt;for(;l!==null;)ng(l.alternate,l),l=l.return;lt=null}}function Au(l,n){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,Ug(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),Eu=0,Ky(),Ot=l,lt=u=$u(l.current,null),We=n,St=0,Me=null,Tu=!1,Ki=Tn(l,n),nh=!1,Wt=ma=uh=Jc=wn=Ut=0,It=ks=null,ih=!1,(n&8)!==0&&(n|=n&32);var c=l.entangledLanes;if(c!==0)for(l=l.entanglements,c&=n;0<c;){var s=31-ta(c),r=1<<s;n|=l[s],c&=~r}return Gn=n,Ua(),u}function rf(l,n){Ge=null,M.H=Gs,n===Ni||n===Vo?(n=ly(),St=3):n===Nc?(n=ly(),St=4):St=n===Zd?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Me=n,lt===null&&(Ut=1,Io(l,Ba(n,l.current)))}function rg(){var l=oa.current;return l===null?!0:(We&4194048)===We?Va===null:(We&62914560)===We||(We&536870912)!==0?l===Va:!1}function dg(){var l=M.H;return M.H=Gs,l===null?Gs:l}function hg(){var l=M.A;return M.A=cg,l}function fh(){Ut=4,Tu||(We&4194048)!==We&&oa.current!==null||(Ki=!0),(wn&134217727)===0&&(Jc&134217727)===0||Ot===null||ci(Ot,We,ma,!1)}function sh(l,n,u){var c=rt;rt|=2;var s=dg(),r=hg();(Ot!==l||We!==n)&&(of=null,Au(l,n)),n=!1;var m=Ut;e:do try{if(St!==0&<!==null){var v=lt,z=Me;switch(St){case 8:Ky(),m=6;break e;case 3:case 2:case 9:case 6:oa.current===null&&(n=!0);var H=St;if(St=0,Me=null,Kc(l,v,z,H),u&&Ki){m=0;break e}break;default:H=St,St=0,Me=null,Kc(l,v,z,H)}}i1(),m=Ut;break}catch($){rf(l,$)}while(!0);return n&&l.shellSuspendCounter++,Nn=ku=null,rt=c,M.H=s,M.A=r,lt===null&&(Ot=null,We=0,Ua()),m}function i1(){for(;lt!==null;)yg(lt)}function mg(l,n){var u=rt;rt|=2;var c=dg(),s=hg();Ot!==l||We!==n?(of=null,yt=Gl()+500,Au(l,n)):Ki=Tn(l,n);e:do try{if(St!==0&<!==null){n=lt;var r=Me;t:switch(St){case 1:St=0,Me=null,Kc(l,n,r,1);break;case 2:case 9:if(ey(r)){St=0,Me=null,pg(n);break}n=function(){St!==2&&St!==9||Ot!==l||(St=7),zu(l)},r.then(n,n);break e;case 3:St=7;break e;case 4:St=5;break e;case 7:ey(r)?(St=0,Me=null,pg(n)):(St=0,Me=null,Kc(l,n,r,7));break;case 5:var m=null;switch(lt.tag){case 26:m=lt.memoizedState;case 5:case 27:var v=lt;if(m?Ca(m):v.stateNode.complete){St=0,Me=null;var z=v.sibling;if(z!==null)lt=z;else{var H=v.return;H!==null?(lt=H,Ps(H)):lt=null}break t}}St=0,Me=null,Kc(l,n,r,5);break;case 6:St=0,Me=null,Kc(l,n,r,6);break;case 8:Ky(),Ut=6;break e;default:throw Error(S(462))}}Fi();break}catch($){rf(l,$)}while(!0);return Nn=ku=null,M.H=c,M.A=s,rt=u,lt!==null?0:(Ot=null,We=0,Ua(),Ut)}function Fi(){for(;lt!==null&&!oc();)yg(lt)}function yg(l){var n=jy(l.alternate,l,Gn);l.memoizedProps=l.pendingProps,n===null?Ps(l):lt=n}function pg(l){var n=l,u=n.alternate;switch(n.tag){case 15:case 0:n=Li(u,n,n.pendingProps,n.type,void 0,We);break;case 11:n=Li(u,n,n.pendingProps,n.type.render,n.ref,We);break;case 5:Rs(n);default:ng(u,n),n=lt=Km(n,Gn),n=jy(u,n,Gn)}l.memoizedProps=l.pendingProps,n===null?Ps(l):lt=n}function Kc(l,n,u,c){Nn=ku=null,Rs(n),Hi=null,Uc=0;var s=n.return;try{if(u1(l,s,n,u,We)){Ut=1,Io(l,Ba(u,l.current)),lt=null;return}}catch(r){if(s!==null)throw lt=s,r;Ut=1,Io(l,Ba(u,l.current)),lt=null;return}n.flags&32768?(tt||c===1?l=!0:Ki||(We&536870912)!==0?l=!1:(Tu=l=!0,(c===2||c===9||c===3||c===6)&&(c=oa.current,c!==null&&c.tag===13&&(c.flags|=16384))),gg(n,l)):Ps(n)}function Ps(l){var n=l;do{if((n.flags&32768)!==0){gg(n,Tu);return}l=n.return;var u=lg(n.alternate,n,Gn);if(u!==null){lt=u;return}if(n=n.sibling,n!==null){lt=n;return}lt=n=l}while(n!==null);Ut===0&&(Ut=5)}function gg(l,n){do{var u=ag(l.alternate,l);if(u!==null){u.flags&=32767,lt=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!n&&(l=l.sibling,l!==null)){lt=l;return}lt=l=u}while(l!==null);Ut=6,lt=null}function vg(l,n,u,c,s,r,m,v,z){l.cancelPendingCommit=null;do df();while(vl!==0);if((rt&6)!==0)throw Error(S(327));if(n!==null){if(n===l.current)throw Error(S(177));if(r=n.lanes|n.childLanes,r|=cn,Lr(l,u,r,m,v,z),l===Ot&&(lt=Ot=null,We=0),$i=n,ii=l,Eu=u,xa=r,ch=s,oh=c,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Dg(vi,function(){return Ag(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||c){c=M.T,M.T=null,s=k.p,k.p=2,m=rt,rt|=4;try{af(l,n,u)}finally{rt=m,k.p=s,M.T=c}}vl=1,bg(),Sg(),Tg()}}function bg(){if(vl===1){vl=0;var l=ii,n=$i,u=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||u){u=M.T,M.T=null;var c=k.p;k.p=2;var s=rt;rt|=4;try{Pd(n,l);var r=bh,m=Di(l.containerInfo),v=r.focusedElem,z=r.selectionRange;if(m!==v&&v&&v.ownerDocument&&zc(v.ownerDocument.documentElement,v)){if(z!==null&&rs(v)){var H=z.start,$=z.end;if($===void 0&&($=H),"selectionStart"in v)v.selectionStart=H,v.selectionEnd=Math.min($,v.value.length);else{var I=v.ownerDocument||document,B=I&&I.defaultView||window;if(B.getSelection){var Q=B.getSelection(),he=v.textContent.length,De=Math.min(z.start,he),Ct=z.end===void 0?De:Math.min(z.end,he);!Q.extend&&De>Ct&&(m=Ct,Ct=De,De=m);var N=Zm(v,De),D=Zm(v,Ct);if(N&&D&&(Q.rangeCount!==1||Q.anchorNode!==N.node||Q.anchorOffset!==N.offset||Q.focusNode!==D.node||Q.focusOffset!==D.offset)){var j=I.createRange();j.setStart(N.node,N.offset),Q.removeAllRanges(),De>Ct?(Q.addRange(j),Q.extend(D.node,D.offset)):(j.setEnd(D.node,D.offset),Q.addRange(j))}}}}for(I=[],Q=v;Q=Q.parentNode;)Q.nodeType===1&&I.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<I.length;v++){var W=I[v];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}bl=!!vh,bh=vh=null}finally{rt=s,k.p=c,M.T=u}}l.current=n,vl=2}}function Sg(){if(vl===2){vl=0;var l=ii,n=$i,u=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||u){u=M.T,M.T=null;var c=k.p;k.p=2;var s=rt;rt|=4;try{Zs(l,n.alternate,n)}finally{rt=s,k.p=c,M.T=u}}vl=3}}function Tg(){if(vl===4||vl===3){vl=0,Vr();var l=ii,n=$i,u=Eu,c=oh;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?vl=5:(vl=0,$i=ii=null,Eg(l,l.pendingLanes));var s=l.pendingLanes;if(s===0&&(Lt=null),bm(u),n=n.stateNode,Sa&&typeof Sa.onCommitFiberRoot=="function")try{Sa.onCommitFiberRoot(fc,n,void 0,(n.current.flags&128)===128)}catch{}if(c!==null){n=M.T,s=k.p,k.p=2,M.T=null;try{for(var r=l.onRecoverableError,m=0;m<c.length;m++){var v=c[m];r(v.value,{componentStack:v.stack})}}finally{M.T=n,k.p=s}}(Eu&3)!==0&&df(),zu(l),s=l.pendingLanes,(u&261930)!==0&&(s&42)!==0?l===Ws?ff++:(ff=0,Ws=l):ff=0,fi(0)}}function Eg(l,n){(l.pooledCacheLanes&=n)===0&&(n=l.pooledCache,n!=null&&(l.pooledCache=null,Ts(n)))}function df(){return bg(),Sg(),Tg(),Ag()}function Ag(){if(vl!==5)return!1;var l=ii,n=xa;xa=0;var u=bm(Eu),c=M.T,s=k.p;try{k.p=32>u?32:u,M.T=null,u=ch,ch=null;var r=ii,m=Eu;if(vl=0,$i=ii=null,Eu=0,(rt&6)!==0)throw Error(S(331));var v=rt;if(rt|=4,Ly(r.current),nf(r,r.current,m,u),rt=v,fi(0,!1),Sa&&typeof Sa.onPostCommitFiberRoot=="function")try{Sa.onPostCommitFiberRoot(fc,r)}catch{}return!0}finally{k.p=s,M.T=c,Eg(l,n)}}function zg(l,n,u){n=Ba(u,n),n=zy(l.stateNode,n,2),l=wa(l,n,2),l!==null&&(To(l,2),zu(l))}function Tt(l,n,u){if(l.tag===3)zg(l,l,u);else for(;n!==null;){if(n.tag===3){zg(n,l,u);break}else if(n.tag===1){var c=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Lt===null||!Lt.has(c))){l=Ba(u,l),u=xy(2),c=wa(n,u,2),c!==null&&(Oy(u,c,n,l),To(c,2),zu(c));break}}n=n.return}}function er(l,n,u){var c=l.pingCache;if(c===null){c=l.pingCache=new Zy;var s=new Set;c.set(n,s)}else s=c.get(n),s===void 0&&(s=new Set,c.set(n,s));s.has(u)||(nh=!0,s.add(u),l=$y.bind(null,l,n,u),n.then(l,l))}function $y(l,n,u){var c=l.pingCache;c!==null&&c.delete(n),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,Ot===l&&(We&u)===u&&(Ut===4||Ut===3&&(We&62914560)===We&&300>Gl()-Vn?(rt&2)===0&&Au(l,0):uh|=u,Wt===We&&(Wt=0)),zu(l)}function xg(l,n){n===0&&(n=sc()),l=Ku(l,n),l!==null&&(To(l,n),zu(l))}function Ja(l){var n=l.memoizedState,u=0;n!==null&&(u=n.retryLane),xg(l,u)}function Og(l,n){var u=0;switch(l.tag){case 31:case 13:var c=l.stateNode,s=l.memoizedState;s!==null&&(u=s.retryLane);break;case 19:c=l.stateNode;break;case 22:c=l.stateNode._retryCache;break;default:throw Error(S(314))}c!==null&&c.delete(n),xg(l,u)}function Dg(l,n){return Rt(l,n)}var hf=null,$c=null,Fy=!1,rh=!1,ky=!1,oi=0;function zu(l){l!==$c&&l.next===null&&($c===null?hf=$c=l:$c=$c.next=l),rh=!0,Fy||(Fy=!0,lr())}function fi(l,n){if(!ky&&rh){ky=!0;do for(var u=!1,c=hf;c!==null;){if(l!==0){var s=c.pendingLanes;if(s===0)var r=0;else{var m=c.suspendedLanes,v=c.pingedLanes;r=(1<<31-ta(42|l)+1)-1,r&=s&~(m&~v),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(u=!0,Fc(c,r))}else r=We,r=ul(c,c===Ot?r:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(r&3)===0||Tn(c,r)||(u=!0,Fc(c,r));c=c.next}while(u);ky=!1}}function dh(){Wy()}function Wy(){rh=Fy=!1;var l=0;oi!==0&&c1()&&(l=oi);for(var n=Gl(),u=null,c=hf;c!==null;){var s=c.next,r=Iy(c,n);r===0?(c.next=null,u===null?hf=s:u.next=s,s===null&&($c=u)):(u=c,(l!==0||(r&3)!==0)&&(rh=!0)),c=s}vl!==0&&vl!==5||fi(l),oi!==0&&(oi=0)}function Iy(l,n){for(var u=l.suspendedLanes,c=l.pingedLanes,s=l.expirationTimes,r=l.pendingLanes&-62914561;0<r;){var m=31-ta(r),v=1<<m,z=s[m];z===-1?((v&u)===0||(v&c)!==0)&&(s[m]=So(v,n)):z<=n&&(l.expiredLanes|=v),r&=~v}if(n=Ot,u=We,u=ul(l,l===n?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===n&&(St===2||St===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&pm(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||Tn(l,u)){if(n=u&-u,n===l.callbackPriority)return n;switch(c!==null&&pm(c),bm(u)){case 2:case 8:u=Qr;break;case 32:u=vi;break;case 268435456:u=gm;break;default:u=vi}return c=tr.bind(null,l),u=Rt(u,c),l.callbackPriority=n,l.callbackNode=u,n}return c!==null&&c!==null&&pm(c),l.callbackPriority=2,l.callbackNode=null,2}function tr(l,n){if(vl!==0&&vl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(df()&&l.callbackNode!==u)return null;var c=We;return c=ul(l,l===Ot?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(fg(l,c,n),Iy(l,Gl()),l.callbackNode!=null&&l.callbackNode===u?tr.bind(null,l):null)}function Fc(l,n){if(df())return null;fg(l,n,!0)}function lr(){Hg(function(){(rt&6)!==0?Rt(Xr,dh):Wy()})}function hh(){if(oi===0){var l=Ri;l===0&&(l=Xu,Xu<<=1,(Xu&261888)===0&&(Xu=256)),oi=l}return oi}function Cg(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:ln(""+l)}function kc(l,n){var u=n.ownerDocument.createElement("input");return u.name=n.name,u.value=n.value,l.id&&u.setAttribute("form",l.id),n.parentNode.insertBefore(u,n),l=new FormData(l),u.parentNode.removeChild(u),l}function ar(l,n,u,c,s){if(n==="submit"&&u&&u.stateNode===s){var r=Cg((s[la]||null).action),m=c.submitter;m&&(n=(n=m[la]||null)?Cg(n.formAction):m.getAttribute("formAction"),n!==null&&(r=n,m=null));var v=new os("action","action",null,c,s);l.push({event:v,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(oi!==0){var z=m?kc(s,m):new FormData(s);ko(u,{pending:!0,data:z,method:s.method,action:r},null,z)}}else typeof r=="function"&&(v.preventDefault(),z=m?kc(s,m):new FormData(s),ko(u,{pending:!0,data:z,method:s.method,action:r},r,z))},currentTarget:s}]})}}for(var mh=0;mh<Ho.length;mh++){var mf=Ho[mh],Py=mf.toLowerCase(),e0=mf[0].toUpperCase()+mf.slice(1);na(Py,"on"+e0)}na(hs,"onAnimationEnd"),na(Jm,"onAnimationIteration"),na(md,"onAnimationStart"),na("dblclick","onDoubleClick"),na("focusin","onFocus"),na("focusout","onBlur"),na(xc,"onTransitionRun"),na(ms,"onTransitionStart"),na(nu,"onTransitionCancel"),na(Gp,"onTransitionEnd"),Pn("onMouseEnter",["mouseout","mouseover"]),Pn("onMouseLeave",["mouseout","mouseover"]),Pn("onPointerEnter",["pointerout","pointerover"]),Pn("onPointerLeave",["pointerout","pointerover"]),Ei("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ei("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ei("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ei("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ei("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ei("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yf="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(" "),Mg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yf));function _g(l,n){n=(n&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],s=c.event;c=c.listeners;e:{var r=void 0;if(n)for(var m=c.length-1;0<=m;m--){var v=c[m],z=v.instance,H=v.currentTarget;if(v=v.listener,z!==r&&s.isPropagationStopped())break e;r=v,s.currentTarget=H;try{r(s)}catch($){Oc($)}s.currentTarget=null,r=z}else for(m=0;m<c.length;m++){if(v=c[m],z=v.instance,H=v.currentTarget,v=v.listener,z!==r&&s.isPropagationStopped())break e;r=v,s.currentTarget=H;try{r(s)}catch($){Oc($)}s.currentTarget=null,r=z}}}}function et(l,n){var u=n[Kr];u===void 0&&(u=n[Kr]=new Set);var c=l+"__bubble";u.has(c)||(nr(n,l,2,!1),u.add(c))}function t0(l,n,u){var c=0;n&&(c|=4),nr(u,l,c,n)}var yh="_reactListening"+Math.random().toString(36).slice(2);function pf(l){if(!l[yh]){l[yh]=!0,mc.forEach(function(u){u!=="selectionchange"&&(Mg.has(u)||t0(u,!1,l),t0(u,!0,l))});var n=l.nodeType===9?l:l.ownerDocument;n===null||n[yh]||(n[yh]=!0,t0("selectionchange",!1,n))}}function nr(l,n,u,c){switch(hr(n)){case 2:var s=Ou;break;case 8:s=Du;break;default:s=Xl}u=s.bind(null,n,u,l),s=void 0,!is||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(s=!0),c?s!==void 0?l.addEventListener(n,u,{capture:!0,passive:s}):l.addEventListener(n,u,!0):s!==void 0?l.addEventListener(n,u,{passive:s}):l.addEventListener(n,u,!1)}function l0(l,n,u,c,s){var r=c;if((n&1)===0&&(n&2)===0&&c!==null)e:for(;;){if(c===null)return;var m=c.tag;if(m===3||m===4){var v=c.stateNode.containerInfo;if(v===s)break;if(m===4)for(m=c.return;m!==null;){var z=m.tag;if((z===3||z===4)&&m.stateNode.containerInfo===s)return;m=m.return}for(;v!==null;){if(m=rc(v),m===null)return;if(z=m.tag,z===5||z===6||z===26||z===27){c=r=m;continue e}v=v.parentNode}}c=c.return}Cm(function(){var H=r,$=td(u),I=[];e:{var B=uu.get(l);if(B!==void 0){var Q=os,he=l;switch(l){case"keypress":if(ad(u)===0)break e;case"keydown":case"keyup":Q=cd;break;case"focusin":he="focus",Q=ud;break;case"focusout":he="blur",Q=ud;break;case"beforeblur":case"afterblur":Q=ud;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=_o;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=Dp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=Np;break;case hs:case Jm:case md:Q=Mp;break;case Gp:Q=t1;break;case"scroll":case"scrollend":Q=Pv;break;case"wheel":Q=l1;break;case"copy":case"cut":case"paste":Q=vc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=On;break;case"toggle":case"beforetoggle":Q=qm}var De=(n&4)!==0,Ct=!De&&(l==="scroll"||l==="scrollend"),N=De?B!==null?B+"Capture":null:B;De=[];for(var D=H,j;D!==null;){var W=D;if(j=W.stateNode,W=W.tag,W!==5&&W!==26&&W!==27||j===null||N===null||(W=zl(D,N),W!=null&&De.push(ur(D,W,j))),Ct)break;D=D.return}0<De.length&&(B=new Q(B,he,null,u,$),I.push({event:B,listeners:De}))}}if((n&7)===0){e:{if(B=l==="mouseover"||l==="pointerover",Q=l==="mouseout"||l==="pointerout",B&&u!==ed&&(he=u.relatedTarget||u.fromElement)&&(rc(he)||he[Si]))break e;if((Q||B)&&(B=$.window===$?$:(B=$.ownerDocument)?B.defaultView||B.parentWindow:window,Q?(he=u.relatedTarget||u.toElement,Q=H,he=he?rc(he):null,he!==null&&(Ct=Y(he),De=he.tag,he!==Ct||De!==5&&De!==27&&De!==6)&&(he=null)):(Q=null,he=H),Q!==he)){if(De=_o,W="onMouseLeave",N="onMouseEnter",D="mouse",(l==="pointerout"||l==="pointerover")&&(De=On,W="onPointerLeave",N="onPointerEnter",D="pointer"),Ct=Q==null?B:Eo(Q),j=he==null?B:Eo(he),B=new De(W,D+"leave",Q,u,$),B.target=Ct,B.relatedTarget=j,W=null,rc($)===H&&(De=new De(N,D+"enter",he,u,$),De.target=j,De.relatedTarget=Ct,W=De),Ct=W,Q&&he)t:{for(De=Rg,N=Q,D=he,j=0,W=N;W;W=De(W))j++;W=0;for(var Te=D;Te;Te=De(Te))W++;for(;0<j-W;)N=De(N),j--;for(;0<W-j;)D=De(D),W--;for(;j--;){if(N===D||D!==null&&N===D.alternate){De=N;break t}N=De(N),D=De(D)}De=null}else De=null;Q!==null&&ph(I,B,Q,De,!1),he!==null&&Ct!==null&&ph(I,Ct,he,De,!0)}}e:{if(B=H?Eo(H):window,Q=B.nodeName&&B.nodeName.toLowerCase(),Q==="select"||Q==="input"&&B.type==="file")var ot=Xm;else if(au(B))if(sd)ot=Ac;else{ot=qp;var ge=Bp}else Q=B.nodeName,!Q||Q.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?H&&Dm(H.elementType)&&(ot=Xm):ot=Oi;if(ot&&(ot=ot(l,H))){Vm(I,ot,u,$);break e}ge&&ge(l,B,H),l==="focusout"&&H&&B.type==="number"&&H.memoizedProps.value!=null&&yc(B,"number",B.value)}switch(ge=H?Eo(H):window,l){case"focusin":(au(ge)||ge.contentEditable==="true")&&(Ci=ge,jo=H,un=null);break;case"focusout":un=jo=Ci=null;break;case"mousedown":Cn=!0;break;case"contextmenu":case"mouseup":case"dragend":Cn=!1,hd(I,u,$);break;case"selectionchange":if(ds)break;case"keydown":case"keyup":hd(I,u,$)}var Ye;if(Ro)e:{switch(l){case"compositionstart":var Qe="onCompositionStart";break e;case"compositionend":Qe="onCompositionEnd";break e;case"compositionupdate":Qe="onCompositionUpdate";break e}Qe=void 0}else Sc?fd(l,u)&&(Qe="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(Qe="onCompositionStart");Qe&&(Ym&&u.locale!=="ko"&&(Sc||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&Sc&&(Ye=_m()):(Zu=$,Mm="value"in Zu?Zu.value:Zu.textContent,Sc=!0)),ge=ir(H,Qe),0<ge.length&&(Qe=new _p(Qe,l,null,u,$),I.push({event:Qe,listeners:ge}),Ye?Qe.data=Ye:(Ye=Gm(u),Ye!==null&&(Qe.data=Ye)))),(Ye=Kl?Hp(l,u):a1(l,u))&&(Qe=ir(H,"onBeforeInput"),0<Qe.length&&(ge=new _p("onBeforeInput","beforeinput",null,u,$),I.push({event:ge,listeners:Qe}),ge.data=Ye)),ar(I,l,H,u,$)}_g(I,n)})}function ur(l,n,u){return{instance:l,listener:n,currentTarget:u}}function ir(l,n){for(var u=n+"Capture",c=[];l!==null;){var s=l,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=zl(l,u),s!=null&&c.unshift(ur(l,s,r)),s=zl(l,n),s!=null&&c.push(ur(l,s,r))),l.tag===3)return c;l=l.return}return[]}function Rg(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function ph(l,n,u,c,s){for(var r=n._reactName,m=[];u!==null&&u!==c;){var v=u,z=v.alternate,H=v.stateNode;if(v=v.tag,z!==null&&z===c)break;v!==5&&v!==26&&v!==27||H===null||(z=H,s?(H=zl(u,r),H!=null&&m.unshift(ur(u,H,z))):s||(H=zl(u,r),H!=null&&m.push(ur(u,H,z)))),u=u.return}m.length!==0&&l.push({event:n,listeners:m})}var Ng=/\r\n?/g,a0=/\u0000|\uFFFD/g;function n0(l){return(typeof l=="string"?l:""+l).replace(Ng,`
|
|
14
|
+
`).replace(a0,"")}function u0(l,n){return n=n0(n),n0(l)===n}function Dt(l,n,u,c,s,r){switch(u){case"children":typeof c=="string"?n==="body"||n==="textarea"&&c===""||eu(l,c):(typeof c=="number"||typeof c=="bigint")&&n!=="body"&&eu(l,""+c);break;case"className":Wr(l,"class",c);break;case"tabIndex":Wr(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Wr(l,u,c);break;case"style":zp(l,c,r);break;case"data":if(n!=="object"){Wr(l,"data",c);break}case"src":case"href":if(c===""&&(n!=="a"||u!=="href")){l.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=ln(""+c),l.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){l.setAttribute(u,"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 r=="function"&&(u==="formAction"?(n!=="input"&&Dt(l,n,"name",s.name,s,null),Dt(l,n,"formEncType",s.formEncType,s,null),Dt(l,n,"formMethod",s.formMethod,s,null),Dt(l,n,"formTarget",s.formTarget,s,null)):(Dt(l,n,"encType",s.encType,s,null),Dt(l,n,"method",s.method,s,null),Dt(l,n,"target",s.target,s,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=ln(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=An);break;case"onScroll":c!=null&&et("scroll",l);break;case"onScrollEnd":c!=null&&et("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(S(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(S(60));l.innerHTML=u}}break;case"multiple":l.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":l.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){l.removeAttribute("xlink:href");break}u=ln(""+c),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""+c):l.removeAttribute(u);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":c&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""):l.removeAttribute(u);break;case"capture":case"download":c===!0?l.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,c):l.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?l.setAttribute(u,c):l.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?l.removeAttribute(u):l.setAttribute(u,c);break;case"popover":et("beforetoggle",l),et("toggle",l),xo(l,"popover",c);break;case"xlinkActuate":Qu(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Qu(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Qu(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Qu(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Qu(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Qu(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Qu(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Qu(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Qu(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":xo(l,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Iv.get(u)||u,xo(l,u,c))}}function i0(l,n,u,c,s,r){switch(u){case"style":zp(l,c,r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(S(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(S(60));l.innerHTML=u}}break;case"children":typeof c=="string"?eu(l,c):(typeof c=="number"||typeof c=="bigint")&&eu(l,""+c);break;case"onScroll":c!=null&&et("scroll",l);break;case"onScrollEnd":c!=null&&et("scrollend",l);break;case"onClick":c!=null&&(l.onclick=An);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ti.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(s=u.endsWith("Capture"),n=u.slice(2,s?u.length-7:void 0),r=l[la]||null,r=r!=null?r[u]:null,typeof r=="function"&&l.removeEventListener(n,r,s),typeof c=="function")){typeof r!="function"&&r!==null&&(u in l?l[u]=null:l.hasAttribute(u)&&l.removeAttribute(u)),l.addEventListener(n,c,s);break e}u in l?l[u]=c:c===!0?l.setAttribute(u,""):xo(l,u,c)}}}function Vl(l,n,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":et("error",l),et("load",l);var c=!1,s=!1,r;for(r in u)if(u.hasOwnProperty(r)){var m=u[r];if(m!=null)switch(r){case"src":c=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,n));default:Dt(l,n,r,m,u,null)}}s&&Dt(l,n,"srcSet",u.srcSet,u,null),c&&Dt(l,n,"src",u.src,u,null);return;case"input":et("invalid",l);var v=r=m=s=null,z=null,H=null;for(c in u)if(u.hasOwnProperty(c)){var $=u[c];if($!=null)switch(c){case"name":s=$;break;case"type":m=$;break;case"checked":z=$;break;case"defaultChecked":H=$;break;case"value":r=$;break;case"defaultValue":v=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(S(137,n));break;default:Dt(l,n,c,$,u,null)}}as(l,r,v,z,H,m,s,!1);return;case"select":et("invalid",l),c=m=r=null;for(s in u)if(u.hasOwnProperty(s)&&(v=u[s],v!=null))switch(s){case"value":r=v;break;case"defaultValue":m=v;break;case"multiple":c=v;default:Dt(l,n,s,v,u,null)}n=r,u=m,l.multiple=!!c,n!=null?Oo(l,!!c,n,!1):u!=null&&Oo(l,!!c,u,!0);return;case"textarea":et("invalid",l),r=s=c=null;for(m in u)if(u.hasOwnProperty(m)&&(v=u[m],v!=null))switch(m){case"value":c=v;break;case"defaultValue":s=v;break;case"children":r=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(S(91));break;default:Dt(l,n,m,v,u,null)}Om(l,c,s,r);return;case"option":for(z in u)u.hasOwnProperty(z)&&(c=u[z],c!=null)&&(z==="selected"?l.selected=c&&typeof c!="function"&&typeof c!="symbol":Dt(l,n,z,c,u,null));return;case"dialog":et("beforetoggle",l),et("toggle",l),et("cancel",l),et("close",l);break;case"iframe":case"object":et("load",l);break;case"video":case"audio":for(c=0;c<yf.length;c++)et(yf[c],l);break;case"image":et("error",l),et("load",l);break;case"details":et("toggle",l);break;case"embed":case"source":case"link":et("error",l),et("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(H in u)if(u.hasOwnProperty(H)&&(c=u[H],c!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,n));default:Dt(l,n,H,c,u,null)}return;default:if(Dm(n)){for($ in u)u.hasOwnProperty($)&&(c=u[$],c!==void 0&&i0(l,n,$,c,u,void 0));return}}for(v in u)u.hasOwnProperty(v)&&(c=u[v],c!=null&&Dt(l,n,v,c,u,null))}function c0(l,n,u,c){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,r=null,m=null,v=null,z=null,H=null,$=null;for(Q in u){var I=u[Q];if(u.hasOwnProperty(Q)&&I!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":z=I;default:c.hasOwnProperty(Q)||Dt(l,n,Q,null,c,I)}}for(var B in c){var Q=c[B];if(I=u[B],c.hasOwnProperty(B)&&(Q!=null||I!=null))switch(B){case"type":r=Q;break;case"name":s=Q;break;case"checked":H=Q;break;case"defaultChecked":$=Q;break;case"value":m=Q;break;case"defaultValue":v=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(S(137,n));break;default:Q!==I&&Dt(l,n,B,Q,c,I)}}ls(l,m,v,z,H,$,r,s);return;case"select":Q=m=v=B=null;for(r in u)if(z=u[r],u.hasOwnProperty(r)&&z!=null)switch(r){case"value":break;case"multiple":Q=z;default:c.hasOwnProperty(r)||Dt(l,n,r,null,c,z)}for(s in c)if(r=c[s],z=u[s],c.hasOwnProperty(s)&&(r!=null||z!=null))switch(s){case"value":B=r;break;case"defaultValue":v=r;break;case"multiple":m=r;default:r!==z&&Dt(l,n,s,r,c,z)}n=v,u=m,c=Q,B!=null?Oo(l,!!u,B,!1):!!c!=!!u&&(n!=null?Oo(l,!!u,n,!0):Oo(l,!!u,u?[]:"",!1));return;case"textarea":Q=B=null;for(v in u)if(s=u[v],u.hasOwnProperty(v)&&s!=null&&!c.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Dt(l,n,v,null,c,s)}for(m in c)if(s=c[m],r=u[m],c.hasOwnProperty(m)&&(s!=null||r!=null))switch(m){case"value":B=s;break;case"defaultValue":Q=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(S(91));break;default:s!==r&&Dt(l,n,m,s,c,r)}xm(l,B,Q);return;case"option":for(var he in u)B=u[he],u.hasOwnProperty(he)&&B!=null&&!c.hasOwnProperty(he)&&(he==="selected"?l.selected=!1:Dt(l,n,he,null,c,B));for(z in c)B=c[z],Q=u[z],c.hasOwnProperty(z)&&B!==Q&&(B!=null||Q!=null)&&(z==="selected"?l.selected=B&&typeof B!="function"&&typeof B!="symbol":Dt(l,n,z,B,c,Q));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 De in u)B=u[De],u.hasOwnProperty(De)&&B!=null&&!c.hasOwnProperty(De)&&Dt(l,n,De,null,c,B);for(H in c)if(B=c[H],Q=u[H],c.hasOwnProperty(H)&&B!==Q&&(B!=null||Q!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(S(137,n));break;default:Dt(l,n,H,B,c,Q)}return;default:if(Dm(n)){for(var Ct in u)B=u[Ct],u.hasOwnProperty(Ct)&&B!==void 0&&!c.hasOwnProperty(Ct)&&i0(l,n,Ct,void 0,c,B);for($ in c)B=c[$],Q=u[$],!c.hasOwnProperty($)||B===Q||B===void 0&&Q===void 0||i0(l,n,$,B,c,Q);return}}for(var N in u)B=u[N],u.hasOwnProperty(N)&&B!=null&&!c.hasOwnProperty(N)&&Dt(l,n,N,null,c,B);for(I in c)B=c[I],Q=u[I],!c.hasOwnProperty(I)||B===Q||B==null&&Q==null||Dt(l,n,I,B,c,Q)}function gh(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function o0(){if(typeof performance.getEntriesByType=="function"){for(var l=0,n=0,u=performance.getEntriesByType("resource"),c=0;c<u.length;c++){var s=u[c],r=s.transferSize,m=s.initiatorType,v=s.duration;if(r&&v&&gh(m)){for(m=0,v=s.responseEnd,c+=1;c<u.length;c++){var z=u[c],H=z.startTime;if(H>v)break;var $=z.transferSize,I=z.initiatorType;$&&gh(I)&&(z=z.responseEnd,m+=$*(z<v?1:(v-H)/(z-H)))}if(--c,n+=8*(r+m)/(s.duration/1e3),l++,10<l)break}}if(0<l)return n/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var vh=null,bh=null;function ki(l){return l.nodeType===9?l:l.ownerDocument}function jg(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function f0(l,n){if(l===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&n==="foreignObject"?0:l}function gf(l,n){return l==="textarea"||l==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Sh=null;function c1(){var l=window.event;return l&&l.type==="popstate"?l===Sh?!1:(Sh=l,!0):(Sh=null,!1)}var cr=typeof setTimeout=="function"?setTimeout:void 0,Ug=typeof clearTimeout=="function"?clearTimeout:void 0,Wc=typeof Promise=="function"?Promise:void 0,Hg=typeof queueMicrotask=="function"?queueMicrotask:typeof Wc<"u"?function(l){return Wc.resolve(null).then(l).catch(s0)}:cr;function s0(l){setTimeout(function(){throw l})}function Xn(l){return l==="head"}function r0(l,n){var u=n,c=0;do{var s=u.nextSibling;if(l.removeChild(u),s&&s.nodeType===8)if(u=s.data,u==="/$"||u==="/&"){if(c===0){l.removeChild(s),Mf(n);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")Ic(l.ownerDocument.documentElement);else if(u==="head"){u=l.ownerDocument.head,Ic(u);for(var r=u.firstChild;r;){var m=r.nextSibling,v=r.nodeName;r[In]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&r.rel.toLowerCase()==="stylesheet"||u.removeChild(r),r=m}}else u==="body"&&Ic(l.ownerDocument.body);u=s}while(u);Mf(n)}function sl(l,n){var u=l;l=0;do{var c=u.nextSibling;if(u.nodeType===1?n?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(n?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(l===0)break;l--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||l++;u=c}while(u)}function or(l){var n=l.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var u=n;switch(n=n.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":or(u),$r(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function o1(l,n,u,c){for(;l.nodeType===1;){var s=u;if(l.nodeName.toLowerCase()!==n.toLowerCase()){if(!c&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(c){if(!l[In])switch(n){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(r=l.getAttribute("rel"),r==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(r!==s.rel||l.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||l.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||l.getAttribute("title")!==(s.title==null?null:s.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(r=l.getAttribute("src"),(r!==(s.src==null?null:s.src)||l.getAttribute("type")!==(s.type==null?null:s.type)||l.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(n==="input"&&l.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&l.getAttribute("name")===r)return l}else return l;if(l=pa(l.nextSibling),l===null)break}return null}function Je(l,n,u){if(n==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=pa(l.nextSibling),l===null))return null;return l}function Bg(l,n){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!n||(l=pa(l.nextSibling),l===null))return null;return l}function mn(l){return l.data==="$?"||l.data==="$~"}function Wi(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function vf(l,n){var u=l.ownerDocument;if(l.data==="$~")l._reactRetry=n;else if(l.data!=="$?"||u.readyState!=="loading")n();else{var c=function(){n(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function pa(l){for(;l!=null;l=l.nextSibling){var n=l.nodeType;if(n===1||n===3)break;if(n===8){if(n=l.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return l}var fr=null;function Th(l){l=l.nextSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="/$"||u==="/&"){if(n===0)return pa(l.nextSibling);n--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||n++}l=l.nextSibling}return null}function Qn(l){l=l.previousSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(n===0)return l;n--}else u!=="/$"&&u!=="/&"||n++}l=l.previousSibling}return null}function bf(l,n,u){switch(n=ki(u),l){case"html":if(l=n.documentElement,!l)throw Error(S(452));return l;case"head":if(l=n.head,!l)throw Error(S(453));return l;case"body":if(l=n.body,!l)throw Error(S(454));return l;default:throw Error(S(451))}}function Ic(l){for(var n=l.attributes;n.length;)l.removeAttributeNode(n[0]);$r(l)}var Da=new Map,sr=new Set;function kl(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Ln=k.d;k.d={f:f1,r:qg,D:X,C:pt,L:s1,m:d0,X:si,S:h0,M:Ii};function f1(){var l=Ln.f(),n=sf();return l||n}function qg(l){var n=dc(l);n!==null&&n.tag===5&&n.type==="form"?xt(n):Ln.r(l)}var Sf=typeof document>"u"?null:document;function ml(l,n,u){var c=Sf;if(c&&typeof n=="string"&&n){var s=ja(n);s='link[rel="'+l+'"][href="'+s+'"]',typeof u=="string"&&(s+='[crossorigin="'+u+'"]'),sr.has(s)||(sr.add(s),l={rel:l,crossOrigin:u,href:n},c.querySelector(s)===null&&(n=c.createElement("link"),Vl(n,"link",l),gt(n),c.head.appendChild(n)))}}function X(l){Ln.D(l),ml("dns-prefetch",l,null)}function pt(l,n){Ln.C(l,n),ml("preconnect",l,n)}function s1(l,n,u){Ln.L(l,n,u);var c=Sf;if(c&&l&&n){var s='link[rel="preload"][as="'+ja(n)+'"]';n==="image"&&u&&u.imageSrcSet?(s+='[imagesrcset="'+ja(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(s+='[imagesizes="'+ja(u.imageSizes)+'"]')):s+='[href="'+ja(l)+'"]';var r=s;switch(n){case"style":r=Ka(l);break;case"script":r=Pc(l)}Da.has(r)||(l=J({rel:"preload",href:n==="image"&&u&&u.imageSrcSet?void 0:l,as:n},u),Da.set(r,l),c.querySelector(s)!==null||n==="style"&&c.querySelector(Pi(r))||n==="script"&&c.querySelector(Af(r))||(n=c.createElement("link"),Vl(n,"link",l),gt(n),c.head.appendChild(n)))}}function d0(l,n){Ln.m(l,n);var u=Sf;if(u&&l){var c=n&&typeof n.as=="string"?n.as:"script",s='link[rel="modulepreload"][as="'+ja(c)+'"][href="'+ja(l)+'"]',r=s;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Pc(l)}if(!Da.has(r)&&(l=J({rel:"modulepreload",href:l},n),Da.set(r,l),u.querySelector(s)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Af(r)))return}c=u.createElement("link"),Vl(c,"link",l),gt(c),u.head.appendChild(c)}}}function h0(l,n,u){Ln.S(l,n,u);var c=Sf;if(c&&l){var s=hc(c).hoistableStyles,r=Ka(l);n=n||"default";var m=s.get(r);if(!m){var v={loading:0,preload:null};if(m=c.querySelector(Pi(r)))v.loading=5;else{l=J({rel:"stylesheet",href:l,"data-precedence":n},u),(u=Da.get(r))&&Eh(l,u);var z=m=c.createElement("link");gt(z),Vl(z,"link",l),z._p=new Promise(function(H,$){z.onload=H,z.onerror=$}),z.addEventListener("load",function(){v.loading|=1}),z.addEventListener("error",function(){v.loading|=2}),v.loading|=4,rr(m,n,c)}m={type:"stylesheet",instance:m,count:1,state:v},s.set(r,m)}}}function si(l,n){Ln.X(l,n);var u=Sf;if(u&&l){var c=hc(u).hoistableScripts,s=Pc(l),r=c.get(s);r||(r=u.querySelector(Af(s)),r||(l=J({src:l,async:!0},n),(n=Da.get(s))&&Ah(l,n),r=u.createElement("script"),gt(r),Vl(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function Ii(l,n){Ln.M(l,n);var u=Sf;if(u&&l){var c=hc(u).hoistableScripts,s=Pc(l),r=c.get(s);r||(r=u.querySelector(Af(s)),r||(l=J({src:l,async:!0,type:"module"},n),(n=Da.get(s))&&Ah(l,n),r=u.createElement("script"),gt(r),Vl(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function Tf(l,n,u,c){var s=(s=Al.current)?kl(s):null;if(!s)throw Error(S(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(n=Ka(u.href),u=hc(s).hoistableStyles,c=u.get(n),c||(c={type:"style",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){l=Ka(u.href);var r=hc(s).hoistableStyles,m=r.get(l);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(l,m),(r=s.querySelector(Pi(l)))&&!r._p&&(m.instance=r,m.state.loading=5),Da.has(l)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Da.set(l,u),r||Yg(s,l,u,m.state))),n&&c===null)throw Error(S(528,""));return m}if(n&&c!==null)throw Error(S(529,""));return null;case"script":return n=u.async,u=u.src,typeof u=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Pc(u),u=hc(s).hoistableScripts,c=u.get(n),c||(c={type:"script",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,l))}}function Ka(l){return'href="'+ja(l)+'"'}function Pi(l){return'link[rel="stylesheet"]['+l+"]"}function Ef(l){return J({},l,{"data-precedence":l.precedence,precedence:null})}function Yg(l,n,u,c){l.querySelector('link[rel="preload"][as="style"]['+n+"]")?c.loading=1:(n=l.createElement("link"),c.preload=n,n.addEventListener("load",function(){return c.loading|=1}),n.addEventListener("error",function(){return c.loading|=2}),Vl(n,"link",u),gt(n),l.head.appendChild(n))}function Pc(l){return'[src="'+ja(l)+'"]'}function Af(l){return"script[async]"+l}function m0(l,n,u){if(n.count++,n.instance===null)switch(n.type){case"style":var c=l.querySelector('style[data-href~="'+ja(u.href)+'"]');if(c)return n.instance=c,gt(c),c;var s=J({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),gt(c),Vl(c,"style",s),rr(c,u.precedence,l),n.instance=c;case"stylesheet":s=Ka(u.href);var r=l.querySelector(Pi(s));if(r)return n.state.loading|=4,n.instance=r,gt(r),r;c=Ef(u),(s=Da.get(s))&&Eh(c,s),r=(l.ownerDocument||l).createElement("link"),gt(r);var m=r;return m._p=new Promise(function(v,z){m.onload=v,m.onerror=z}),Vl(r,"link",c),n.state.loading|=4,rr(r,u.precedence,l),n.instance=r;case"script":return r=Pc(u.src),(s=l.querySelector(Af(r)))?(n.instance=s,gt(s),s):(c=u,(s=Da.get(r))&&(c=J({},u),Ah(c,s)),l=l.ownerDocument||l,s=l.createElement("script"),gt(s),Vl(s,"link",c),l.head.appendChild(s),n.instance=s);case"void":return null;default:throw Error(S(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(c=n.instance,n.state.loading|=4,rr(c,u.precedence,l));return n.instance}function rr(l,n,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=c.length?c[c.length-1]:null,r=s,m=0;m<c.length;m++){var v=c[m];if(v.dataset.precedence===n)r=v;else if(r!==s)break}r?r.parentNode.insertBefore(l,r.nextSibling):(n=u.nodeType===9?u.head:u,n.insertBefore(l,n.firstChild))}function Eh(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.title==null&&(l.title=n.title)}function Ah(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.integrity==null&&(l.integrity=n.integrity)}var zf=null;function y0(l,n,u){if(zf===null){var c=new Map,s=zf=new Map;s.set(u,c)}else s=zf,c=s.get(u),c||(c=new Map,s.set(u,c));if(c.has(l))return c;for(c.set(l,null),u=u.getElementsByTagName(l),s=0;s<u.length;s++){var r=u[s];if(!(r[In]||r[zt]||l==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var m=r.getAttribute(n)||"";m=l+m;var v=c.get(m);v?v.push(r):c.set(m,[r])}}return c}function zh(l,n,u){l=l.ownerDocument||l,l.head.insertBefore(u,n==="title"?l.querySelector("head > title"):null)}function p0(l,n,u){if(u===1||n.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(l=n.disabled,typeof n.precedence=="string"&&l==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Ca(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function xu(l,n,u,c){if(u.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var s=Ka(c.href),r=n.querySelector(Pi(s));if(r){n=r._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(l.count++,l=xh.bind(l),n.then(l,l)),u.state.loading|=4,u.instance=r,gt(r);return}r=n.ownerDocument||n,c=Ef(c),(s=Da.get(s))&&Eh(c,s),r=r.createElement("link"),gt(r);var m=r;m._p=new Promise(function(v,z){m.onload=v,m.onerror=z}),Vl(r,"link",c),u.instance=r}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(u,n),(n=u.state.preload)&&(u.state.loading&3)===0&&(l.count++,u=xh.bind(l),n.addEventListener("load",u),n.addEventListener("error",u))}}var $a=0;function g0(l,n){return l.stylesheets&&l.count===0&&Dh(l,l.stylesheets),0<l.count||0<l.imgCount?function(u){var c=setTimeout(function(){if(l.stylesheets&&Dh(l,l.stylesheets),l.unsuspend){var r=l.unsuspend;l.unsuspend=null,r()}},6e4+n);0<l.imgBytes&&$a===0&&($a=62500*o0());var s=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Dh(l,l.stylesheets),l.unsuspend)){var r=l.unsuspend;l.unsuspend=null,r()}},(l.imgBytes>$a?50:800)+n);return l.unsuspend=u,function(){l.unsuspend=null,clearTimeout(c),clearTimeout(s)}}:null}function xh(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Dh(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Oh=null;function Dh(l,n){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Oh=new Map,n.forEach(Rl,l),Oh=null,xh.call(l))}function Rl(l,n){if(!(n.state.loading&4)){var u=Oh.get(l);if(u)var c=u.get(null);else{u=new Map,Oh.set(l,u);for(var s=l.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var m=s[r];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(u.set(m.dataset.precedence,m),c=m)}c&&u.set(null,c)}s=n.instance,m=s.getAttribute("data-precedence"),r=u.get(m)||c,r===c&&u.set(null,s),u.set(m,s),this.count++,c=xh.bind(this),s.addEventListener("load",c),s.addEventListener("error",c),r?r.parentNode.insertBefore(s,r.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(s,l.firstChild)),n.state.loading|=4}}var dr={$$typeof:st,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function v0(l,n,u,c,s,r,m,v,z){this.tag=1,this.containerInfo=l,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=Pf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pf(0),this.hiddenUpdates=Pf(null),this.identifierPrefix=c,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Ch(l,n,u,c,s,r,m,v,z,H,$,I){return l=new v0(l,n,u,m,z,H,$,I,v),n=1,r===!0&&(n|=24),r=el(3,null,null,n),l.current=r,r.stateNode=l,n=Ss(),n.refCount++,l.pooledCache=n,n.refCount++,r.memoizedState={element:c,isDehydrated:u,cache:n},Ds(r),l}function eo(l){return l?(l=ua,l):ua}function Gg(l,n,u,c,s,r){s=eo(s),c.context===null?c.context=s:c.pendingContext=s,c=ei(n),c.payload={element:u},r=r===void 0?null:r,r!==null&&(c.callback=r),u=wa(l,c,n),u!==null&&(ya(u,l,n),qi(u,l,n))}function Mh(l,n){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<n?u:n}}function b0(l,n){Mh(l,n),(l=l.alternate)&&Mh(l,n)}function wg(l){if(l.tag===13||l.tag===31){var n=Ku(l,67108864);n!==null&&ya(n,l,67108864),b0(l,67108864)}}function to(l){if(l.tag===13||l.tag===31){var n=Oa();n=Zr(n);var u=Ku(l,n);u!==null&&ya(u,l,n),b0(l,n)}}var bl=!0;function Ou(l,n,u,c){var s=M.T;M.T=null;var r=k.p;try{k.p=2,Xl(l,n,u,c)}finally{k.p=r,M.T=s}}function Du(l,n,u,c){var s=M.T;M.T=null;var r=k.p;try{k.p=8,Xl(l,n,u,c)}finally{k.p=r,M.T=s}}function Xl(l,n,u,c){if(bl){var s=S0(c);if(s===null)l0(l,n,c,_h,u),ri(l,c);else if(r1(s,l,n,u,c))c.stopPropagation();else if(ri(l,c),n&4&&-1<ga.indexOf(l)){for(;s!==null;){var r=dc(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var m=tn(r.pendingLanes);if(m!==0){var v=r;for(v.pendingLanes|=2,v.entangledLanes|=2;m;){var z=1<<31-ta(m);v.entanglements[1]|=z,m&=~z}zu(r),(rt&6)===0&&(yt=Gl()+500,fi(0))}}break;case 31:case 13:v=Ku(r,2),v!==null&&ya(v,r,2),sf(),b0(r,2)}if(r=S0(c),r===null&&l0(l,n,c,_h,u),r===s)break;s=r}s!==null&&c.stopPropagation()}else l0(l,n,c,null,u)}}function S0(l){return l=td(l),xf(l)}var _h=null;function xf(l){if(_h=null,l=rc(l),l!==null){var n=Y(l);if(n===null)l=null;else{var u=n.tag;if(u===13){if(l=V(n),l!==null)return l;l=null}else if(u===31){if(l=_(n),l!==null)return l;l=null}else if(u===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;l=null}else n!==l&&(l=null)}}return _h=l,null}function hr(l){switch(l){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(Fv()){case Xr:return 2;case Qr:return 8;case vi:case kv:return 32;case gm:return 268435456;default:return 32}default:return 32}}var Of=!1,Sl=null,Ql=null,Wl=null,ec=new Map,yn=new Map,Zt=[],ga="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 ri(l,n){switch(l){case"focusin":case"focusout":Sl=null;break;case"dragenter":case"dragleave":Ql=null;break;case"mouseover":case"mouseout":Wl=null;break;case"pointerover":case"pointerout":ec.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":yn.delete(n.pointerId)}}function lo(l,n,u,c,s,r){return l===null||l.nativeEvent!==r?(l={blockedOn:n,domEventName:u,eventSystemFlags:c,nativeEvent:r,targetContainers:[s]},n!==null&&(n=dc(n),n!==null&&wg(n)),l):(l.eventSystemFlags|=c,n=l.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),l)}function r1(l,n,u,c,s){switch(n){case"focusin":return Sl=lo(Sl,l,n,u,c,s),!0;case"dragenter":return Ql=lo(Ql,l,n,u,c,s),!0;case"mouseover":return Wl=lo(Wl,l,n,u,c,s),!0;case"pointerover":var r=s.pointerId;return ec.set(r,lo(ec.get(r)||null,l,n,u,c,s)),!0;case"gotpointercapture":return r=s.pointerId,yn.set(r,lo(yn.get(r)||null,l,n,u,c,s)),!0}return!1}function Vg(l){var n=rc(l.target);if(n!==null){var u=Y(n);if(u!==null){if(n=u.tag,n===13){if(n=V(u),n!==null){l.blockedOn=n,Sm(l.priority,function(){to(u)});return}}else if(n===31){if(n=_(u),n!==null){l.blockedOn=n,Sm(l.priority,function(){to(u)});return}}else if(n===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function mr(l){if(l.blockedOn!==null)return!1;for(var n=l.targetContainers;0<n.length;){var u=S0(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);ed=c,u.target.dispatchEvent(c),ed=null}else return n=dc(u),n!==null&&wg(n),l.blockedOn=u,!1;n.shift()}return!0}function Df(l,n,u){mr(l)&&u.delete(n)}function Xg(){Of=!1,Sl!==null&&mr(Sl)&&(Sl=null),Ql!==null&&mr(Ql)&&(Ql=null),Wl!==null&&mr(Wl)&&(Wl=null),ec.forEach(Df),yn.forEach(Df)}function Cu(l,n){l.blockedOn===n&&(l.blockedOn=null,Of||(Of=!0,y.unstable_scheduleCallback(y.unstable_NormalPriority,Xg)))}var Cf=null;function Qg(l){Cf!==l&&(Cf=l,y.unstable_scheduleCallback(y.unstable_NormalPriority,function(){Cf===l&&(Cf=null);for(var n=0;n<l.length;n+=3){var u=l[n],c=l[n+1],s=l[n+2];if(typeof c!="function"){if(xf(c||u)===null)continue;break}var r=dc(u);r!==null&&(l.splice(n,3),n-=3,ko(r,{pending:!0,data:s,method:u.method,action:c},c,s))}}))}function Mf(l){function n(z){return Cu(z,l)}Sl!==null&&Cu(Sl,l),Ql!==null&&Cu(Ql,l),Wl!==null&&Cu(Wl,l),ec.forEach(n),yn.forEach(n);for(var u=0;u<Zt.length;u++){var c=Zt[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<Zt.length&&(u=Zt[0],u.blockedOn===null);)Vg(u),u.blockedOn===null&&Zt.shift();if(u=(l.ownerDocument||l).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var s=u[c],r=u[c+1],m=s[la]||null;if(typeof r=="function")m||Qg(u);else if(m){var v=null;if(r&&r.hasAttribute("formAction")){if(s=r,m=r[la]||null)v=m.formAction;else if(xf(s)!==null)continue}else v=m.action;typeof v=="function"?u[c+1]=v:(u.splice(c,3),c-=3),Qg(u)}}}function T0(){function l(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(m){return s=m})},focusReset:"manual",scroll:"manual"})}function n(){s!==null&&(s(),s=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,s=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),s!==null&&(s(),s=null)}}}function Rh(l){this._internalRoot=l}Nh.prototype.render=Rh.prototype.render=function(l){var n=this._internalRoot;if(n===null)throw Error(S(409));var u=n.current,c=Oa();Gg(u,c,l,n,null,null)},Nh.prototype.unmount=Rh.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var n=l.containerInfo;Gg(l.current,2,null,l,null,null),sf(),n[Si]=null}};function Nh(l){this._internalRoot=l}Nh.prototype.unstable_scheduleHydration=function(l){if(l){var n=Jr();l={blockedOn:null,target:l,priority:n};for(var u=0;u<Zt.length&&n!==0&&n<Zt[u].priority;u++);Zt.splice(u,0,l),u===0&&Vg(l)}};var E0=R.version;if(E0!=="19.2.4")throw Error(S(527,E0,"19.2.4"));k.findDOMNode=function(l){var n=l._reactInternals;if(n===void 0)throw typeof l.render=="function"?Error(S(188)):(l=Object.keys(l).join(","),Error(S(268,l)));return l=ee(n),l=l!==null?se(l):null,l=l===null?null:l.stateNode,l};var Lg={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yr.isDisabled&&yr.supportsFiber)try{fc=yr.inject(Lg),Sa=yr}catch{}}return dm.createRoot=function(l,n){if(!U(l))throw Error(S(299));var u=!1,c="",s=Qd,r=Ay,m=Ld;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError)),n=Ch(l,1,!1,null,null,u,c,null,s,r,m,T0),l[Si]=n.current,pf(l),new Rh(n)},dm.hydrateRoot=function(l,n,u){if(!U(l))throw Error(S(299));var c=!1,s="",r=Qd,m=Ay,v=Ld,z=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(s=u.identifierPrefix),u.onUncaughtError!==void 0&&(r=u.onUncaughtError),u.onCaughtError!==void 0&&(m=u.onCaughtError),u.onRecoverableError!==void 0&&(v=u.onRecoverableError),u.formState!==void 0&&(z=u.formState)),n=Ch(l,1,!0,n,u??null,c,s,z,r,m,v,T0),n.context=eo(null),u=n.current,c=Oa(),c=Zr(c),s=ei(c),s.callback=null,wa(u,s,c),u=c,n.current.lanes=u,To(n,u),zu(n),l[Si]=n.current,pf(l),new Nh(n)},dm.version="19.2.4",dm}var hm={};var Nb;function HT(){return Nb||(Nb=1,process.env.NODE_ENV!=="production"&&(function(){function y(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function R(e,t,a,i){if(a>=t.length)return i;var o=t[a],f=ml(e)?e.slice():Je({},e);return f[o]=R(e[o],t,a+1,i),f}function L(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return S(e,t,a,0)}}function S(e,t,a,i){var o=t[i],f=ml(e)?e.slice():Je({},e);return i+1===t.length?(f[a[i]]=f[o],ml(f)?f.splice(o,1):delete f[o]):f[o]=S(e[o],t,a,i+1),f}function U(e,t,a){var i=t[a],o=ml(e)?e.slice():Je({},e);return a+1===t.length?(ml(o)?o.splice(i,1):delete o[i],o):(o[i]=U(e[i],t,a+1),o)}function Y(){return!1}function V(){return null}function _(){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 Z(){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 ee(){}function se(){}function J(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function w(e,t,a,i){return new a1(e,t,a,i)}function te(e,t){e.context===jf&&(ph(e.current,2,t,e,null,null),Za())}function oe(e,t){if(Ru!==null){var a=t.staleFamilies;t=t.updatedFamilies,Js(),Hp(e.current,t,a),Za()}}function Se(e){Ru=e}function Pe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ie(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function Be(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 st(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 we(e){if(ie(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Et(e){var t=e.alternate;if(!t){if(t=ie(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,i=t;;){var o=a.return;if(o===null)break;var f=o.alternate;if(f===null){if(i=o.return,i!==null){a=i;continue}break}if(o.child===f.child){for(f=o.child;f;){if(f===a)return we(o),e;if(f===i)return we(o),t;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=o,i=f;else{for(var d=!1,h=o.child;h;){if(h===a){d=!0,a=o,i=f;break}if(h===i){d=!0,i=o,a=f;break}h=h.sibling}if(!d){for(h=f.child;h;){if(h===a){d=!0,a=f,i=o;break}if(h===i){d=!0,i=f,a=o;break}h=h.sibling}if(!d)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(a.alternate!==i)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(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function _t(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=_t(e),t!==null)return t;e=e.sibling}return null}function it(e){return e===null||typeof e!="object"?null:(e=qg&&e[qg]||e["@@iterator"],typeof e=="function"?e:null)}function Oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Sf?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vf:return"Fragment";case fr:return"Profiler";case pa:return"StrictMode";case Ic:return"Suspense";case Da:return"SuspenseList";case Ln: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 Wi:return"Portal";case Qn:return e.displayName||"Context";case Th:return(e._context.displayName||"Context")+".Consumer";case bf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sr:return t=e.displayName||null,t!==null?t:Oe(e.type)||"Memo";case kl:t=e._payload,e=e._init;try{return Oe(e(t))}catch{}}return null}function Ve(e){return typeof e.tag=="number"?ye(e):typeof e.name=="string"?e.name:null}function ye(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("+e+")":"ForwardRef");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 Oe(t);case 8:return t===pa?"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 a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return ye(e.return)}return null}function ht(e){return{current:e}}function qe(e,t){0>si?console.error("Unexpected pop."):(t!==h0[si]&&console.error("Unexpected Fiber popped."),e.current=d0[si],d0[si]=null,h0[si]=null,si--)}function _e(e,t,a){si++,d0[si]=e.current,h0[si]=a,e.current=t}function qt(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 Ft(e,t){_e(Ka,t,e),_e(Tf,e,e),_e(Ii,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?sg(t):go;break;default:if(a=t.tagName,t=t.namespaceURI)t=sg(t),t=ci(t,a);else switch(a){case"svg":t=om;break;case"math":t=Hv;break;default:t=go}}a=a.toLowerCase(),a=zm(null,a),a={context:t,ancestorInfo:a},qe(Ii,e),_e(Ii,a,e)}function M(e){qe(Ii,e),qe(Tf,e),qe(Ka,e)}function k(){return qt(Ii.current)}function ne(e){e.memoizedState!==null&&_e(Pi,e,e);var t=qt(Ii.current),a=e.type,i=ci(t.context,a);a=zm(t.ancestorInfo,a),i={context:i,ancestorInfo:a},t!==i&&(_e(Tf,e,e),_e(Ii,i,e))}function be(e){Tf.current===e&&(qe(Ii,e),qe(Tf,e)),Pi.current===e&&(qe(Pi,e),rp._currentValue=Yr)}function ze(){}function K(){if(Ef===0){Yg=console.log,Pc=console.info,Af=console.warn,m0=console.error,rr=console.group,Eh=console.groupCollapsed,Ah=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ze,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ef++}function de(){if(Ef--,Ef===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},e,{value:Yg}),info:Je({},e,{value:Pc}),warn:Je({},e,{value:Af}),error:Je({},e,{value:m0}),group:Je({},e,{value:rr}),groupCollapsed:Je({},e,{value:Eh}),groupEnd:Je({},e,{value:Ah})})}0>Ef&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function pe(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 ue(e){if(zf===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);zf=t&&t[1]||"",y0=-1<a.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+zf+e+y0}function Ee(e,t){if(!e||zh)return"";var a=p0.get(e);if(a!==void 0)return a;zh=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=X.H,X.H=null,K();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(ce){var q=ce}Reflect.construct(e,[],E)}else{try{E.call()}catch(ce){q=ce}e.call(E.prototype)}}else{try{throw Error()}catch(ce){q=ce}(E=e())&&typeof E.catch=="function"&&E.catch(function(){})}}catch(ce){if(ce&&q&&typeof ce.stack=="string")return[ce.stack,q.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),h=d[0],p=d[1];if(h&&p){var g=h.split(`
|
|
20
|
+
`),O=p.split(`
|
|
21
|
+
`);for(d=f=0;f<g.length&&!g[f].includes("DetermineComponentFrameRoot");)f++;for(;d<O.length&&!O[d].includes("DetermineComponentFrameRoot");)d++;if(f===g.length||d===O.length)for(f=g.length-1,d=O.length-1;1<=f&&0<=d&&g[f]!==O[d];)d--;for(;1<=f&&0<=d;f--,d--)if(g[f]!==O[d]){if(f!==1||d!==1)do if(f--,d--,0>d||g[f]!==O[d]){var C=`
|
|
22
|
+
`+g[f].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&p0.set(e,C),C}while(1<=f&&0<=d);break}}}finally{zh=!1,X.H=i,de(),Error.prepareStackTrace=a}return g=(g=e?e.displayName||e.name:"")?ue(g):"",typeof e=="function"&&p0.set(e,g),g}function Al(e,t){switch(e.tag){case 26:case 27:case 5:return ue(e.type);case 16:return ue("Lazy");case 13:return e.child!==t&&t!==null?ue("Suspense Fallback"):ue("Suspense");case 19:return ue("SuspenseList");case 0:case 15:return Ee(e.type,!1);case 11:return Ee(e.type.render,!1);case 1:return Ee(e.type,!0);case 31:return ue("Activity");default:return""}}function ke(e){try{var t="",a=null;do{t+=Al(e,a);var i=e._debugInfo;if(i)for(var o=i.length-1;0<=o;o--){var f=i[o];if(typeof f.name=="string"){var d=t;e:{var h=f.name,p=f.env,g=f.debugLocation;if(g!=null){var O=pe(g),C=O.lastIndexOf(`
|
|
23
|
+
`),E=C===-1?O:O.slice(C+1);if(E.indexOf(h)!==-1){var q=`
|
|
24
|
+
`+E;break e}}q=ue(h+(p?" ["+p+"]":""))}t=d+q}}a=e,e=e.return}while(e);return t}catch(ce){return`
|
|
25
|
+
Error generating stack: `+ce.message+`
|
|
26
|
+
`+ce.stack}}function Jl(e){return(e=e?e.displayName||e.name:"")?ue(e):""}function ba(){if(Ca===null)return null;var e=Ca._debugOwner;return e!=null?Ve(e):null}function ic(){if(Ca===null)return"";var e=Ca;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ue(e.type);break;case 13:t+=ue("Suspense");break;case 19:t+=ue("SuspenseList");break;case 31:t+=ue("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Jl(e.type));break;case 11:e._debugOwner||t!==""||(t+=Jl(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var i=a._debugStack;if(e&&i){var o=pe(i);o!==""&&(t+=`
|
|
27
|
+
`+o)}}else if(e.debugStack!=null){var f=e.debugStack;(e=e.owner)&&f&&(t+=`
|
|
28
|
+
`+pe(f))}else break;var d=t}catch(h){d=`
|
|
29
|
+
Error generating stack: `+h.message+`
|
|
30
|
+
`+h.stack}return d}function le(e,t,a,i,o,f,d){var h=Ca;Ze(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,i,o,f,d)):t(a,i,o,f,d)}finally{Ze(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ze(e){X.getCurrentStack=e===null?null:ic,xu=!1,Ca=e}function Yt(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Gt(e){try{return cc(e),!1}catch{return!0}}function cc(e){return""+e}function At(e,t){if(Gt(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,Yt(e)),cc(e)}function mm(e,t){if(Gt(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,Yt(e)),cc(e)}function wr(e){if(Gt(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.",Yt(e)),cc(e)}function ym(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{to=t.inject(e),bl=t}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!t.checkDCE}function Rt(e){if(typeof b0=="function"&&wg(e),bl&&typeof bl.setStrictMode=="function")try{bl.setStrictMode(to,e)}catch(t){Ou||(Ou=!0,console.error("React instrumentation encountered an error: %o",t))}}function pm(e){return e>>>=0,e===0?32:31-(S0(e)/_h|0)|0}function oc(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 Vr(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var o=0,f=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=i&134217727;return h!==0?(i=h&~f,i!==0?o=oc(i):(d&=h,d!==0?o=oc(d):a||(a=h&~e,a!==0&&(o=oc(a))))):(h=i&~f,h!==0?o=oc(h):d!==0?o=oc(d):a||(a=i&~e,a!==0&&(o=oc(a)))),o===0?0:t!==0&&t!==o&&(t&f)===0&&(f=o&-o,a=t&-t,f>=a||f===32&&(a&4194048)!==0)?t:o}function Gl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Fv(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 Xr(){var e=Of;return Of<<=1,(Of&62914560)===0&&(Of=4194304),e}function Qr(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function vi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function kv(e,t,a,i,o,f){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var h=e.entanglements,p=e.expirationTimes,g=e.hiddenUpdates;for(a=d&~a;0<a;){var O=31-Xl(a),C=1<<O;h[O]=0,p[O]=-1;var E=g[O];if(E!==null)for(g[O]=null,O=0;O<E.length;O++){var q=E[O];q!==null&&(q.lane&=-536870913)}a&=~C}i!==0&&gm(e,i,0),f!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=f&~(d&~t))}function gm(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Xl(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function gp(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-Xl(a),o=1<<i;o&t|e[i]&t&&(e[i]|=t),a&=~o}}function vp(e,t){var a=t&-t;return a=(a&42)!==0?1:fc(a),(a&(e.suspendedLanes|t))!==0?0:a}function fc(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 Sa(e,t,a){if(Du)for(e=e.pendingUpdatersLaneMap;0<a;){var i=31-Xl(a),o=1<<i;e[i].add(t),a&=~o}}function Vu(e,t){if(Du)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-Xl(t);e=1<<o,o=a[o],0<o.size&&(o.forEach(function(f){var d=f.alternate;d!==null&&i.has(d)||i.add(f)}),o.clear()),t&=~e}}function ta(e){return e&=-e,Sl<e?Ql<e?(e&134217727)!==0?Wl:ec:Ql:Sl}function bp(){var e=pt.p;return e!==0?e:(e=window.event,e===void 0?Wl:vh(e.type))}function Sp(e,t){var a=pt.p;try{return pt.p=e,t()}finally{pt.p=a}}function vm(e){delete e[Zt],delete e[ga],delete e[lo],delete e[r1],delete e[Vg]}function Xu(e){var t=e[Zt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ri]||a[Zt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=$c(e);e!==null;){if(a=e[Zt])return a;e=$c(e)}return t}e=a,a=e.parentNode}return null}function Sn(e){if(e=e[Zt]||e[ri]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function tn(e){var t=e[mr];return t||(t=e[mr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ul(e){e[Df]=!0}function Tn(e,t){So(e,t),So(e+"Capture",t)}function So(e,t){Cu[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Cu[e]=t;var a=e.toLowerCase();for(Cf[a]=e,e==="onDoubleClick"&&(Cf.ondblclick=e),e=0;e<t.length;e++)Xg.add(t[e])}function sc(e,t){Qg[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 Pf(e){return $a.call(Rh,e)?!0:$a.call(T0,e)?!1:Mf.test(e)?Rh[e]=!0:(T0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function To(e,t,a){if(Pf(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(At(a,t),e===""+a?a:e)}}function Lr(e,t,a){if(Pf(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}At(a,t),e.setAttribute(t,""+a)}}function es(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}At(a,t),e.setAttribute(t,""+a)}}function Wn(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}At(i,a),e.setAttributeNS(t,a,""+i)}}function Ra(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return wr(e),e;default:return""}}function Zr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bm(e,t,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,f=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){wr(d),a=""+d,f.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(d){wr(d),a=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jr(e){if(!e._valueTracker){var t=Zr(e)?"checked":"value";e._valueTracker=bm(e,t,""+e[t])}}function Sm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=Zr(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function En(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function zt(e){return e.replace(Nh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function la(e,t){t.checked===void 0||t.defaultChecked===void 0||Lg||(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",ba()||"A component",t.type),Lg=!0),t.value===void 0||t.defaultValue===void 0||E0||(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",ba()||"A component",t.type),E0=!0)}function Si(e,t,a,i,o,f,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(At(d,"type"),e.type=d):e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ra(t)):e.value!==""+Ra(t)&&(e.value=""+Ra(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Tm(e,d,Ra(t)):a!=null?Tm(e,d,Ra(a)):i!=null&&e.removeAttribute("value"),o==null&&f!=null&&(e.defaultChecked=!!f),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(At(h,"name"),e.name=""+Ra(h)):e.removeAttribute("name")}function Kr(e,t,a,i,o,f,d,h){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(At(f,"type"),e.type=f),t!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){Jr(e);return}a=a!=null?""+Ra(a):"",t=t!=null?""+Ra(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=h?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(At(d,"name"),e.name=d),Jr(e)}function Tm(e,t,a){t==="number"&&En(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Tp(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?or.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||l||(l=!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||n||(n=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||yr||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),yr=!0)}function Em(){var e=ba();return e?`
|
|
31
|
+
|
|
32
|
+
Check the render method of \``+e+"`.":""}function In(e,t,a,i){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&i&&(e[a].defaultSelected=!0)}else{for(a=""+Ra(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function $r(e,t){for(e=0;e<c.length;e++){var a=c[e];if(t[a]!=null){var i=ml(t[a]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Em()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Em())}}t.value===void 0||t.defaultValue===void 0||u||(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"),u=!0)}function rc(e,t){t.value===void 0||t.defaultValue===void 0||s||(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",ba()||"A component"),s=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function dc(e,t,a){if(t!=null&&(t=""+Ra(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Ra(a):""}function Eo(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ml(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),t=a}a=Ra(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),Jr(e)}function hc(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?hc(e.children[0],t):e}function gt(e){return" "+" ".repeat(e)}function mc(e){return"+ "+" ".repeat(e)}function Ti(e){return"- "+" ".repeat(e)}function Ei(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 Pn(e,t){return r.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 Fr(e,t,a){var i=120-2*a;if(t===null)return mc(a)+Pn(e,i)+`
|
|
33
|
+
`;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),mc(a)+Pn(e,i)+`
|
|
34
|
+
`+Ti(a)+Pn(t,i)+`
|
|
35
|
+
`}return gt(a)+Pn(e,i)+`
|
|
36
|
+
`}function kr(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function Ao(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(ml(e))return"[...]";if(e.$$typeof===mn)return(t=Oe(e.type))?"<"+t+">":"<...>";var a=kr(e);if(a==="Object"){a="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=Ao(e[i],15>t?t:15),t-=o.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function zo(e,t){return typeof e!="string"||r.test(e)?"{"+Ao(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function xo(e,t,a){var i=120-a.length-e.length,o=[],f;for(f in t)if(t.hasOwnProperty(f)&&f!=="children"){var d=zo(t[f],120-a.length-f.length-1);i-=f.length+d.length+2,o.push(f+"="+d)}return o.length===0?a+"<"+e+`>
|
|
37
|
+
`:0<i?a+"<"+e+" "+o.join(" ")+`>
|
|
38
|
+
`:a+"<"+e+`
|
|
39
|
+
`+a+" "+o.join(`
|
|
40
|
+
`+a+" ")+`
|
|
41
|
+
`+a+`>
|
|
42
|
+
`}function Wr(e,t,a){var i="",o=Je({},t),f;for(f in e)if(e.hasOwnProperty(f)){delete o[f];var d=120-2*a-f.length-2,h=Ao(e[f],d);t.hasOwnProperty(f)?(d=Ao(t[f],d),i+=mc(a)+f+": "+h+`
|
|
43
|
+
`,i+=Ti(a)+f+": "+d+`
|
|
44
|
+
`):i+=mc(a)+f+": "+h+`
|
|
45
|
+
`}for(var p in o)o.hasOwnProperty(p)&&(e=Ao(o[p],120-2*a-p.length-2),i+=Ti(a)+p+": "+e+`
|
|
46
|
+
`);return i}function Qu(e,t,a,i){var o="",f=new Map;for(g in a)a.hasOwnProperty(g)&&f.set(g.toLowerCase(),g);if(f.size===1&&f.has("children"))o+=xo(e,t,gt(i));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var h=120-2*(i+1)-d.length-1,p=f.get(d.toLowerCase());if(p!==void 0){f.delete(d.toLowerCase());var g=t[d];p=a[p];var O=zo(g,h);h=zo(p,h),typeof g=="object"&&g!==null&&typeof p=="object"&&p!==null&&kr(g)==="Object"&&kr(p)==="Object"&&(2<Object.keys(g).length||2<Object.keys(p).length||-1<O.indexOf("...")||-1<h.indexOf("..."))?o+=gt(i+1)+d+`={{
|
|
47
|
+
`+Wr(g,p,i+2)+gt(i+1)+`}}
|
|
48
|
+
`:(o+=mc(i+1)+d+"="+O+`
|
|
49
|
+
`,o+=Ti(i+1)+d+"="+h+`
|
|
50
|
+
`)}else o+=gt(i+1)+d+"="+zo(t[d],h)+`
|
|
51
|
+
`}f.forEach(function(C){if(C!=="children"){var E=120-2*(i+1)-C.length-1;o+=Ti(i+1)+C+"="+zo(a[C],E)+`
|
|
52
|
+
`}}),o=o===""?gt(i)+"<"+e+`>
|
|
53
|
+
`:gt(i)+"<"+e+`
|
|
54
|
+
`+o+gt(i)+`>
|
|
55
|
+
`}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(f="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(f=""+t),o+=Fr(f,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+Fr(""+t,null,i+1):o+Fr(""+t,void 0,i+1)),o}function Na(e,t){var a=Ei(e);if(a===null){for(a="",e=e.child;e;)a+=Na(e,t),e=e.sibling;return a}return gt(t)+"<"+a+`>
|
|
56
|
+
`}function Ir(e,t){var a=hc(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return gt(t)+`...
|
|
57
|
+
`+Ir(a,t+1);a="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var f=i[o].name;typeof f=="string"&&(a+=gt(t)+"<"+f+`>
|
|
58
|
+
`,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=Fr(o,e.serverProps,t),t++;else if(f=Ei(e.fiber),f!==null)if(e.serverProps===void 0){i=t;var d=120-2*i-f.length-2,h="";for(g in o)if(o.hasOwnProperty(g)&&g!=="children"){var p=zo(o[g],15);if(d-=g.length+p.length+2,0>d){h+=" ...";break}h+=" "+g+"="+p}i=gt(i)+"<"+f+h+`>
|
|
59
|
+
`,t++}else e.serverProps===null?(i=xo(f,o,mc(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."):(i=Qu(f,o,e.serverProps,t),t++);var g="";for(o=e.fiber.child,f=0;o&&f<e.children.length;)d=e.children[f],d.fiber===o?(g+=Ir(d,t),f++):g+=Na(o,t),o=o.sibling;for(o&&0<e.children.length&&(g+=gt(t)+`...
|
|
60
|
+
`),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)f=o[e],g=typeof f=="string"?g+(Ti(t)+Pn(f,120-2*t)+`
|
|
61
|
+
`):g+xo(f.type,f.props,Ti(t));return a+i+g}function Am(e){try{return`
|
|
62
|
+
|
|
63
|
+
`+Ir(e,0)}catch{return""}}function Pr(e,t,a){for(var i=t,o=null,f=0;i;)i===e&&(f=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?a:i===e?null:void 0,serverTail:[],distanceFromLeaf:f},f++,i=i.return;return o!==null?Am(o).replaceAll(/^[+-]/gm,">"):""}function zm(e,t){var a=Je({},e||$),i={tag:t};return v.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),z.indexOf(t)!==-1&&(a.pTagInButtonScope=null),m.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function ts(e,t,a){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(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)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 H.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 a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function Wv(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 ja(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 ls(e,t){t=t||$;var a=t.current;if(t=(a=ts(e,a&&a.tag,t.implicitRootScope)?null:a)?null:Wv(e,t),t=a||t,!t)return!0;var i=t.tag;if(t=String(!!a)+"|"+e+"|"+i,I[t])return!1;I[t]=!0;var o=(t=Ca)?ja(t.return,i):null,f=t!==null&&o!==null?Pr(o,t,null):"",d="<"+e+">";return a?(a="",i==="table"&&e==="tr"&&(a+=" 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`,d,i,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
65
|
+
This will cause a hydration error.%s`,d,i,f),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||le(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
66
|
+
See this log for the ancestor stack trace.`,i,d)})),!1}function as(e,t,a){if(a||ts("#text",t,!1))return!0;if(a="#text|"+t,I[a])return!1;I[a]=!0;var i=(a=Ca)?ja(a,t):null;return a=a!==null&&i!==null?Pr(i,a,a.tag!==6?{children:null}: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,a):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,a),!1}function yc(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function Oo(e){return e.replace(N,function(t,a){return a.toUpperCase()})}function xm(e,t,a){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?j.hasOwnProperty(t)&&j[t]||(j[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Oo(t.replace(Ct,"ms-")))):De.test(t)?j.hasOwnProperty(t)&&j[t]||(j[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!D.test(a)||W.hasOwnProperty(a)&&W[a]||(W[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(D,""))),typeof a=="number"&&(isNaN(a)?Te||(Te=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||ot||(ot=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||ge.has(t)?t==="float"?e.cssFloat=a:(mm(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function Om(e,t,a){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,a!=null){if(t){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var f=B[o]||[o],d=0;d<f.length;d++)i[f[d]]=o}for(var h in t)if(t.hasOwnProperty(h)&&(!a||a[h]!==t[h]))for(o=B[h]||[h],f=0;f<o.length;f++)i[o[f]]=h;h={};for(var p in t)for(o=B[p]||[p],f=0;f<o.length;f++)h[o[f]]=p;p={};for(var g in i)if(o=i[g],(f=h[g])&&o!==f&&(d=o+","+f,!p[d])){p[d]=!0,d=console;var O=t[o];d.error.call(d,"%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.",O==null||typeof O=="boolean"||O===""?"Removing":"Updating",o,f)}}for(var C in a)!a.hasOwnProperty(C)||t!=null&&t.hasOwnProperty(C)||(C.indexOf("--")===0?e.setProperty(C,""):C==="float"?e.cssFloat="":e[C]="");for(var E in t)g=t[E],t.hasOwnProperty(E)&&a[E]!==g&&xm(e,E,g)}else for(i in t)t.hasOwnProperty(i)&&xm(e,i,t[i])}function eu(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 Ep(e){return dt.get(e)||e}function Ap(e,t){if($a.call(jh,t)&&jh[t])return!0;if(cA.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Zg.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),jh[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),jh[t]=!0}if(iA.test(t)){if(e=t.toLowerCase(),e=Zg.hasOwnProperty(e)?e:null,e==null)return jh[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),jh[t]=!0)}return!0}function zp(e,t){var a=[],i;for(i in t)Ap(e,i)||a.push(i);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Dm(e,t,a,i){if($a.call(Fa,t)&&Fa[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="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."),Fa[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),Fa[t]=!0;if(mS.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Fa[t]=!0}else if(mS.test(t))return oA.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Fa[t]=!0;if(fA.test(t)||sA.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Fa[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Fa[t]=!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Fa[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Fa[t]=!0;if(Zn.hasOwnProperty(o)){if(o=Zn[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),Fa[t]=!0}else if(t!==o)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,o),Fa[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 a){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 o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(a?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()}.',a,t,t,a,t):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\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),Fa[t]=!0)}case"function":case"symbol":return Fa[t]=!0,!1;case"string":if(a==="false"||a==="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}?",a,t,a==="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,a),Fa[t]=!0}}return!0}function Iv(e,t,a){var i=[],o;for(o in t)Dm(e,o,t[o],a)||i.push(o);t=i.map(function(f){return"`"+f+"`"}).join(", "),i.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<i.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 ns(e){return rA.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ln(){}function An(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ed(e){var t=Sn(e);if(t&&(e=t.stateNode)){var a=e[ga]||null;e:switch(e=t.stateNode,t.type){case"input":if(Si(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(At(t,"name"),a=a.querySelectorAll('input[name="'+zt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var o=i[ga]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Si(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&Sm(i)}break e;case"textarea":dc(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&In(e,!!a.multiple,t,!1)}}}function td(e,t,a){if(d1)return e(t,a);d1=!0;try{var i=e(t);return i}finally{if(d1=!1,(Uh!==null||Hh!==null)&&(Za(),Uh&&(t=Uh,e=Hh,Hh=Uh=null,ed(t),e)))for(t=0;t<e.length;t++)ed(e[t])}}function tu(e,t){var a=e.stateNode;if(a===null)return null;var i=a[ga]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function pc(){if(Jg)return Jg;var e,t=m1,a=t.length,i,o="value"in _f?_f.value:_f.textContent,f=o.length;for(e=0;e<a&&t[e]===o[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===o[f-i];i++);return Jg=o.slice(e,1<i?1-i:void 0)}function us(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 Do(){return!0}function Cm(){return!1}function zl(e){function t(a,i,o,f,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=f,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(a=e[h],this[h]=a?a(f):f[h]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Do:Cm,this.isPropagationStopped=Cm,this}return Je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Do)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Do)},persist:function(){},isPersistent:Do}),t}function Lu(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zA[e])?!!t[e]:!1}function is(){return Lu}function Co(e,t){switch(e){case"keyup":return BA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==vS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Mm(e,t){switch(e){case"compositionend":return Zu(t);case"keypress":return t.which!==SS?null:(ES=!0,TS);case"textInput":return e=t.data,e===TS&&ES?null:e;default:return null}}function ld(e,t){if(Bh)return e==="compositionend"||!v1&&Co(e,t)?(e=pc(),Jg=m1=_f=null,Bh=!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 bS&&t.locale!=="ko"?null:t.data;default:return null}}function _m(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!YA[e.type]:t==="textarea"}function ad(e){if(!tc)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function cs(e,t,a,i){Uh?Hh?Hh.push(i):Hh=[i]:Uh=i,t=wn(t,"onChange"),0<t.length&&(a=new Kg("onChange","change",null,a,i),e.push({event:a,listeners:t}))}function xp(e){St(e,0)}function wl(e){var t=bi(e);if(Sm(t))return e}function Ai(e,t){if(e==="change")return t}function os(){C0&&(C0.detachEvent("onpropertychange",Mo),M0=C0=null)}function Mo(e){if(e.propertyName==="value"&&wl(M0)){var t=[];cs(t,M0,e,An(e)),td(xp,t)}}function Pv(e,t,a){e==="focusin"?(os(),C0=t,M0=a,C0.attachEvent("onpropertychange",Mo)):e==="focusout"&&os()}function Rm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wl(M0)}function Nm(e,t){if(e==="click")return wl(t)}function fs(e,t){if(e==="input"||e==="change")return wl(t)}function nd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function _o(e,t){if(ka(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!$a.call(t,o)||!ka(e[o],t[o]))return!1}return!0}function Op(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dp(e,t){var a=Op(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Op(a)}}function Cp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ud(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=En(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=En(e.document)}return t}function jm(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 Mp(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;S1||qh==null||qh!==En(i)||(i=qh,"selectionStart"in i&&jm(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),_0&&_o(_0,i)||(_0=i,i=wn(b1,"onSelect"),0<i.length&&(t=new Kg("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=qh)))}function gc(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function vc(e){if(T1[e])return T1[e];if(!Yh[e])return e;var t=Yh[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in zS)return T1[e]=t[a];return e}function zn(e,t){MS.set(e,t),Tn(t,[e])}function _p(e){for(var t=Fg,a=0;a<e.length;a++){var i=e[a];if(typeof i=="object"&&i!==null)if(ml(i)&&i.length===2&&typeof i[0]=="string"){if(t!==Fg&&t!==O1)return z1;t=O1}else return z1;else{if(typeof i=="function"||typeof i=="string"&&50<i.length||t!==Fg&&t!==x1)return z1;t=x1}}return t}function Um(e,t,a,i){for(var o in e)$a.call(e,o)&&o[0]!=="_"&&lu(o,e[o],t,a,i)}function lu(e,t,a,i,o){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===mn){var f=Oe(t.type)||"…",d=t.key;t=t.props;var h=Object.keys(t),p=h.length;if(d==null&&p===0){t="<"+f+" />";break}if(3>i||p===1&&h[0]==="children"&&d==null){t="<"+f+" … />";break}a.push([o+" ".repeat(i)+e,"<"+f]),d!==null&&lu("key",d,a,i+1,o),e=!1;for(var g in t)g==="children"?t.children!=null&&(!ml(t.children)||0<t.children.length)&&(e=!0):$a.call(t,g)&&g[0]!=="_"&&lu(g,t[g],a,i+1,o);a.push(["",e?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(t),f=f.slice(8,f.length-1),f==="Array"){if(g=_p(t),g===x1||g===Fg){t=JSON.stringify(t);break}else if(g===O1){for(a.push([o+" ".repeat(i)+e,""]),e=0;e<t.length;e++)f=t[e],lu(f[0],f[1],a,i+1,o);return}}if(f==="Promise"){if(t.status==="fulfilled"){if(f=a.length,lu(e,t.value,a,i,o),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(t.status==="rejected"&&(f=a.length,lu(e,t.reason,a,i,o),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push([" ".repeat(i)+e,"Promise"]);return}f==="Object"&&(g=Object.getPrototypeOf(t))&&typeof g.constructor=="function"&&(f=g.constructor.name),a.push([o+" ".repeat(i)+e,f==="Object"?3>i?"":"…":f]),3>i&&Um(t,a,i+1,o);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===ZA?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}a.push([o+" ".repeat(i)+e,t])}function Rp(e,t,a,i){var o=!0;for(d in e)d in t||(a.push([kg+" ".repeat(i)+d,"…"]),o=!1);for(var f in t)if(f in e){var d=e[f],h=t[f];if(d!==h){if(i===0&&f==="children")o=" ".repeat(i)+f,a.push([kg+o,"…"],[Wg+o,"…"]);else{if(!(3<=i)){if(typeof d=="object"&&typeof h=="object"&&d!==null&&h!==null&&d.$$typeof===h.$$typeof)if(h.$$typeof===mn){if(d.type===h.type&&d.key===h.key){d=Oe(h.type)||"…",o=" ".repeat(i)+f,d="<"+d+" … />",a.push([kg+o,d],[Wg+o,d]),o=!1;continue}}else{var p=Object.prototype.toString.call(d),g=Object.prototype.toString.call(h);if(p===g&&(g==="[object Object]"||g==="[object Array]")){p=[NS+" ".repeat(i)+f,g==="[object Array]"?"Array":""],a.push(p),g=a.length,Rp(d,h,a,i+1)?g===a.length&&(p[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof d=="function"&&typeof h=="function"&&d.name===h.name&&d.length===h.length&&(p=Function.prototype.toString.call(d),g=Function.prototype.toString.call(h),p===g)){d=h.name===""?"() => {}":h.name+"() {}",a.push([NS+" ".repeat(i)+f,d+" Referentially unequal function closure. Consider memoization."]);continue}}lu(f,d,a,i,kg),lu(f,h,a,i,Wg)}o=!1}}else a.push([Wg+" ".repeat(i)+f,"…"]),o=!1;return o}function xn(e){ct=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function an(e,t,a,i){Jt&&(Nf.start=t,Nf.end=a,ao.color="warning",ao.tooltipText=i,ao.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,i,Nf)):performance.measure(i,Nf))}function id(e,t,a){an(e,t,a,"Reconnect")}function cd(e,t,a,i,o){var f=ye(e);if(f!==null&&Jt){var d=e.alternate,h=e.actualDuration;if(d===null||d.child!==e.child)for(var p=e.child;p!==null;p=p.sibling)h-=p.actualDuration;i=.5>h?i?"tertiary-light":"primary-light":10>h?i?"tertiary":"primary":100>h?i?"tertiary-dark":"primary-dark":"error";var g=e.memoizedProps;h=e._debugTask,g!==null&&d!==null&&d.memoizedProps!==g?(p=[JA],g=Rp(d.memoizedProps,g,p,0),1<p.length&&(g&&!Rf&&(d.lanes&o)===0&&100<e.actualDuration?(Rf=!0,p[0]=KA,ao.color="warning",ao.tooltipText=jS):(ao.color=i,ao.tooltipText=f),ao.properties=p,Nf.start=t,Nf.end=a,h!=null?h.run(performance.measure.bind(performance,""+f,Nf)):performance.measure(""+f,Nf))):h!=null?h.run(console.timeStamp.bind(console,f,t,a,Mu,void 0,i)):console.timeStamp(f,t,a,Mu,void 0,i)}}function Hm(e,t,a,i){if(Jt){var o=ye(e);if(o!==null){for(var f=null,d=[],h=0;h<i.length;h++){var p=i[h];f==null&&p.source!==null&&(f=p.source._debugTask),p=p.value,d.push(["Error",typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p)])}e.key!==null&&lu("key",e.key,d,0,""),e.memoizedProps!==null&&Um(e.memoizedProps,d,0,""),f==null&&(f=e._debugTask),e={start:t,end:a,detail:{devtools:{color:"error",track:Mu,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},f?f.run(performance.measure.bind(performance,""+o,e)):performance.measure(""+o,e)}}}function On(e,t,a,i,o){if(o!==null){if(Jt){var f=ye(e);if(f!==null){i=[];for(var d=0;d<o.length;d++){var h=o[d].value;i.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e.key!==null&&lu("key",e.key,i,0,""),e.memoizedProps!==null&&Um(e.memoizedProps,i,0,""),t={start:t,end:a,detail:{devtools:{color:"error",track:Mu,tooltipText:"A lifecycle or effect errored",properties:i}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+f,t)):performance.measure(""+f,t)}}}else f=ye(e),f!==null&&Jt&&(o=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,f,t,a,Mu,void 0,o)):console.timeStamp(f,t,a,Mu,void 0,o))}function e1(e,t,a,i){if(Jt&&!(t<=e)){var o=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,a,e,t,ct,nt,o)):console.timeStamp(a,e,t,ct,nt,o)}}function Np(e,t,a,i){!Jt||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",e,t,ct,nt,a)):console.timeStamp("Prewarm",e,t,ct,nt,a))}function jp(e,t,a,i){!Jt||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",e,t,ct,nt,a)):console.timeStamp("Suspended",e,t,ct,nt,a))}function t1(e,t,a,i,o,f){if(Jt&&!(t<=e)){a=[];for(var d=0;d<i.length;d++){var h=i[d].value;a.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:ct,trackGroup:nt,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Bm(e,t,a,i){!Jt||t<=e||(i?i.run(console.timeStamp.bind(console,"Errored",e,t,ct,nt,"error")):console.timeStamp("Errored",e,t,ct,nt,"error"))}function l1(e,t,a,i){!Jt||t<=e||(i?i.run(console.timeStamp.bind(console,a,e,t,ct,nt,"secondary-light")):console.timeStamp(a,e,t,ct,nt,"secondary-light"))}function Up(e,t,a,i,o){if(Jt&&!(t<=e)){for(var f=[],d=0;d<a.length;d++){var h=a[d].value;f.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"error",track:ct,trackGroup:nt,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:f}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function qm(e,t,a){!Jt||t<=e||console.timeStamp("Animating",e,t,ct,nt,"secondary-dark")}function od(){for(var e=Gh,t=D1=Gh=0;t<e;){var a=_u[t];_u[t++]=null;var i=_u[t];_u[t++]=null;var o=_u[t];_u[t++]=null;var f=_u[t];if(_u[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}f!==0&&Ym(a,o,f)}}function Ro(e,t,a,i){_u[Gh++]=e,_u[Gh++]=t,_u[Gh++]=a,_u[Gh++]=i,D1|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function bc(e,t,a,i){return Ro(e,t,a,i),ss(e)}function Kl(e,t){return Ro(e,null,null,t),ss(e)}function Ym(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var o=!1,f=e.return;f!==null;)f.childLanes|=a,i=f.alternate,i!==null&&(i.childLanes|=a),f.tag===22&&(e=f.stateNode,e===null||e._visibility&R0||(o=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,o&&t!==null&&(o=31-Xl(a),e=f.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=a|536870912),f):null}function ss(e){if(np>f3)throw Nr=np=0,up=ib=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.");Nr>s3&&(Nr=0,up=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)!==0&&hn(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&hn(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function zi(e){if(Ru===null)return e;var t=Ru(e);return t===void 0?e:t.current}function fd(e){if(Ru===null)return e;var t=Ru(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=zi(e.render),e.render!==t)?(t={$$typeof:bf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Gm(e,t){if(Ru===null)return!1;var a=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===kl)&&(i=!0);break;case 11:(o===bf||o===kl)&&(i=!0);break;case 14:case 15:(o===sr||o===kl)&&(i=!0);break;default:return!1}return!!(i&&(e=Ru(a),e!==void 0&&e===Ru(t)))}function Sc(e){Ru!==null&&typeof WeakSet=="function"&&(wh===null&&(wh=new WeakSet),wh.add(e))}function Hp(e,t,a){do{var i=e,o=i.alternate,f=i.child,d=i.sibling,h=i.tag;i=i.type;var p=null;switch(h){case 0:case 15:case 1:p=i;break;case 11:p=i.render}if(Ru===null)throw Error("Expected resolveFamily to be set during hot reload.");var g=!1;if(i=!1,p!==null&&(p=Ru(p),p!==void 0&&(a.has(p)?i=!0:t.has(p)&&(h===1?i=!0:g=!0))),wh!==null&&(wh.has(e)||o!==null&&wh.has(o))&&(i=!0),i&&(e._debugNeedsRemount=!0),(i||g)&&(o=Kl(e,2),o!==null&&Ne(o,e,2)),f===null||i||Hp(f,t,a),d===null)break;e=d}while(!0)}function a1(e,t,a,i){this.tag=e,this.key=a,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=i,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,US||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function wm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function au(e,t){var a=e.alternate;switch(a===null?(a=w(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=zi(e.type);break;case 1:a.type=zi(e.type);break;case 11:a.type=fd(e.type)}return a}function Vm(e,t){e.flags&=65011714;var a=e.alternate;return a===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=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function Tc(e,t,a,i,o,f){var d=0,h=e;if(typeof e=="function")wm(e)&&(d=1),h=zi(h);else if(typeof e=="string")d=k(),d=_g(e,a,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ln:return t=w(31,a,t,o),t.elementType=Ln,t.lanes=f,t;case vf:return Ec(a.children,o,f,t);case pa:d=8,o|=Ma,o|=di;break;case fr:return e=a,i=o,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=w(12,e,t,i|Ke),t.elementType=fr,t.lanes=f,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Ic:return t=w(13,a,t,o),t.elementType=Ic,t.lanes=f,t;case Da:return t=w(19,a,t,o),t.elementType=Da,t.lanes=f,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qn:d=10;break e;case Th:d=9;break e;case bf:d=11,h=fd(h);break e;case sr:d=14;break e;case kl:d=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" 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?a="null":ml(e)?a="array":e!==void 0&&e.$$typeof===mn?(a="<"+(Oe(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(d=i?Ve(i):null)&&(h+=`
|
|
69
|
+
|
|
70
|
+
Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+h)),h=null}return t=w(d,a,t,o),t.elementType=e,t.type=h,t.lanes=f,t._debugOwner=i,t}function xi(e,t,a){return t=Tc(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Ec(e,t,a,i){return e=w(7,e,i,t),e.lanes=a,e}function No(e,t,a){return e=w(6,e,null,t),e.lanes=a,e}function Xm(e){var t=w(18,null,null,Re);return t.stateNode=e,t}function sd(e,t,a){return t=w(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function aa(e,t){if(typeof e=="object"&&e!==null){var a=C1.get(e);return a!==void 0?a:(t={value:e,source:t,stack:ke(t)},C1.set(e,t),t)}return{value:e,source:t,stack:ke(t)}}function Dn(e,t){Oi(),Vh[Xh++]=N0,Vh[Xh++]=Ig,Ig=e,N0=t}function Qm(e,t,a){Oi(),Nu[ju++]=uo,Nu[ju++]=io,Nu[ju++]=gr,gr=e;var i=uo;e=io;var o=32-Xl(i)-1;i&=~(1<<o),a+=1;var f=32-Xl(t)+o;if(30<f){var d=o-o%5;f=(i&(1<<d)-1).toString(32),i>>=d,o-=d,uo=1<<32-Xl(t)+o|a<<o|i,io=f+e}else uo=1<<f|a<<o|i,io=e}function rd(e){Oi(),e.return!==null&&(Dn(e,1),Qm(e,1,0))}function dd(e){for(;e===Ig;)Ig=Vh[--Xh],Vh[Xh]=null,N0=Vh[--Xh],Vh[Xh]=null;for(;e===gr;)gr=Nu[--ju],Nu[ju]=null,io=Nu[--ju],Nu[ju]=null,uo=Nu[--ju],Nu[ju]=null}function Bp(){return Oi(),gr!==null?{id:uo,overflow:io}:null}function qp(e,t){Oi(),Nu[ju++]=uo,Nu[ju++]=io,Nu[ju++]=gr,uo=t.id,io=t.overflow,gr=e}function Oi(){at||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Ac(e,t){if(e.return===null){if(Jn===null)Jn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Jn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Jn.distanceFromLeaf>t&&(Jn.distanceFromLeaf=t)}return Jn}var a=Ac(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function Yp(){at&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function $l(e,t){lc||(e=Ac(e,0),e.serverProps=null,t!==null&&(t=Og(t),e.serverTail.push(t)))}function nn(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",i=Jn;throw i!==null&&(Jn=null,a=Am(i)),ds(aa(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:
|
|
71
|
+
|
|
72
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
73
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
74
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
75
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
76
|
+
- Invalid HTML tag nesting.
|
|
77
|
+
|
|
78
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
79
|
+
|
|
80
|
+
https://react.dev/link/hydration-mismatch`+a),e)),M1}function Lm(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Zt]=e,t[ga]=i,ma(a,i),a){case"dialog":Me("cancel",t),Me("close",t);break;case"iframe":case"object":case"embed":Me("load",t);break;case"video":case"audio":for(a=0;a<ip.length;a++)Me(ip[a],t);break;case"source":Me("error",t);break;case"img":case"image":case"link":Me("error",t),Me("load",t);break;case"details":Me("toggle",t);break;case"input":sc("input",i),Me("invalid",t),la(t,i),Kr(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":Tp(t,i);break;case"select":sc("select",i),Me("invalid",t),$r(t,i);break;case"textarea":sc("textarea",i),Me("invalid",t),rc(t,i),Eo(t,i.value,i.defaultValue,i.children)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Jy(t.textContent,a)?(i.popover!=null&&(Me("beforetoggle",t),Me("toggle",t)),i.onScroll!=null&&Me("scroll",t),i.onScrollEnd!=null&&Me("scrollend",t),i.onClick!=null&&(t.onclick=ln),t=!0):t=!1,t||nn(e,!0)}function Zm(e){for(va=e.return;va;)switch(va.tag){case 5:case 31:case 13:Uu=!1;return;case 27:case 3:Uu=!0;return;default:va=va.return}}function zc(e){if(e!==va)return!1;if(!at)return Zm(e),at=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||sf(e.type,e.memoizedProps)),a=!a),a&&Kt){for(a=Kt;a;){var i=Ac(e,0),o=Og(a);i.serverTail.push(o),a=o.type==="Suspense"?hf(a):Ja(a.nextSibling)}nn(e)}if(Zm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Kt=hf(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Kt=hf(e)}else t===27?(t=Kt,Fi(e.type)?(e=vb,vb=null,Kt=e):Kt=t):Kt=va?Ja(e.stateNode.nextSibling):null;return!0}function Di(){Kt=va=null,lc=at=!1}function rs(){var e=Uf;return e!==null&&(en===null?en=e:en.push.apply(en,e),Uf=null),e}function ds(e){Uf===null?Uf=[e]:Uf.push(e)}function Ci(){var e=Jn;if(e!==null){Jn=null;for(var t=Am(e);0<e.children.length;)e=e.children[0];le(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:
|
|
81
|
+
|
|
82
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
83
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
84
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
85
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
86
|
+
- Invalid HTML tag nesting.
|
|
87
|
+
|
|
88
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
89
|
+
|
|
90
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function jo(){Qh=Pg=null,Lh=!1}function un(e,t,a){_e(_1,t._currentValue,e),t._currentValue=a,_e(R1,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==BS&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=BS}function Cn(e,t){e._currentValue=_1.current;var a=R1.current;qe(R1,t),e._currentRenderer=a,qe(_1,t)}function hd(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}e!==a&&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 Ju(e,t,a,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var f=o.dependencies;if(f!==null){var d=o.child;f=f.firstContext;e:for(;f!==null;){var h=f;f=o;for(var p=0;p<t.length;p++)if(h.context===t[p]){f.lanes|=a,h=f.alternate,h!==null&&(h.lanes|=a),hd(f.return,a,e),i||(d=null);break e}f=h.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=a,f=d.alternate,f!==null&&(f.lanes|=a),hd(d,a,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function Mn(e,t,a,i){e=null;for(var o=t,f=!1;o!==null;){if(!f){if((o.flags&524288)!==0)f=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var h=o.type;ka(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===Pi.current){if(d=o.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(rp):e=[rp])}o=o.return}e!==null&&Ju(t,e,a,i),t.flags|=262144}function Uo(e){for(e=e.firstContext;e!==null;){if(!ka(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Mi(e){Pg=e,Qh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return Lh&&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()."),Jm(Pg,e)}function hs(e,t){return Pg===null&&Mi(e),Jm(e,t)}function Jm(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Qh===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().");Qh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Qh=Qh.next=t;return a}function md(){return{controller:new kA,data:new Map,refCount:0}}function xc(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 ms(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&&WA(IA,function(){e.controller.abort()})}function nu(e,t,a){(e&127)!==0?0>ac&&(ac=jl(),U0=ev(t),N1=t,a!=null&&(j1=ye(a)),(ft&(Zl|Fn))!==ea&&(rl=!0,Bf=j0),e=rf(),t=Au(),e!==Zh||t!==H0?Zh=-1.1:t!==null&&(Bf=j0),Sr=e,H0=t):(e&4194048)!==0&&0>Hu&&(Hu=jl(),B0=ev(t),qS=t,a!=null&&(YS=ye(a)),0>so)&&(e=rf(),t=Au(),(e!==Yf||t!==Tr)&&(Yf=-1.1),qf=e,Tr=t)}function Gp(e){if(0>ac){ac=jl(),U0=e._debugTask!=null?e._debugTask:null,(ft&(Zl|Fn))!==ea&&(Bf=j0);var t=rf(),a=Au();t!==Zh||a!==H0?Zh=-1.1:a!==null&&(Bf=j0),Sr=t,H0=a}0>Hu&&(Hu=jl(),B0=e._debugTask!=null?e._debugTask:null,0>so)&&(e=rf(),t=Au(),(e!==Yf||t!==Tr)&&(Yf=-1.1),qf=e,Tr=t)}function uu(){var e=vr;return vr=0,e}function Ho(e){var t=vr;return vr=e,t}function na(e){var t=vr;return vr+=e,t}function Oc(){Ce=xe=-1.1}function Xt(){var e=xe;return xe=-1.1,e}function xl(e){0<=e&&(xe=e)}function cn(){var e=al;return al=-0,e}function Ua(e){0<=e&&(al=e)}function Ha(){var e=Pt;return Pt=null,e}function on(){var e=rl;return rl=!1,e}function Ku(e){Wa=jl(),0>e.actualStartTime&&(e.actualStartTime=Wa)}function yd(e){if(0<=Wa){var t=jl()-Wa;e.actualDuration+=t,e.selfBaseDuration=t,Wa=-1}}function ys(e){if(0<=Wa){var t=jl()-Wa;e.actualDuration+=t,Wa=-1}}function ua(){if(0<=Wa){var e=jl(),t=e-Wa;Wa=-1,vr+=t,al+=t,Ce=e}}function wp(e){Pt===null&&(Pt=[]),Pt.push(e),oo===null&&(oo=[]),oo.push(e)}function el(){Wa=jl(),0>xe&&(xe=Wa)}function Dc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function $u(e,t){if(Y0===null){var a=Y0=[];H1=0,Er=Zy(),Jh={status:"pending",value:void 0,then:function(i){a.push(i)}}}return H1++,t.then(Km,Km),t}function Km(){if(--H1===0&&(-1<Hu||(so=-1.1),Y0!==null)){Jh!==null&&(Jh.status="fulfilled");var e=Y0;Y0=null,Er=0,Jh=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function pd(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function Fu(){var e=Ar.current;return e!==null?e:Bt.pooledCache}function Bo(e,t){t===null?_e(Ar,Ar.current,e):_e(Ar,t.pool,e)}function $m(){var e=Fu();return e===null?null:{parent:Nl._currentValue,pool:e}}function gd(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Fm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ba(e,t,a){X.actQueue!==null&&(X.didUsePromise=!0);var i=e.thenables;if(a=i[a],a===void 0?i.push(t):a!==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(ln,ln),t=a),t._debugInfo===void 0){e=performance.now(),i=t.displayName;var o={name:typeof i=="string"?i:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:o}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){o.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ps(e),e;default:if(typeof t.status=="string")t.then(ln,ln);else{if(e=Bt,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(f){if(t.status==="pending"){var d=t;d.status="fulfilled",d.value=f}},function(f){if(t.status==="pending"){var d=t;d.status="rejected",d.reason=f}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ps(e),e}throw xr=t,Z0=!0,Kh}}function qa(e){try{return a3(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(xr=t,Z0=!0,Kh):t}}function Cc(){if(xr===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=xr;return xr=null,Z0=!1,e}function ps(e){if(e===Kh||e===ov)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 il(e){var t=$e;return e!=null&&($e=t===null?e:t.concat(e)),t}function Ta(){var e=$e;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var a=e[t].debugTask;if(a!=null)return a}}return null}function ia(e,t,a){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var f=i[o];if(f!=="children"&&f!=="key"){t===null&&(t=xi(e,a.mode,0),t._debugInfo=$e,t.return=a),le(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},f);break}}}function _n(e){var t=J0;return J0+=1,$h===null&&($h=gd()),Ba($h,e,t)}function Ea(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Rn(e,t){throw t.$$typeof===Bg?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
91
|
+
- Multiple copies of the "react" package is used.
|
|
92
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
93
|
+
- 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 fn(e,t){var a=Ta();a!==null?a.run(Rn.bind(null,e,t)):Rn(e,t)}function km(e,t){var a=ye(e)||"Component";n2[a]||(n2[a]=!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.
|
|
94
|
+
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.
|
|
95
|
+
<%s>{%s}</%s>`,t,t,a,t,a))}function qo(e,t){var a=Ta();a!==null?a.run(km.bind(null,e,t)):km(e,t)}function vd(e,t){var a=ye(e)||"Component";u2[a]||(u2[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
96
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
97
|
+
<%s>%s</%s>`,a,t,a))}function gs(e,t){var a=Ta();a!==null?a.run(vd.bind(null,e,t)):vd(e,t)}function Ol(e){function t(T,A){if(e){var x=T.deletions;x===null?(T.deletions=[A],T.flags|=16):x.push(A)}}function a(T,A){if(!e)return null;for(;A!==null;)t(T,A),A=A.sibling;return null}function i(T){for(var A=new Map;T!==null;)T.key!==null?A.set(T.key,T):A.set(T.index,T),T=T.sibling;return A}function o(T,A){return T=au(T,A),T.index=0,T.sibling=null,T}function f(T,A,x){return T.index=x,e?(x=T.alternate,x!==null?(x=x.index,x<A?(T.flags|=67108866,A):x):(T.flags|=67108866,A)):(T.flags|=1048576,A)}function d(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function h(T,A,x,F){return A===null||A.tag!==6?(A=No(x,T.mode,F),A.return=T,A._debugOwner=T,A._debugTask=T._debugTask,A._debugInfo=$e,A):(A=o(A,x),A.return=T,A._debugInfo=$e,A)}function p(T,A,x,F){var fe=x.type;return fe===vf?(A=O(T,A,x.props.children,F,x.key),ia(x,A,T),A):A!==null&&(A.elementType===fe||Gm(A,x)||typeof fe=="object"&&fe!==null&&fe.$$typeof===kl&&qa(fe)===A.type)?(A=o(A,x.props),Ea(A,x),A.return=T,A._debugOwner=x._owner,A._debugInfo=$e,A):(A=xi(x,T.mode,F),Ea(A,x),A.return=T,A._debugInfo=$e,A)}function g(T,A,x,F){return A===null||A.tag!==4||A.stateNode.containerInfo!==x.containerInfo||A.stateNode.implementation!==x.implementation?(A=sd(x,T.mode,F),A.return=T,A._debugInfo=$e,A):(A=o(A,x.children||[]),A.return=T,A._debugInfo=$e,A)}function O(T,A,x,F,fe){return A===null||A.tag!==7?(A=Ec(x,T.mode,F,fe),A.return=T,A._debugOwner=T,A._debugTask=T._debugTask,A._debugInfo=$e,A):(A=o(A,x),A.return=T,A._debugInfo=$e,A)}function C(T,A,x){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=No(""+A,T.mode,x),A.return=T,A._debugOwner=T,A._debugTask=T._debugTask,A._debugInfo=$e,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case mn:return x=xi(A,T.mode,x),Ea(x,A),x.return=T,T=il(A._debugInfo),x._debugInfo=$e,$e=T,x;case Wi:return A=sd(A,T.mode,x),A.return=T,A._debugInfo=$e,A;case kl:var F=il(A._debugInfo);return A=qa(A),T=C(T,A,x),$e=F,T}if(ml(A)||it(A))return x=Ec(A,T.mode,x,null),x.return=T,x._debugOwner=T,x._debugTask=T._debugTask,T=il(A._debugInfo),x._debugInfo=$e,$e=T,x;if(typeof A.then=="function")return F=il(A._debugInfo),T=C(T,_n(A),x),$e=F,T;if(A.$$typeof===Qn)return C(T,hs(T,A),x);fn(T,A)}return typeof A=="function"&&qo(T,A),typeof A=="symbol"&&gs(T,A),null}function E(T,A,x,F){var fe=A!==null?A.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return fe!==null?null:h(T,A,""+x,F);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case mn:return x.key===fe?(fe=il(x._debugInfo),T=p(T,A,x,F),$e=fe,T):null;case Wi:return x.key===fe?g(T,A,x,F):null;case kl:return fe=il(x._debugInfo),x=qa(x),T=E(T,A,x,F),$e=fe,T}if(ml(x)||it(x))return fe!==null?null:(fe=il(x._debugInfo),T=O(T,A,x,F,null),$e=fe,T);if(typeof x.then=="function")return fe=il(x._debugInfo),T=E(T,A,_n(x),F),$e=fe,T;if(x.$$typeof===Qn)return E(T,A,hs(T,x),F);fn(T,x)}return typeof x=="function"&&qo(T,x),typeof x=="symbol"&&gs(T,x),null}function q(T,A,x,F,fe){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return T=T.get(x)||null,h(A,T,""+F,fe);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case mn:return x=T.get(F.key===null?x:F.key)||null,T=il(F._debugInfo),A=p(A,x,F,fe),$e=T,A;case Wi:return T=T.get(F.key===null?x:F.key)||null,g(A,T,F,fe);case kl:var He=il(F._debugInfo);return F=qa(F),A=q(T,A,x,F,fe),$e=He,A}if(ml(F)||it(F))return x=T.get(x)||null,T=il(F._debugInfo),A=O(A,x,F,fe,null),$e=T,A;if(typeof F.then=="function")return He=il(F._debugInfo),A=q(T,A,x,_n(F),fe),$e=He,A;if(F.$$typeof===Qn)return q(T,A,x,hs(A,F),fe);fn(A,F)}return typeof F=="function"&&qo(A,F),typeof F=="symbol"&&gs(A,F),null}function ce(T,A,x,F){if(typeof x!="object"||x===null)return F;switch(x.$$typeof){case mn:case Wi:se(T,A,x);var fe=x.key;if(typeof fe!="string")break;if(F===null){F=new Set,F.add(fe);break}if(!F.has(fe)){F.add(fe);break}le(A,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.",fe)});break;case kl:x=qa(x),ce(T,A,x,F)}return F}function re(T,A,x,F){for(var fe=null,He=null,Ae=null,ve=A,Le=A=0,$t=null;ve!==null&&Le<x.length;Le++){ve.index>Le?($t=ve,ve=null):$t=ve.sibling;var El=E(T,ve,x[Le],F);if(El===null){ve===null&&(ve=$t);break}fe=ce(T,El,x[Le],fe),e&&ve&&El.alternate===null&&t(T,ve),A=f(El,A,Le),Ae===null?He=El:Ae.sibling=El,Ae=El,ve=$t}if(Le===x.length)return a(T,ve),at&&Dn(T,Le),He;if(ve===null){for(;Le<x.length;Le++)ve=C(T,x[Le],F),ve!==null&&(fe=ce(T,ve,x[Le],fe),A=f(ve,A,Le),Ae===null?He=ve:Ae.sibling=ve,Ae=ve);return at&&Dn(T,Le),He}for(ve=i(ve);Le<x.length;Le++)$t=q(ve,T,Le,x[Le],F),$t!==null&&(fe=ce(T,$t,x[Le],fe),e&&$t.alternate!==null&&ve.delete($t.key===null?Le:$t.key),A=f($t,A,Le),Ae===null?He=$t:Ae.sibling=$t,Ae=$t);return e&&ve.forEach(function(bo){return t(T,bo)}),at&&Dn(T,Le),He}function Vt(T,A,x,F){if(x==null)throw Error("An iterable object provided no iterator.");for(var fe=null,He=null,Ae=A,ve=A=0,Le=null,$t=null,El=x.next();Ae!==null&&!El.done;ve++,El=x.next()){Ae.index>ve?(Le=Ae,Ae=null):Le=Ae.sibling;var bo=E(T,Ae,El.value,F);if(bo===null){Ae===null&&(Ae=Le);break}$t=ce(T,bo,El.value,$t),e&&Ae&&bo.alternate===null&&t(T,Ae),A=f(bo,A,ve),He===null?fe=bo:He.sibling=bo,He=bo,Ae=Le}if(El.done)return a(T,Ae),at&&Dn(T,ve),fe;if(Ae===null){for(;!El.done;ve++,El=x.next())Ae=C(T,El.value,F),Ae!==null&&($t=ce(T,Ae,El.value,$t),A=f(Ae,A,ve),He===null?fe=Ae:He.sibling=Ae,He=Ae);return at&&Dn(T,ve),fe}for(Ae=i(Ae);!El.done;ve++,El=x.next())Le=q(Ae,T,ve,El.value,F),Le!==null&&($t=ce(T,Le,El.value,$t),e&&Le.alternate!==null&&Ae.delete(Le.key===null?ve:Le.key),A=f(Le,A,ve),He===null?fe=Le:He.sibling=Le,He=Le);return e&&Ae.forEach(function(D3){return t(T,D3)}),at&&Dn(T,ve),fe}function ut(T,A,x,F){if(typeof x=="object"&&x!==null&&x.type===vf&&x.key===null&&(ia(x,null,T),x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case mn:var fe=il(x._debugInfo);e:{for(var He=x.key;A!==null;){if(A.key===He){if(He=x.type,He===vf){if(A.tag===7){a(T,A.sibling),F=o(A,x.props.children),F.return=T,F._debugOwner=x._owner,F._debugInfo=$e,ia(x,F,T),T=F;break e}}else if(A.elementType===He||Gm(A,x)||typeof He=="object"&&He!==null&&He.$$typeof===kl&&qa(He)===A.type){a(T,A.sibling),F=o(A,x.props),Ea(F,x),F.return=T,F._debugOwner=x._owner,F._debugInfo=$e,T=F;break e}a(T,A);break}else t(T,A);A=A.sibling}x.type===vf?(F=Ec(x.props.children,T.mode,F,x.key),F.return=T,F._debugOwner=T,F._debugTask=T._debugTask,F._debugInfo=$e,ia(x,F,T),T=F):(F=xi(x,T.mode,F),Ea(F,x),F.return=T,F._debugInfo=$e,T=F)}return T=d(T),$e=fe,T;case Wi:e:{for(fe=x,x=fe.key;A!==null;){if(A.key===x)if(A.tag===4&&A.stateNode.containerInfo===fe.containerInfo&&A.stateNode.implementation===fe.implementation){a(T,A.sibling),F=o(A,fe.children||[]),F.return=T,T=F;break e}else{a(T,A);break}else t(T,A);A=A.sibling}F=sd(fe,T.mode,F),F.return=T,T=F}return d(T);case kl:return fe=il(x._debugInfo),x=qa(x),T=ut(T,A,x,F),$e=fe,T}if(ml(x))return fe=il(x._debugInfo),T=re(T,A,x,F),$e=fe,T;if(it(x)){if(fe=il(x._debugInfo),He=it(x),typeof He!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ae=He.call(x);return Ae===x?(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ae)!=="[object Generator]")&&(l2||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."),l2=!0):x.entries!==He||G1||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),G1=!0),T=Vt(T,A,Ae,F),$e=fe,T}if(typeof x.then=="function")return fe=il(x._debugInfo),T=ut(T,A,_n(x),F),$e=fe,T;if(x.$$typeof===Qn)return ut(T,A,hs(T,x),F);fn(T,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(fe=""+x,A!==null&&A.tag===6?(a(T,A.sibling),F=o(A,fe),F.return=T,T=F):(a(T,A),F=No(fe,T.mode,F),F.return=T,F._debugOwner=T,F._debugTask=T._debugTask,F._debugInfo=$e,T=F),d(T)):(typeof x=="function"&&qo(T,x),typeof x=="symbol"&&gs(T,x),a(T,A))}return function(T,A,x,F){var fe=$e;$e=null;try{J0=0;var He=ut(T,A,x,F);return $h=null,He}catch($t){if($t===Kh||$t===ov)throw $t;var Ae=w(29,$t,null,T.mode);Ae.lanes=F,Ae.return=T;var ve=Ae._debugInfo=$e;if(Ae._debugOwner=T._debugOwner,Ae._debugTask=T._debugTask,ve!=null){for(var Le=ve.length-1;0<=Le;Le--)if(typeof ve[Le].stack=="string"){Ae._debugOwner=ve[Le],Ae._debugTask=ve[Le].debugTask;break}}return Ae}finally{$e=fe}}}function Nt(e,t){var a=ml(e);return e=!a&&typeof it(e)=="function",a||e?(a=a?"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>",a,t,a),!1):!0}function tt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iu(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 pl(e){return{lane:e,tag:c2,payload:null,callback:null,next:null}}function cu(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,V1===i&&!s2){var o=ye(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.
|
|
98
|
+
|
|
99
|
+
Please update the following component: %s`,o),s2=!0}return(ft&Zl)!==ea?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=ss(e),Ym(e,null,a),t):(Ro(e,i,t,a),ss(e))}function sn(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,gp(e,a)}}function vs(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?o=f=d:f=f.next=d,a=a.next}while(a!==null);f===null?o=f=t:f=f.next=t}else o=f=t;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:f,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function Yo(){if(X1){var e=Jh;if(e!==null)throw e}}function ou(e,t,a,i){X1=!1;var o=e.updateQueue;Gf=!1,V1=o.shared;var f=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var p=h,g=p.next;p.next=null,d===null?f=g:d.next=g,d=p;var O=e.alternate;O!==null&&(O=O.updateQueue,h=O.lastBaseUpdate,h!==d&&(h===null?O.firstBaseUpdate=g:h.next=g,O.lastBaseUpdate=p))}if(f!==null){var C=o.baseState;d=0,O=g=p=null,h=f;do{var E=h.lane&-536870913,q=E!==h.lane;if(q?(Fe&E)===E:(i&E)===E){E!==0&&E===Er&&(X1=!0),O!==null&&(O=O.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{E=e;var ce=h,re=t,Vt=a;switch(ce.tag){case o2:if(ce=ce.payload,typeof ce=="function"){Lh=!0;var ut=ce.call(Vt,C,re);if(E.mode&Ma){Rt(!0);try{ce.call(Vt,C,re)}finally{Rt(!1)}}Lh=!1,C=ut;break e}C=ce;break e;case w1:E.flags=E.flags&-65537|128;case c2:if(ut=ce.payload,typeof ut=="function"){if(Lh=!0,ce=ut.call(Vt,C,re),E.mode&Ma){Rt(!0);try{ut.call(Vt,C,re)}finally{Rt(!1)}}Lh=!1}else ce=ut;if(ce==null)break e;C=Je({},C,ce);break e;case f2:Gf=!0}}E=h.callback,E!==null&&(e.flags|=64,q&&(e.flags|=8192),q=o.callbacks,q===null?o.callbacks=[E]:q.push(E))}else q={lane:E,tag:h.tag,payload:h.payload,callback:h.callback,next:null},O===null?(g=O=q,p=C):O=O.next=q,d|=E;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;q=h,h=q.next,q.next=null,o.lastBaseUpdate=q,o.shared.pending=null}}while(!0);O===null&&(p=C),o.baseState=p,o.firstBaseUpdate=g,o.lastBaseUpdate=O,f===null&&(o.shared.lanes=0),Xf|=d,e.lanes=d,e.memoizedState=C}V1=null}function _i(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Wm(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)_i(a[e],t)}function Go(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)_i(a[e],t)}function bd(e,t){var a=uc;_e(sv,a,e),_e(Fh,t,e),uc=a|t.baseLanes}function ku(e){_e(sv,uc,e),_e(Fh,Fh.current,e)}function Nn(e){uc=sv.current,qe(Fh,e),qe(sv,e)}function ca(e){var t=e.alternate;_e(Tl,Tl.current&kh,e),_e(Kn,e,e),Bu===null&&(t===null||Fh.current!==null||t.memoizedState!==null)&&(Bu=e)}function jn(e){_e(Tl,Tl.current,e),_e(Kn,e,e),Bu===null&&(Bu=e)}function Sd(e){e.tag===22?(_e(Tl,Tl.current,e),_e(Kn,e,e),Bu===null&&(Bu=e)):fu(e)}function fu(e){_e(Tl,Tl.current,e),_e(Kn,Kn.current,e)}function Dl(e){qe(Kn,e),Bu===e&&(Bu=null),qe(Tl,e)}function Mc(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||er(a)||$y(a)))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)!==0)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 je(){var e=G;Yu===null?Yu=[e]:Yu.push(e)}function P(){var e=G;if(Yu!==null&&(mo++,Yu[mo]!==e)){var t=ye(Ue);if(!r2.has(t)&&(r2.add(t),Yu!==null)){for(var a="",i=0;i<=mo;i++){var o=Yu[i],f=i===mo?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=f+`
|
|
100
|
+
`,a+=o}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
|
|
101
|
+
|
|
102
|
+
Previous render Next render
|
|
103
|
+
------------------------------------------------------
|
|
104
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
105
|
+
`,t,a)}}}function Wu(e){e==null||ml(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.",G,typeof e)}function bs(){var e=ye(Ue);h2.has(e)||(h2.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function tl(){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:
|
|
106
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
107
|
+
2. You might be breaking the Rules of Hooks
|
|
108
|
+
3. You might have more than one copy of React in the same app
|
|
109
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Im(e,t){if(F0)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.",G),!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.
|
|
110
|
+
|
|
111
|
+
Previous: %s
|
|
112
|
+
Incoming: %s`,G,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!ka(e[a],t[a]))return!1;return!0}function Pm(e,t,a,i,o,f){ro=f,Ue=t,Yu=e!==null?e._debugHookTypes:null,mo=-1,F0=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=ye(Ue),Q1.has(f)||(Q1.add(f),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.",f===null?"An unknown Component":"<"+f+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,X.H=e!==null&&e.memoizedState!==null?Z1:Yu!==null?m2:L1,Dr=f=(t.mode&Ma)!==Re;var d=B1(a,i,o);if(Dr=!1,Ih&&(d=Ss(t,a,i,o)),f){Rt(!0);try{d=Ss(t,a,i,o)}finally{Rt(!1)}}return cl(e,t),d}function cl(e,t){t._debugHookTypes=Yu,t.dependencies===null?ho!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ho}):t.dependencies._debugThenableState=ho,X.H=k0;var a=Ht!==null&&Ht.next!==null;if(ro=0,Yu=G=Ul=Ht=Ue=null,mo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),dv=!1,$0=0,ho=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Hl||(e=e.dependencies,e!==null&&Uo(e)&&(Hl=!0)),Z0?(Z0=!1,e=!0):e=!1,e&&(t=ye(t)||"Unknown",d2.has(t)||Q1.has(t)||(d2.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 Ss(e,t,a,i){Ue=e;var o=0;do{if(Ih&&(ho=null),$0=0,Ih=!1,o>=u3)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,F0=!1,Ul=Ht=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}mo=-1,X.H=y2,f=B1(t,a,i)}while(Ih);return f}function Ts(){var e=X.H,t=e.useState()[0];return t=typeof t.then=="function"?zs(t):t,e=e.useState()[0],(Ht!==null?Ht.memoizedState:null)!==e&&(Ue.flags|=1024),t}function _c(){var e=hv!==0;return hv=0,e}function Es(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&di)!==Re?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Ri(e){if(dv){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}dv=!1}ro=0,Yu=Ul=Ht=Ue=null,mo=-1,G=null,Ih=!1,$0=hv=0,ho=null}function dl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ul===null?Ue.memoizedState=Ul=e:Ul=Ul.next=e,Ul}function vt(){if(Ht===null){var e=Ue.alternate;e=e!==null?e.memoizedState:null}else e=Ht.next;var t=Ul===null?Ue.memoizedState:Ul.next;if(t!==null)Ul=t,Ht=e;else{if(e===null)throw Ue.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.");Ht=e,e={memoizedState:Ht.memoizedState,baseState:Ht.baseState,baseQueue:Ht.baseQueue,queue:Ht.queue,next:null},Ul===null?Ue.memoizedState=Ul=e:Ul=Ul.next=e}return Ul}function As(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zs(e){var t=$0;return $0+=1,ho===null&&(ho=gd()),e=Ba(ho,e,t),t=Ue,(Ul===null?t.memoizedState:Ul.next)===null&&(t=t.alternate,X.H=t!==null&&t.memoizedState!==null?Z1:L1),e}function Iu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return zs(e);if(e.$$typeof===Qn)return mt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ya(e){var t=null,a=Ue.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=Ue.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=As(),Ue.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||F0)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=f1;else a.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.",a.length,e);return t.index++,a}function Ga(e,t){return typeof t=="function"?t(e):t}function wo(e,t,a){var i=dl();if(a!==void 0){var o=a(t);if(Dr){Rt(!0);try{a(t)}finally{Rt(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=n1.bind(null,Ue,e),[i.memoizedState,e]}function Rc(e){var t=vt();return Ni(t,Ht,e)}function Ni(e,t,a){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var o=e.baseQueue,f=i.pending;if(f!==null){if(o!==null){var d=o.next;o.next=f.next,f.next=d}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=f,i.pending=null}if(f=e.baseState,o===null)e.memoizedState=f;else{t=o.next;var h=d=null,p=null,g=t,O=!1;do{var C=g.lane&-536870913;if(C!==g.lane?(Fe&C)===C:(ro&C)===C){var E=g.revertLane;if(E===0)p!==null&&(p=p.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),C===Er&&(O=!0);else if((ro&E)===E){g=g.next,E===Er&&(O=!0);continue}else C={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},p===null?(h=p=C,d=f):p=p.next=C,Ue.lanes|=E,Xf|=E;C=g.action,Dr&&a(f,C),f=g.hasEagerState?g.eagerState:a(f,C)}else E={lane:C,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},p===null?(h=p=E,d=f):p=p.next=E,Ue.lanes|=C,Xf|=C;g=g.next}while(g!==null&&g!==t);if(p===null?d=f:p.next=h,!ka(f,e.memoizedState)&&(Hl=!0,O&&(a=Jh,a!==null)))throw a;e.memoizedState=f,e.baseState=d,e.baseQueue=p,i.lastRenderedState=f}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Nc(e){var t=vt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var i=a.dispatch,o=a.pending,f=t.memoizedState;if(o!==null){a.pending=null;var d=o=o.next;do f=e(f,d.action),d=d.next;while(d!==o);ka(f,t.memoizedState)||(Hl=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),a.lastRenderedState=f}return[f,i]}function Vo(e,t,a){var i=Ue,o=dl();if(at){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();Wh||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Wh=!0)}else{if(f=t(),Wh||(a=t(),ka(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Wh=!0)),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Fe&127)!==0||ey(i,t,f)}return o.memoizedState=f,a={value:f,getSnapshot:t},o.queue=a,Hc(ji.bind(null,i,a,e),[e]),i.flags|=2048,su(qu|Pa,{destroy:void 0},ty.bind(null,i,a,f,t),null),f}function jc(e,t,a){var i=Ue,o=vt(),f=at;if(f){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!Wh){var d=t();ka(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Wh=!0)}(d=!ka((Ht||o).memoizedState,a))&&(o.memoizedState=a,Hl=!0),o=o.queue;var h=ji.bind(null,i,o,e);if(gl(2048,Pa,h,[e]),o.getSnapshot!==t||d||Ul!==null&&Ul.memoizedState.tag&qu){if(i.flags|=2048,su(qu|Pa,{destroy:void 0},ty.bind(null,i,o,a,t),null),Bt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(ro&127)!==0||ey(i,t,a)}return a}function ey(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ue.updateQueue,t===null?(t=As(),Ue.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function ty(e,t,a,i){t.value=a,t.getSnapshot=i,Ui(t)&&ly(e)}function ji(e,t,a){return a(function(){Ui(t)&&(nu(2,"updateSyncExternalStore()",e),ly(e))})}function Ui(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!ka(e,a)}catch{return!0}}function ly(e){var t=Kl(e,2);t!==null&&Ne(t,e,2)}function Td(e){var t=dl();if(typeof e=="function"){var a=e;if(e=a(),Dr){Rt(!0);try{a()}finally{Rt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:e},t}function Hi(e){e=Td(e);var t=e.queue,a=Dd.bind(null,Ue,t);return t.dispatch=a,[e.memoizedState,a]}function Uc(e){var t=dl();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Rs.bind(null,Ue,!0,a),a.dispatch=t,[e,t]}function xs(e,t){var a=vt();return Xo(a,Ht,e,t)}function Xo(e,t,a,i){return e.baseState=a,Ni(e,Ht,typeof i=="function"?i:Ga)}function Os(e,t){var a=vt();return Ht!==null?Xo(a,Ht,e,t):(a.baseState=e,[e,a.queue.dispatch])}function Vp(e,t,a,i,o){if(Cl(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var f={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};X.T!==null?a(!0):f.isTransition=!1,i(f),a=t.pending,a===null?(f.next=t.pending=f,Bi(t,f)):(f.next=a.next,t.pending=a.next=f)}}function Bi(e,t){var a=t.action,i=t.payload,o=e.state;if(t.isTransition){var f=X.T,d={};d._updatedFibers=new Set,X.T=d;try{var h=a(o,i),p=X.S;p!==null&&p(d,h),ay(e,t,h)}catch(g){Ds(e,t,g)}finally{f!==null&&d.types!==null&&(f.types!==null&&f.types!==d.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."),f.types=d.types),X.T=f,f===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._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{d=a(o,i),ay(e,t,d)}catch(g){Ds(e,t,g)}}function ay(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(X.asyncTransitions++,a.then(Bc,Bc),a.then(function(i){Pu(e,t,i)},function(i){return Ds(e,t,i)}),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.")):Pu(e,t,a)}function Pu(e,t,a){t.status="fulfilled",t.value=a,Ed(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Bi(e,a)))}function Ds(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,Ed(t),t=t.next;while(t!==i)}e.action=null}function Ed(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ei(e,t){return t}function wa(e,t){if(at){var a=Bt.formState;if(a!==null){e:{var i=Ue;if(at){if(Kt){t:{for(var o=Kt,f=Uu;o.nodeType!==8;){if(!f){o=null;break t}if(o=Ja(o.nextSibling),o===null){o=null;break t}}f=o.data,o=f===mb||f===eT?o:null}if(o){Kt=Ja(o.nextSibling),i=o.data===mb;break e}}nn(i)}i=!1}i&&(t=a[0])}}return a=dl(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ei,lastRenderedState:t},a.queue=i,a=Dd.bind(null,Ue,i),i.dispatch=a,i=Td(!1),f=Rs.bind(null,Ue,!1,i.queue),i=dl(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,a=Vp.bind(null,Ue,o,f,a),o.dispatch=a,i.memoizedState=e,[t,a,!1]}function qi(e){var t=vt();return Ad(t,Ht,e)}function Ad(e,t,a){if(t=Ni(e,t,ei)[0],e=Rc(Ga)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=zs(t)}catch(d){throw d===Kh?ov:d}else i=t;t=vt();var o=t.queue,f=o.dispatch;return a!==t.memoizedState&&(Ue.flags|=2048,su(qu|Pa,{destroy:void 0},ny.bind(null,o,a),null)),[i,f,e]}function ny(e,t){e.action=t}function Yi(e){var t=vt(),a=Ht;if(a!==null)return Ad(t,a,e);vt(),t=t.memoizedState,a=vt();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function su(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=Ue.updateQueue,t===null&&(t=As(),Ue.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function zd(e){var t=dl();return e={current:e},t.memoizedState=e}function Gi(e,t,a,i){var o=dl();Ue.flags|=e,o.memoizedState=su(qu|t,{destroy:void 0},a,i===void 0?null:i)}function gl(e,t,a,i){var o=vt();i=i===void 0?null:i;var f=o.memoizedState.inst;Ht!==null&&i!==null&&Im(i,Ht.memoizedState.deps)?o.memoizedState=su(t,f,a,i):(Ue.flags|=e,o.memoizedState=su(qu|t,f,a,i))}function Hc(e,t){(Ue.mode&di)!==Re?Gi(276826112,Pa,e,t):Gi(8390656,Pa,e,t)}function Xp(e){Ue.flags|=4;var t=Ue.updateQueue;if(t===null)t=As(),Ue.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Cs(e){var t=dl(),a={impl:e};return t.memoizedState=a,function(){if((ft&Zl)!==ea)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Qo(e){var t=vt().memoizedState;return Xp({ref:t,nextImpl:e}),function(){if((ft&Zl)!==ea)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function oa(e,t){var a=4194308;return(Ue.mode&di)!==Re&&(a|=134217728),Gi(a,$n,e,t)}function Va(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():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 ru(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var i=4194308;(Ue.mode&di)!==Re&&(i|=134217728),Gi(i,$n,Va.bind(null,t,e),a)}function Lo(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,gl(4,$n,Va.bind(null,t,e),a)}function xd(e,t){return dl().memoizedState=[e,t===void 0?null:t],e}function Un(e,t){var a=vt();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&Im(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function fa(e,t){var a=dl();t=t===void 0?null:t;var i=e();if(Dr){Rt(!0);try{e()}finally{Rt(!1)}}return a.memoizedState=[i,t],i}function Qt(e,t){var a=vt();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&Im(t,i[1]))return i[0];if(i=e(),Dr){Rt(!0);try{e()}finally{Rt(!1)}}return a.memoizedState=[i,t],i}function Zo(e,t){var a=dl();return bt(a,e,t)}function du(e,t){var a=vt();return ol(a,Ht.memoizedState,e,t)}function Ge(e,t){var a=vt();return Ht===null?bt(a,e,t):ol(a,Ht.memoizedState,e,t)}function bt(e,t,a){return a===void 0||(ro&1073741824)!==0&&(Fe&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Po(),Ue.lanes|=e,Xf|=e,a)}function ol(e,t,a,i){return ka(a,t)?a:Fh.current!==null?(e=bt(e,a,i),ka(e,t)||(Hl=!0),e):(ro&42)===0||(ro&1073741824)!==0&&(Fe&261930)===0?(Hl=!0,e.memoizedState=a):(e=Po(),Ue.lanes|=e,Xf|=e,t)}function Bc(){X.asyncTransitions--}function qc(e,t,a,i,o){var f=pt.p;pt.p=f!==0&&f<Ql?f:Ql;var d=X.T,h={};h._updatedFibers=new Set,X.T=h,Rs(e,!1,t,a);try{var p=o(),g=X.S;if(g!==null&&g(h,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){X.asyncTransitions++,p.then(Bc,Bc);var O=pd(p,i);Yc(e,t,O,Fl(e))}else Yc(e,t,i,Fl(e))}catch(C){Yc(e,t,{then:function(){},status:"rejected",reason:C},Fl(e))}finally{pt.p=f,d!==null&&h.types!==null&&(d.types!==null&&d.types!==h.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."),d.types=h.types),X.T=d,d===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._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 ti(e,t,a,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=Ms(e).queue;Gp(e),qc(e,o,t,Yr,a===null?ee:function(){return Jo(e),a(i)})}function Ms(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yr,baseState:Yr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:Yr},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jo(e){X.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Ms(e);t.next===null&&(t=e.alternate.memoizedState),Yc(e,t.next.queue,{},Fl(e))}function wi(){var e=Td(!1);return e=qc.bind(null,Ue,e.queue,!0,!1),dl().memoizedState=e,[!1,e]}function Qp(){var e=Rc(Ga)[0],t=vt().memoizedState;return[typeof e=="boolean"?e:zs(e),t]}function kt(){var e=Nc(Ga)[0],t=vt().memoizedState;return[typeof e=="boolean"?e:zs(e),t]}function li(){return mt(rp)}function _s(){var e=dl(),t=Bt.identifierPrefix;if(at){var a=io,i=uo;a=(i&~(1<<32-Xl(i)-1)).toString(32)+a,t="_"+t+"R_"+a,a=hv++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=n3++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t}function Od(){return dl().memoizedState=Lp.bind(null,Ue)}function Lp(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=Fl(a),o=pl(i),f=cu(a,o,i);f!==null&&(nu(i,"refresh()",e),Ne(f,a,i),sn(f,a,i)),e=md(),t!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:e};return}a=a.return}}function n1(e,t,a){var i=arguments;typeof i[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()."),i=Fl(e);var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Cl(e)?ll(t,o):(o=bc(e,t,o,i),o!==null&&(nu(i,"dispatch()",e),Ne(o,e,i),Ns(o,t,i)))}function Dd(e,t,a){var i=arguments;typeof i[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()."),i=Fl(e),Yc(e,t,a,i)&&nu(i,"setState()",e)}function Yc(e,t,a,i){var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Cl(e))ll(t,o);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null)){var d=X.H;X.H=mi;try{var h=t.lastRenderedState,p=f(h,a);if(o.hasEagerState=!0,o.eagerState=p,ka(p,h))return Ro(e,t,o,0),Bt===null&&od(),!1}catch{}finally{X.H=d}}if(a=bc(e,t,o,i),a!==null)return Ne(a,e,i),Ns(a,t,i),!0}return!1}function Rs(e,t,a,i){if(X.T===null&&Er===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."),i={lane:2,revertLane:Zy(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Cl(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=bc(e,a,i,2),t!==null&&(nu(2,"setOptimistic()",e),Ne(t,e,2))}function Cl(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function ll(e,t){Ih=dv=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Ns(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,gp(e,a)}}function Gc(e){if(e!==null&&typeof e!="function"){var t=String(e);O2.has(t)||(O2.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ko(e,t,a,i){var o=e.memoizedState,f=a(i,o);if(e.mode&Ma){Rt(!0);try{f=a(i,o)}finally{Rt(!1)}}f===void 0&&(t=Oe(t)||"Component",E2.has(t)||(E2.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=f==null?o:Je({},o,f),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function Cd(e,t,a,i,o,f,d){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(a=h.shouldComponentUpdate(i,f,d),e.mode&Ma){Rt(!0);try{a=h.shouldComponentUpdate(i,f,d)}finally{Rt(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Oe(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!_o(a,i)||!_o(o,f):!0}function hu(e,t,a,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o&&(e=ye(e)||"Component",g2.has(e)||(g2.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),J1.enqueueReplaceState(t,t.state,null))}function mu(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=Je({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function Md(e){A1(e),console.warn(`%s
|
|
113
|
+
|
|
114
|
+
%s
|
|
115
|
+
`,Ph?"An error occurred in the <"+Ph+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
116
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function _d(e){var t=Ph?"The above error occurred in the <"+Ph+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((K1||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
|
|
117
|
+
|
|
118
|
+
%s
|
|
119
|
+
|
|
120
|
+
%s
|
|
121
|
+
`,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,oT+" "+e[0],fT,Yv+i+Yv,sT):e.splice(0,0,oT,fT,Yv+i+Yv,sT),e.unshift(console),i=x3.apply(console.error,e),i()}else console.error(`%o
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
|
|
125
|
+
%s
|
|
126
|
+
`,e,t,a)}function uy(e){A1(e)}function js(e,t){try{Ph=t.source?ye(t.source):null,K1=null;var a=t.value;if(X.actQueue!==null)X.thrownErrors.push(a);else{var i=e.onUncaughtError;i(a,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function iy(e,t,a){try{Ph=a.source?ye(a.source):null,K1=ye(t);var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Rd(e,t,a){return a=pl(a),a.tag=w1,a.payload={element:null},a.callback=function(){le(t.source,js,e,t)},a}function Nd(e){return e=pl(e),e.tag=w1,e}function jd(e,t,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var f=i.value;e.payload=function(){return o(f)},e.callback=function(){Sc(a),le(i.source,iy,t,a,i)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Sc(a),le(i.source,iy,t,a,i),typeof o!="function"&&(Lf===null?Lf=new Set([this]):Lf.add(this)),e3(this,i),typeof o=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ye(a)||"Unknown")})}function cy(e,t,a,i,o){if(a.flags|=32768,Du&&nf(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&Mn(t,a,o,!0),at&&(lc=!0),a=Kn.current,a!==null){switch(a.tag){case 31:case 13:return Bu===null?tf():a.alternate===null&&nl===po&&(nl=pv),a.flags&=-257,a.flags|=65536,a.lanes=o,i===fv?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),Pd(e,i,o)),!1;case 22:return a.flags|=65536,i===fv?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),Pd(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Pd(e,i,o),tf(),!1}if(at)return lc=!0,t=Kn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==M1&&ds(aa(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),a))):(i!==M1&&ds(aa(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=aa(i,a),o=Rd(e.stateNode,i,o),vs(e,o),nl!==wf&&(nl=Cr)),!1;var f=aa(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),a);if(lp===null?lp=[f]:lp.push(f),nl!==wf&&(nl=Cr),t===null)return!0;i=aa(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Rd(a.stateNode,i,e),vs(a,e),!1;case 1:if(t=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Lf===null||!Lf.has(f))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Nd(o),jd(o,e,a,i),vs(a,o),!1}a=a.return}while(a!==null);return!1}function Ml(e,t,a,i){t.child=e===null?i2(t,null,a,i):Or(t,e.child,a,i)}function Zp(e,t,a,i,o){a=a.render;var f=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return Mi(t),i=Pm(e,t,a,d,f,o),h=_c(),e!==null&&!Hl?(Es(e,t,o),Hn(e,t,o)):(at&&h&&rd(t),t.flags|=1,Ml(e,t,i,o),t.child)}function oy(e,t,a,i,o){if(e===null){var f=a.type;return typeof f=="function"&&!wm(f)&&f.defaultProps===void 0&&a.compare===null?(a=zi(f),t.tag=15,t.type=a,$o(t,f),fy(e,t,a,i,o)):(e=Tc(a.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Yd(e,o)){var d=f.memoizedProps;if(a=a.compare,a=a!==null?a:_o,a(d,i)&&e.ref===t.ref)return Hn(e,t,o)}return t.flags|=1,e=au(f,i),e.ref=t.ref,e.return=t,t.child=e}function fy(e,t,a,i,o){if(e!==null){var f=e.memoizedProps;if(_o(f,i)&&e.ref===t.ref&&t.type===e.type)if(Hl=!1,t.pendingProps=i=f,Yd(e,o))(e.flags&131072)!==0&&(Hl=!0);else return t.lanes=e.lanes,Hn(e,t,o)}return hy(e,t,a,i,o)}function sy(e,t,a,i){var o=i.children,f=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:R0,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(f=f!==null?f.baseLanes|a:a,e!==null){for(i=t.child=e.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~f}else i=0,t.child=null;return ry(e,t,f,a,i)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Bo(t,f!==null?f.cachePool:null),f!==null?bd(t,f):ku(t),Sd(t);else return i=t.lanes=536870912,ry(e,t,f!==null?f.baseLanes|a:a,a,i)}else f!==null?(Bo(t,f.cachePool),bd(t,f),fu(t),t.memoizedState=null):(e!==null&&Bo(t,null),ku(t),fu(t));return Ml(e,t,o,a),t.child}function wc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:R0,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ry(e,t,a,i,o){var f=Fu();return f=f===null?null:{parent:Nl._currentValue,pool:f},t.memoizedState={baseLanes:a,cachePool:f},e!==null&&Bo(t,null),ku(t),Sd(t),e!==null&&Mn(e,t,i,!0),t.childLanes=o,null}function Us(e,t){var a=t.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
127
|
+
- <Activity %s>
|
|
128
|
+
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),t=Bs({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function dy(e,t,a){return Or(t,e.child,null,a),e=Us(t,t.pendingProps),e.flags|=2,Dl(t),t.memoizedState=null,e}function Jp(e,t,a){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(at){if(i.mode==="hidden")return e=Us(t,i),t.lanes=536870912,wc(null,e);if(jn(t),(e=Kt)?(a=Tt(e,Uu),a=a!==null&&a.data===Ur?a:null,a!==null&&(i={dehydrated:a,treeContext:Bp(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Xm(a),i.return=t,t.child=i,va=t,Kt=null)):a=null,a===null)throw $l(t,e),nn(t);return t.lanes=536870912,null}return Us(t,i)}var f=e.memoizedState;if(f!==null){var d=f.dehydrated;if(jn(t),o)if(t.flags&256)t.flags&=-257,t=dy(e,t,a);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(Yp(),(a&536870912)!==0&&ef(t),Hl||Mn(e,t,a,!1),o=(a&e.childLanes)!==0,Hl||o){if(i=Bt,i!==null&&(d=vp(i,a),d!==0&&d!==f.retryLane))throw f.retryLane=d,Kl(e,d),Ne(i,e,d),$1;tf(),t=dy(e,t,a)}else e=f.treeContext,Kt=Ja(d.nextSibling),va=t,at=!0,Uf=null,lc=!1,Jn=null,Uu=!1,e!==null&&qp(t,e),t=Us(t,i),t.flags|=4096;return t}return f=e.child,i={mode:i.mode,children:i.children},(a&536870912)!==0&&(a&e.lanes)!==0&&ef(t),e=au(f,i),e.ref=t.ref,t.child=e,e.return=t,e}function Hs(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function hy(e,t,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var f=Oe(a)||"Unknown";D2[f]||(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.",f,f),D2[f]=!0)}return t.mode&Ma&&hi.recordLegacyContextWarning(t,null),e===null&&($o(t,t.type),a.contextTypes&&(f=Oe(a)||"Unknown",M2[f]||(M2[f]=!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)",f)))),Mi(t),a=Pm(e,t,a,i,void 0,o),i=_c(),e!==null&&!Hl?(Es(e,t,o),Hn(e,t,o)):(at&&i&&rd(t),t.flags|=1,Ml(e,t,a,o),t.child)}function my(e,t,a,i,o,f){return Mi(t),mo=-1,F0=e!==null&&e.type!==t.type,t.updateQueue=null,a=Ss(t,i,a,o),cl(e,t),i=_c(),e!==null&&!Hl?(Es(e,t,f),Hn(e,t,f)):(at&&i&&rd(t),t.flags|=1,Ml(e,t,a,f),t.child)}function Vc(e,t,a,i,o){switch(V(t)){case!1:var f=t.stateNode,d=new t.type(t.memoizedProps,f.context).state;f.updater.enqueueSetState(f,d,null);break;case!0:t.flags|=128,t.flags|=65536,f=Error("Simulated error coming from DevTools");var h=o&-o;if(t.lanes|=h,d=Bt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Nd(h),jd(h,d,t,aa(f,t)),vs(t,h)}if(Mi(t),t.stateNode===null){if(d=jf,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==Qn)&&!x2.has(a)&&(x2.add(a),h=f===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 f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===Th?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Oe(a)||"Component",h)),typeof f=="object"&&f!==null&&(d=mt(f)),f=new a(i,d),t.mode&Ma){Rt(!0);try{f=new a(i,d)}finally{Rt(!1)}}if(d=t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=J1,t.stateNode=f,f._reactInternals=t,f._reactInternalInstance=p2,typeof a.getDerivedStateFromProps=="function"&&d===null&&(d=Oe(a)||"Component",v2.has(d)||(v2.add(d),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.",d,f.state===null?"null":"undefined",d))),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var p=h=d=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?p="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(p="UNSAFE_componentWillUpdate"),d!==null||h!==null||p!==null){f=Oe(a)||"Component";var g=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";S2.has(f)||(S2.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
129
|
+
|
|
130
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
131
|
+
|
|
132
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
133
|
+
https://react.dev/link/unsafe-component-lifecycles`,f,g,d!==null?`
|
|
134
|
+
`+d:"",h!==null?`
|
|
135
|
+
`+h:"",p!==null?`
|
|
136
|
+
`+p:""))}}f=t.stateNode,d=Oe(a)||"Component",f.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.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?",d),f.getDefaultProps&&!f.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.",d),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),a.childContextTypes&&!z2.has(a)&&(z2.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),a.contextTypes&&!A2.has(a)&&(A2.add(a),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)",d)),typeof f.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.",d),a.prototype&&a.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&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.",Oe(a)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof f.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().",d),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),h=f.props!==i,f.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),f.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.",d,d),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||b2.has(a)||(b2.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Oe(a))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(h=f.state)&&(typeof h!="object"||ml(h))&&console.error("%s.state: must be set to an object or null",d),typeof f.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),f=t.stateNode,f.props=i,f.state=t.memoizedState,f.refs={},tt(t),d=a.contextType,f.context=typeof d=="object"&&d!==null?mt(d):jf,f.state===i&&(d=Oe(a)||"Component",T2.has(d)||(T2.add(d),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.",d))),t.mode&Ma&&hi.recordLegacyContextWarning(t,f),hi.recordUnsafeLifecycleWarnings(t,f),f.state=t.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(Ko(t,a,d,i),f.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(d=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),d!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ye(t)||"Component"),J1.enqueueReplaceState(f,f.state,null)),ou(t,i,f,o),Yo(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&di)!==Re&&(t.flags|=134217728),f=!0}else if(e===null){f=t.stateNode;var O=t.memoizedProps;h=mu(a,O),f.props=h;var C=f.context;p=a.contextType,d=jf,typeof p=="object"&&p!==null&&(d=mt(p)),g=a.getDerivedStateFromProps,p=typeof g=="function"||typeof f.getSnapshotBeforeUpdate=="function",O=t.pendingProps!==O,p||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(O||C!==d)&&hu(t,f,i,d),Gf=!1;var E=t.memoizedState;f.state=E,ou(t,i,f,o),Yo(),C=t.memoizedState,O||E!==C||Gf?(typeof g=="function"&&(Ko(t,a,g,i),C=t.memoizedState),(h=Gf||Cd(t,a,h,i,E,C,d))?(p||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&di)!==Re&&(t.flags|=134217728)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&di)!==Re&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=C),f.props=i,f.state=C,f.context=d,f=h):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&di)!==Re&&(t.flags|=134217728),f=!1)}else{f=t.stateNode,iu(e,t),d=t.memoizedProps,p=mu(a,d),f.props=p,g=t.pendingProps,E=f.context,C=a.contextType,h=jf,typeof C=="object"&&C!==null&&(h=mt(C)),O=a.getDerivedStateFromProps,(C=typeof O=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==g||E!==h)&&hu(t,f,i,h),Gf=!1,E=t.memoizedState,f.state=E,ou(t,i,f,o),Yo();var q=t.memoizedState;d!==g||E!==q||Gf||e!==null&&e.dependencies!==null&&Uo(e.dependencies)?(typeof O=="function"&&(Ko(t,a,O,i),q=t.memoizedState),(p=Gf||Cd(t,a,p,i,E,q,h)||e!==null&&e.dependencies!==null&&Uo(e.dependencies))?(C||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(i,q,h),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(i,q,h)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=q),f.props=i,f.state=q,f.context=h,f=p):(typeof f.componentDidUpdate!="function"||d===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),f=!1)}if(h=f,Hs(e,t),d=(t.flags&128)!==0,h||d){if(h=t.stateNode,Ze(t),d&&typeof a.getDerivedStateFromError!="function")a=null,Wa=-1;else if(a=JS(h),t.mode&Ma){Rt(!0);try{JS(h)}finally{Rt(!1)}}t.flags|=1,e!==null&&d?(t.child=Or(t,e.child,null,o),t.child=Or(t,null,a,o)):Ml(e,t,a,o),t.memoizedState=h.state,e=t.child}else e=Hn(e,t,o);return o=t.stateNode,f&&o.props!==i&&(em||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ye(t)||"a component"),em=!0),e}function yy(e,t,a,i){return Di(),t.flags|=256,Ml(e,t,a,i),t.child}function $o(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
137
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Oe(t)||"Unknown",_2[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),_2[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Oe(t)||"Unknown",C2[t]||(console.error("%s: Function components do not support contextType.",t),C2[t]=!0))}function Fo(e){return{baseLanes:e,cachePool:$m()}}function Ud(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=vn),e}function Hd(e,t,a){var i,o=t.pendingProps;Y(t)&&(t.flags|=128);var f=!1,d=(t.flags&128)!==0;if((i=d)||(i=e!==null&&e.memoizedState===null?!1:(Tl.current&K0)!==0),i&&(f=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(at){if(f?ca(t):fu(t),(e=Kt)?(a=Tt(e,Uu),a=a!==null&&a.data!==Ur?a:null,a!==null&&(i={dehydrated:a,treeContext:Bp(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Xm(a),i.return=t,t.child=i,va=t,Kt=null)):a=null,a===null)throw $l(t,e),nn(t);return $y(a)?t.lanes=32:t.lanes=536870912,null}var h=o.children;if(o=o.fallback,f){fu(t);var p=t.mode;return h=Bs({mode:"hidden",children:h},p),o=Ec(o,p,a,null),h.return=t,o.return=t,h.sibling=o,t.child=h,o=t.child,o.memoizedState=Fo(a),o.childLanes=Ud(e,i,a),t.memoizedState=F1,wc(null,o)}return ca(t),py(t,h)}var g=e.memoizedState;if(g!==null){var O=g.dehydrated;if(O!==null){if(d)t.flags&256?(ca(t),t.flags&=-257,t=Bd(e,t,a)):t.memoizedState!==null?(fu(t),t.child=e.child,t.flags|=128,t=null):(fu(t),h=o.fallback,p=t.mode,o=Bs({mode:"visible",children:o.children},p),h=Ec(h,p,a,null),h.flags|=2,o.return=t,h.return=t,o.sibling=h,t.child=o,Or(t,e.child,null,a),o=t.child,o.memoizedState=Fo(a),o.childLanes=Ud(e,i,a),t.memoizedState=F1,t=wc(null,o));else if(ca(t),Yp(),(a&536870912)!==0&&ef(t),$y(O)){if(i=O.nextSibling&&O.nextSibling.dataset,i){h=i.dgst;var C=i.msg;p=i.stck;var E=i.cstck}f=C,i=h,o=p,O=E,h=f,p=O,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=o||"",h.digest=i,i=p===void 0?null:p,o={value:h,source:null,stack:i},typeof i=="string"&&C1.set(h,o),ds(o),t=Bd(e,t,a)}else if(Hl||Mn(e,t,a,!1),i=(a&e.childLanes)!==0,Hl||i){if(i=Bt,i!==null&&(o=vp(i,a),o!==0&&o!==g.retryLane))throw g.retryLane=o,Kl(e,o),Ne(i,e,o),$1;er(O)||tf(),t=Bd(e,t,a)}else er(O)?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,Kt=Ja(O.nextSibling),va=t,at=!0,Uf=null,lc=!1,Jn=null,Uu=!1,e!==null&&qp(t,e),t=py(t,o.children),t.flags|=4096);return t}}return f?(fu(t),h=o.fallback,p=t.mode,E=e.child,O=E.sibling,o=au(E,{mode:"hidden",children:o.children}),o.subtreeFlags=E.subtreeFlags&65011712,O!==null?h=au(O,h):(h=Ec(h,p,a,null),h.flags|=2),h.return=t,o.return=t,o.sibling=h,t.child=o,wc(null,o),o=t.child,h=e.child.memoizedState,h===null?h=Fo(a):(p=h.cachePool,p!==null?(E=Nl._currentValue,p=p.parent!==E?{parent:E,pool:E}:p):p=$m(),h={baseLanes:h.baseLanes|a,cachePool:p}),o.memoizedState=h,o.childLanes=Ud(e,i,a),t.memoizedState=F1,wc(e.child,o)):(g!==null&&(a&62914560)===a&&(a&e.lanes)!==0&&ef(t),ca(t),a=e.child,e=a.sibling,a=au(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function py(e,t){return t=Bs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Bs(e,t){return e=w(22,e,null,t),e.lanes=0,e}function Bd(e,t,a){return Or(t,e.child,null,a),e=py(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gy(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),hd(e.return,t,a)}function qd(e,t,a,i,o,f){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o,treeForkCount:f}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=a,d.tailMode=o,d.treeForkCount=f)}function vy(e,t,a){var i=t.pendingProps,o=i.revealOrder,f=i.tail,d=i.children,h=Tl.current;if((i=(h&K0)!==0)?(h=h&kh|K0,t.flags|=128):h&=kh,_e(Tl,h,t),h=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!R2[h])if(R2[h]=!0,o==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(o==="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 o=="string")switch(o.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.',o,o.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.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);h=f??"null",yv[h]||(f==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(yv[h]=!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".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(yv[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(yv[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));e:if((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(ml(d)){for(h=0;h<d.length;h++)if(!Nt(d[h],h))break e}else if(h=it(d),typeof h=="function"){if(h=h.call(d))for(var p=h.next(),g=0;!p.done;p=h.next()){if(!Nt(p.value,g))break e;g++}}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?',o);if(Ml(e,t,d,a),at?(Oi(),d=N0):d=0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&gy(e,a,t);else if(e.tag===19)gy(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&Mc(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),qd(t,!1,o,a,f,d);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Mc(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}qd(t,!0,a,null,f,d);break;case"together":qd(t,!1,null,null,void 0,d);break;default:t.memoizedState=null}return t.child}function Hn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Wa=-1,Xf|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Mn(e,t,a,!1),(a&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,a=au(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=au(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Yd(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Uo(e)))}function Kp(e,t,a){switch(t.tag){case 3:Ft(t,t.stateNode.containerInfo),un(t,Nl,e.memoizedState.cache),Di();break;case 27:case 5:ne(t);break;case 4:Ft(t,t.stateNode.containerInfo);break;case 10:un(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,jn(t),null;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(ca(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Hd(e,t,a):(ca(t),e=Hn(e,t,a),e!==null?e.sibling:null);ca(t);break;case 19:var o=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(Mn(e,t,a,!1),i=(a&t.childLanes)!==0),o){if(i)return vy(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),_e(Tl,Tl.current,t),i)break;return null;case 22:return t.lanes=0,sy(e,t,a,t.pendingProps);case 24:un(t,Nl,e.memoizedState.cache)}return Hn(e,t,a)}function qs(e,t,a){if(t._debugNeedsRemount&&e!==null){a=Tc(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Hl=!0;else{if(!Yd(e,a)&&(t.flags&128)===0)return Hl=!1,Kp(e,t,a);Hl=(e.flags&131072)!==0}else Hl=!1,(i=at)&&(Oi(),i=(t.flags&1048576)!==0),i&&(i=t.index,Oi(),Qm(t,N0,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=qa(t.elementType),t.type=e,typeof e=="function")wm(e)?(i=mu(e,i),t.tag=1,t.type=e=zi(e),t=Vc(null,t,e,i,a)):(t.tag=0,$o(t,e),t.type=e=zi(e),t=hy(null,t,e,i,a));else{if(e!=null){if(o=e.$$typeof,o===bf){t.tag=11,t.type=e=fd(e),t=Zp(null,t,e,i,a);break e}else if(o===sr){t.tag=14,t=oy(null,t,e,i,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===kl&&(t=" Did you wrap a component in React.lazy() more than once?"),a=Oe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return hy(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,o=mu(i,t.pendingProps),Vc(e,t,i,o,a);case 3:e:{if(Ft(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var f=t.memoizedState;o=f.element,iu(e,t),ou(t,i,null,a);var d=t.memoizedState;if(i=d.cache,un(t,Nl,i),i!==f.cache&&Ju(t,[Nl],a,!0),Yo(),i=d.element,f.isDehydrated)if(f={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=yy(e,t,i,a);break e}else if(i!==o){o=aa(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),ds(o),t=yy(e,t,i,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Kt=Ja(e.firstChild),va=t,at=!0,Uf=null,lc=!1,Jn=null,Uu=!0,a=i2(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Di(),i===o){t=Hn(e,t,a);break e}Ml(e,t,i,a)}t=t.child}return t;case 26:return Hs(e,t),e===null?(a=Iy(t.type,null,t.pendingProps,null))?t.memoizedState=a:at||(a=t.type,e=t.pendingProps,i=qt(Ka.current),i=Is(i).createElement(a),i[Zt]=t,i[ga]=e,Lt(i,a,e),ul(i),t.stateNode=i):t.memoizedState=Iy(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ne(t),e===null&&at&&(i=qt(Ka.current),o=k(),i=t.stateNode=oi(t.type,t.pendingProps,i,o,!1),lc||(o=Oa(i,t.type,t.pendingProps,o),o!==null&&(Ac(t,0).serverProps=o)),va=t,Uu=!0,o=Kt,Fi(t.type)?(vb=o,Kt=Ja(i.firstChild)):Kt=o),Ml(e,t,t.pendingProps.children,a),Hs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&at&&(f=k(),i=ls(t.type,f.ancestorInfo),o=Kt,(d=!o)||(d=Ag(o,t.type,t.pendingProps,Uu),d!==null?(t.stateNode=d,lc||(f=Oa(d,t.type,t.pendingProps,f),f!==null&&(Ac(t,0).serverProps=f)),va=t,Kt=Ja(d.firstChild),Uu=!1,f=!0):f=!1,d=!f),d&&(i&&$l(t,o),nn(t))),ne(t),o=t.type,f=t.pendingProps,d=e!==null?e.memoizedProps:null,i=f.children,sf(o,f)?i=null:d!==null&&sf(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Pm(e,t,Ts,null,null,a),rp._currentValue=o),Hs(e,t),Ml(e,t,i,a),t.child;case 6:return e===null&&at&&(a=t.pendingProps,e=k(),i=e.ancestorInfo.current,a=i!=null?as(a,i.tag,e.ancestorInfo.implicitRootScope):!0,e=Kt,(i=!e)||(i=zg(e,t.pendingProps,Uu),i!==null?(t.stateNode=i,va=t,Kt=null,i=!0):i=!1,i=!i),i&&(a&&$l(t,e),nn(t))),null;case 13:return Hd(e,t,a);case 4:return Ft(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Or(t,null,i,a):Ml(e,t,i,a),t.child;case 11:return Zp(e,t,t.type,t.pendingProps,a);case 7:return Ml(e,t,t.pendingProps,a),t.child;case 8:return Ml(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Ml(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.type,o=t.pendingProps,f=o.value,"value"in o||N2||(N2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),un(t,i,f),Ml(e,t,o.children,a),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="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."),Mi(t),o=mt(o),i=B1(i,o,void 0),t.flags|=1,Ml(e,t,i,a),t.child;case 14:return oy(e,t,t.type,t.pendingProps,a);case 15:return fy(e,t,t.type,t.pendingProps,a);case 19:return vy(e,t,a);case 31:return Jp(e,t,a);case 22:return sy(e,t,a,t.pendingProps);case 24:return Mi(t),i=mt(Nl),e===null?(o=Fu(),o===null&&(o=Bt,f=md(),o.pooledCache=f,xc(f),f!==null&&(o.pooledCacheLanes|=a),o=f),t.memoizedState={parent:i,cache:o},tt(t),un(t,Nl,o)):((e.lanes&a)!==0&&(iu(e,t),ou(t,null,null,a),Yo()),o=e.memoizedState,f=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),un(t,Nl,i)):(i=f.cache,un(t,Nl,i),i!==o.cache&&Ju(t,[Nl],a,!0))),Ml(e,t,t.pendingProps.children,a),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 yu(e){e.flags|=4}function Gd(e,t,a,i,o){if((t=(e.mode&FA)!==Re)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(By())e.flags|=8192;else throw xr=fv,Y1}else e.flags&=-16777217}function $p(e,t){if(t.type!=="stylesheet"||(t.state.loading&Gu)!==qr)e.flags&=-16777217;else if(e.flags|=16777216,!et(t))if(By())e.flags|=8192;else throw xr=fv,Y1}function ko(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Xr():536870912,e.lanes|=t,Rr|=t)}function Wo(e,t){if(!at)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function xt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)if((e.mode&Ke)!==Re){for(var o=e.selfBaseDuration,f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,o+=f.treeBaseDuration,f=f.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&Ke)!==Re){o=e.actualDuration,f=e.selfBaseDuration;for(var d=e.child;d!==null;)a|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,f+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=f}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function by(e,t,a){var i=t.pendingProps;switch(dd(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(t),null;case 1:return xt(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Cn(Nl,t),M(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(zc(t)?(Ci(),yu(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,rs())),xt(t),null;case 26:var o=t.type,f=t.memoizedState;return e===null?(yu(t),f!==null?(xt(t),$p(t,f)):(xt(t),Gd(t,o,null,i,a))):f?f!==e.memoizedState?(yu(t),xt(t),$p(t,f)):(xt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&yu(t),xt(t),Gd(t,o,e,i,a)),null;case 27:if(be(t),a=qt(Ka.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&yu(t);else{if(!i){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 xt(t),null}e=k(),zc(t)?Lm(t):(e=oi(o,i,a,e,!0),t.stateNode=e,yu(t))}return xt(t),null;case 5:if(be(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&yu(t);else{if(!i){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 xt(t),null}var d=k();if(zc(t))Lm(t);else{switch(f=qt(Ka.current),ls(o,d.ancestorInfo),d=d.context,f=Is(f),d){case om:f=f.createElementNS(Qe,o);break;case Hv:f=f.createElementNS(Ye,o);break;default:switch(o){case"svg":f=f.createElementNS(Qe,o);break;case"math":f=f.createElementNS(Ye,o);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof i.is=="string"?f.createElement("select",{is:i.is}):f.createElement("select"),i.multiple?f.multiple=!0:i.size&&(f.size=i.size);break;default:f=typeof i.is=="string"?f.createElement(o,{is:i.is}):f.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||$a.call(lT,o)||(lT[o]=!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.",o)))}}f[Zt]=t,f[ga]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)f.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=f;e:switch(Lt(f,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&yu(t)}}return xt(t),Gd(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&yu(t);else{if(typeof i!="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=qt(Ka.current),a=k(),zc(t)){if(e=t.stateNode,a=t.memoizedProps,o=!lc,i=null,f=va,f!==null)switch(f.tag){case 3:o&&(o=Dg(e,a,i),o!==null&&(Ac(t,0).serverProps=o));break;case 27:case 5:i=f.memoizedProps,o&&(o=Dg(e,a,i),o!==null&&(Ac(t,0).serverProps=o))}e[Zt]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Jy(e.nodeValue,a)),e||nn(t,!0)}else o=a.ancestorInfo.current,o!=null&&as(i,o.tag,a.ancestorInfo.implicitRootScope),e=Is(e).createTextNode(i),e[Zt]=t,t.stateNode=e}return xt(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(i=zc(t),a!==null){if(e===null){if(!i)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?e.dehydrated:null,!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[Zt]=t,xt(t),(t.mode&Ke)!==Re&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Ci(),Di(),(t.flags&128)===0&&(a=t.memoizedState=null),t.flags|=4,xt(t),(t.mode&Ke)!==Re&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else a=rs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Dl(t),t):(Dl(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return xt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=i,f=zc(t),o!==null&&o.dehydrated!==null){if(e===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Zt]=t,xt(t),(t.mode&Ke)!==Re&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else Ci(),Di(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,xt(t),(t.mode&Ke)!==Re&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=rs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Dl(t),t):(Dl(t),null)}return Dl(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&Ke)!==Re&&Dc(t),t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==o&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),ko(t,t.updateQueue),xt(t),(t.mode&Ke)!==Re&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return M(t),e===null&&Ki(t.stateNode.containerInfo),xt(t),null;case 10:return Cn(t.type,t),xt(t),null;case 19:if(qe(Tl,t),i=t.memoizedState,i===null)return xt(t),null;if(o=(t.flags&128)!==0,f=i.rendering,f===null)if(o)Wo(i,!1);else{if(nl!==po||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=Mc(e),f!==null){for(t.flags|=128,Wo(i,!1),e=f.updateQueue,t.updateQueue=e,ko(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Vm(a,e),a=a.sibling;return _e(Tl,Tl.current&kh|K0,t),at&&Dn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Rl()>Ev&&(t.flags|=128,o=!0,Wo(i,!1),t.lanes=4194304)}else{if(!o)if(e=Mc(f),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,ko(t,e),Wo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!f.alternate&&!at)return xt(t),null}else 2*Rl()-i.renderingStartTime>Ev&&a!==536870912&&(t.flags|=128,o=!0,Wo(i,!1),t.lanes=4194304);i.isBackwards?(f.sibling=t.child,t.child=f):(e=i.last,e!==null?e.sibling=f:t.child=f,i.last=f)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Rl(),e.sibling=null,a=Tl.current,a=o?a&kh|K0:a&kh,_e(Tl,a,t),at&&Dn(t,i.treeForkCount),e):(xt(t),null);case 22:case 23:return Dl(t),Nn(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(xt(t),t.subtreeFlags&6&&(t.flags|=8192)):xt(t),a=t.updateQueue,a!==null&&ko(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&qe(Ar,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Cn(Nl,t),xt(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 Fp(e,t){switch(dd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ke)!==Re&&Dc(t),t):null;case 3:return Cn(Nl,t),M(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return be(t),null;case 31:if(t.memoizedState!==null){if(Dl(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Di()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ke)!==Re&&Dc(t),t):null;case 13:if(Dl(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.");Di()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ke)!==Re&&Dc(t),t):null;case 19:return qe(Tl,t),null;case 4:return M(t),null;case 10:return Cn(t.type,t),null;case 22:case 23:return Dl(t),Nn(t),e!==null&&qe(Ar,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ke)!==Re&&Dc(t),t):null;case 24:return Cn(Nl,t),null;case 25:return null;default:return null}}function Sy(e,t){switch(dd(t),t.tag){case 3:Cn(Nl,t),M(t);break;case 26:case 27:case 5:be(t);break;case 4:M(t);break;case 31:t.memoizedState!==null&&Dl(t);break;case 13:Dl(t);break;case 19:qe(Tl,t);break;case 10:Cn(t.type,t);break;case 22:case 23:Dl(t),Nn(t),e!==null&&qe(Ar,t);break;case 24:Cn(Nl,t)}}function pu(e){return(e.mode&Ke)!==Re}function kp(e,t){pu(e)?(el(),ai(t,e),ua()):ai(t,e)}function wd(e,t,a){pu(e)?(el(),Vi(a,e,t),ua()):Vi(a,e,t)}function ai(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&e)===e&&(i=void 0,(e&Ia)!==rv&&(um=!0),i=le(t,t3,a),(e&Ia)!==rv&&(um=!1),i!==void 0&&typeof i!="function")){var f=void 0;f=(a.tag&$n)!==0?"useLayoutEffect":(a.tag&Ia)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
138
|
+
|
|
139
|
+
It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
140
|
+
|
|
141
|
+
`+f+`(() => {
|
|
142
|
+
async function fetchData() {
|
|
143
|
+
// You can await here
|
|
144
|
+
const response = await MyAPI.getData(someId);
|
|
145
|
+
// ...
|
|
146
|
+
}
|
|
147
|
+
fetchData();
|
|
148
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
149
|
+
|
|
150
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,le(t,function(h,p){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,p)},f,d)}a=a.next}while(a!==o)}}catch(h){Xe(t,t.return,h)}}function Vi(e,t,a){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var f=o.next;i=f;do{if((i.tag&e)===e){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(e&Ia)!==rv&&(um=!0),o=t,le(o,l3,o,a,h),(e&Ia)!==rv&&(um=!1))}i=i.next}while(i!==f)}}catch(p){Xe(t,t.return,p)}}function Ys(e,t){pu(e)?(el(),ai(t,e),ua()):ai(t,e)}function Vd(e,t,a){pu(e)?(el(),Vi(a,e,t),ua()):Vi(a,e,t)}function Ty(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||em||(a.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.",ye(e)||"instance"),a.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.",ye(e)||"instance"));try{le(e,Go,t,a)}catch(i){Xe(e,e.return,i)}}}function Gs(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function Wp(e,t){var a=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||em||(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.",ye(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.",ye(e)||"instance"));try{var o=mu(e.type,a),f=le(e,Gs,t,o,i);a=j2,f!==void 0||a.has(e.type)||(a.add(e.type),le(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ye(e))})),t.__reactInternalSnapshotBeforeUpdate=f}catch(d){Xe(e,e.return,d)}}function Xd(e,t,a){a.props=mu(e.type,e.memoizedProps),a.state=e.memoizedState,pu(e)?(el(),le(e,IS,e,t,a),ua()):le(e,IS,e,t,a)}function Ip(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(pu(e))try{el(),e.refCleanup=t(a)}finally{ua()}else e.refCleanup=t(a);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().",ye(e)),t.current=a}}function Xc(e,t){try{le(e,Ip,e)}catch(a){Xe(e,t,a)}}function rn(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{if(pu(e))try{el(),le(e,i)}finally{ua(e)}else le(e,i)}catch(o){Xe(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(pu(e))try{el(),le(e,a,null)}finally{ua(e)}else le(e,a,null)}catch(o){Xe(e,t,o)}else a.current=null}function Ey(e,t,a,i){var o=e.memoizedProps,f=o.id,d=o.onCommit;o=o.onRender,t=t===null?"mount":"update",uv&&(t="nested-update"),typeof o=="function"&&o(f,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof d=="function"&&d(f,t,i,a)}function Pp(e,t,a,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",uv&&(t="nested-update"),typeof o=="function"&&o(e,t,i,a)}function Xi(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{le(e,dg,i,t,a,e)}catch(o){Xe(e,e.return,o)}}function Qd(e,t,a){try{le(e,fh,e.stateNode,e.type,a,t,e)}catch(i){Xe(e,e.return,i)}}function Ay(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Fi(e.type)||e.tag===4}function Ld(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ay(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&&Fi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Io(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(mg(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t)):(mg(a),t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=ln));else if(i!==4&&(i===27&&Fi(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Io(e,t,a),e=e.sibling;e!==null;)Io(e,t,a),e=e.sibling}function ws(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&Fi(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(ws(e,t,a),e=e.sibling;e!==null;)ws(e,t,a),e=e.sibling}function zy(e){for(var t,a=e.return;a!==null;){if(Ay(a)){t=a;break}a=a.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,a=Ld(e),ws(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(sh(a),t.flags&=-33),t=Ld(e),ws(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=Ld(e),Io(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function xy(e){var t=e.stateNode,a=e.memoizedProps;try{le(e,zu,e.type,a,t,e)}catch(i){Xe(e,e.return,i)}}function Oy(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 u1(e,t){if(e=e.containerInfo,yb=Gv,e=ud(e),jm(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var o=i.anchorOffset,f=i.focusNode;i=i.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break e}var d=0,h=-1,p=-1,g=0,O=0,C=e,E=null;t:for(;;){for(var q;C!==a||o!==0&&C.nodeType!==3||(h=d+o),C!==f||i!==0&&C.nodeType!==3||(p=d+i),C.nodeType===3&&(d+=C.nodeValue.length),(q=C.firstChild)!==null;)E=C,C=q;for(;;){if(C===e)break t;if(E===a&&++g===o&&(h=d),E===f&&++O===i&&(p=d),(q=C.nextSibling)!==null)break;C=E,E=C.parentNode}C=q}a=h===-1||p===-1?null:{start:h,end:p}}else a=null}a=a||{start:0,end:0}}else a=null;for(pb={focusedElem:e,selectionRange:a},Gv=!1,Pl=t;Pl!==null;)if(t=Pl,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Pl=e;else for(;Pl!==null;){switch(e=t=Pl,a=e.alternate,o=e.flags,e.tag){case 0:if((o&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)o=e[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&Wp(e,a);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)df(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":df(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)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,Pl=e;break}Pl=t.return}}function Zd(e,t,a){var i=Xt(),o=cn(),f=Ha(),d=on(),h=a.flags;switch(a.tag){case 0:case 11:case 15:Xa(e,a),h&4&&kp(a,$n|qu);break;case 1:if(Xa(e,a),h&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||em||(e.props!==a.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.",ye(a)||"instance"),e.state!==a.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.",ye(a)||"instance")),pu(a)?(el(),le(a,q1,a,e),ua()):le(a,q1,a,e);else{var p=mu(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||em||(e.props!==a.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.",ye(a)||"instance"),e.state!==a.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.",ye(a)||"instance")),pu(a)?(el(),le(a,FS,a,e,p,t,e.__reactInternalSnapshotBeforeUpdate),ua()):le(a,FS,a,e,p,t,e.__reactInternalSnapshotBeforeUpdate)}h&64&&Ty(a),h&512&&Xc(a,a.return);break;case 3:if(t=uu(),Xa(e,a),h&64&&(h=a.updateQueue,h!==null)){if(p=null,a.child!==null)switch(a.child.tag){case 27:case 5:p=a.child.stateNode;break;case 1:p=a.child.stateNode}try{le(a,Go,h,p)}catch(O){Xe(a,a.return,O)}}e.effectDuration+=Ho(t);break;case 27:t===null&&h&4&&xy(a);case 26:case 5:if(Xa(e,a),t===null){if(h&4)Xi(a);else if(h&64){e=a.type,t=a.memoizedProps,p=a.stateNode;try{le(a,hg,p,e,t,a)}catch(O){Xe(a,a.return,O)}}}h&512&&Xc(a,a.return);break;case 12:if(h&4){h=uu(),Xa(e,a),e=a.stateNode,e.effectDuration+=na(h);try{le(a,Ey,a,t,Hf,e.effectDuration)}catch(O){Xe(a,a.return,O)}}else Xa(e,a);break;case 31:Xa(e,a),h&4&&Cy(e,a);break;case 13:Xa(e,a),h&4&&My(e,a),h&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(h=ui.bind(null,a),xg(e,h))));break;case 22:if(h=a.memoizedState!==null||yo,!h){t=t!==null&&t.memoizedState!==null||Bl,p=yo;var g=Bl;yo=h,(Bl=t)&&!g?(Bn(e,a,(a.subtreeFlags&8772)!==0),(a.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&id(a,xe,Ce)):Xa(e,a),yo=p,Bl=g}break;case 30:break;default:Xa(e,a)}(a.mode&Ke)!==Re&&0<=xe&&0<=Ce&&((rl||.05<al)&&On(a,xe,Ce,al,Pt),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Ce-xe&&(Oy(a.return.alternate,a.return)||an(a,xe,Ce,"Mount"))),xl(i),Ua(o),Pt=f,rl=d}function fl(e){var t=e.alternate;t!==null&&(e.alternate=null,fl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&vm(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 wt(e,t,a){for(a=a.child;a!==null;)Dy(e,t,a),a=a.sibling}function Dy(e,t,a){if(bl&&typeof bl.onCommitFiberUnmount=="function")try{bl.onCommitFiberUnmount(to,a)}catch(g){Ou||(Ou=!0,console.error("React instrumentation encountered an error: %o",g))}var i=Xt(),o=cn(),f=Ha(),d=on();switch(a.tag){case 26:Bl||rn(a,t),wt(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(e=a.stateNode,e.parentNode.removeChild(e));break;case 27:Bl||rn(a,t);var h=ql,p=pn;Fi(a.type)&&(ql=a.stateNode,pn=!1),wt(e,t,a),le(a,fi,a.stateNode),ql=h,pn=p;break;case 5:Bl||rn(a,t);case 6:if(h=ql,p=pn,ql=null,wt(e,t,a),ql=h,pn=p,ql!==null)if(pn)try{le(a,pg,ql,a.stateNode)}catch(g){Xe(a,t,g)}else try{le(a,yg,ql,a.stateNode)}catch(g){Xe(a,t,g)}break;case 18:ql!==null&&(pn?(e=ql,Kc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Wc(e)):Kc(ql,a.stateNode));break;case 4:h=ql,p=pn,ql=a.stateNode.containerInfo,pn=!0,wt(e,t,a),ql=h,pn=p;break;case 0:case 11:case 14:case 15:Vi(Ia,a,t),Bl||wd(a,t,$n),wt(e,t,a);break;case 1:Bl||(rn(a,t),h=a.stateNode,typeof h.componentWillUnmount=="function"&&Xd(a,t,h)),wt(e,t,a);break;case 21:wt(e,t,a);break;case 22:Bl=(h=Bl)||a.memoizedState!==null,wt(e,t,a),Bl=h;break;default:wt(e,t,a)}(a.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(a,xe,Ce,al,Pt),xl(i),Ua(o),Pt=f,rl=d}function Cy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{le(t,rh,e)}catch(a){Xe(t,t.return,a)}}}function My(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{le(t,ky,e)}catch(a){Xe(t,t.return,a)}}function eg(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new U2),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new U2),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Qi(e,t){var a=eg(e);t.forEach(function(i){if(!a.has(i)){if(a.add(i),Du)if(tm!==null&&lm!==null)nf(lm,tm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=Zc.bind(null,e,i);i.then(o,o)}})}function sa(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=e,f=t,d=a[i],h=Xt(),p=f;e:for(;p!==null;){switch(p.tag){case 27:if(Fi(p.type)){ql=p.stateNode,pn=!1;break e}break;case 5:ql=p.stateNode,pn=!1;break e;case 3:case 4:ql=p.stateNode.containerInfo,pn=!0;break e}p=p.return}if(ql===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Dy(o,f,d),ql=null,pn=!1,(d.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&an(d,xe,Ce,"Unmount"),xl(h),o=d,f=o.alternate,f!==null&&(f.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Vs(t,e),t=t.sibling}function Vs(e,t){var a=Xt(),i=cn(),o=Ha(),f=on(),d=e.alternate,h=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sa(t,e),ra(e),h&4&&(Vi(Ia|qu,e,e.return),ai(Ia|qu,e),wd(e,e.return,$n|qu));break;case 1:if(sa(t,e),ra(e),h&512&&(Bl||d===null||rn(d,d.return)),h&64&&yo&&(h=e.updateQueue,h!==null&&(d=h.callbacks,d!==null))){var p=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=p===null?d:p.concat(d)}break;case 26:if(p=yi,sa(t,e),ra(e),h&512&&(Bl||d===null||rn(d,d.return)),h&4){var g=d!==null?d.memoizedState:null;if(h=e.memoizedState,d===null)if(h===null)if(e.stateNode===null){e:{h=e.type,d=e.memoizedProps,p=p.ownerDocument||p;t:switch(h){case"title":g=p.getElementsByTagName("title")[0],(!g||g[Df]||g[Zt]||g.namespaceURI===Qe||g.hasAttribute("itemprop"))&&(g=p.createElement(h),p.head.insertBefore(g,p.querySelector("head > title"))),Lt(g,h,d),g[Zt]=e,ul(g),h=g;break e;case"link":var O=yf("link","href",p).get(h+(d.href||""));if(O){for(var C=0;C<O.length;C++)if(g=O[C],g.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&g.getAttribute("rel")===(d.rel==null?null:d.rel)&&g.getAttribute("title")===(d.title==null?null:d.title)&&g.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){O.splice(C,1);break t}}g=p.createElement(h),Lt(g,h,d),p.head.appendChild(g);break;case"meta":if(O=yf("meta","content",p).get(h+(d.content||""))){for(C=0;C<O.length;C++)if(g=O[C],At(d.content,"content"),g.getAttribute("content")===(d.content==null?null:""+d.content)&&g.getAttribute("name")===(d.name==null?null:d.name)&&g.getAttribute("property")===(d.property==null?null:d.property)&&g.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&g.getAttribute("charset")===(d.charSet==null?null:d.charSet)){O.splice(C,1);break t}}g=p.createElement(h),Lt(g,h,d),p.head.appendChild(g);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}g[Zt]=e,ul(g),h=g}e.stateNode=h}else Mg(p,e.type,e.stateNode);else e.stateNode=mh(p,h,e.memoizedProps);else g!==h?(g===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):g.count--,h===null?Mg(p,e.type,e.stateNode):mh(p,h,e.memoizedProps)):h===null&&e.stateNode!==null&&Qd(e,e.memoizedProps,d.memoizedProps)}break;case 27:sa(t,e),ra(e),h&512&&(Bl||d===null||rn(d,d.return)),d!==null&&h&4&&Qd(e,e.memoizedProps,d.memoizedProps);break;case 5:if(sa(t,e),ra(e),h&512&&(Bl||d===null||rn(d,d.return)),e.flags&32){p=e.stateNode;try{le(e,sh,p)}catch(re){Xe(e,e.return,re)}}h&4&&e.stateNode!=null&&(p=e.memoizedProps,Qd(e,p,d!==null?d.memoizedProps:p)),h&1024&&(k1=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(sa(t,e),ra(e),h&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.");h=e.memoizedProps,d=d!==null?d.memoizedProps:h,p=e.stateNode;try{le(e,i1,p,d,h)}catch(re){Xe(e,e.return,re)}}break;case 3:if(p=uu(),Bv=null,g=yi,yi=dh(t.containerInfo),sa(t,e),yi=g,ra(e),h&4&&d!==null&&d.memoizedState.isDehydrated)try{le(e,Fy,t.containerInfo)}catch(re){Xe(e,e.return,re)}k1&&(k1=!1,tg(e)),t.effectDuration+=Ho(p);break;case 4:h=yi,yi=dh(e.stateNode.containerInfo),sa(t,e),ra(e),yi=h;break;case 12:h=uu(),sa(t,e),ra(e),e.stateNode.effectDuration+=na(h);break;case 31:sa(t,e),ra(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Qi(e,h)));break;case 13:sa(t,e),ra(e),e.child.flags&8192&&e.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Tv=Rl()),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Qi(e,h)));break;case 22:p=e.memoizedState!==null;var E=d!==null&&d.memoizedState!==null,q=yo,ce=Bl;if(yo=q||p,Bl=ce||E,sa(t,e),Bl=ce,yo=q,E&&!p&&!q&&!ce&&(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&id(e,xe,Ce),ra(e),h&8192)e:for(t=e.stateNode,t._visibility=p?t._visibility&~R0:t._visibility|R0,!p||d===null||E||yo||Bl||(Li(e),(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&an(e,xe,Ce,"Disconnect")),d=null,t=e;;){if(t.tag===5||t.tag===26){if(d===null){E=d=t;try{g=E.stateNode,p?le(E,vg,g):le(E,Tg,E.stateNode,E.memoizedProps)}catch(re){Xe(E,E.return,re)}}}else if(t.tag===6){if(d===null){E=t;try{O=E.stateNode,p?le(E,bg,O):le(E,Eg,O,E.memoizedProps)}catch(re){Xe(E,E.return,re)}}}else if(t.tag===18){if(d===null){E=t;try{C=E.stateNode,p?le(E,gg,C):le(E,Sg,E.stateNode)}catch(re){Xe(E,E.return,re)}}}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 e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;d===t&&(d=null),t=t.return}d===t&&(d=null),t.sibling.return=t.return,t=t.sibling}h&4&&(h=e.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,Qi(e,d))));break;case 19:sa(t,e),ra(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Qi(e,h)));break;case 30:break;case 21:break;default:sa(t,e),ra(e)}(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&((rl||.05<al)&&On(e,xe,Ce,al,Pt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ce-xe&&(Oy(e.return.alternate,e.return)||an(e,xe,Ce,"Mount"))),xl(a),Ua(i),Pt=o,rl=f}function ra(e){var t=e.flags;if(t&2){try{le(e,zy,e)}catch(a){Xe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function tg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;tg(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Xa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Zd(e,t.alternate,t),t=t.sibling}function Jd(e){var t=Xt(),a=cn(),i=Ha(),o=on();switch(e.tag){case 0:case 11:case 14:case 15:wd(e,e.return,$n),Li(e);break;case 1:rn(e,e.return);var f=e.stateNode;typeof f.componentWillUnmount=="function"&&Xd(e,e.return,f),Li(e);break;case 27:le(e,fi,e.stateNode);case 26:case 5:rn(e,e.return),Li(e);break;case 22:e.memoizedState===null&&Li(e);break;case 30:Li(e);break;default:Li(e)}(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(e,xe,Ce,al,Pt),xl(t),Ua(a),Pt=i,rl=o}function Li(e){for(e=e.child;e!==null;)Jd(e),e=e.sibling}function _y(e,t,a,i){var o=Xt(),f=cn(),d=Ha(),h=on(),p=a.flags;switch(a.tag){case 0:case 11:case 15:Bn(e,a,i),kp(a,$n);break;case 1:if(Bn(e,a,i),t=a.stateNode,typeof t.componentDidMount=="function"&&le(a,q1,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{le(a,Wm,t,e)}catch(g){Xe(a,a.return,g)}}i&&p&64&&Ty(a),Xc(a,a.return);break;case 27:xy(a);case 26:case 5:Bn(e,a,i),i&&t===null&&p&4&&Xi(a),Xc(a,a.return);break;case 12:if(i&&p&4){p=uu(),Bn(e,a,i),i=a.stateNode,i.effectDuration+=na(p);try{le(a,Ey,a,t,Hf,i.effectDuration)}catch(g){Xe(a,a.return,g)}}else Bn(e,a,i);break;case 31:Bn(e,a,i),i&&p&4&&Cy(e,a);break;case 13:Bn(e,a,i),i&&p&4&&My(e,a);break;case 22:a.memoizedState===null&&Bn(e,a,i),Xc(a,a.return);break;case 30:break;default:Bn(e,a,i)}(a.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(a,xe,Ce,al,Pt),xl(o),Ua(f),Pt=d,rl=h}function Bn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)_y(e,t.alternate,t,a),t=t.sibling}function Xs(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&xc(e),a!=null&&ms(a))}function Qs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(xc(t),e!=null&&ms(e))}function Qa(e,t,a,i,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var f=t.sibling;Ry(e,t,a,i,f!==null?f.actualStartTime:o),t=f}}function Ry(e,t,a,i,o){var f=Xt(),d=cn(),h=Ha(),p=on(),g=Rf,O=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ke)!==Re&&0<t.actualStartTime&&(t.flags&1)!==0&&cd(t,t.actualStartTime,o,Ll,a),Qa(e,t,a,i,o),O&2048&&Ys(t,Pa|qu);break;case 1:(t.mode&Ke)!==Re&&0<t.actualStartTime&&((t.flags&128)!==0?Hm(t,t.actualStartTime,o,[]):(t.flags&1)!==0&&cd(t,t.actualStartTime,o,Ll,a)),Qa(e,t,a,i,o);break;case 3:var C=uu(),E=Ll;Ll=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Qa(e,t,a,i,o),Ll=E,O&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),i=t.memoizedState.cache,i!==a&&(xc(i),a!=null&&ms(a))),e.passiveEffectDuration+=Ho(C);break;case 12:if(O&2048){O=uu(),Qa(e,t,a,i,o),e=t.stateNode,e.passiveEffectDuration+=na(O);try{le(t,Pp,t,t.alternate,Hf,e.passiveEffectDuration)}catch(q){Xe(t,t.return,q)}}else Qa(e,t,a,i,o);break;case 31:O=Ll,C=t.alternate!==null?t.alternate.memoizedState:null,E=t.memoizedState,C!==null&&E===null?(E=t.deletions,E!==null&&0<E.length&&E[0].tag===18?(Ll=!1,C=C.hydrationErrors,C!==null&&Hm(t,t.actualStartTime,o,C)):Ll=!0):Ll=!1,Qa(e,t,a,i,o),Ll=O;break;case 13:O=Ll,C=t.alternate!==null?t.alternate.memoizedState:null,E=t.memoizedState,C===null||C.dehydrated===null||E!==null&&E.dehydrated!==null?Ll=!1:(E=t.deletions,E!==null&&0<E.length&&E[0].tag===18?(Ll=!1,C=C.hydrationErrors,C!==null&&Hm(t,t.actualStartTime,o,C)):Ll=!0),Qa(e,t,a,i,o),Ll=O;break;case 23:break;case 22:E=t.stateNode,C=t.alternate,t.memoizedState!==null?E._visibility&no?Qa(e,t,a,i,o):Qc(e,t,a,i,o):E._visibility&no?Qa(e,t,a,i,o):(E._visibility|=no,Zi(e,t,a,i,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),o),(t.mode&Ke)===Re||Ll||(e=t.actualStartTime,0<=e&&.05<o-e&&id(t,e,o),0<=xe&&0<=Ce&&.05<Ce-xe&&id(t,xe,Ce))),O&2048&&Xs(C,t);break;case 24:Qa(e,t,a,i,o),O&2048&&Qs(t.alternate,t);break;default:Qa(e,t,a,i,o)}(t.mode&Ke)!==Re&&((e=!Ll&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(a=t.actualStartTime,0<=a&&.05<o-a&&an(t,a,o,"Mount")),0<=xe&&0<=Ce&&((rl||.05<al)&&On(t,xe,Ce,al,Pt),e&&.05<Ce-xe&&an(t,xe,Ce,"Mount"))),xl(f),Ua(d),Pt=h,rl=p,Rf=g}function Zi(e,t,a,i,o,f){for(o=o&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var d=t.sibling;Ls(e,t,a,i,o,d!==null?d.actualStartTime:f),t=d}}function Ls(e,t,a,i,o,f){var d=Xt(),h=cn(),p=Ha(),g=on(),O=Rf;o&&(t.mode&Ke)!==Re&&0<t.actualStartTime&&(t.flags&1)!==0&&cd(t,t.actualStartTime,f,Ll,a);var C=t.flags;switch(t.tag){case 0:case 11:case 15:Zi(e,t,a,i,o,f),Ys(t,Pa);break;case 23:break;case 22:var E=t.stateNode;t.memoizedState!==null?E._visibility&no?Zi(e,t,a,i,o,f):Qc(e,t,a,i,f):(E._visibility|=no,Zi(e,t,a,i,o,f)),o&&C&2048&&Xs(t.alternate,t);break;case 24:Zi(e,t,a,i,o,f),o&&C&2048&&Qs(t.alternate,t);break;default:Zi(e,t,a,i,o,f)}(t.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(t,xe,Ce,al,Pt),xl(d),Ua(h),Pt=p,rl=g,Rf=O}function Qc(e,t,a,i,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var f=t.child;f!==null;){t=f.sibling;var d=e,h=a,p=i,g=t!==null?t.actualStartTime:o,O=Rf;(f.mode&Ke)!==Re&&0<f.actualStartTime&&(f.flags&1)!==0&&cd(f,f.actualStartTime,g,Ll,h);var C=f.flags;switch(f.tag){case 22:Qc(d,f,h,p,g),C&2048&&Xs(f.alternate,f);break;case 24:Qc(d,f,h,p,g),C&2048&&Qs(f.alternate,f);break;default:Qc(d,f,h,p,g)}Rf=O,f=t}}function Lc(e,t,a){if(e.subtreeFlags&W0)for(e=e.child;e!==null;)Kd(e,t,a),e=e.sibling}function Kd(e,t,a){switch(e.tag){case 26:Lc(e,t,a),e.flags&W0&&e.memoizedState!==null&&t0(a,yi,e.memoizedState,e.memoizedProps);break;case 5:Lc(e,t,a);break;case 3:case 4:var i=yi;yi=dh(e.stateNode.containerInfo),Lc(e,t,a),yi=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=W0,W0=16777216,Lc(e,t,a),W0=i):Lc(e,t,a));break;default:Lc(e,t,a)}}function Ny(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 La(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a],o=Xt();Pl=i,gu(i,e),(i.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&an(i,xe,Ce,"Unmount"),xl(o)}Ny(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)$d(e),e=e.sibling}function $d(e){var t=Xt(),a=cn(),i=Ha(),o=on();switch(e.tag){case 0:case 11:case 15:La(e),e.flags&2048&&Vd(e,e.return,Pa|qu);break;case 3:var f=uu();La(e),e.stateNode.passiveEffectDuration+=Ho(f);break;case 12:f=uu(),La(e),e.stateNode.passiveEffectDuration+=na(f);break;case 22:f=e.stateNode,e.memoizedState!==null&&f._visibility&no&&(e.return===null||e.return.tag!==13)?(f._visibility&=~no,Fd(e),(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&an(e,xe,Ce,"Disconnect")):La(e);break;default:La(e)}(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(e,xe,Ce,al,Pt),xl(t),Ua(a),rl=o,Pt=i}function Fd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a],o=Xt();Pl=i,gu(i,e),(i.mode&Ke)!==Re&&0<=xe&&0<=Ce&&.05<Ce-xe&&an(i,xe,Ce,"Unmount"),xl(o)}Ny(e)}for(e=e.child;e!==null;)jy(e),e=e.sibling}function jy(e){var t=Xt(),a=cn(),i=Ha(),o=on();switch(e.tag){case 0:case 11:case 15:Vd(e,e.return,Pa),Fd(e);break;case 22:var f=e.stateNode;f._visibility&no&&(f._visibility&=~no,Fd(e));break;default:Fd(e)}(e.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(e,xe,Ce,al,Pt),xl(t),Ua(a),rl=o,Pt=i}function gu(e,t){for(;Pl!==null;){var a=Pl,i=a,o=t,f=Xt(),d=cn(),h=Ha(),p=on();switch(i.tag){case 0:case 11:case 15:Vd(i,o,Pa);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool,o!=null&&xc(o));break;case 24:ms(i.memoizedState.cache)}if((i.mode&Ke)!==Re&&0<=xe&&0<=Ce&&(rl||.05<al)&&On(i,xe,Ce,al,Pt),xl(f),Ua(d),rl=p,Pt=h,i=a.child,i!==null)i.return=a,Pl=i;else e:for(a=e;Pl!==null;){if(i=Pl,f=i.sibling,d=i.return,fl(i),i===a){Pl=null;break e}if(f!==null){f.return=d,Pl=f;break e}Pl=d}}}function Uy(){c3.forEach(function(e){return e()})}function Hy(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||X.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Fl(e){if((ft&Zl)!==ea&&Fe!==0)return Fe&-Fe;var t=X.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Zy()):bp()}function Po(){if(vn===0)if((Fe&536870912)===0||at){var e=hr;hr<<=1,(hr&3932160)===0&&(hr=262144),vn=e}else vn=536870912;return e=Kn.current,e!==null&&(e.flags|=32),vn}function Ne(e,t,a){if(um&&console.error("useInsertionEffect must not schedule updates."),cb&&(xv=!0),(e===Bt&&(Mt===Mr||Mt===_r)||e.cancelPendingCommit!==null)&&(vu(e,0),dn(e,Fe,vn,!1)),vi(e,a),(ft&Zl)!==ea&&e===Bt){if(xu)switch(t.tag){case 0:case 11:case 15:e=Ie&&ye(Ie)||"Unknown",F2.has(e)||(F2.add(e),t=ye(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:$2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),$2=!0)}}else Du&&Sa(e,t,a),$s(t),e===Bt&&((ft&Zl)===ea&&(Qf|=a),nl===wf&&dn(e,Fe,vn,!1)),za(e)}function lg(e,t,a){if((ft&(Zl|Fn))!==ea)throw Error("Should not already be working.");if(Fe!==0&&Ie!==null){var i=Ie,o=Rl();switch(VS){case ep:case Mr:var f=q0;Jt&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",f,o,Mu,void 0,"primary-light")):console.timeStamp("Suspended",f,o,Mu,void 0,"primary-light"));break;case _r:f=q0,Jt&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",f,o,Mu,void 0,"primary-light")):console.timeStamp("Action",f,o,Mu,void 0,"primary-light"));break;default:Jt&&(i=o-q0,3>i||console.timeStamp("Blocked",q0,o,Mu,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}f=(a=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Gl(e,t))?ni(e,t):lf(e,t,!0);var d=a;do{if(f===po){am&&!a&&dn(e,t,0,!1),t=Mt,q0=jl(),VS=t;break}else{if(i=Rl(),o=e.current.alternate,d&&!ng(o)){xn(t),o=Il,f=i,!Jt||f<=o||(yl?yl.run(console.timeStamp.bind(console,"Teared Render",o,f,ct,nt,"error")):console.timeStamp("Teared Render",o,f,ct,nt,"error")),Ji(t,i),f=lf(e,t,!1),d=!1;continue}if(f===Cr){if(d=t,e.errorRecoveryDisabledLanes&d)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){xn(t),Bm(Il,i,t,yl),Ji(t,i),t=h;e:{i=e,f=d,d=lp;var p=i.current.memoizedState.isDehydrated;if(p&&(vu(i,h).flags|=256),h=lf(i,h,!1),h!==Cr){if(P1&&!p){i.errorRecoveryDisabledLanes|=f,Qf|=f,f=wf;break e}i=en,en=d,i!==null&&(en===null?en=i:en.push.apply(en,i))}f=h}if(d=!1,f!==Cr)continue;i=Rl()}}if(f===P0){xn(t),Bm(Il,i,t,yl),Ji(t,i),vu(e,0),dn(e,t,0,!0);break}e:{switch(a=e,f){case po:case P0:throw Error("Root did not complete. This is a bug in React.");case wf:if((t&4194048)!==t)break;case gv:xn(t),Np(Il,i,t,yl),Ji(t,i),o=t,(o&127)!==0?lv=i:(o&4194048)!==0&&(av=i),dn(a,t,vn,!Vf);break e;case Cr:en=null;break;case pv:case H2:break;default:throw Error("Unknown root exit status.")}if(X.actQueue!==null)jt(a,o,t,en,ap,Sv,vn,Qf,Rr,f,null,null,Il,i);else{if((t&62914560)===t&&(d=Tv+Y2-Rl(),10<d)){if(dn(a,t,vn,!Vf),Vr(a,0,!0)!==0)break e;pi=t,a.timeoutHandle=aT(ag.bind(null,a,o,en,ap,Sv,t,vn,Qf,Rr,Vf,f,"Throttled",Il,i),d);break e}ag(a,o,en,ap,Sv,t,vn,Qf,Rr,Vf,f,null,Il,i)}}}break}while(!0);za(e)}function ag(e,t,a,i,o,f,d,h,p,g,O,C,E,q){e.timeoutHandle=Br;var ce=t.subtreeFlags,re=null;if((ce&8192||(ce&16785408)===16785408)&&(re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ln},Kd(t,f,re),ce=(f&62914560)===f?Tv-Rl():(f&4194048)===f?q2-Rl():0,ce=yh(re,ce),ce!==null)){pi=f,e.cancelPendingCommit=ce(jt.bind(null,e,t,f,a,i,o,d,h,p,O,re,re.waitingForViewTransition?"Waiting for the previous Animation":0<re.count?0<re.imgCount?"Suspended on CSS and Images":"Suspended on CSS":re.imgCount===1?"Suspended on an Image":0<re.imgCount?"Suspended on Images":null,E,q)),dn(e,f,d,!g);return}jt(e,t,f,a,i,o,d,h,p,O,re,C,E,q)}function ng(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var o=a[i],f=o.getSnapshot;o=o.value;try{if(!ka(f(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 dn(e,t,a,i){t&=~eb,t&=~Qf,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var f=31-Xl(o),d=1<<f;i[f]=-1,o&=~d}a!==0&&gm(e,a,t)}function Za(){return(ft&(Zl|Fn))===ea?(Su(0),!1):!0}function kd(){if(Ie!==null){if(Mt===gn)var e=Ie.return;else e=Ie,jo(),Ri(e),$h=null,J0=0,e=Ie;for(;e!==null;)Sy(e.alternate,e),e=e.return;Ie=null}}function Ji(e,t){(e&127)!==0&&(br=t),(e&4194048)!==0&&(fo=t),(e&62914560)!==0&&(GS=t),(e&2080374784)!==0&&(wS=t)}function vu(e,t){Jt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",nt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",nt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",nt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",nt,"primary-light"));var a=Il;if(Il=jl(),Fe!==0&&0<a){if(xn(Fe),nl===pv||nl===wf)Np(a,Il,t,yl);else{var i=Il,o=yl;if(Jt&&!(i<=a)){var f=(t&738197653)===t?"tertiary-dark":"primary-dark",d=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,d,a,i,ct,nt,f)):console.timeStamp(d,a,i,ct,nt,f)}}Ji(Fe,Il)}if(a=yl,yl=null,(t&127)!==0){yl=U0,o=0<=ac&&ac<br?br:ac,i=0<=Sr&&Sr<br?br:Sr,f=0<=i?i:0<=o?o:Il,0<=lv?(xn(2),jp(lv,f,t,a)):nv&127,a=o;var h=i,p=H0,g=0<Zh,O=Bf===j0,C=Bf===tv;if(o=Il,i=U0,f=N1,d=j1,Jt){if(ct="Blocking",0<a?a>o&&(a=o):a=o,0<h?h>a&&(h=a):h=a,p!==null&&a>h){var E=g?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+p,h,a,ct,nt,E)):console.timeStamp(g?"Consecutive":"Event: "+p,h,a,ct,nt,E)}o>a&&(h=O?"error":(t&738197653)===t?"tertiary-light":"primary-light",O=C?"Promise Resolved":O?"Cascading Update":5<o-a?"Update Blocked":"Update",C=[],d!=null&&C.push(["Component name",d]),f!=null&&C.push(["Method name",f]),a={start:a,end:o,detail:{devtools:{properties:C,track:ct,trackGroup:nt,color:h}}},i?i.run(performance.measure.bind(performance,O,a)):performance.measure(O,a))}ac=-1.1,Bf=0,j1=N1=null,lv=-1.1,Zh=Sr,Sr=-1.1,br=jl()}if((t&4194048)!==0&&(yl=B0,o=0<=so&&so<fo?fo:so,a=0<=Hu&&Hu<fo?fo:Hu,i=0<=qf&&qf<fo?fo:qf,f=0<=i?i:0<=a?a:Il,0<=av?(xn(256),jp(av,f,t,yl)):nv&4194048,C=i,h=Tr,p=0<Yf,g=U1===tv,f=Il,i=B0,d=qS,O=YS,Jt&&(ct="Transition",0<a?a>f&&(a=f):a=f,0<o?o>a&&(o=a):o=a,0<C?C>o&&(C=o):C=o,o>C&&h!==null&&(E=p?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,p?"Consecutive":"Event: "+h,C,o,ct,nt,E)):console.timeStamp(p?"Consecutive":"Event: "+h,C,o,ct,nt,E)),a>o&&(i?i.run(console.timeStamp.bind(console,"Action",o,a,ct,nt,"primary-dark")):console.timeStamp("Action",o,a,ct,nt,"primary-dark")),f>a&&(o=g?"Promise Resolved":5<f-a?"Update Blocked":"Update",C=[],O!=null&&C.push(["Component name",O]),d!=null&&C.push(["Method name",d]),a={start:a,end:f,detail:{devtools:{properties:C,track:ct,trackGroup:nt,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,o,a)):performance.measure(o,a))),Hu=so=-1.1,U1=0,av=-1.1,Yf=qf,qf=-1.1,fo=jl()),(t&62914560)!==0&&(nv&62914560)!==0&&(xn(4194304),qm(GS,Il)),(t&2080374784)!==0&&(nv&2080374784)!==0&&(xn(268435456),qm(wS,Il)),a=e.timeoutHandle,a!==Br&&(e.timeoutHandle=Br,S3(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),pi=0,kd(),Bt=e,Ie=a=au(e.current,null),Fe=t,Mt=gn,kn=null,Vf=!1,am=Gl(e,t),P1=!1,nl=po,Rr=vn=eb=Qf=Xf=0,en=lp=null,Sv=!1,(t&8)!==0&&(t|=t&32),i=e.entangledLanes,i!==0)for(e=e.entanglements,i&=t;0<i;)o=31-Xl(i),f=1<<o,t|=e[o],i&=~f;return uc=t,od(),e=RS(),1e3<e-_S&&(X.recentlyCreatedOwnerStacks=0,_S=e),hi.discardPendingWarnings(),a}function qn(e,t){Ue=null,X.H=k0,X.getCurrentStack=null,xu=!1,Ca=null,t===Kh||t===ov?(t=Cc(),Mt=ep):t===Y1?(t=Cc(),Mt=B2):Mt=t===$1?I1:t!==null&&typeof t=="object"&&typeof t.then=="function"?tp:vv,kn=t;var a=Ie;a===null?(nl=P0,js(e,aa(t,e.current))):a.mode&Ke&&yd(a)}function By(){var e=Kn.current;return e===null?!0:(Fe&4194048)===Fe?Bu===null:(Fe&62914560)===Fe||(Fe&536870912)!==0?e===Bu:!1}function Wd(){var e=X.H;return X.H=k0,e===null?k0:e}function qy(){var e=X.A;return X.A=i3,e}function ef(e){yl===null&&(yl=e._debugTask==null?null:e._debugTask)}function tf(){nl=wf,Vf||(Fe&4194048)!==Fe&&Kn.current!==null||(am=!0),(Xf&134217727)===0&&(Qf&134217727)===0||Bt===null||dn(Bt,Fe,vn,!1)}function lf(e,t,a){var i=ft;ft|=Zl;var o=Wd(),f=qy();if(Bt!==e||Fe!==t){if(Du){var d=e.memoizedUpdaters;0<d.size&&(nf(e,Fe),d.clear()),Vu(e,t)}ap=null,vu(e,t)}t=!1,d=nl;e:do try{if(Mt!==gn&&Ie!==null){var h=Ie,p=kn;switch(Mt){case I1:kd(),d=gv;break e;case ep:case Mr:case _r:case tp:Kn.current===null&&(t=!0);var g=Mt;if(Mt=gn,kn=null,af(e,h,p,g),a&&am){d=po;break e}break;default:g=Mt,Mt=gn,kn=null,af(e,h,p,g)}}Yy(),d=nl;break}catch(O){qn(e,O)}while(!0);return t&&e.shellSuspendCounter++,jo(),ft=i,X.H=o,X.A=f,Ie===null&&(Bt=null,Fe=0,od()),d}function Yy(){for(;Ie!==null;)Id(Ie)}function ni(e,t){var a=ft;ft|=Zl;var i=Wd(),o=qy();if(Bt!==e||Fe!==t){if(Du){var f=e.memoizedUpdaters;0<f.size&&(nf(e,Fe),f.clear()),Vu(e,t)}ap=null,Ev=Rl()+G2,vu(e,t)}else am=Gl(e,t);e:do try{if(Mt!==gn&&Ie!==null)t:switch(t=Ie,f=kn,Mt){case vv:Mt=gn,kn=null,af(e,t,f,vv);break;case Mr:case _r:if(Fm(f)){Mt=gn,kn=null,Gy(t);break}t=function(){Mt!==Mr&&Mt!==_r||Bt!==e||(Mt=bv),za(e)},f.then(t,t);break e;case ep:Mt=bv;break e;case B2:Mt=W1;break e;case bv:Fm(f)?(Mt=gn,kn=null,Gy(t)):(Mt=gn,kn=null,af(e,t,f,bv));break;case W1:var d=null;switch(Ie.tag){case 26:d=Ie.memoizedState;case 5:case 27:var h=Ie;if(d?et(d):h.stateNode.complete){Mt=gn,kn=null;var p=h.sibling;if(p!==null)Ie=p;else{var g=h.return;g!==null?(Ie=g,Zs(g)):Ie=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Mt=gn,kn=null,af(e,t,f,W1);break;case tp:Mt=gn,kn=null,af(e,t,f,tp);break;case I1:kd(),nl=gv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}X.actQueue!==null?Yy():hl();break}catch(O){qn(e,O)}while(!0);return jo(),X.H=i,X.A=o,ft=a,Ie!==null?po:(Bt=null,Fe=0,od(),nl)}function hl(){for(;Ie!==null&&!Oh();)Id(Ie)}function Id(e){var t=e.alternate;(e.mode&Ke)!==Re?(Ku(e),t=le(e,qs,t,e,uc),yd(e)):t=le(e,qs,t,e,uc),e.memoizedProps=e.pendingProps,t===null?Zs(e):Ie=t}function Gy(e){var t=le(e,_l,e);e.memoizedProps=e.pendingProps,t===null?Zs(e):Ie=t}function _l(e){var t=e.alternate,a=(e.mode&Ke)!==Re;switch(a&&Ku(e),e.tag){case 15:case 0:t=my(t,e,e.pendingProps,e.type,void 0,Fe);break;case 11:t=my(t,e,e.pendingProps,e.type.render,e.ref,Fe);break;case 5:Ri(e);default:Sy(t,e),e=Ie=Vm(e,uc),t=qs(t,e,uc)}return a&&yd(e),t}function af(e,t,a,i){jo(),Ri(t),$h=null,J0=0;var o=t.return;try{if(cy(e,o,t,a,Fe)){nl=P0,js(e,aa(a,e.current)),Ie=null;return}}catch(f){if(o!==null)throw Ie=o,f;nl=P0,js(e,aa(a,e.current)),Ie=null;return}t.flags&32768?(at||i===vv?e=!0:am||(Fe&536870912)!==0?e=!1:(Vf=e=!0,(i===Mr||i===_r||i===ep||i===tp)&&(i=Kn.current,i!==null&&i.tag===13&&(i.flags|=16384))),wy(t,e)):Zs(t)}function Zs(e){var t=e;do{if((t.flags&32768)!==0){wy(t,Vf);return}var a=t.alternate;if(e=t.return,Ku(t),a=le(t,by,a,t,uc),(t.mode&Ke)!==Re&&ys(t),a!==null){Ie=a;return}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);nl===po&&(nl=H2)}function wy(e,t){do{var a=Fp(e.alternate,e);if(a!==null){a.flags&=32767,Ie=a;return}if((e.mode&Ke)!==Re){ys(e),a=e.actualDuration;for(var i=e.child;i!==null;)a+=i.actualDuration,i=i.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Ie=e;return}Ie=e=a}while(e!==null);nl=gv,Ie=null}function jt(e,t,a,i,o,f,d,h,p,g,O,C,E,q){e.cancelPendingCommit=null;do Js();while(Yl!==Zf);if(hi.flushLegacyContextWarning(),hi.flushPendingUnsafeLifecycleWarnings(),(ft&(Zl|Fn))!==ea)throw Error("Should not already be working.");if(xn(a),g===Cr?Bm(E,q,a,yl):i!==null?t1(E,q,a,i,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,yl):e1(E,q,a,yl),t!==null){if(a===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(f=t.lanes|t.childLanes,f|=D1,kv(e,a,f,d,h,p),e===Bt&&(Ie=Bt=null,Fe=0),nm=t,Jf=e,pi=a,ab=f,ub=o,Z2=i,nb=q,J2=C,gi=Av,K2=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,uf(eo,function(){return fp=window.event,gi===Av&&(gi=lb),Ks(),null})):(e.callbackNode=null,e.callbackPriority=0),oo=null,Hf=jl(),C!==null&&l1(q,Hf,C,yl),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=X.T,X.T=null,o=pt.p,pt.p=Sl,d=ft,ft|=Fn;try{u1(e,t,a)}finally{ft=d,pt.p=o,X.T=i}}Yl=V2,da(),bu(),Vy()}}function da(){if(Yl===V2){Yl=Zf;var e=Jf,t=nm,a=pi,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=X.T,X.T=null;var o=pt.p;pt.p=Sl;var f=ft;ft|=Fn;try{tm=a,lm=e,Oc(),Vs(t,e),lm=tm=null,a=pb;var d=ud(e.containerInfo),h=a.focusedElem,p=a.selectionRange;if(d!==h&&h&&h.ownerDocument&&Cp(h.ownerDocument.documentElement,h)){if(p!==null&&jm(h)){var g=p.start,O=p.end;if(O===void 0&&(O=g),"selectionStart"in h)h.selectionStart=g,h.selectionEnd=Math.min(O,h.value.length);else{var C=h.ownerDocument||document,E=C&&C.defaultView||window;if(E.getSelection){var q=E.getSelection(),ce=h.textContent.length,re=Math.min(p.start,ce),Vt=p.end===void 0?re:Math.min(p.end,ce);!q.extend&&re>Vt&&(d=Vt,Vt=re,re=d);var ut=Dp(h,re),T=Dp(h,Vt);if(ut&&T&&(q.rangeCount!==1||q.anchorNode!==ut.node||q.anchorOffset!==ut.offset||q.focusNode!==T.node||q.focusOffset!==T.offset)){var A=C.createRange();A.setStart(ut.node,ut.offset),q.removeAllRanges(),re>Vt?(q.addRange(A),q.extend(T.node,T.offset)):(A.setEnd(T.node,T.offset),q.addRange(A))}}}}for(C=[],q=h;q=q.parentNode;)q.nodeType===1&&C.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<C.length;h++){var x=C[h];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}Gv=!!yb,pb=yb=null}finally{ft=f,pt.p=o,X.T=i}}e.current=t,Yl=X2}}function bu(){if(Yl===X2){Yl=Zf;var e=K2;if(e!==null){Hf=jl();var t=co,a=Hf;!Jt||a<=t||console.timeStamp(e,t,a,ct,nt,"secondary-light")}e=Jf,t=nm,a=pi;var i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=X.T,X.T=null;var o=pt.p;pt.p=Sl;var f=ft;ft|=Fn;try{tm=a,lm=e,Oc(),Zd(e,t.alternate,t),lm=tm=null}finally{ft=f,pt.p=o,X.T=i}}e=nb,t=J2,co=jl(),e=t===null?e:Hf,t=co,a=gi===tb,i=yl,oo!==null?Up(e,t,oo,!1,i):!Jt||t<=e||(i?i.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,ct,nt,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,ct,nt,a?"error":"secondary-dark")),Yl=Q2}}function Vy(){if(Yl===L2||Yl===Q2){if(Yl===L2){var e=co;co=jl();var t=co,a=gi===tb;!Jt||t<=e||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",e,t,ct,nt,a?" error":"secondary-light"),gi!==tb&&(gi=w2)}Yl=Zf,Dh(),e=Jf;var i=nm;t=pi,a=Z2;var o=i.actualDuration!==0||(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0;o?Yl=zv:(Yl=Zf,nm=Jf=null,Xy(e,e.pendingLanes),Nr=0,up=null);var f=e.pendingLanes;if(f===0&&(Lf=null),o||th(e),f=ta(t),i=i.stateNode,bl&&typeof bl.onCommitFiberRoot=="function")try{var d=(i.current.flags&128)===128;switch(f){case Sl:var h=v0;break;case Ql:h=Ch;break;case Wl:h=eo;break;case ec:h=Mh;break;default:h=eo}bl.onCommitFiberRoot(to,i,h,d)}catch(C){Ou||(Ou=!0,console.error("React instrumentation encountered an error: %o",C))}if(Du&&e.memoizedUpdaters.clear(),Uy(),a!==null){d=X.T,h=pt.p,pt.p=Sl,X.T=null;try{var p=e.onRecoverableError;for(i=0;i<a.length;i++){var g=a[i],O=ug(g.stack);le(g.source,p,g.value,O)}}finally{X.T=d,pt.p=h}}(pi&3)!==0&&Js(),za(e),f=e.pendingLanes,(t&261930)!==0&&(f&42)!==0?(iv=!0,e===ib?np++:(np=0,ib=e)):np=0,o||Ji(t,co),Su(0)}}function ug(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 Xy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ms(t)))}function Js(){return da(),bu(),Vy(),Ks()}function Ks(){if(Yl!==zv)return!1;var e=Jf,t=ab;ab=0;var a=ta(pi),i=Wl>a?Wl:a;a=X.T;var o=pt.p;try{pt.p=i,X.T=null;var f=ub;ub=null,i=Jf;var d=pi;if(Yl=Zf,nm=Jf=null,pi=0,(ft&(Zl|Fn))!==ea)throw Error("Cannot flush passive effects while already rendering.");xn(d),cb=!0,xv=!1;var h=0;if(oo=null,h=Rl(),gi===w2)qm(co,h,PA);else{var p=co,g=h,O=gi===lb;!Jt||g<=p||(yl?yl.run(console.timeStamp.bind(console,O?"Waiting for Paint":"Waiting",p,g,ct,nt,"secondary-light")):console.timeStamp(O?"Waiting for Paint":"Waiting",p,g,ct,nt,"secondary-light"))}p=ft,ft|=Fn;var C=i.current;Oc(),$d(C);var E=i.current;C=nb,Oc(),Ry(i,E,d,f,C),th(i),ft=p;var q=Rl();if(E=h,C=yl,oo!==null?Up(E,q,oo,!0,C):!Jt||q<=E||(C?C.run(console.timeStamp.bind(console,"Remaining Effects",E,q,ct,nt,"secondary-dark")):console.timeStamp("Remaining Effects",E,q,ct,nt,"secondary-dark")),Ji(d,q),Su(0,!1),xv?i===up?Nr++:(Nr=0,up=i):Nr=0,xv=cb=!1,bl&&typeof bl.onPostCommitFiberRoot=="function")try{bl.onPostCommitFiberRoot(to,i)}catch(re){Ou||(Ou=!0,console.error("React instrumentation encountered an error: %o",re))}var ce=i.current.stateNode;return ce.effectDuration=0,ce.passiveEffectDuration=0,!0}finally{pt.p=o,X.T=a,Xy(e,t)}}function ha(e,t,a){t=aa(a,t),wp(t),t=Rd(e.stateNode,t,2),e=cu(e,t,2),e!==null&&(vi(e,2),za(e))}function Xe(e,t,a){if(um=!1,e.tag===3)ha(e,e,a);else{for(;t!==null;){if(t.tag===3){ha(t,e,a);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Lf===null||!Lf.has(i))){e=aa(a,e),wp(e),a=Nd(2),i=cu(t,a,2),i!==null&&(jd(a,i,t,e),vi(i,2),za(i));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.
|
|
151
|
+
|
|
152
|
+
Error message:
|
|
153
|
+
|
|
154
|
+
%s`,a)}}function Pd(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new o3;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(a)||(P1=!0,o.add(a),i=Aa.bind(null,e,t,a),Du&&nf(e,a),t.then(i,i))}function Aa(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,(a&127)!==0?0>ac&&(br=ac=jl(),U0=ev("Promise Resolved"),Bf=tv):(a&4194048)!==0&&0>Hu&&(fo=Hu=jl(),B0=ev("Promise Resolved"),U1=tv),Hy()&&X.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
155
|
+
|
|
156
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
157
|
+
|
|
158
|
+
act(() => {
|
|
159
|
+
/* finish loading suspended data */
|
|
160
|
+
});
|
|
161
|
+
/* assert on the output */
|
|
162
|
+
|
|
163
|
+
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`),Bt===e&&(Fe&a)===a&&(nl===wf||nl===pv&&(Fe&62914560)===Fe&&Rl()-Tv<Y2?(ft&Zl)===ea&&vu(e,0):eb|=a,Rr===Fe&&(Rr=0)),za(e)}function Qy(e,t){t===0&&(t=Xr()),e=Kl(e,t),e!==null&&(vi(e,t),za(e))}function ui(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Qy(e,a)}function Zc(e,t){var a=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),Qy(e,a)}function Yn(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,f=o.type===pa;f=a||f,o.tag!==22?o.flags&67108864?f&&le(o,eh,i,o):Yn(i,o,f):o.memoizedState===null&&(f&&o.flags&8192?le(o,eh,i,o):o.subtreeFlags&67108864&&le(o,Yn,i,o,f)),t=t.sibling}}function eh(e,t){Rt(!0);try{Jd(t),jy(t),_y(e,t.alternate,t,!1),Ls(e,t,0,null,!1,0)}finally{Rt(!1)}}function th(e){var t=!0;e.current.mode&(Ma|di)||(t=!1),Yn(e,e.current,t)}function hn(e){if((ft&Zl)===ea){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ye(e)||"ReactComponent",Ov!==null){if(Ov.has(t))return;Ov.add(t)}else Ov=new Set([t]);le(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 nf(e,t){Du&&e.memoizedUpdaters.forEach(function(a){Sa(e,a,t)})}function uf(e,t){var a=X.actQueue;return a!==null?(a.push(t),r3):g0(e,t)}function $s(e){Hy()&&X.actQueue===null&&le(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
164
|
+
|
|
165
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
166
|
+
|
|
167
|
+
act(() => {
|
|
168
|
+
/* fire events that update state */
|
|
169
|
+
});
|
|
170
|
+
/* assert on the output */
|
|
171
|
+
|
|
172
|
+
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`,ye(e))})}function za(e){e!==im&&e.next===null&&(im===null?Dv=im=e:im=im.next=e),Cv=!0,X.actQueue!==null?fb||(fb=!0,cg()):ob||(ob=!0,cg())}function Su(e,t){if(!sb&&Cv){sb=!0;do for(var a=!1,i=Dv;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var f=0;else{var d=i.suspendedLanes,h=i.pingedLanes;f=(1<<31-Xl(42|e)+1)-1,f&=o&~(d&~h),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,Fs(i,f))}else f=Fe,f=Vr(i,i===Bt?f:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Br),(f&3)===0||Gl(i,f)||(a=!0,Fs(i,f));i=i.next}while(a);sb=!1}}function ig(){fp=window.event,lh()}function lh(){Cv=fb=ob=!1;var e=0;Kf!==0&&Ky()&&(e=Kf);for(var t=Rl(),a=null,i=Dv;i!==null;){var o=i.next,f=cf(i,t);f===0?(i.next=null,a===null?Dv=o:a.next=o,o===null&&(im=a)):(a=i,(e!==0||(f&3)!==0)&&(Cv=!0)),i=o}Yl!==Zf&&Yl!==zv||Su(e),Kf!==0&&(Kf=0)}function cf(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var d=31-Xl(f),h=1<<d,p=o[d];p===-1?((h&a)===0||(h&i)!==0)&&(o[d]=Fv(h,t)):p<=t&&(e.expiredLanes|=h),f&=~h}if(t=Bt,a=Fe,a=Vr(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Br),i=e.callbackNode,a===0||e===t&&(Mt===Mr||Mt===_r)||e.cancelPendingCommit!==null)return i!==null&&ah(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Gl(e,a)){if(t=a&-a,t!==e.callbackPriority||X.actQueue!==null&&i!==rb)ah(i);else return t;switch(ta(a)){case Sl:case Ql:a=Ch;break;case Wl:a=eo;break;case ec:a=Mh;break;default:a=eo}return i=Ly.bind(null,e),X.actQueue!==null?(X.actQueue.push(i),a=rb):a=g0(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&ah(i),e.callbackPriority=2,e.callbackNode=null,2}function Ly(e,t){if(iv=uv=!1,fp=window.event,Yl!==Zf&&Yl!==zv)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(gi===Av&&(gi=lb),Js()&&e.callbackNode!==a)return null;var i=Fe;return i=Vr(e,e===Bt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Br),i===0?null:(lg(e,i,t),cf(e,Rl()),e.callbackNode!=null&&e.callbackNode===a?Ly.bind(null,e):null)}function Fs(e,t){if(Js())return null;uv=iv,iv=!1,lg(e,t,!0)}function ah(e){e!==rb&&e!==null&&xh(e)}function cg(){X.actQueue!==null&&X.actQueue.push(function(){return lh(),null}),T3(function(){(ft&(Zl|Fn))!==ea?g0(v0,ig):lh()})}function Zy(){if(Kf===0){var e=Er;e===0&&(e=xf,xf<<=1,(xf&261888)===0&&(xf=256)),Kf=e}return Kf}function rt(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(At(e,"action"),ns(""+e))}function Ot(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function lt(e,t,a,i,o){if(t==="submit"&&a&&a.stateNode===o){var f=rt((o[ga]||null).action),d=i.submitter;d&&(t=(t=d[ga]||null)?rt(t.formAction):d.getAttribute("formAction"),t!==null&&(f=t,d=null));var h=new Kg("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Kf!==0){var p=d?Ot(o,d):new FormData(o),g={pending:!0,data:p,method:o.method,action:f};Object.freeze(g),ti(a,g,null,p)}}else typeof f=="function"&&(h.preventDefault(),p=d?Ot(o,d):new FormData(o),g={pending:!0,data:p,method:o.method,action:f},Object.freeze(g),ti(a,g,f,p))},currentTarget:o}]})}}function We(e,t,a){e.currentTarget=a;try{t(e)}catch(i){A1(i)}e.currentTarget=null}function St(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a];e:{var o=void 0,f=i.event;if(i=i.listeners,t)for(var d=i.length-1;0<=d;d--){var h=i[d],p=h.instance,g=h.currentTarget;if(h=h.listener,p!==o&&f.isPropagationStopped())break e;p!==null?le(p,We,f,h,g):We(f,h,g),o=p}else for(d=0;d<i.length;d++){if(h=i[d],p=h.instance,g=h.currentTarget,h=h.listener,p!==o&&f.isPropagationStopped())break e;p!==null?le(p,We,f,h,g):We(f,h,g),o=p}}}}function Me(e,t){db.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[lo];a===void 0&&(a=t[lo]=new Set);var i=e+"__bubble";a.has(i)||(nh(t,e,2,!1),a.add(i))}function Tu(e,t,a){db.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 i=0;t&&(i|=4),nh(a,e,i,t)}function Ki(e){if(!e[Mv]){e[Mv]=!0,Xg.forEach(function(a){a!=="selectionchange"&&(db.has(a)||Tu(a,!1,e),Tu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Mv]||(t[Mv]=!0,Tu("selectionchange",!1,t))}}function nh(e,t,a,i){switch(vh(t)){case Sl:var o=i0;break;case Ql:o=Vl;break;default:o=c0}a=o.bind(null,t,a,e),o=void 0,!h1||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Gn(e,t,a,i,o){var f=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var p=d.tag;if((p===3||p===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Xu(h),d===null)return;if(p=d.tag,p===5||p===6||p===26||p===27){i=f=d;continue e}h=h.parentNode}}i=i.return}td(function(){var g=f,O=An(a),C=[];e:{var E=MS.get(e);if(E!==void 0){var q=Kg,ce=e;switch(e){case"keypress":if(us(a)===0)break e;case"keydown":case"keyup":q=OA;break;case"focusin":ce="focus",q=g1;break;case"focusout":ce="blur",q=g1;break;case"beforeblur":case"afterblur":q=g1;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=yS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=mA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=MA;break;case xS:case OS:case DS:q=gA;break;case CS:q=RA;break;case"scroll":case"scrollend":q=dA;break;case"wheel":q=jA;break;case"copy":case"cut":case"paste":q=bA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=gS;break;case"toggle":case"beforetoggle":q=HA}var re=(t&4)!==0,Vt=!re&&(e==="scroll"||e==="scrollend"),ut=re?E!==null?E+"Capture":null:E;re=[];for(var T=g,A;T!==null;){var x=T;if(A=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||A===null||ut===null||(x=tu(T,ut),x!=null&&re.push(Ut(T,x,A))),Vt)break;T=T.return}0<re.length&&(E=new q(E,ce,null,a,O),C.push({event:E,listeners:re}))}}if((t&7)===0){e:{if(E=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",E&&a!==A0&&(ce=a.relatedTarget||a.fromElement)&&(Xu(ce)||ce[ri]))break e;if((q||E)&&(E=O.window===O?O:(E=O.ownerDocument)?E.defaultView||E.parentWindow:window,q?(ce=a.relatedTarget||a.toElement,q=g,ce=ce?Xu(ce):null,ce!==null&&(Vt=ie(ce),re=ce.tag,ce!==Vt||re!==5&&re!==27&&re!==6)&&(ce=null)):(q=null,ce=g),q!==ce)){if(re=yS,x="onMouseLeave",ut="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(re=gS,x="onPointerLeave",ut="onPointerEnter",T="pointer"),Vt=q==null?E:bi(q),A=ce==null?E:bi(ce),E=new re(x,T+"leave",q,a,O),E.target=Vt,E.relatedTarget=A,x=null,Xu(O)===g&&(re=new re(ut,T+"enter",ce,a,O),re.target=A,re.relatedTarget=Vt,x=re),Vt=x,q&&ce)t:{for(re=Jc,ut=q,T=ce,A=0,x=ut;x;x=re(x))A++;x=0;for(var F=T;F;F=re(F))x++;for(;0<A-x;)ut=re(ut),A--;for(;0<x-A;)T=re(T),x--;for(;A--;){if(ut===T||T!==null&&ut===T.alternate){re=ut;break t}ut=re(ut),T=re(T)}re=null}else re=null;q!==null&&uh(C,E,q,re,!1),ce!==null&&Vt!==null&&uh(C,Vt,ce,re,!0)}}e:{if(E=g?bi(g):window,q=E.nodeName&&E.nodeName.toLowerCase(),q==="select"||q==="input"&&E.type==="file")var fe=Ai;else if(_m(E))if(AS)fe=fs;else{fe=Rm;var He=Pv}else q=E.nodeName,!q||q.toLowerCase()!=="input"||E.type!=="checkbox"&&E.type!=="radio"?g&&eu(g.elementType)&&(fe=Ai):fe=Nm;if(fe&&(fe=fe(e,g))){cs(C,fe,a,O);break e}He&&He(e,E,g),e==="focusout"&&g&&E.type==="number"&&g.memoizedProps.value!=null&&Tm(E,"number",E.value)}switch(He=g?bi(g):window,e){case"focusin":(_m(He)||He.contentEditable==="true")&&(qh=He,b1=g,_0=null);break;case"focusout":_0=b1=qh=null;break;case"mousedown":S1=!0;break;case"contextmenu":case"mouseup":case"dragend":S1=!1,Mp(C,a,O);break;case"selectionchange":if(GA)break;case"keydown":case"keyup":Mp(C,a,O)}var Ae;if(v1)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Bh?Co(e,a)&&(ve="onCompositionEnd"):e==="keydown"&&a.keyCode===vS&&(ve="onCompositionStart");ve&&(bS&&a.locale!=="ko"&&(Bh||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Bh&&(Ae=pc()):(_f=O,m1="value"in _f?_f.value:_f.textContent,Bh=!0)),He=wn(g,ve),0<He.length&&(ve=new pS(ve,e,null,a,O),C.push({event:ve,listeners:He}),Ae?ve.data=Ae:(Ae=Zu(a),Ae!==null&&(ve.data=Ae)))),(Ae=qA?Mm(e,a):ld(e,a))&&(ve=wn(g,"onBeforeInput"),0<ve.length&&(He=new TA("onBeforeInput","beforeinput",null,a,O),C.push({event:He,listeners:ve}),He.data=Ae)),lt(C,e,g,a,O)}St(C,t)})}function Ut(e,t,a){return{instance:e,listener:t,currentTarget:a}}function wn(e,t){for(var a=t+"Capture",i=[];e!==null;){var o=e,f=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||f===null||(o=tu(e,a),o!=null&&i.unshift(Ut(e,o,f)),o=tu(e,t),o!=null&&i.push(Ut(e,o,f))),e.tag===3)return i;e=e.return}return[]}function Jc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function uh(e,t,a,i,o){for(var f=t._reactName,d=[];a!==null&&a!==i;){var h=a,p=h.alternate,g=h.stateNode;if(h=h.tag,p!==null&&p===i)break;h!==5&&h!==26&&h!==27||g===null||(p=g,o?(g=tu(a,f),g!=null&&d.unshift(Ut(a,g,p))):o||(g=tu(a,f),g!=null&&d.push(Ut(a,g,p)))),a=a.return}d.length!==0&&e.push({event:t,listeners:d})}function ma(e,t){zp(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||hS||(hS=!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 a={registrationNameDependencies:Cu,possibleRegistrationNames:Cf};eu(e)||typeof t.is=="string"||Iv(e,t,a),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 Wt(e,t,a,i){t!==a&&(a=Vn(a),Vn(t)!==a&&(i[e]=t))}function ks(e,t,a){t.forEach(function(i){a[ii(i)]=i==="style"?$i(e):e.getAttribute(i)})}function It(e,t){t===!1?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 ih(e,t){return e=e.namespaceURI===Ye||e.namespaceURI===Qe?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Vn(e){return Gt(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.",Yt(e)),cc(e)),(typeof e=="string"?e:""+e).replace(d3,`
|
|
173
|
+
`).replace(h3,"")}function Jy(e,t){return t=Vn(t),Vn(e)===t}function yt(e,t,a,i,o,f){switch(a){case"children":typeof i=="string"?(as(i,t,!1),t==="body"||t==="textarea"&&i===""||yc(e,i)):(typeof i=="number"||typeof i=="bigint")&&(as(""+i,t,!1),t!=="body"&&yc(e,""+i));break;case"className":es(e,"class",i);break;case"tabIndex":es(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":es(e,a,i);break;case"style":Om(e,i,f);break;case"data":if(t!=="object"){es(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){console.error(a==="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.',a,a),e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}At(i,a),i=ns(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||Nv||(Nv=!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.")),o.target==null||Rv||(Rv=!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"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||_v?t!=="button"||o.type==null||o.type==="submit"||_v?typeof i=="function"&&(o.name==null||I2||(I2=!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.')),o.formEncType==null&&o.formMethod==null||Nv||(Nv=!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.")),o.formTarget==null||Rv||(Rv=!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."))):(_v=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(_v=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(a,"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 f=="function"&&(a==="formAction"?(t!=="input"&&yt(e,t,"name",o.name,o,null),yt(e,t,"formEncType",o.formEncType,o,null),yt(e,t,"formMethod",o.formMethod,o,null),yt(e,t,"formTarget",o.formTarget,o,null)):(yt(e,t,"encType",o.encType,o,null),yt(e,t,"method",o.method,o,null),yt(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}At(i,a),i=ns(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&It(a,i),e.onclick=ln);break;case"onScroll":i!=null&&(typeof i!="function"&&It(a,i),Me("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&It(a,i),Me("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}At(i,a),a=ns(""+i),e.setAttributeNS(jr,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(At(i,a),e.setAttribute(a,""+i)):e.removeAttribute(a);break;case"inert":i!==""||jv[a]||(jv[a]=!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.",a));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":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(At(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(At(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):(At(i,a),e.setAttribute(a,i));break;case"popover":Me("beforetoggle",e),Me("toggle",e),Lr(e,"popover",i);break;case"xlinkActuate":Wn(e,jr,"xlink:actuate",i);break;case"xlinkArcrole":Wn(e,jr,"xlink:arcrole",i);break;case"xlinkRole":Wn(e,jr,"xlink:role",i);break;case"xlinkShow":Wn(e,jr,"xlink:show",i);break;case"xlinkTitle":Wn(e,jr,"xlink:title",i);break;case"xlinkType":Wn(e,jr,"xlink:type",i);break;case"xmlBase":Wn(e,hb,"xml:base",i);break;case"xmlLang":Wn(e,hb,"xml:lang",i);break;case"xmlSpace":Wn(e,hb,"xml:space",i);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Lr(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":P2||i==null||typeof i!="object"||(P2=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=Ep(a),Lr(e,a,i)):Cu.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&It(a,i)}}function of(e,t,a,i,o,f){switch(a){case"style":Om(e,i,f);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof i=="string"?yc(e,i):(typeof i=="number"||typeof i=="bigint")&&yc(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&It(a,i),Me("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&It(a,i),Me("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&It(a,i),e.onclick=ln);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Cu.hasOwnProperty(a))i!=null&&typeof i!="function"&&It(a,i);else e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),f=e[ga]||null,f=f!=null?f[a]:null,typeof f=="function"&&e.removeEventListener(t,f,o),typeof i=="function")){typeof f!="function"&&f!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,o);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Lr(e,a,i)}}}function Lt(e,t,a){switch(ma(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Me("error",e),Me("load",e);var i=!1,o=!1,f;for(f in a)if(a.hasOwnProperty(f)){var d=a[f];if(d!=null)switch(f){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:yt(e,t,f,d,a,null)}}o&&yt(e,t,"srcSet",a.srcSet,a,null),i&&yt(e,t,"src",a.src,a,null);return;case"input":sc("input",a),Me("invalid",e);var h=f=d=o=null,p=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var O=a[i];if(O!=null)switch(i){case"name":o=O;break;case"type":d=O;break;case"checked":p=O;break;case"defaultChecked":g=O;break;case"value":f=O;break;case"defaultValue":h=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:yt(e,t,i,O,a,null)}}la(e,a),Kr(e,f,h,p,g,d,o,!1);return;case"select":sc("select",a),Me("invalid",e),i=d=f=null;for(o in a)if(a.hasOwnProperty(o)&&(h=a[o],h!=null))switch(o){case"value":f=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:yt(e,t,o,h,a,null)}$r(e,a),t=f,a=d,e.multiple=!!i,t!=null?In(e,!!i,t,!1):a!=null&&In(e,!!i,a,!0);return;case"textarea":sc("textarea",a),Me("invalid",e),f=o=i=null;for(d in a)if(a.hasOwnProperty(d)&&(h=a[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":f=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:yt(e,t,d,h,a,null)}rc(e,a),Eo(e,i,o,f);return;case"option":Tp(e,a);for(p in a)a.hasOwnProperty(p)&&(i=a[p],i!=null)&&(p==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":yt(e,t,p,i,a,null));return;case"dialog":Me("beforetoggle",e),Me("toggle",e),Me("cancel",e),Me("close",e);break;case"iframe":case"object":Me("load",e);break;case"video":case"audio":for(i=0;i<ip.length;i++)Me(ip[i],e);break;case"image":Me("error",e),Me("load",e);break;case"details":Me("toggle",e);break;case"embed":case"source":case"link":Me("error",e),Me("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(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:yt(e,t,g,i,a,null)}return;default:if(eu(t)){for(O in a)a.hasOwnProperty(O)&&(i=a[O],i!==void 0&&of(e,t,O,i,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&&(i=a[h],i!=null&&yt(e,t,h,i,a,null))}function vl(e,t,a,i){switch(ma(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,f=null,d=null,h=null,p=null,g=null,O=null;for(q in a){var C=a[q];if(a.hasOwnProperty(q)&&C!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":p=C;default:i.hasOwnProperty(q)||yt(e,t,q,null,i,C)}}for(var E in i){var q=i[E];if(C=a[E],i.hasOwnProperty(E)&&(q!=null||C!=null))switch(E){case"type":f=q;break;case"name":o=q;break;case"checked":g=q;break;case"defaultChecked":O=q;break;case"value":d=q;break;case"defaultValue":h=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:q!==C&&yt(e,t,E,q,i,C)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||W2||(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"),W2=!0),!t||i||k2||(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"),k2=!0),Si(e,d,h,p,g,O,f,o);return;case"select":q=d=h=E=null;for(f in a)if(p=a[f],a.hasOwnProperty(f)&&p!=null)switch(f){case"value":break;case"multiple":q=p;default:i.hasOwnProperty(f)||yt(e,t,f,null,i,p)}for(o in i)if(f=i[o],p=a[o],i.hasOwnProperty(o)&&(f!=null||p!=null))switch(o){case"value":E=f;break;case"defaultValue":h=f;break;case"multiple":d=f;default:f!==p&&yt(e,t,o,f,i,p)}i=h,t=d,a=q,E!=null?In(e,!!t,E,!1):!!a!=!!t&&(i!=null?In(e,!!t,i,!0):In(e,!!t,t?[]:"",!1));return;case"textarea":q=E=null;for(h in a)if(o=a[h],a.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:yt(e,t,h,null,i,o)}for(d in i)if(o=i[d],f=a[d],i.hasOwnProperty(d)&&(o!=null||f!=null))switch(d){case"value":E=o;break;case"defaultValue":q=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==f&&yt(e,t,d,o,i,f)}dc(e,E,q);return;case"option":for(var ce in a)E=a[ce],a.hasOwnProperty(ce)&&E!=null&&!i.hasOwnProperty(ce)&&(ce==="selected"?e.selected=!1:yt(e,t,ce,null,i,E));for(p in i)E=i[p],q=a[p],i.hasOwnProperty(p)&&E!==q&&(E!=null||q!=null)&&(p==="selected"?e.selected=E&&typeof E!="function"&&typeof E!="symbol":yt(e,t,p,E,i,q));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 re in a)E=a[re],a.hasOwnProperty(re)&&E!=null&&!i.hasOwnProperty(re)&&yt(e,t,re,null,i,E);for(g in i)if(E=i[g],q=a[g],i.hasOwnProperty(g)&&E!==q&&(E!=null||q!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:yt(e,t,g,E,i,q)}return;default:if(eu(t)){for(var Vt in a)E=a[Vt],a.hasOwnProperty(Vt)&&E!==void 0&&!i.hasOwnProperty(Vt)&&of(e,t,Vt,void 0,i,E);for(O in i)E=i[O],q=a[O],!i.hasOwnProperty(O)||E===q||E===void 0&&q===void 0||of(e,t,O,E,i,q);return}}for(var ut in a)E=a[ut],a.hasOwnProperty(ut)&&E!=null&&!i.hasOwnProperty(ut)&&yt(e,t,ut,null,i,E);for(C in i)E=i[C],q=a[C],!i.hasOwnProperty(C)||E===q||E==null&&q==null||yt(e,t,C,E,i,q)}function ii(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function $i(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var i=e[a];t[i]=e.getPropertyValue(i)}return t}function Eu(e,t,a){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 i,o=i="",f;for(f in t)if(t.hasOwnProperty(f)){var d=t[f];d!=null&&typeof d!="boolean"&&d!==""&&(f.indexOf("--")===0?(mm(d,f),i+=o+f+":"+(""+d).trim()):typeof d!="number"||d===0||ge.has(f)?(mm(d,f),i+=o+f.replace(Q,"-$1").toLowerCase().replace(he,"-ms-")+":"+(""+d).trim()):i+=o+f.replace(Q,"-$1").toLowerCase().replace(he,"-ms-")+":"+d+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=Vn(i),Vn(t)!==i&&(a.style=$i(e)))}}function xa(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(At(i,t),e===""+i)return}Wt(t,e,i,f)}function ch(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Wt(t,e,i,f)}function oh(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(At(i,a),e===""+i)return}Wt(t,e,i,f)}function ff(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(At(i,t),e===""+i))return}Wt(t,e,i,f)}function Ws(e,t,a,i,o,f){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(At(i,t),a=ns(""+i),e===a)return}Wt(t,e,i,f)}function Oa(e,t,a,i){for(var o={},f=new Set,d=e.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(d[h].name)}if(eu(t)){for(var p in a)if(a.hasOwnProperty(p)){var g=a[p];if(g!=null){if(Cu.hasOwnProperty(p))typeof g!="function"&&It(p,g);else if(a.suppressHydrationWarning!==!0)switch(p){case"children":typeof g!="string"&&typeof g!="number"||Wt("children",e.textContent,g,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=ih(e,g),Wt(p,d,g,o));continue;case"style":f.delete(p),Eu(e,g,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(p.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",p);continue;case"className":f.delete("class"),d=To(e,"class",g),Wt("className",d,g,o);continue;default:i.context===go&&t!=="svg"&&t!=="math"?f.delete(p.toLowerCase()):f.delete(p),d=To(e,p,g),Wt(p,d,g,o)}}}}else for(g in a)if(a.hasOwnProperty(g)&&(p=a[g],p!=null)){if(Cu.hasOwnProperty(g))typeof p!="function"&&It(g,p);else if(a.suppressHydrationWarning!==!0)switch(g){case"children":typeof p!="string"&&typeof p!="number"||Wt("children",e.textContent,p,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,p=p?p.__html:void 0,p!=null&&(p=ih(e,p),d!==p&&(o[g]={__html:d}));continue;case"className":xa(e,g,"class",p,f,o);continue;case"tabIndex":xa(e,g,"tabindex",p,f,o);continue;case"style":f.delete(g),Eu(e,p,o);continue;case"multiple":f.delete(g),Wt(g,e.multiple,p,o);continue;case"muted":f.delete(g),Wt(g,e.muted,p,o);continue;case"autoFocus":f.delete("autofocus"),Wt(g,e.autofocus,p,o);continue;case"data":if(t!=="object"){f.delete(g),d=e.getAttribute("data"),Wt(g,d,p,o);continue}case"src":case"href":if(!(p!==""||t==="a"&&g==="href"||t==="object"&&g==="data")){console.error(g==="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.',g,g);continue}Ws(e,g,g,p,f,o);continue;case"action":case"formAction":if(d=e.getAttribute(g),typeof p=="function"){f.delete(g.toLowerCase()),g==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(d===m3){f.delete(g.toLowerCase()),Wt(g,"function",p,o);continue}Ws(e,g,g.toLowerCase(),p,f,o);continue;case"xlinkHref":Ws(e,g,"xlink:href",p,f,o);continue;case"contentEditable":oh(e,g,"contenteditable",p,f,o);continue;case"spellCheck":oh(e,g,"spellcheck",p,f,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":oh(e,g,g,p,f,o);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":ch(e,g,g.toLowerCase(),p,f,o);continue;case"capture":case"download":e:{h=e;var O=d=g,C=o;if(f.delete(O),h=h.getAttribute(O),h===null)switch(typeof p){case"undefined":case"function":case"symbol":break e;default:if(p===!1)break e}else if(p!=null)switch(typeof p){case"function":case"symbol":break;case"boolean":if(p===!0&&h==="")break e;break;default:if(At(p,d),h===""+p)break e}Wt(d,h,p,C)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,O=d=g,C=o,f.delete(O),h=h.getAttribute(O),h===null)switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(p)||1>p)break e}else if(p!=null)switch(typeof p){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(p)||1>p)&&(At(p,d),h===""+p))break e}Wt(d,h,p,C)}continue;case"rowSpan":ff(e,g,"rowspan",p,f,o);continue;case"start":ff(e,g,g,p,f,o);continue;case"xHeight":xa(e,g,"x-height",p,f,o);continue;case"xlinkActuate":xa(e,g,"xlink:actuate",p,f,o);continue;case"xlinkArcrole":xa(e,g,"xlink:arcrole",p,f,o);continue;case"xlinkRole":xa(e,g,"xlink:role",p,f,o);continue;case"xlinkShow":xa(e,g,"xlink:show",p,f,o);continue;case"xlinkTitle":xa(e,g,"xlink:title",p,f,o);continue;case"xlinkType":xa(e,g,"xlink:type",p,f,o);continue;case"xmlBase":xa(e,g,"xml:base",p,f,o);continue;case"xmlLang":xa(e,g,"xml:lang",p,f,o);continue;case"xmlSpace":xa(e,g,"xml:space",p,f,o);continue;case"inert":p!==""||jv[g]||(jv[g]=!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.",g)),ch(e,g,g,p,f,o);continue;default:if(!(2<g.length)||g[0]!=="o"&&g[0]!=="O"||g[1]!=="n"&&g[1]!=="N"){h=Ep(g),d=!1,i.context===go&&t!=="svg"&&t!=="math"?f.delete(h.toLowerCase()):(O=g.toLowerCase(),O=Zn.hasOwnProperty(O)&&Zn[O]||null,O!==null&&O!==g&&(d=!0,f.delete(O)),f.delete(h));e:if(O=e,C=h,h=p,Pf(C))if(O.hasAttribute(C))O=O.getAttribute(C),At(h,C),h=O===""+h?h:O;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(O=C.toLowerCase().slice(0,5),O!=="data-"&&O!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;d||Wt(g,h,p,o)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&ks(e,f,o),Object.keys(o).length===0?null:o}function og(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 ya(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function fg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var o=a[i],f=o.transferSize,d=o.initiatorType,h=o.duration;if(f&&h&&ya(d)){for(d=0,h=o.responseEnd,i+=1;i<a.length;i++){var p=a[i],g=p.startTime;if(g>h)break;var O=p.transferSize,C=p.initiatorType;O&&ya(C)&&(p=p.responseEnd,d+=O*(p<h?1:(h-g)/(p-g)))}if(--i,t+=8*(f+d)/(o.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 Is(e){return e.nodeType===9?e:e.ownerDocument}function sg(e){switch(e){case Qe:return om;case Ye:return Hv;default:return go}}function ci(e,t){if(e===go)switch(t){case"svg":return om;case"math":return Hv;default:return go}return e===om&&t==="foreignObject"?go:e}function sf(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 Ky(){var e=window.event;return e&&e.type==="popstate"?e===gb?!1:(gb=e,!0):(gb=null,!1)}function Au(){var e=window.event;return e&&e!==fp?e.type:null}function rf(){var e=window.event;return e&&e!==fp?e.timeStamp:-1.1}function rg(e){setTimeout(function(){throw e})}function dg(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function hg(){}function fh(e,t,a,i){vl(e,t,a,i),e[ga]=i}function sh(e){yc(e,"")}function i1(e,t,a){e.nodeValue=a}function mg(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[ga]||null;if(t!==null){var a=Sn(e);a!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,le(a,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,le(a,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 Fi(e){return e==="head"}function yg(e,t){e.removeChild(t)}function pg(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Kc(e,t){var a=t,i=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a===op||a===Uv){if(i===0){e.removeChild(o),Wc(t);return}i--}else if(a===cp||a===$f||a===Hr||a===cm||a===Ur)i++;else if(a===p3)fi(e.ownerDocument.documentElement);else if(a===v3){a=e.ownerDocument.head,fi(a);for(var f=a.firstChild;f;){var d=f.nextSibling,h=f.nodeName;f[Df]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=d}}else a===g3&&fi(e.ownerDocument.body);a=o}while(a);Wc(t)}function Ps(e,t){var a=e;e=0;do{var i=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a===op){if(e===0)break;e--}else a!==cp&&a!==$f&&a!==Hr&&a!==cm||e++;a=i}while(a)}function gg(e){Ps(e,!0)}function vg(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function bg(e){e.nodeValue=""}function Sg(e){Ps(e,!1)}function Tg(e,t){t=t[b3],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Eg(e,t){e.nodeValue=t}function df(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":df(a),vm(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Ag(e,t,a,i){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Df])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){At(o.name,"name");var f=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Ja(e.nextSibling),e===null)break}return null}function zg(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ja(e.nextSibling),e===null))return null;return e}function Tt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ja(e.nextSibling),e===null))return null;return e}function er(e){return e.data===$f||e.data===Hr}function $y(e){return e.data===cm||e.data===$f&&e.ownerDocument.readyState!==tT}function xg(e,t){var a=e.ownerDocument;if(e.data===Hr)e._reactRetry=t;else if(e.data!==$f||a.readyState!==tT)t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Ja(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===cp||t===cm||t===$f||t===Hr||t===Ur||t===mb||t===eT)break;if(t===op||t===Uv)return null}}return e}function Og(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},i=e.attributes,o=0;o<i.length;o++){var f=i[o];a[ii(f.name)]=f.name.toLowerCase()==="style"?$i(e):f.value}return{type:t,props:a}}return e.nodeType===8?e.data===Ur?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Dg(e,t,a){return a===null||a[y3]!==!0?(e.nodeValue===t?e=null:(t=Vn(t),e=Vn(e.nodeValue)===t?null:e.nodeValue),e):null}function hf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===op||a===Uv){if(t===0)return Ja(e.nextSibling);t--}else a!==cp&&a!==cm&&a!==$f&&a!==Hr&&a!==Ur||t++}e=e.nextSibling}return null}function $c(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===cp||a===cm||a===$f||a===Hr||a===Ur){if(t===0)return e;t--}else a!==op&&a!==Uv||t++}e=e.previousSibling}return null}function Fy(e){Wc(e)}function rh(e){Wc(e)}function ky(e){Wc(e)}function oi(e,t,a,i,o){switch(o&&ls(e,i.ancestorInfo),t=Is(a),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 zu(e,t,a,i){if(!a[ri]&&Sn(a)){var o=a.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.",o,o,o)}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(o=a.attributes;o.length;)a.removeAttributeNode(o[0]);Lt(a,e,t),a[Zt]=i,a[ga]=t}function fi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vm(e)}function dh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Wy(e,t,a){var i=fm;if(i&&typeof t=="string"&&t){var o=zt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),cT.has(o)||(cT.add(o),e={rel:e,crossOrigin:a,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),Lt(t,"link",e),ul(t),i.head.appendChild(t)))}}function Iy(e,t,a,i){var o=(o=Ka.current)?dh(o):null;if(!o)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 a.precedence=="string"&&typeof a.href=="string"?(a=Fc(a.href),t=tn(o).hoistableStyles,i=t.get(a),i||(i={type:"style",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Fc(a.href);var f=tn(o).hoistableStyles,d=f.get(e);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:qr,preload:null}},f.set(e,d),(f=o.querySelector(lr(e)))&&!f._p&&(d.instance=f,d.state.loading=sp|Gu),!wu.has(e))){var h={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};wu.set(e,h),f||Cg(o,e,h,d.state)}if(t&&i===null)throw a=`
|
|
174
|
+
|
|
175
|
+
- `+tr(t)+`
|
|
176
|
+
+ `+tr(a),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."+a);return d}if(t&&i!==null)throw a=`
|
|
177
|
+
|
|
178
|
+
- `+tr(t)+`
|
|
179
|
+
+ `+tr(a),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."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=kc(a),t=tn(o).hoistableScripts,i=t.get(a),i||(i={type:"script",instance:null,count:0,state:null},t.set(a,i)),i):{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 tr(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):$a.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):$a.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):$a.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function Fc(e){return'href="'+zt(e)+'"'}function lr(e){return'link[rel="stylesheet"]['+e+"]"}function hh(e){return Je({},e,{"data-precedence":e.precedence,precedence:null})}function Cg(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=sp:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=sp}),t.addEventListener("error",function(){return i.loading|=uT}),Lt(t,"link",a),ul(t),e.head.appendChild(t))}function kc(e){return'[src="'+zt(e)+'"]'}function ar(e){return"script[async]"+e}function mh(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+zt(a.href)+'"]');if(i)return t.instance=i,ul(i),i;var o=Je({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ul(i),Lt(i,"style",o),mf(i,a.precedence,e),t.instance=i;case"stylesheet":o=Fc(a.href);var f=e.querySelector(lr(o));if(f)return t.state.loading|=Gu,t.instance=f,ul(f),f;i=hh(a),(o=wu.get(o))&&Py(i,o),f=(e.ownerDocument||e).createElement("link"),ul(f);var d=f;return d._p=new Promise(function(h,p){d.onload=h,d.onerror=p}),Lt(f,"link",i),t.state.loading|=Gu,mf(f,a.precedence,e),t.instance=f;case"script":return f=kc(a.src),(o=e.querySelector(ar(f)))?(t.instance=o,ul(o),o):(i=a,(o=wu.get(f))&&(i=Je({},a),e0(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),ul(o),Lt(o,"link",i),e.head.appendChild(o),t.instance=o);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&Gu)===qr&&(i=t.instance,t.state.loading|=Gu,mf(i,a.precedence,e));return t.instance}function mf(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,f=o,d=0;d<i.length;d++){var h=i[d];if(h.dataset.precedence===t)f=h;else if(f!==o)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Py(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function e0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function yf(e,t,a){if(Bv===null){var i=new Map,o=Bv=new Map;o.set(a,i)}else o=Bv,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var f=a[o];if(!(f[Df]||f[Zt]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==Qe){var d=f.getAttribute(t)||"";d=e+d;var h=i.get(d);h?h.push(f):i.set(d,[f])}}return i}function Mg(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function _g(e,t,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===om||t.itemProp!=null)return!i||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===""){i&&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 o=t.onError,f=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),f!=null&&a.push("`disabled`"),o=og(a,"and"),o+=a.length===1?" prop":" props",f=a.length===1?"an "+o:"the "+o,a.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,f,o)}i&&(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}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&i&&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):!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"){i&&(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":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function et(e){return!(e.type==="stylesheet"&&(e.state.loading&iT)===qr)}function t0(e,t,a,i){if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&Gu)===qr){if(a.instance===null){var o=Fc(i.href),f=t.querySelector(lr(o));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=pf.bind(e),t.then(e,e)),a.state.loading|=Gu,a.instance=f,ul(f);return}f=t.ownerDocument||t,i=hh(i),(o=wu.get(o))&&Py(i,o),f=f.createElement("link"),ul(f);var d=f;d._p=new Promise(function(h,p){d.onload=h,d.onerror=p}),Lt(f,"link",i),a.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&iT)===qr&&(e.count++,a=pf.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}function yh(e,t){return e.stylesheets&&e.count===0&&nr(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&nr(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},E3+t);0<e.imgBytes&&bb===0&&(bb=125*fg()*z3);var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&nr(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>bb?50:A3)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function pf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function nr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,qv=new Map,t.forEach(l0,e),qv=null,pf.call(e))}function l0(e,t){if(!(t.state.loading&Gu)){var a=qv.get(e);if(a)var i=a.get(Sb);else{a=new Map,qv.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<o.length;f++){var d=o[f];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(a.set(d.dataset.precedence,d),i=d)}i&&a.set(Sb,i)}o=t.instance,d=o.getAttribute("data-precedence"),f=a.get(d)||i,f===i&&a.set(Sb,o),a.set(d,o),this.count++,i=pf.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),f?f.parentNode.insertBefore(o,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=Gu}}function ur(e,t,a,i,o,f,d,h,p){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Br,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qr(0),this.hiddenUpdates=Qr(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,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=a?"hydrateRoot()":"createRoot()"}function ir(e,t,a,i,o,f,d,h,p,g,O,C){return e=new ur(e,t,a,d,p,g,O,C,h),t=$A,f===!0&&(t|=Ma|di),t|=Ke,f=w(3,null,null,t),e.current=f,f.stateNode=e,t=md(),xc(t),e.pooledCache=t,xc(t),f.memoizedState={element:i,isDehydrated:a,cache:t},tt(f),e}function Rg(e){return e?(e=jf,e):jf}function ph(e,t,a,i,o,f){if(bl&&typeof bl.onScheduleFiberRoot=="function")try{bl.onScheduleFiberRoot(to,i,a)}catch(d){Ou||(Ou=!0,console.error("React instrumentation encountered an error: %o",d))}o=Rg(o),i.context===null?i.context=o:i.pendingContext=o,xu&&Ca!==null&&!rT&&(rT=!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.
|
|
180
|
+
|
|
181
|
+
Check the render method of %s.`,ye(Ca)||"Unknown")),i=pl(t),i.payload={element:a},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),i.callback=f),a=cu(e,i,t),a!==null&&(nu(t,"root.render()",null),Ne(a,e,t),sn(a,e,t))}function Ng(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function a0(e,t){Ng(e,t),(e=e.alternate)&&Ng(e,t)}function n0(e){if(e.tag===13||e.tag===31){var t=Kl(e,67108864);t!==null&&Ne(t,e,67108864),a0(e,67108864)}}function u0(e){if(e.tag===13||e.tag===31){var t=Fl(e);t=fc(t);var a=Kl(e,t);a!==null&&Ne(a,e,t),a0(e,t)}}function Dt(){return Ca}function i0(e,t,a,i){var o=X.T;X.T=null;var f=pt.p;try{pt.p=Sl,c0(e,t,a,i)}finally{pt.p=f,X.T=o}}function Vl(e,t,a,i){var o=X.T;X.T=null;var f=pt.p;try{pt.p=Ql,c0(e,t,a,i)}finally{pt.p=f,X.T=o}}function c0(e,t,a,i){if(Gv){var o=gh(i);if(o===null)Gn(e,t,i,wv,a),bh(e,i);else if(jg(o,e,t,a,i))i.stopPropagation();else if(bh(e,i),t&4&&-1<O3.indexOf(e)){for(;o!==null;){var f=Sn(o);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=oc(f.pendingLanes);if(d!==0){var h=f;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var p=1<<31-Xl(d);h.entanglements[1]|=p,d&=~p}za(f),(ft&(Zl|Fn))===ea&&(Ev=Rl()+G2,Su(0))}}break;case 31:case 13:h=Kl(f,2),h!==null&&Ne(h,f,2),Za(),a0(f,2)}if(f=gh(i),f===null&&Gn(e,t,i,wv,a),f===o)break;o=f}o!==null&&i.stopPropagation()}else Gn(e,t,i,null,a)}}function gh(e){return e=An(e),o0(e)}function o0(e){if(wv=null,e=Xu(e),e!==null){var t=ie(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=Be(t),e!==null)return e;e=null}else if(a===31){if(e=st(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wv=e,null}function vh(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 Sl;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 Ql;case"message":switch(dr()){case v0:return Sl;case Ch:return Ql;case eo:case Gg:return Wl;case Mh:return ec;default:return Wl}default:return Wl}}function bh(e,t){switch(e){case"focusin":case"focusout":Ff=null;break;case"dragenter":case"dragleave":kf=null;break;case"mouseover":case"mouseout":Wf=null;break;case"pointerover":case"pointerout":dp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":hp.delete(t.pointerId)}}function ki(e,t,a,i,o,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:f,targetContainers:[o]},t!==null&&(t=Sn(t),t!==null&&n0(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function jg(e,t,a,i,o){switch(t){case"focusin":return Ff=ki(Ff,e,t,a,i,o),!0;case"dragenter":return kf=ki(kf,e,t,a,i,o),!0;case"mouseover":return Wf=ki(Wf,e,t,a,i,o),!0;case"pointerover":var f=o.pointerId;return dp.set(f,ki(dp.get(f)||null,e,t,a,i,o)),!0;case"gotpointercapture":return f=o.pointerId,hp.set(f,ki(hp.get(f)||null,e,t,a,i,o)),!0}return!1}function f0(e){var t=Xu(e.target);if(t!==null){var a=ie(t);if(a!==null){if(t=a.tag,t===13){if(t=Be(a),t!==null){e.blockedOn=t,Sp(e.priority,function(){u0(a)});return}}else if(t===31){if(t=st(a),t!==null){e.blockedOn=t,Sp(e.priority,function(){u0(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=gh(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a),o=i;A0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),A0=o,a.target.dispatchEvent(i),A0===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."),A0=null}else return t=Sn(a),t!==null&&n0(t),e.blockedOn=a,!1;t.shift()}return!0}function Sh(e,t,a){gf(e)&&a.delete(t)}function c1(){Tb=!1,Ff!==null&&gf(Ff)&&(Ff=null),kf!==null&&gf(kf)&&(kf=null),Wf!==null&&gf(Wf)&&(Wf=null),dp.forEach(Sh),hp.forEach(Sh)}function cr(e,t){e.blockedOn===t&&(e.blockedOn=null,Tb||(Tb=!0,sl.unstable_scheduleCallback(sl.unstable_NormalPriority,c1)))}function Ug(e){Vv!==e&&(Vv=e,sl.unstable_scheduleCallback(sl.unstable_NormalPriority,function(){Vv===e&&(Vv=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(o0(i||a)===null)continue;break}var f=Sn(a);f!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),ti(f,a,i,o))}}))}function Wc(e){function t(p){return cr(p,e)}Ff!==null&&cr(Ff,e),kf!==null&&cr(kf,e),Wf!==null&&cr(Wf,e),dp.forEach(t),hp.forEach(t);for(var a=0;a<If.length;a++){var i=If[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<If.length&&(a=If[0],a.blockedOn===null);)f0(a),a.blockedOn===null&&If.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],f=a[i+1],d=o[ga]||null;if(typeof f=="function")d||Ug(a);else if(d){var h=null;if(f&&f.hasAttribute("formAction")){if(o=f,d=f[ga]||null)h=d.formAction;else if(o0(o)!==null)continue}else h=d.action;typeof h=="function"?a[i+1]=h:(a.splice(i,3),i-=3),Ug(a)}}}function Hg(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function s0(e){this._internalRoot=e}function Xn(e){this._internalRoot=e}function r0(e){e[ri]&&(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 sl=_b(),or=me,o1=Ab,Je=Object.assign,Bg=Symbol.for("react.element"),mn=Symbol.for("react.transitional.element"),Wi=Symbol.for("react.portal"),vf=Symbol.for("react.fragment"),pa=Symbol.for("react.strict_mode"),fr=Symbol.for("react.profiler"),Th=Symbol.for("react.consumer"),Qn=Symbol.for("react.context"),bf=Symbol.for("react.forward_ref"),Ic=Symbol.for("react.suspense"),Da=Symbol.for("react.suspense_list"),sr=Symbol.for("react.memo"),kl=Symbol.for("react.lazy"),Ln=Symbol.for("react.activity"),f1=Symbol.for("react.memo_cache_sentinel"),qg=Symbol.iterator,Sf=Symbol.for("react.client.reference"),ml=Array.isArray,X=or.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pt=o1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s1=Object.freeze({pending:!1,data:null,method:null,action:null}),d0=[],h0=[],si=-1,Ii=ht(null),Tf=ht(null),Ka=ht(null),Pi=ht(null),Ef=0,Yg,Pc,Af,m0,rr,Eh,Ah;ze.__reactDisabledLog=!0;var zf,y0,zh=!1,p0=new(typeof WeakMap=="function"?WeakMap:Map),Ca=null,xu=!1,$a=Object.prototype.hasOwnProperty,g0=sl.unstable_scheduleCallback,xh=sl.unstable_cancelCallback,Oh=sl.unstable_shouldYield,Dh=sl.unstable_requestPaint,Rl=sl.unstable_now,dr=sl.unstable_getCurrentPriorityLevel,v0=sl.unstable_ImmediatePriority,Ch=sl.unstable_UserBlockingPriority,eo=sl.unstable_NormalPriority,Gg=sl.unstable_LowPriority,Mh=sl.unstable_IdlePriority,b0=sl.log,wg=sl.unstable_setDisableYieldValue,to=null,bl=null,Ou=!1,Du=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Xl=Math.clz32?Math.clz32:pm,S0=Math.log,_h=Math.LN2,xf=256,hr=262144,Of=4194304,Sl=2,Ql=8,Wl=32,ec=268435456,yn=Math.random().toString(36).slice(2),Zt="__reactFiber$"+yn,ga="__reactProps$"+yn,ri="__reactContainer$"+yn,lo="__reactEvents$"+yn,r1="__reactListeners$"+yn,Vg="__reactHandles$"+yn,mr="__reactResources$"+yn,Df="__reactMarker$"+yn,Xg=new Set,Cu={},Cf={},Qg={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Mf=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]*$"),T0={},Rh={},Nh=/[\n"\\]/g,E0=!1,Lg=!1,yr=!1,l=!1,n=!1,u=!1,c=["value","defaultValue"],s=!1,r=/["'&<>\n\t]|^\s|\s$/,m="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(" "),v="applet caption html table td th marquee object template foreignObject desc title".split(" "),z=v.concat(["button"]),H="dd dt li option optgroup p rp rt".split(" "),$={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},I={},B={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"]},Q=/([A-Z])/g,he=/^ms-/,De=/^(?:webkit|moz|o)[A-Z]/,Ct=/^-ms-/,N=/-(.)/g,D=/;\s*$/,j={},W={},Te=!1,ot=!1,ge=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(" ")),Ye="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",dt=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"]]),Zn={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"},Zg={"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},jh={},iA=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]*$"),cA=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]*$"),hS=!1,Fa={},mS=/^on./,oA=/^on[^A-Z]/,fA=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]*$"),sA=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]*$"),rA=/^[\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,A0=null,Uh=null,Hh=null,d1=!1,tc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h1=!1;if(tc)try{var z0={};Object.defineProperty(z0,"passive",{get:function(){h1=!0}}),window.addEventListener("test",z0,z0),window.removeEventListener("test",z0,z0)}catch{h1=!1}var _f=null,m1=null,Jg=null,pr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Kg=zl(pr),x0=Je({},pr,{view:0,detail:0}),dA=zl(x0),y1,p1,O0,$g=Je({},x0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:is,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!==O0&&(O0&&e.type==="mousemove"?(y1=e.screenX-O0.screenX,p1=e.screenY-O0.screenY):p1=y1=0,O0=e),y1)},movementY:function(e){return"movementY"in e?e.movementY:p1}}),yS=zl($g),hA=Je({},$g,{dataTransfer:0}),mA=zl(hA),yA=Je({},x0,{relatedTarget:0}),g1=zl(yA),pA=Je({},pr,{animationName:0,elapsedTime:0,pseudoElement:0}),gA=zl(pA),vA=Je({},pr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bA=zl(vA),SA=Je({},pr,{data:0}),pS=zl(SA),TA=pS,EA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},AA={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"},zA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},xA=Je({},x0,{key:function(e){if(e.key){var t=EA[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=us(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?AA[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:is,charCode:function(e){return e.type==="keypress"?us(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?us(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),OA=zl(xA),DA=Je({},$g,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gS=zl(DA),CA=Je({},x0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:is}),MA=zl(CA),_A=Je({},pr,{propertyName:0,elapsedTime:0,pseudoElement:0}),RA=zl(_A),NA=Je({},$g,{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}),jA=zl(NA),UA=Je({},pr,{newState:0,oldState:0}),HA=zl(UA),BA=[9,13,27,32],vS=229,v1=tc&&"CompositionEvent"in window,D0=null;tc&&"documentMode"in document&&(D0=document.documentMode);var qA=tc&&"TextEvent"in window&&!D0,bS=tc&&(!v1||D0&&8<D0&&11>=D0),SS=32,TS=String.fromCharCode(SS),ES=!1,Bh=!1,YA={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},C0=null,M0=null,AS=!1;tc&&(AS=ad("input")&&(!document.documentMode||9<document.documentMode));var ka=typeof Object.is=="function"?Object.is:nd,GA=tc&&"documentMode"in document&&11>=document.documentMode,qh=null,b1=null,_0=null,S1=!1,Yh={animationend:gc("Animation","AnimationEnd"),animationiteration:gc("Animation","AnimationIteration"),animationstart:gc("Animation","AnimationStart"),transitionrun:gc("Transition","TransitionRun"),transitionstart:gc("Transition","TransitionStart"),transitioncancel:gc("Transition","TransitionCancel"),transitionend:gc("Transition","TransitionEnd")},T1={},zS={};tc&&(zS=document.createElement("div").style,"AnimationEvent"in window||(delete Yh.animationend.animation,delete Yh.animationiteration.animation,delete Yh.animationstart.animation),"TransitionEvent"in window||delete Yh.transitionend.transition);var xS=vc("animationend"),OS=vc("animationiteration"),DS=vc("animationstart"),wA=vc("transitionrun"),VA=vc("transitionstart"),XA=vc("transitioncancel"),CS=vc("transitionend"),MS=new Map,E1="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(" ");E1.push("scrollEnd");var _S=0;if(typeof performance=="object"&&typeof performance.now=="function")var QA=performance,RS=function(){return QA.now()};else{var LA=Date;RS=function(){return LA.now()}}var A1=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!==null&&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)},ZA="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.",Fg=0,z1=1,x1=2,O1=3,kg="– ",Wg="+ ",NS=" ",Jt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Mu="Components ⚛",nt="Scheduler ⚛",ct="Blocking",Rf=!1,ao={color:"primary",properties:null,tooltipText:"",track:Mu},Nf={start:-0,end:-0,detail:{devtools:ao}},JA=["Changed Props",""],jS="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",KA=["Changed Props",jS],R0=1,no=2,_u=[],Gh=0,D1=0,jf={};Object.freeze(jf);var Ru=null,wh=null,Re=0,$A=1,Ke=2,Ma=8,di=16,FA=32,US=!1;try{var HS=Object.preventExtensions({})}catch{US=!0}var C1=new WeakMap,Vh=[],Xh=0,Ig=null,N0=0,Nu=[],ju=0,gr=null,uo=1,io="",va=null,Kt=null,at=!1,lc=!1,Jn=null,Uf=null,Uu=!1,M1=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."),_1=ht(null),R1=ht(null),BS={},Pg=null,Qh=null,Lh=!1,kA=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},WA=sl.unstable_scheduleCallback,IA=sl.unstable_NormalPriority,Nl={$$typeof:Qn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},jl=sl.unstable_now,ev=console.createTask?console.createTask:function(){return null},j0=1,tv=2,Il=-0,Hf=-0,co=-0,oo=null,Wa=-1.1,vr=-0,al=-0,xe=-1.1,Ce=-1.1,Pt=null,rl=!1,br=-0,ac=-1.1,U0=null,Bf=0,N1=null,j1=null,Sr=-1.1,H0=null,Zh=-1.1,lv=-1.1,fo=-0,so=-1.1,Hu=-1.1,U1=0,B0=null,qS=null,YS=null,qf=-1.1,Tr=null,Yf=-1.1,av=-1.1,GS=-0,wS=-0,nv=0,PA=null,VS=0,q0=-1.1,uv=!1,iv=!1,Y0=null,H1=0,Er=0,Jh=null,XS=X.S;X.S=function(e,t){if(q2=Rl(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>so&&0>Hu){so=jl();var a=rf(),i=Au();(a!==Yf||i!==Tr)&&(Yf=-1.1),qf=a,Tr=i}$u(e,t)}XS!==null&&XS(e,t)};var Ar=ht(null),hi={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},G0=[],w0=[],V0=[],X0=[],Q0=[],L0=[],zr=new Set;hi.recordUnsafeLifecycleWarnings=function(e,t){zr.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&G0.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&w0.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&V0.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&X0.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Q0.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&L0.push(e))},hi.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<G0.length&&(G0.forEach(function(h){e.add(ye(h)||"Component"),zr.add(h.type)}),G0=[]);var t=new Set;0<w0.length&&(w0.forEach(function(h){t.add(ye(h)||"Component"),zr.add(h.type)}),w0=[]);var a=new Set;0<V0.length&&(V0.forEach(function(h){a.add(ye(h)||"Component"),zr.add(h.type)}),V0=[]);var i=new Set;0<X0.length&&(X0.forEach(function(h){i.add(ye(h)||"Component"),zr.add(h.type)}),X0=[]);var o=new Set;0<Q0.length&&(Q0.forEach(function(h){o.add(ye(h)||"Component"),zr.add(h.type)}),Q0=[]);var f=new Set;if(0<L0.length&&(L0.forEach(function(h){f.add(ye(h)||"Component"),zr.add(h.type)}),L0=[]),0<t.size){var d=J(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.
|
|
182
|
+
|
|
183
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
184
|
+
|
|
185
|
+
Please update the following components: %s`,d)}0<i.size&&(d=J(i),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.
|
|
186
|
+
|
|
187
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
188
|
+
* 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
|
|
189
|
+
|
|
190
|
+
Please update the following components: %s`,d)),0<f.size&&(d=J(f),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.
|
|
191
|
+
|
|
192
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
193
|
+
|
|
194
|
+
Please update the following components: %s`,d)),0<e.size&&(d=J(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
195
|
+
|
|
196
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
197
|
+
* 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.
|
|
198
|
+
|
|
199
|
+
Please update the following components: %s`,d)),0<a.size&&(d=J(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
200
|
+
|
|
201
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
202
|
+
* 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
|
|
203
|
+
* 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.
|
|
204
|
+
|
|
205
|
+
Please update the following components: %s`,d)),0<o.size&&(d=J(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
206
|
+
|
|
207
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
208
|
+
* 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.
|
|
209
|
+
|
|
210
|
+
Please update the following components: %s`,d))};var cv=new Map,QS=new Set;hi.recordLegacyContextWarning=function(e,t){for(var a=null,i=e;i!==null;)i.mode&Ma&&(a=i),i=i.return;a===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."):!QS.has(e.type)&&(i=cv.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],cv.set(a,i)),i.push(e))},hi.flushLegacyContextWarning=function(){cv.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(o){a.add(ye(o)||"Component"),QS.add(o.type)});var i=J(a);le(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
211
|
+
|
|
212
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
213
|
+
|
|
214
|
+
Please update the following components: %s
|
|
215
|
+
|
|
216
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},hi.discardPendingWarnings=function(){G0=[],w0=[],V0=[],X0=[],Q0=[],L0=[],cv=new Map};var LS={react_stack_bottom_frame:function(e,t,a){var i=xu;xu=!0;try{return e(t,a)}finally{xu=i}}},B1=LS.react_stack_bottom_frame.bind(LS),ZS={react_stack_bottom_frame:function(e){var t=xu;xu=!0;try{return e.render()}finally{xu=t}}},JS=ZS.react_stack_bottom_frame.bind(ZS),KS={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){Xe(e,e.return,a)}}},q1=KS.react_stack_bottom_frame.bind(KS),$S={react_stack_bottom_frame:function(e,t,a,i,o){try{t.componentDidUpdate(a,i,o)}catch(f){Xe(e,e.return,f)}}},FS=$S.react_stack_bottom_frame.bind($S),kS={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},e3=kS.react_stack_bottom_frame.bind(kS),WS={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(i){Xe(e,t,i)}}},IS=WS.react_stack_bottom_frame.bind(WS),PS={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},t3=PS.react_stack_bottom_frame.bind(PS),e2={react_stack_bottom_frame:function(e,t,a){try{a()}catch(i){Xe(e,t,i)}}},l3=e2.react_stack_bottom_frame.bind(e2),t2={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},a3=t2.react_stack_bottom_frame.bind(t2),Kh=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`."),Y1=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."),ov=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."),fv={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.')}},xr=null,Z0=!1,$h=null,J0=0,$e=null,G1,l2=G1=!1,a2={},n2={},u2={};se=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._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.");a._store.validated=1;var i=ye(e),o=i||"null";if(!a2[o]){a2[o]=!0,a=a._owner,e=e._debugOwner;var f="";e&&typeof e.tag=="number"&&(o=ye(e))&&(f=`
|
|
217
|
+
|
|
218
|
+
Check the render method of \``+o+"`."),f||i&&(f=`
|
|
219
|
+
|
|
220
|
+
Check the top-level render call using <`+i+">.");var d="";a!=null&&e!==a&&(i=null,typeof a.tag=="number"?i=ye(a):typeof a.name=="string"&&(i=a.name),i&&(d=" It was passed a child from "+i+".")),le(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.',f,d)})}}};var Or=Ol(!0),i2=Ol(!1),c2=0,o2=1,f2=2,w1=3,Gf=!1,s2=!1,V1=null,X1=!1,Fh=ht(null),sv=ht(0),Kn=ht(null),Bu=null,kh=1,K0=2,Tl=ht(0),rv=0,qu=1,Ia=2,$n=4,Pa=8,Wh,r2=new Set,d2=new Set,Q1=new Set,h2=new Set,ro=0,Ue=null,Ht=null,Ul=null,dv=!1,Ih=!1,Dr=!1,hv=0,$0=0,ho=null,n3=0,u3=25,G=null,Yu=null,mo=-1,F0=!1,k0={readContext:mt,use:Iu,useCallback:tl,useContext:tl,useEffect:tl,useImperativeHandle:tl,useLayoutEffect:tl,useInsertionEffect:tl,useMemo:tl,useReducer:tl,useRef:tl,useState:tl,useDebugValue:tl,useDeferredValue:tl,useTransition:tl,useSyncExternalStore:tl,useId:tl,useHostTransitionStatus:tl,useFormState:tl,useActionState:tl,useOptimistic:tl,useMemoCache:tl,useCacheRefresh:tl};k0.useEffectEvent=tl;var L1=null,m2=null,Z1=null,y2=null,nc=null,mi=null,mv=null;L1={readContext:function(e){return mt(e)},use:Iu,useCallback:function(e,t){return G="useCallback",je(),Wu(t),xd(e,t)},useContext:function(e){return G="useContext",je(),mt(e)},useEffect:function(e,t){return G="useEffect",je(),Wu(t),Hc(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",je(),Wu(a),ru(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",je(),Wu(t),Gi(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",je(),Wu(t),oa(e,t)},useMemo:function(e,t){G="useMemo",je(),Wu(t);var a=X.H;X.H=nc;try{return fa(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",je();var i=X.H;X.H=nc;try{return wo(e,t,a)}finally{X.H=i}},useRef:function(e){return G="useRef",je(),zd(e)},useState:function(e){G="useState",je();var t=X.H;X.H=nc;try{return Hi(e)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",je()},useDeferredValue:function(e,t){return G="useDeferredValue",je(),Zo(e,t)},useTransition:function(){return G="useTransition",je(),wi()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",je(),Vo(e,t,a)},useId:function(){return G="useId",je(),_s()},useFormState:function(e,t){return G="useFormState",je(),bs(),wa(e,t)},useActionState:function(e,t){return G="useActionState",je(),wa(e,t)},useOptimistic:function(e){return G="useOptimistic",je(),Uc(e)},useHostTransitionStatus:li,useMemoCache:Ya,useCacheRefresh:function(){return G="useCacheRefresh",je(),Od()},useEffectEvent:function(e){return G="useEffectEvent",je(),Cs(e)}},m2={readContext:function(e){return mt(e)},use:Iu,useCallback:function(e,t){return G="useCallback",P(),xd(e,t)},useContext:function(e){return G="useContext",P(),mt(e)},useEffect:function(e,t){return G="useEffect",P(),Hc(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",P(),ru(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",P(),Gi(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",P(),oa(e,t)},useMemo:function(e,t){G="useMemo",P();var a=X.H;X.H=nc;try{return fa(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",P();var i=X.H;X.H=nc;try{return wo(e,t,a)}finally{X.H=i}},useRef:function(e){return G="useRef",P(),zd(e)},useState:function(e){G="useState",P();var t=X.H;X.H=nc;try{return Hi(e)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",P()},useDeferredValue:function(e,t){return G="useDeferredValue",P(),Zo(e,t)},useTransition:function(){return G="useTransition",P(),wi()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",P(),Vo(e,t,a)},useId:function(){return G="useId",P(),_s()},useActionState:function(e,t){return G="useActionState",P(),wa(e,t)},useFormState:function(e,t){return G="useFormState",P(),bs(),wa(e,t)},useOptimistic:function(e){return G="useOptimistic",P(),Uc(e)},useHostTransitionStatus:li,useMemoCache:Ya,useCacheRefresh:function(){return G="useCacheRefresh",P(),Od()},useEffectEvent:function(e){return G="useEffectEvent",P(),Cs(e)}},Z1={readContext:function(e){return mt(e)},use:Iu,useCallback:function(e,t){return G="useCallback",P(),Un(e,t)},useContext:function(e){return G="useContext",P(),mt(e)},useEffect:function(e,t){G="useEffect",P(),gl(2048,Pa,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",P(),gl(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",P(),gl(4,$n,e,t)},useMemo:function(e,t){G="useMemo",P();var a=X.H;X.H=mi;try{return Qt(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",P();var i=X.H;X.H=mi;try{return Rc(e,t,a)}finally{X.H=i}},useRef:function(){return G="useRef",P(),vt().memoizedState},useState:function(){G="useState",P();var e=X.H;X.H=mi;try{return Rc(Ga)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",P()},useDeferredValue:function(e,t){return G="useDeferredValue",P(),du(e,t)},useTransition:function(){return G="useTransition",P(),Qp()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",P(),jc(e,t,a)},useId:function(){return G="useId",P(),vt().memoizedState},useFormState:function(e){return G="useFormState",P(),bs(),qi(e)},useActionState:function(e){return G="useActionState",P(),qi(e)},useOptimistic:function(e,t){return G="useOptimistic",P(),xs(e,t)},useHostTransitionStatus:li,useMemoCache:Ya,useCacheRefresh:function(){return G="useCacheRefresh",P(),vt().memoizedState},useEffectEvent:function(e){return G="useEffectEvent",P(),Qo(e)}},y2={readContext:function(e){return mt(e)},use:Iu,useCallback:function(e,t){return G="useCallback",P(),Un(e,t)},useContext:function(e){return G="useContext",P(),mt(e)},useEffect:function(e,t){G="useEffect",P(),gl(2048,Pa,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",P(),gl(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",P(),gl(4,$n,e,t)},useMemo:function(e,t){G="useMemo",P();var a=X.H;X.H=mv;try{return Qt(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",P();var i=X.H;X.H=mv;try{return Nc(e,t,a)}finally{X.H=i}},useRef:function(){return G="useRef",P(),vt().memoizedState},useState:function(){G="useState",P();var e=X.H;X.H=mv;try{return Nc(Ga)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",P()},useDeferredValue:function(e,t){return G="useDeferredValue",P(),Ge(e,t)},useTransition:function(){return G="useTransition",P(),kt()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",P(),jc(e,t,a)},useId:function(){return G="useId",P(),vt().memoizedState},useFormState:function(e){return G="useFormState",P(),bs(),Yi(e)},useActionState:function(e){return G="useActionState",P(),Yi(e)},useOptimistic:function(e,t){return G="useOptimistic",P(),Os(e,t)},useHostTransitionStatus:li,useMemoCache:Ya,useCacheRefresh:function(){return G="useCacheRefresh",P(),vt().memoizedState},useEffectEvent:function(e){return G="useEffectEvent",P(),Qo(e)}},nc={readContext:function(e){return Z(),mt(e)},use:function(e){return _(),Iu(e)},useCallback:function(e,t){return G="useCallback",_(),je(),xd(e,t)},useContext:function(e){return G="useContext",_(),je(),mt(e)},useEffect:function(e,t){return G="useEffect",_(),je(),Hc(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",_(),je(),ru(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",_(),je(),Gi(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",_(),je(),oa(e,t)},useMemo:function(e,t){G="useMemo",_(),je();var a=X.H;X.H=nc;try{return fa(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",_(),je();var i=X.H;X.H=nc;try{return wo(e,t,a)}finally{X.H=i}},useRef:function(e){return G="useRef",_(),je(),zd(e)},useState:function(e){G="useState",_(),je();var t=X.H;X.H=nc;try{return Hi(e)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",_(),je()},useDeferredValue:function(e,t){return G="useDeferredValue",_(),je(),Zo(e,t)},useTransition:function(){return G="useTransition",_(),je(),wi()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",_(),je(),Vo(e,t,a)},useId:function(){return G="useId",_(),je(),_s()},useFormState:function(e,t){return G="useFormState",_(),je(),wa(e,t)},useActionState:function(e,t){return G="useActionState",_(),je(),wa(e,t)},useOptimistic:function(e){return G="useOptimistic",_(),je(),Uc(e)},useMemoCache:function(e){return _(),Ya(e)},useHostTransitionStatus:li,useCacheRefresh:function(){return G="useCacheRefresh",je(),Od()},useEffectEvent:function(e){return G="useEffectEvent",_(),je(),Cs(e)}},mi={readContext:function(e){return Z(),mt(e)},use:function(e){return _(),Iu(e)},useCallback:function(e,t){return G="useCallback",_(),P(),Un(e,t)},useContext:function(e){return G="useContext",_(),P(),mt(e)},useEffect:function(e,t){G="useEffect",_(),P(),gl(2048,Pa,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",_(),P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",_(),P(),gl(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",_(),P(),gl(4,$n,e,t)},useMemo:function(e,t){G="useMemo",_(),P();var a=X.H;X.H=mi;try{return Qt(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",_(),P();var i=X.H;X.H=mi;try{return Rc(e,t,a)}finally{X.H=i}},useRef:function(){return G="useRef",_(),P(),vt().memoizedState},useState:function(){G="useState",_(),P();var e=X.H;X.H=mi;try{return Rc(Ga)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",_(),P()},useDeferredValue:function(e,t){return G="useDeferredValue",_(),P(),du(e,t)},useTransition:function(){return G="useTransition",_(),P(),Qp()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",_(),P(),jc(e,t,a)},useId:function(){return G="useId",_(),P(),vt().memoizedState},useFormState:function(e){return G="useFormState",_(),P(),qi(e)},useActionState:function(e){return G="useActionState",_(),P(),qi(e)},useOptimistic:function(e,t){return G="useOptimistic",_(),P(),xs(e,t)},useMemoCache:function(e){return _(),Ya(e)},useHostTransitionStatus:li,useCacheRefresh:function(){return G="useCacheRefresh",P(),vt().memoizedState},useEffectEvent:function(e){return G="useEffectEvent",_(),P(),Qo(e)}},mv={readContext:function(e){return Z(),mt(e)},use:function(e){return _(),Iu(e)},useCallback:function(e,t){return G="useCallback",_(),P(),Un(e,t)},useContext:function(e){return G="useContext",_(),P(),mt(e)},useEffect:function(e,t){G="useEffect",_(),P(),gl(2048,Pa,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",_(),P(),Lo(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",_(),P(),gl(4,Ia,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",_(),P(),gl(4,$n,e,t)},useMemo:function(e,t){G="useMemo",_(),P();var a=X.H;X.H=mi;try{return Qt(e,t)}finally{X.H=a}},useReducer:function(e,t,a){G="useReducer",_(),P();var i=X.H;X.H=mi;try{return Nc(e,t,a)}finally{X.H=i}},useRef:function(){return G="useRef",_(),P(),vt().memoizedState},useState:function(){G="useState",_(),P();var e=X.H;X.H=mi;try{return Nc(Ga)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",_(),P()},useDeferredValue:function(e,t){return G="useDeferredValue",_(),P(),Ge(e,t)},useTransition:function(){return G="useTransition",_(),P(),kt()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",_(),P(),jc(e,t,a)},useId:function(){return G="useId",_(),P(),vt().memoizedState},useFormState:function(e){return G="useFormState",_(),P(),Yi(e)},useActionState:function(e){return G="useActionState",_(),P(),Yi(e)},useOptimistic:function(e,t){return G="useOptimistic",_(),P(),Os(e,t)},useMemoCache:function(e){return _(),Ya(e)},useHostTransitionStatus:li,useCacheRefresh:function(){return G="useCacheRefresh",P(),vt().memoizedState},useEffectEvent:function(e){return G="useEffectEvent",_(),P(),Qo(e)}};var p2={},g2=new Set,v2=new Set,b2=new Set,S2=new Set,T2=new Set,E2=new Set,A2=new Set,z2=new Set,x2=new Set,O2=new Set;Object.freeze(p2);var J1={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=Fl(e),o=pl(i);o.payload=t,a!=null&&(Gc(a),o.callback=a),t=cu(e,o,i),t!==null&&(nu(i,"this.setState()",e),Ne(t,e,i),sn(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=Fl(e),o=pl(i);o.tag=o2,o.payload=t,a!=null&&(Gc(a),o.callback=a),t=cu(e,o,i),t!==null&&(nu(i,"this.replaceState()",e),Ne(t,e,i),sn(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Fl(e),i=pl(a);i.tag=f2,t!=null&&(Gc(t),i.callback=t),t=cu(e,i,a),t!==null&&(nu(a,"this.forceUpdate()",e),Ne(t,e,a),sn(t,e,a))}},Ph=null,K1=null,$1=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."),Hl=!1,D2={},C2={},M2={},_2={},em=!1,R2={},yv={},F1={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},N2=!1,j2=null;j2=new Set;var yo=!1,Bl=!1,k1=!1,U2=typeof WeakSet=="function"?WeakSet:Set,Pl=null,tm=null,lm=null,ql=null,pn=!1,yi=null,Ll=!1,W0=8192,i3={getCacheForType:function(e){var t=mt(Nl),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return mt(Nl).controller.signal},getOwner:function(){return Ca}};if(typeof Symbol=="function"&&Symbol.for){var I0=Symbol.for;I0("selector.component"),I0("selector.has_pseudo_class"),I0("selector.role"),I0("selector.test_id"),I0("selector.text")}var c3=[],o3=typeof WeakMap=="function"?WeakMap:Map,ea=0,Zl=2,Fn=4,po=0,P0=1,Cr=2,pv=3,wf=4,gv=6,H2=5,ft=ea,Bt=null,Ie=null,Fe=0,gn=0,vv=1,Mr=2,ep=3,B2=4,W1=5,tp=6,bv=7,I1=8,_r=9,Mt=gn,kn=null,Vf=!1,am=!1,P1=!1,uc=0,nl=po,Xf=0,Qf=0,eb=0,vn=0,Rr=0,lp=null,en=null,Sv=!1,Tv=0,q2=0,Y2=300,Ev=1/0,G2=500,ap=null,yl=null,Lf=null,Av=0,tb=1,lb=2,w2=3,Zf=0,V2=1,X2=2,Q2=3,L2=4,zv=5,Yl=0,Jf=null,nm=null,pi=0,ab=0,nb=-0,ub=null,Z2=null,J2=null,gi=Av,K2=null,f3=50,np=0,ib=null,cb=!1,xv=!1,s3=50,Nr=0,up=null,um=!1,Ov=null,$2=!1,F2=new Set,r3={},Dv=null,im=null,ob=!1,fb=!1,Cv=!1,sb=!1,Kf=0,rb={};(function(){for(var e=0;e<E1.length;e++){var t=E1[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),zn(a,"on"+t)}zn(xS,"onAnimationEnd"),zn(OS,"onAnimationIteration"),zn(DS,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(wA,"onTransitionRun"),zn(VA,"onTransitionStart"),zn(XA,"onTransitionCancel"),zn(CS,"onTransitionEnd")})(),So("onMouseEnter",["mouseout","mouseover"]),So("onMouseLeave",["mouseout","mouseover"]),So("onPointerEnter",["pointerout","pointerover"]),So("onPointerLeave",["pointerout","pointerover"]),Tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Tn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ip="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(" "),db=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ip)),Mv="_reactListening"+Math.random().toString(36).slice(2),k2=!1,W2=!1,_v=!1,I2=!1,Rv=!1,Nv=!1,P2=!1,jv={},d3=/\r\n?/g,h3=/\u0000|\uFFFD/g,jr="http://www.w3.org/1999/xlink",hb="http://www.w3.org/XML/1998/namespace",m3="javascript:throw new Error('React form unexpectedly submitted.')",y3="suppressHydrationWarning",Ur="&",Uv="/&",cp="$",op="/$",$f="$?",Hr="$~",cm="$!",p3="html",g3="body",v3="head",mb="F!",eT="F",tT="loading",b3="style",go=0,om=1,Hv=2,yb=null,pb=null,lT={dialog:!0,webview:!0},gb=null,fp=void 0,aT=typeof setTimeout=="function"?setTimeout:void 0,S3=typeof clearTimeout=="function"?clearTimeout:void 0,Br=-1,nT=typeof Promise=="function"?Promise:void 0,T3=typeof queueMicrotask=="function"?queueMicrotask:typeof nT<"u"?function(e){return nT.resolve(null).then(e).catch(rg)}:aT,vb=null,qr=0,sp=1,uT=2,iT=3,Gu=4,wu=new Map,cT=new Set,vo=pt.d;pt.d={f:function(){var e=vo.f(),t=Za();return e||t},r:function(e){var t=Sn(e);t!==null&&t.tag===5&&t.type==="form"?Jo(t):vo.r(e)},D:function(e){vo.D(e),Wy("dns-prefetch",e,null)},C:function(e,t){vo.C(e,t),Wy("preconnect",e,t)},L:function(e,t,a){vo.L(e,t,a);var i=fm;if(i&&e&&t){var o='link[rel="preload"][as="'+zt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+zt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+zt(a.imageSizes)+'"]')):o+='[href="'+zt(e)+'"]';var f=o;switch(t){case"style":f=Fc(e);break;case"script":f=kc(e)}wu.has(f)||(e=Je({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),wu.set(f,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(lr(f))||t==="script"&&i.querySelector(ar(f))||(t=i.createElement("link"),Lt(t,"link",e),ul(t),i.head.appendChild(t)))}},m:function(e,t){vo.m(e,t);var a=fm;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+zt(i)+'"][href="'+zt(e)+'"]',f=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=kc(e)}if(!wu.has(f)&&(e=Je({rel:"modulepreload",href:e},t),wu.set(f,e),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ar(f)))return}i=a.createElement("link"),Lt(i,"link",e),ul(i),a.head.appendChild(i)}}},X:function(e,t){vo.X(e,t);var a=fm;if(a&&e){var i=tn(a).hoistableScripts,o=kc(e),f=i.get(o);f||(f=a.querySelector(ar(o)),f||(e=Je({src:e,async:!0},t),(t=wu.get(o))&&e0(e,t),f=a.createElement("script"),ul(f),Lt(f,"link",e),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}},S:function(e,t,a){vo.S(e,t,a);var i=fm;if(i&&e){var o=tn(i).hoistableStyles,f=Fc(e);t=t||"default";var d=o.get(f);if(!d){var h={loading:qr,preload:null};if(d=i.querySelector(lr(f)))h.loading=sp|Gu;else{e=Je({rel:"stylesheet",href:e,"data-precedence":t},a),(a=wu.get(f))&&Py(e,a);var p=d=i.createElement("link");ul(p),Lt(p,"link",e),p._p=new Promise(function(g,O){p.onload=g,p.onerror=O}),p.addEventListener("load",function(){h.loading|=sp}),p.addEventListener("error",function(){h.loading|=uT}),h.loading|=Gu,mf(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(f,d)}}},M:function(e,t){vo.M(e,t);var a=fm;if(a&&e){var i=tn(a).hoistableScripts,o=kc(e),f=i.get(o);f||(f=a.querySelector(ar(o)),f||(e=Je({src:e,async:!0,type:"module"},t),(t=wu.get(o))&&e0(e,t),f=a.createElement("script"),ul(f),Lt(f,"link",e),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}}};var fm=typeof document>"u"?null:document,Bv=null,E3=6e4,A3=800,z3=500,bb=0,Sb=null,qv=null,Yr=s1,rp={$$typeof:Qn,Provider:null,Consumer:null,_currentValue:Yr,_currentValue2:Yr,_threadCount:0},oT="%c%s%c",fT="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",sT="",Yv=" ",x3=Function.prototype.bind,rT=!1,dT=null,hT=null,mT=null,yT=null,pT=null,gT=null,vT=null,bT=null,ST=null,TT=null;dT=function(e,t,a,i){t=y(e,t),t!==null&&(a=R(t.memoizedState,a,0,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=Je({},e.memoizedProps),a=Kl(e,2),a!==null&&Ne(a,e,2))},hT=function(e,t,a){t=y(e,t),t!==null&&(a=U(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=Je({},e.memoizedProps),a=Kl(e,2),a!==null&&Ne(a,e,2))},mT=function(e,t,a,i){t=y(e,t),t!==null&&(a=L(t.memoizedState,a,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=Je({},e.memoizedProps),a=Kl(e,2),a!==null&&Ne(a,e,2))},yT=function(e,t,a){e.pendingProps=R(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Kl(e,2),t!==null&&Ne(t,e,2)},pT=function(e,t){e.pendingProps=U(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Kl(e,2),t!==null&&Ne(t,e,2)},gT=function(e,t,a){e.pendingProps=L(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Kl(e,2),t!==null&&Ne(t,e,2)},vT=function(e){var t=Kl(e,2);t!==null&&Ne(t,e,2)},bT=function(e){var t=Xr(),a=Kl(e,t);a!==null&&Ne(a,e,t)},ST=function(e){V=e},TT=function(e){Y=e};var Gv=!0,wv=null,Tb=!1,Ff=null,kf=null,Wf=null,dp=new Map,hp=new Map,If=[],O3="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(" "),Vv=null;if(Xn.prototype.render=s0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[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()."):Pe(a[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."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var i=t.current,o=Fl(i);ph(i,o,a,t,null,null)},Xn.prototype.unmount=s0.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;(ft&(Zl|Fn))!==ea&&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."),ph(e.current,2,null,e,null,null),Za(),t[ri]=null}},Xn.prototype.unstable_scheduleHydration=function(e){if(e){var t=bp();e={blockedOn:null,target:e,priority:t};for(var a=0;a<If.length&&t!==0&&t<If[a].priority;a++);If.splice(a,0,e),a===0&&f0(e)}},(function(){var e=or.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
221
|
+
- react: `+(e+`
|
|
222
|
+
- react-dom: 19.2.4
|
|
223
|
+
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"),pt.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=Et(t),e=e!==null?_t(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.2.4"};return e.overrideHookState=dT,e.overrideHookStateDeletePath=hT,e.overrideHookStateRenamePath=mT,e.overrideProps=yT,e.overridePropsDeletePath=pT,e.overridePropsRenamePath=gT,e.scheduleUpdate=vT,e.scheduleRetry=bT,e.setErrorHandler=ST,e.setSuspenseHandler=TT,e.scheduleRefresh=oe,e.scheduleRoot=te,e.setRefreshHandler=Se,e.getCurrentFiber=Dt,ym(e)})()&&tc&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var ET=window.location.protocol;/^(https?|file):$/.test(ET)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(ET==="file:"?`
|
|
224
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}hm.createRoot=function(e,t){if(!Pe(e))throw Error("Target container is not a DOM element.");r0(e);var a=!1,i="",o=Md,f=_d,d=uy;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===mn&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
225
|
+
|
|
226
|
+
let root = createRoot(domContainer);
|
|
227
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=ir(e,1,!1,null,null,a,i,null,o,f,d,Hg),e[ri]=t.current,Ki(e),new s0(t)},hm.hydrateRoot=function(e,t,a){if(!Pe(e))throw Error("Target container is not a DOM element.");r0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",f=Md,d=_d,h=uy,p=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(h=a.onRecoverableError),a.formState!==void 0&&(p=a.formState)),t=ir(e,1,!0,t,a??null,i,o,p,f,d,h,Hg),t.context=Rg(null),a=t.current,i=Fl(a),i=fc(i),o=pl(i),o.callback=null,cu(a,o,i),nu(i,"hydrateRoot()",null),a=i,t.current.lanes=a,vi(t,a),za(t),e[ri]=t.current,Ki(e),new Xn(t)},hm.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),hm}var jb;function BT(){if(jb)return yp.exports;jb=1;function y(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y)}catch(R){console.error(R)}}}return process.env.NODE_ENV==="production"?(y(),yp.exports=UT()):yp.exports=HT(),yp.exports}var Ub=BT();const Hb=(...y)=>y.filter((R,L,S)=>!!R&&R.trim()!==""&&S.indexOf(R)===L).join(" ").trim();const qT=y=>y.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const YT=y=>y.replace(/^([A-Z])|[\s-_]+(\w)/g,(R,L,S)=>S?S.toUpperCase():L.toLowerCase());const Bb=y=>{const R=YT(y);return R.charAt(0).toUpperCase()+R.slice(1)};var GT={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"};const wT=y=>{for(const R in y)if(R.startsWith("aria-")||R==="role"||R==="title")return!0;return!1};const VT=me.forwardRef(({color:y="currentColor",size:R=24,strokeWidth:L=2,absoluteStrokeWidth:S,className:U="",children:Y,iconNode:V,..._},Z)=>me.createElement("svg",{ref:Z,...GT,width:R,height:R,stroke:y,strokeWidth:S?Number(L)*24/Number(R):L,className:Hb("lucide",U),...!Y&&!wT(_)&&{"aria-hidden":"true"},..._},[...V.map(([ee,se])=>me.createElement(ee,se)),...Array.isArray(Y)?Y:[Y]]));const _a=(y,R)=>{const L=me.forwardRef(({className:S,...U},Y)=>me.createElement(VT,{ref:Y,iconNode:R,className:Hb(`lucide-${qT(Bb(y))}`,`lucide-${y}`,S),...U}));return L.displayName=Bb(y),L};const XT=_a("copy",[["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"}]]);const QT=_a("crosshair",[["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"}]]);const LT=_a("eraser",[["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"}]]);const qb=_a("external-link",[["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"}]]);const ZT=_a("eye-off",[["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"}]]);const JT=_a("eye",[["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"}]]);const KT=_a("file",[["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"}]]);const $T=_a("image",[["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"}]]);const Yb=_a("map-pin",[["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"}]]);const FT=_a("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const Gb=_a("qr-code",[["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"}]]);const kT=_a("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const wb=_a("star",[["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"}]]);const Vb=_a("upload",[["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"}]]);const Gr=_a("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Xb({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema;if(S)return b.jsx("span",{className:"text-sm",children:y||"-"});const V=Y?.rows,{inputType:_,...Z}=U;return V&&V>1?b.jsx(ae.Textarea,{...Z,value:y||"",onChange:ee=>R(ee.target.value),placeholder:Y?.placeholder,disabled:S||Z.disabled}):b.jsx(ae.Input,{...Z,type:Y?.type==="password"?"password":"text",value:y||"",onChange:ee=>R(ee.target.value),placeholder:Y?.placeholder,disabled:S||Z.disabled})}const WT=Object.freeze(Object.defineProperty({__proto__:null,TextField:Xb},Symbol.toStringTag,{value:"Module"}));function Qb({value:y,onChange:R,field:L,readonly:S,...U}){if(S)return b.jsx("span",{className:"text-sm",children:y??"-"});const Y=L||U.schema,V=Y?.precision,{inputType:_,...Z}=U;return b.jsx(ae.Input,{...Z,type:"number",value:y??"",onChange:ee=>{const se=ee.target.value;R(se===""?null:Number(se))},placeholder:Y?.placeholder,disabled:S||Z.disabled,step:V?Math.pow(10,-V):"any"})}const IT=Object.freeze(Object.defineProperty({__proto__:null,NumberField:Qb},Symbol.toStringTag,{value:"Module"}));function Lb({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema,V=Y?.widget,_=me.useId(),Z=Y?.name||_,ee=Y?.label||"Checkbox";if(S)return b.jsx("span",{className:"text-sm",children:y?"Yes":"No"});const{inputType:se,...J}=U;return V==="checkbox"?b.jsxs("div",{className:"flex items-center space-x-2",children:[b.jsx(ae.Checkbox,{...J,id:Z,checked:!!y,onCheckedChange:w=>R(!!w),disabled:S||J.disabled}),b.jsx(ae.Label,{htmlFor:Z,children:ee})]}):b.jsxs("div",{className:"flex items-center space-x-2",children:[b.jsx(ae.Switch,{...J,id:Z,checked:!!y,onCheckedChange:R,disabled:S||J.disabled}),b.jsx(ae.Label,{htmlFor:Z,children:ee})]})}const PT=Object.freeze(Object.defineProperty({__proto__:null,BooleanField:Lb},Symbol.toStringTag,{value:"Module"}));function Zb({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema,V=Y?.options||[];if(S){const _=V.find(Z=>Z.value===y);return b.jsx("span",{className:"text-sm",children:_?.label||y||"-"})}return b.jsxs(ae.Select,{...U,value:y,onValueChange:R,disabled:S||U.disabled,children:[b.jsx(ae.SelectTrigger,{className:U.className,id:U.id,children:b.jsx(ae.SelectValue,{placeholder:Y?.placeholder||"Select an option"})}),b.jsx(ae.SelectContent,{position:"popper",children:V.map(_=>b.jsx(ae.SelectItem,{value:_.value,children:_.label},_.value))})]})}const eE=Object.freeze(Object.defineProperty({__proto__:null,SelectField:Zb},Symbol.toStringTag,{value:"Module"}));function Jb({value:y,onChange:R,field:L,readonly:S,...U}){if(S)return b.jsx("span",{className:"text-sm",children:y?new Date(y).toLocaleDateString():"-"});const{inputType:Y,...V}=U;return b.jsx(ae.Input,{...V,type:"date",value:y||"",onChange:_=>R(_.target.value),disabled:S||V.disabled})}const tE=Object.freeze(Object.defineProperty({__proto__:null,DateField:Jb},Symbol.toStringTag,{value:"Module"}));function Kb({value:y,onChange:R,field:L,readonly:S,errorMessage:U,...Y}){const V=L||Y.schema;if(S)return y?b.jsx("a",{href:`mailto:${y}`,className:"text-sm text-blue-600 hover:text-blue-800 hover:underline",children:y}):b.jsx("span",{className:"text-sm",children:"-"});const{inputType:_,...Z}=Y;return b.jsx(ae.Input,{...Z,type:"email",value:y||"",onChange:ee=>R(ee.target.value),placeholder:V?.placeholder||"email@example.com",disabled:S||Z.disabled,"aria-invalid":!!U})}const lE=Object.freeze(Object.defineProperty({__proto__:null,EmailField:Kb},Symbol.toStringTag,{value:"Module"}));function $b({value:y,onChange:R,field:L,readonly:S,errorMessage:U,...Y}){const V=L||Y.schema;if(S)return y?b.jsx("a",{href:`tel:${y}`,className:"text-sm text-blue-600 hover:text-blue-800 hover:underline",children:y}):b.jsx("span",{className:"text-sm",children:"-"});const{inputType:_,...Z}=Y;return b.jsx(ae.Input,{...Z,type:"tel",value:y||"",onChange:ee=>R(ee.target.value),placeholder:V?.placeholder||"(555) 123-4567",disabled:S||Z.disabled,"aria-invalid":!!U})}const aE=Object.freeze(Object.defineProperty({__proto__:null,PhoneField:$b},Symbol.toStringTag,{value:"Module"}));function Fb({value:y,onChange:R,field:L,readonly:S,errorMessage:U,...Y}){const V=L||Y.schema;if(S)return y?y.startsWith("http://")||y.startsWith("https://")?b.jsx("a",{href:y,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-blue-600 hover:text-blue-800 hover:underline",children:y}):b.jsx("span",{className:"text-sm",children:y}):b.jsx("span",{className:"text-sm",children:"-"});const{inputType:_,...Z}=Y;return b.jsx(ae.Input,{...Z,type:"url",value:y||"",onChange:ee=>R(ee.target.value),placeholder:V?.placeholder||"https://example.com",disabled:S||Z.disabled,"aria-invalid":!!U})}const nE=Object.freeze(Object.defineProperty({__proto__:null,UrlField:Fb},Symbol.toStringTag,{value:"Module"}));function uE(y,R="USD"){try{return new Intl.NumberFormat("en-US",{style:"currency",currency:R}).format(y)}catch{return`${R} ${y.toFixed(2)}`}}function kb({value:y,onChange:R,field:L,readonly:S,errorMessage:U,className:Y,...V}){const _=L||V.schema,Z=_?.currency||"USD",ee=_?.precision??2;if(S)return y==null?b.jsx("span",{className:"text-sm",children:"-"}):b.jsx("span",{className:"text-sm font-medium tabular-nums",children:uE(Number(y),Z)});const se=J=>{const w=parseFloat(J.target.value);isNaN(w)||R(parseFloat(w.toFixed(ee)))};return b.jsxs("div",{className:"relative",children:[b.jsx("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-sm text-gray-500",children:Z==="USD"?"$":Z}),b.jsx(ae.Input,{...V,type:"number",value:y??"",onChange:J=>{const w=J.target.value===""?null:parseFloat(J.target.value);R(w)},onBlur:se,placeholder:_?.placeholder||"0.00",disabled:S||V.disabled,className:`pl-8 ${Y||""}`,step:Math.pow(10,-ee).toFixed(ee),"aria-invalid":!!U})]})}const iE=Object.freeze(Object.defineProperty({__proto__:null,CurrencyField:kb},Symbol.toStringTag,{value:"Module"}));function Wb({value:y,onChange:R,field:L,readonly:S,errorMessage:U,...Y}){if(S)return b.jsx("div",{className:"text-sm whitespace-pre-wrap",children:y||"-"});const V=L||Y.schema,_=V?.rows||4,Z=V?.max_length,{inputType:ee,...se}=Y;return b.jsxs("div",{className:"relative",children:[b.jsx(ae.Textarea,{...se,value:y||"",onChange:J=>R(J.target.value),placeholder:V?.placeholder,disabled:S||se.disabled,rows:_,maxLength:Z,"aria-invalid":!!U}),Z&&b.jsxs("div",{className:"absolute bottom-2 right-2 text-xs text-gray-400","aria-live":"polite","aria-label":`Character count: ${(y||"").length} of ${Z}`,children:[(y||"").length,"/",Z]})]})}const cE=Object.freeze(Object.defineProperty({__proto__:null,TextAreaField:Wb},Symbol.toStringTag,{value:"Module"}));function oE({value:y,onChange:R,field:L,readonly:S,errorMessage:U,...Y}){if(S)return b.jsx("div",{className:"text-sm prose prose-sm max-w-none",children:y||"-"});const V=L||Y.schema,_=V?.rows||8,Z=V?.format||"markdown";return b.jsxs("div",{className:"space-y-2",children:[b.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[b.jsxs("span",{children:["Format: ",Z]}),b.jsx("span",{className:"italic",children:"Rich text editor (basic)"})]}),b.jsx(ae.Textarea,{value:y||"",onChange:ee=>R(ee.target.value),placeholder:V?.placeholder||"Enter text...",disabled:S||Y.disabled,rows:_,className:`font-mono text-sm ${Y.className||""}`,"aria-invalid":!!U})]})}const Ib=Object.freeze(Object.defineProperty({__proto__:null,RichTextField:oE},Symbol.toStringTag,{value:"Module"}));function Pb({value:y,onChange:R,field:L,readonly:S,...U}){const[Y,V]=me.useState(!1),[_,Z]=me.useState(""),ee=L||U.schema,se=ee?.options||[],J=ee.multiple||!1,w=ee.display_field||"label",te=se.filter(ie=>ie.label.toLowerCase().includes(_.toLowerCase())),oe=J?(Array.isArray(y)?y:[]).map(ie=>se.find(Be=>Be.value===ie)).filter(Boolean):y?[se.find(ie=>ie.value===y)].filter(Boolean):[],Se=ie=>{if(J){const Be=Array.isArray(y)?y:[],st=Be.includes(ie.value);R(st?Be.filter(we=>we!==ie.value):[...Be,ie.value])}else R(ie.value),V(!1)},Pe=ie=>{if(J){const Be=Array.isArray(y)?y:[];R(Be.filter(st=>st!==ie))}else R(null)};return S?oe.length?J?b.jsx("div",{className:"flex flex-wrap gap-1",children:oe.map((ie,Be)=>b.jsx(ae.Badge,{variant:"outline",children:ie?.[w]||ie?.label},Be))}):b.jsx("span",{className:"text-sm",children:oe[0]?.[w]||oe[0]?.label}):b.jsx("span",{className:"text-sm",children:"-"}):b.jsxs("div",{className:"space-y-2",children:[oe.length>0&&b.jsx("div",{className:"flex flex-wrap gap-1",children:oe.map((ie,Be)=>b.jsxs(ae.Badge,{variant:"outline",className:"gap-1",children:[ie?.[w]||ie?.label,b.jsx("button",{onClick:()=>Pe(ie?.value),className:"ml-1 hover:text-destructive",type:"button","aria-label":`Remove ${ie?.[w]||ie?.label}`,children:b.jsx(Gr,{className:"size-3"})})]},Be))}),b.jsxs(ae.Dialog,{open:Y,onOpenChange:V,children:[b.jsx(ae.DialogTrigger,{asChild:!0,children:b.jsxs(ae.Button,{variant:"outline",className:"w-full justify-start text-left font-normal",type:"button",children:[b.jsx(kT,{className:"mr-2 size-4"}),oe.length===0?ee?.placeholder||"Select...":J?`${oe.length} selected`:"Change selection"]})}),b.jsxs(ae.DialogContent,{className:"max-w-md",children:[b.jsx(ae.DialogHeader,{children:b.jsxs(ae.DialogTitle,{children:[ee?.label||"Select"," ",J&&"(multiple)"]})}),b.jsxs("div",{className:"space-y-4",children:[b.jsx(ae.Input,{placeholder:"Search...",value:_,onChange:ie=>Z(ie.target.value),className:"w-full"}),b.jsx("div",{className:"max-h-64 overflow-y-auto space-y-1",children:te.length===0?b.jsx("p",{className:"text-sm text-gray-500 text-center py-4",children:"No options found"}):te.map(ie=>{const Be=J?(Array.isArray(y)?y:[]).includes(ie.value):y===ie.value;return b.jsxs("button",{onClick:()=>Se(ie),className:`w-full text-left px-3 py-2 rounded-md text-sm hover:bg-gray-100 flex items-center justify-between ${Be?"bg-blue-50 text-blue-700":""}`,type:"button",children:[b.jsx("span",{children:ie.label}),Be&&b.jsx(ae.Badge,{variant:"default",className:"ml-2",children:"Selected"})]},ie.value)})})]})]})]})]})}const fE=Object.freeze(Object.defineProperty({__proto__:null,LookupField:Pb},Symbol.toStringTag,{value:"Module"}));function eS({value:y,onChange:R,field:L,readonly:S,...U}){if(S){if(!y)return b.jsx("span",{className:"text-sm",children:"-"});const _=new Date(y);return b.jsxs("span",{className:"text-sm",children:[_.toLocaleDateString()," ",_.toLocaleTimeString()]})}const{inputType:Y,...V}=U;return b.jsx(ae.Input,{...V,type:"datetime-local",value:y||"",onChange:_=>R(_.target.value),disabled:S||V.disabled})}const sE=Object.freeze(Object.defineProperty({__proto__:null,DateTimeField:eS},Symbol.toStringTag,{value:"Module"}));function tS({value:y,onChange:R,field:L,readonly:S,...U}){if(S)return b.jsx("span",{className:"text-sm",children:y||"-"});const{inputType:Y,...V}=U;return b.jsx(ae.Input,{...V,type:"time",value:y||"",onChange:_=>R(_.target.value),disabled:S||V.disabled})}const rE=Object.freeze(Object.defineProperty({__proto__:null,TimeField:tS},Symbol.toStringTag,{value:"Module"}));function lS({value:y,onChange:R,field:L,readonly:S,errorMessage:U,className:Y,...V}){const _=L||V.schema,Z=_?.precision??2;if(S)return y==null?b.jsx("span",{className:"text-sm",children:"-"}):b.jsxs("span",{className:"text-sm font-medium tabular-nums",children:[(y*100).toFixed(Z),"%"]});const ee=y!=null?y*100:"",se=J=>{if(J.target.value===""){R(null);return}const w=parseFloat(J.target.value),te=isNaN(w)?null:w/100;R(te)};return b.jsxs("div",{className:"relative",children:[b.jsx(ae.Input,{...V,type:"number",value:ee,onChange:se,placeholder:_?.placeholder||"0",disabled:S||V.disabled,className:`pr-8 ${Y||""}`,step:Math.pow(10,-Z).toFixed(Z),"aria-invalid":!!U}),b.jsx("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500",children:"%"})]})}const dE=Object.freeze(Object.defineProperty({__proto__:null,PercentField:lS},Symbol.toStringTag,{value:"Module"}));function aS({value:y,onChange:R,field:L,readonly:S,className:U,...Y}){const[V,_]=me.useState(!1),Z=L||Y.schema;if(S)return b.jsx("span",{className:"text-sm",children:"••••••••"});const{inputType:ee,...se}=Y;return b.jsxs("div",{className:"relative",children:[b.jsx(ae.Input,{...se,type:V?"text":"password",value:y||"",onChange:J=>R(J.target.value),placeholder:Z?.placeholder,disabled:S||se.disabled,className:`pr-10 ${U||""}`}),b.jsx(ae.Button,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",onClick:()=>_(!V),tabIndex:-1,children:V?b.jsx(ZT,{className:"size-4 text-gray-500"}):b.jsx(JT,{className:"size-4 text-gray-500"})})]})}const hE=Object.freeze(Object.defineProperty({__proto__:null,PasswordField:aS},Symbol.toStringTag,{value:"Module"}));function mE({value:y,onChange:R,field:L,readonly:S,...U}){const Y=me.useRef(null),V=L||U.schema,_=V?.multiple||!1,Z=V?.accept?V.accept.join(","):void 0;if(S){if(!y)return b.jsx("span",{className:"text-sm",children:"-"});const w=Array.isArray(y)?y:[y];return b.jsx("div",{className:"flex flex-wrap gap-2",children:w.map((te,oe)=>b.jsx("span",{className:"text-sm truncate max-w-xs",children:te.name||te.original_name||"File"},oe))})}const ee=y?Array.isArray(y)?y:[y]:[],se=w=>{const te=Array.from(w.target.files||[]);if(te.length===0)return;const oe=te.map(Se=>({name:Se.name,original_name:Se.name,size:Se.size,mime_type:Se.type,url:URL.createObjectURL(Se)}));R(_?[...ee,...oe]:oe[0])},J=w=>{if(_){const te=ee.filter((oe,Se)=>Se!==w);R(te.length>0?te:null)}else R(null)};return b.jsxs("div",{className:U.className,children:[b.jsx("input",{ref:Y,type:"file",multiple:_,accept:Z,onChange:se,className:"hidden"}),b.jsxs("div",{className:"space-y-2",children:[ee.length>0&&b.jsx("div",{className:"space-y-1",children:ee.map((w,te)=>b.jsxs("div",{className:"flex items-center justify-between gap-2 p-2 bg-gray-50 rounded-md border border-gray-200",children:[b.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[b.jsx(KT,{className:"size-4 text-gray-500 flex-shrink-0"}),b.jsx("span",{className:"text-sm truncate",children:w.name||w.original_name||"File"}),w.size&&b.jsxs("span",{className:"text-xs text-gray-500",children:["(",(w.size/1024).toFixed(1)," KB)"]})]}),b.jsx(ae.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>J(te),className:"h-6 w-6 p-0",children:b.jsx(Gr,{className:"size-3"})})]},te))}),b.jsxs(ae.Button,{type:"button",variant:"outline",onClick:()=>Y.current?.click(),className:"w-full",children:[b.jsx(Vb,{className:"size-4 mr-2"}),ee.length>0?"Add More Files":"Upload File"]})]})]})}const yE=Object.freeze(Object.defineProperty({__proto__:null,FileField:mE},Symbol.toStringTag,{value:"Module"}));function nS({value:y,onChange:R,field:L,readonly:S,...U}){const Y=me.useRef(null),V=L||U.schema,_=V?.multiple||!1,Z=V?.accept?V.accept.join(","):"image/*";if(S){if(!y)return b.jsx("span",{className:"text-sm",children:"-"});const w=Array.isArray(y)?y:[y];return b.jsx("div",{className:"flex flex-wrap gap-2",children:w.map((te,oe)=>b.jsx("img",{src:te.url||"",alt:te.name||`Image ${oe+1}`,className:"size-20 rounded-md object-cover border border-gray-200"},oe))})}const ee=y?Array.isArray(y)?y:[y]:[],se=w=>{const te=Array.from(w.target.files||[]);if(te.length===0)return;const oe=te.map(Se=>({name:Se.name,original_name:Se.name,size:Se.size,mime_type:Se.type,url:URL.createObjectURL(Se)}));R(_?[...ee,...oe]:oe[0])},J=w=>{if(_){const te=ee.filter((oe,Se)=>Se!==w);R(te.length>0?te:null)}else R(null)};return b.jsxs("div",{className:U.className,children:[b.jsx("input",{ref:Y,type:"file",multiple:_,accept:Z,onChange:se,className:"hidden"}),b.jsxs("div",{className:"space-y-2",children:[ee.length>0&&b.jsx("div",{className:"grid grid-cols-4 gap-2",children:ee.map((w,te)=>b.jsxs("div",{className:"relative group",children:[b.jsx("img",{src:w.url||"",alt:w.name||`Image ${te+1}`,className:"size-20 rounded-md object-cover border border-gray-200"}),b.jsx(ae.Button,{type:"button",variant:"destructive",size:"sm",onClick:()=>J(te),className:"absolute top-1 right-1 h-6 w-6 p-0 opacity-0 group-hover:opacity-100 transition-opacity",children:b.jsx(Gr,{className:"size-3"})})]},te))}),b.jsxs(ae.Button,{type:"button",variant:"outline",onClick:()=>Y.current?.click(),className:"w-full",children:[b.jsx($T,{className:"size-4 mr-2"}),ee.length>0?"Add More Images":"Upload Image"]})]})]})}const pE=Object.freeze(Object.defineProperty({__proto__:null,ImageField:nS},Symbol.toStringTag,{value:"Module"}));function gE({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema,V=y&&typeof y=="object"?`${y.latitude||0}, ${y.longitude||0}`:"";if(S)return b.jsx("span",{className:"text-sm",children:V||"-"});const _=Z=>{const ee=Z.target.value;if(!ee.trim()){R(null);return}const se=ee.split(",").map(J=>J.trim());if(se.length===2){const J=parseFloat(se[0]),w=parseFloat(se[1]);!isNaN(J)&&!isNaN(w)&&R({latitude:J,longitude:w})}};return b.jsx(ae.Input,{type:"text",value:V,onChange:_,placeholder:Y?.placeholder||"latitude, longitude",disabled:S||U.disabled,className:U.className})}const vE=Object.freeze(Object.defineProperty({__proto__:null,LocationField:gE},Symbol.toStringTag,{value:"Module"}));function bE({value:y,field:R,...L}){const U=(R||L.schema)?.return_type||"text";let Y="-";return y!=null&&(U==="number"||U==="currency"?Y=typeof y=="number"?y.toFixed(2):String(y):U==="boolean"?Y=y?"Yes":"No":U==="date"?Y=new Date(y).toLocaleDateString():Y=String(y)),b.jsx("span",{className:`text-sm font-mono text-gray-700 ${L.className||""}`,children:Y})}const SE=Object.freeze(Object.defineProperty({__proto__:null,FormulaField:bE},Symbol.toStringTag,{value:"Module"}));function TE({value:y,field:R,...L}){const U=(R||L.schema)?.summary_type||"count";let Y="-";return y!=null&&(U==="count"?Y=String(y):["sum","avg","min","max"].includes(U)?Y=typeof y=="number"?y.toFixed(2):String(y):Y=String(y)),b.jsx("span",{className:`text-sm font-medium tabular-nums text-gray-700 ${L.className||""}`,children:Y})}const EE=Object.freeze(Object.defineProperty({__proto__:null,SummaryField:TE},Symbol.toStringTag,{value:"Module"}));function AE({value:y,field:R,...L}){const S=y!=null?String(y):"-";return b.jsx("span",{className:`text-sm font-mono text-gray-700 ${L.className||""}`,children:S})}const zE=Object.freeze(Object.defineProperty({__proto__:null,AutoNumberField:AE},Symbol.toStringTag,{value:"Module"}));function xE({value:y,onChange:R,field:L,readonly:S,...U}){const V=(L||U.schema)?.multiple||!1;if(S){if(!y)return b.jsx("span",{className:"text-sm",children:"-"});const ee=Array.isArray(y)?y:[y];return b.jsxs("div",{className:"flex -space-x-2",children:[ee.slice(0,3).map((se,J)=>{const w=se.name||se.username||"User",te=w.split(" ").map(oe=>oe[0]).join("").toUpperCase().slice(0,2);return b.jsx(ae.Avatar,{className:"size-8 border-2 border-white",title:w,children:b.jsx(ae.AvatarFallback,{className:"bg-blue-500 text-white text-xs",children:te})},J)}),ee.length>3&&b.jsx(ae.Avatar,{className:"size-8 border-2 border-white",children:b.jsxs(ae.AvatarFallback,{className:"bg-gray-200 text-gray-600 text-xs",children:["+",ee.length-3]})})]})}const _=y?Array.isArray(y)?y:[y]:[],Z=ee=>{if(V){const se=_.filter((J,w)=>w!==ee);R(se.length>0?se:null)}else R(null)};return b.jsxs("div",{className:U.className,children:[_.length>0&&b.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:_.map((ee,se)=>{const J=ee.name||ee.username||"User",w=J.split(" ").map(te=>te[0]).join("").toUpperCase().slice(0,2);return b.jsxs(ae.Badge,{variant:"outline",className:"gap-2 pr-1",children:[b.jsx(ae.Avatar,{className:"size-5",children:b.jsx(ae.AvatarFallback,{className:"bg-blue-500 text-white text-xs",children:w})}),b.jsx("span",{className:"text-sm",children:J}),b.jsx("button",{type:"button",onClick:()=>Z(se),className:"ml-1 rounded-full hover:bg-gray-200 p-0.5",children:b.jsx(Gr,{className:"size-3"})})]},se)})}),b.jsx("div",{className:"text-sm text-gray-500 italic",children:"User selection component requires integration with user management system"})]})}const uS=Object.freeze(Object.defineProperty({__proto__:null,UserField:xE},Symbol.toStringTag,{value:"Module"}));function OE({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema,V=()=>y==null?"":JSON.stringify(y,null,2),[_,Z]=me.useState(V),[ee,se]=me.useState(null);if(me.useEffect(()=>{try{if(y==null){Z("");return}const w=_?JSON.parse(_):null;JSON.stringify(w)!==JSON.stringify(y)&&Z(JSON.stringify(y,null,2))}catch{Z(JSON.stringify(y,null,2))}},[y,_]),S)return y?b.jsx("pre",{className:ae.cn("text-xs bg-gray-50 p-2 rounded border border-gray-200 overflow-auto max-h-40",U.className),children:JSON.stringify(y,null,2)}):b.jsx("span",{className:"text-sm",children:"-"});const J=w=>{const te=w.target.value;if(Z(te),se(null),!te.trim()){R(null);return}try{const oe=JSON.parse(te);R(oe)}catch{se("Invalid JSON")}};return b.jsxs("div",{className:"space-y-1",children:[b.jsx(ae.Textarea,{value:_,onChange:J,placeholder:Y?.placeholder||`{
|
|
228
|
+
"key": "value"
|
|
229
|
+
}`,disabled:S||U.disabled,className:ae.cn("font-mono text-xs",ee?"border-red-500 focus-visible:ring-red-500":"",U.className),rows:6}),ee&&b.jsx("p",{className:"text-xs text-red-500",children:ee})]})}const DE=Object.freeze(Object.defineProperty({__proto__:null,ObjectField:OE},Symbol.toStringTag,{value:"Module"}));function CE({value:y,field:R,...L}){const U=(R||L.schema)?.dimensions||(Array.isArray(y)?y.length:0);if(!y||!Array.isArray(y))return b.jsx("span",{className:"text-sm text-gray-500",children:"-"});const Y=y.slice(0,3).map(V=>{const _=Number(V);return isNaN(_)?"0":_.toFixed(4)}).join(", ");return b.jsxs("div",{className:`text-sm ${L.className||""}`,children:[b.jsxs("span",{className:"font-mono text-gray-700",children:["[",Y,"...]"]}),b.jsxs("span",{className:"text-gray-500 ml-2",children:["(",U,"D)"]})]})}const ME=Object.freeze(Object.defineProperty({__proto__:null,VectorField:CE},Symbol.toStringTag,{value:"Module"}));function _E({value:y,field:R,readonly:L,...S}){const Y=(R||S.schema)?.columns||[];return!y||!Array.isArray(y)?b.jsx("span",{className:"text-sm text-gray-500",children:"-"}):L?b.jsx("div",{className:ae.cn("text-sm",S.className),children:b.jsxs("span",{className:"text-gray-700",children:[y.length," rows"]})}):b.jsxs("div",{className:ae.cn("border border-gray-200 rounded-md overflow-hidden",S.className),children:[b.jsx("div",{className:"overflow-auto max-h-60",children:b.jsxs("table",{className:"w-full text-sm",children:[b.jsx("thead",{className:"bg-gray-50 border-b border-gray-200",children:b.jsx("tr",{children:Y.map((V,_)=>b.jsx("th",{className:"px-3 py-2 text-left text-xs font-medium text-gray-700",children:V.label||V.name},_))})}),b.jsx("tbody",{className:"divide-y divide-gray-200",children:y.slice(0,5).map((V,_)=>b.jsx("tr",{className:"hover:bg-gray-50",children:Y.map((Z,ee)=>b.jsx("td",{className:"px-3 py-2 text-gray-900",children:V[Z.name]!=null?String(V[Z.name]):"-"},ee))},_))})]})}),y.length>5&&b.jsxs("div",{className:"bg-gray-50 px-3 py-2 text-xs text-gray-500 border-t border-gray-200",children:["Showing 5 of ",y.length," rows"]})]})}const RE=Object.freeze(Object.defineProperty({__proto__:null,GridField:_E},Symbol.toStringTag,{value:"Module"}));function iS({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema;return S?b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("div",{className:"w-6 h-6 rounded border border-input",style:{backgroundColor:y||"#000000"}}),b.jsx("span",{className:"text-sm",children:y||"-"})]}):b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("input",{type:"color",value:y||"#000000",onChange:V=>R(V.target.value),disabled:S||U.disabled,className:"w-10 h-10 rounded border border-input cursor-pointer"}),b.jsx(ae.Input,{type:"text",value:y||"",onChange:V=>R(V.target.value),placeholder:Y?.placeholder||"#000000",disabled:S||U.disabled,className:U.className,pattern:"^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"})]})}const NE=Object.freeze(Object.defineProperty({__proto__:null,ColorField:iS},Symbol.toStringTag,{value:"Module"}));function cS({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema,V=Y?.min??0,_=Y?.max??100,Z=Y?.step??1;return S?b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("span",{className:"text-sm font-medium",children:y??V}),b.jsxs("span",{className:"text-xs text-muted-foreground",children:["/ ",_]})]}):b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsx(ae.Slider,{value:[y??V],onValueChange:ee=>R(ee[0]),min:V,max:_,step:Z,disabled:S||U.disabled,className:U.className}),b.jsx("span",{className:"text-sm font-medium w-12 text-right",children:y??V})]})}const jE=Object.freeze(Object.defineProperty({__proto__:null,SliderField:cS},Symbol.toStringTag,{value:"Module"}));function oS({value:y,onChange:R,field:L,readonly:S,className:U,...Y}){const _=(L||Y.schema)?.max??5,Z=y??0,[ee,se]=me.useState(null),J=ee!==null?ee:Z;return S?b.jsxs("div",{className:ae.cn("flex items-center gap-1",U),children:[Array.from({length:_},(w,te)=>b.jsx(wb,{className:`w-5 h-5 ${te<Z?"fill-yellow-400 text-yellow-400":"text-muted-foreground"}`},te)),b.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:[Z," / ",_]})]}):b.jsxs("div",{className:ae.cn("flex items-center gap-1",U),children:[Array.from({length:_},(w,te)=>b.jsx("button",{type:"button",onClick:()=>R(te+1),onMouseEnter:()=>se(te+1),onMouseLeave:()=>se(null),className:"focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded",disabled:S||Y.disabled,children:b.jsx(wb,{className:`w-5 h-5 transition-colors ${te<J?"fill-yellow-400 text-yellow-400 hover:fill-yellow-500 hover:text-yellow-500":"text-muted-foreground hover:text-yellow-400"}`})},te)),b.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:[Z," / ",_]})]})}const UE=Object.freeze(Object.defineProperty({__proto__:null,RatingField:oS},Symbol.toStringTag,{value:"Module"}));function fS({value:y,onChange:R,field:L,readonly:S,...U}){const Y=L||U.schema,V=Y?.language??"javascript";return S?b.jsx("pre",{className:ae.cn("text-sm bg-muted p-2 rounded overflow-x-auto border",U.className),children:b.jsx("code",{children:y||"-"})}):b.jsx(ae.Textarea,{value:y||"",onChange:_=>R(_.target.value),placeholder:Y?.placeholder||`// Write ${V} code here...`,disabled:S||U.disabled,className:ae.cn("font-mono text-sm",U.className),rows:12,spellCheck:!1})}const HE=Object.freeze(Object.defineProperty({__proto__:null,CodeField:fS},Symbol.toStringTag,{value:"Module"}));function sS({value:y,onChange:R,field:L,readonly:S,...U}){const[Y,V]=me.useState(!1),_=me.useRef(null),Z=L||U.schema,ee=w=>{const te=w.target.files?.[0];if(!te)return;if(!te.type.startsWith("image/")){console.error("Please select an image file");return}if(te.size>5*1024*1024){console.error("File size must be less than 5MB");return}const oe=new FileReader;oe.onloadend=()=>{R(oe.result)},oe.readAsDataURL(te)},se=()=>{R("")},J=()=>(Z?.defaultName||Z?.label||"User").split(" ").map(te=>te[0]).join("").toUpperCase().slice(0,2);return S?b.jsxs(ae.Avatar,{className:"w-16 h-16",children:[y&&b.jsx(ae.AvatarImage,{src:y,alt:Z?.label}),b.jsx(ae.AvatarFallback,{children:J()})]}):b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsxs("div",{className:"relative",onMouseEnter:()=>V(!0),onMouseLeave:()=>V(!1),children:[b.jsxs(ae.Avatar,{className:"w-16 h-16",children:[y&&b.jsx(ae.AvatarImage,{src:y,alt:Z?.label}),b.jsx(ae.AvatarFallback,{children:J()})]}),!S&&Y&&y&&b.jsx("button",{type:"button",onClick:se,className:"absolute -top-1 -right-1 bg-destructive text-destructive-foreground rounded-full p-1 hover:bg-destructive/90",children:b.jsx(Gr,{className:"w-3 h-3"})})]}),b.jsxs("div",{className:"flex flex-col gap-2",children:[b.jsx("input",{ref:_,type:"file",accept:"image/*",onChange:ee,className:"hidden"}),b.jsxs(ae.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>_.current?.click(),disabled:S||U.disabled,children:[b.jsx(Vb,{className:"w-4 h-4 mr-2"}),y?"Change":"Upload"," Avatar"]}),b.jsx("p",{className:"text-xs text-muted-foreground",children:"PNG, JPG up to 5MB"})]})]})}const BE=Object.freeze(Object.defineProperty({__proto__:null,AvatarField:sS},Symbol.toStringTag,{value:"Module"}));function qE({value:y,onChange:R,field:L,readonly:S,...U}){const Y=y||{},V=(Z,ee)=>{R({...Y,[Z]:ee})},_=Z=>[Z.street,Z.city,[Z.state,Z.zipCode].filter(Boolean).join(" "),Z.country].filter(Boolean).join(", ")||"-";return S?b.jsx("span",{className:"text-sm",children:_(Y)}):b.jsxs("div",{className:"space-y-3",children:[b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"street",className:"text-xs",children:"Street Address"}),b.jsx(ae.Input,{id:"street",type:"text",value:Y.street||"",onChange:Z=>V("street",Z.target.value),placeholder:"123 Main St",disabled:S||U.disabled,className:U.className})]}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"city",className:"text-xs",children:"City"}),b.jsx(ae.Input,{id:"city",type:"text",value:Y.city||"",onChange:Z=>V("city",Z.target.value),placeholder:"San Francisco",disabled:S||U.disabled})]}),b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"state",className:"text-xs",children:"State / Province"}),b.jsx(ae.Input,{id:"state",type:"text",value:Y.state||"",onChange:Z=>V("state",Z.target.value),placeholder:"CA",disabled:S||U.disabled})]})]}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"zipCode",className:"text-xs",children:"ZIP / Postal Code"}),b.jsx(ae.Input,{id:"zipCode",type:"text",value:Y.zipCode||"",onChange:Z=>V("zipCode",Z.target.value),placeholder:"94102",disabled:S||U.disabled})]}),b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"country",className:"text-xs",children:"Country"}),b.jsx(ae.Input,{id:"country",type:"text",value:Y.country||"",onChange:Z=>V("country",Z.target.value),placeholder:"United States",disabled:S||U.disabled})]})]})]})}const YE=Object.freeze(Object.defineProperty({__proto__:null,AddressField:qE},Symbol.toStringTag,{value:"Module"}));function GE({value:y,onChange:R,field:L,readonly:S,...U}){const[Y,V]=me.useState(!1),_=y||{},Z=(w,te)=>{R({..._,[w]:te?Number(te):void 0})},ee=()=>{if(!navigator.geolocation){console.error("Geolocation is not supported by this browser");return}V(!0),navigator.geolocation.getCurrentPosition(w=>{R({latitude:w.coords.latitude,longitude:w.coords.longitude,accuracy:w.coords.accuracy}),V(!1)},w=>{console.error("Error getting location:",w.message),V(!1)},{enableHighAccuracy:!0,timeout:5e3,maximumAge:0})},se=w=>!w.latitude||!w.longitude?"-":`${w.latitude.toFixed(6)}, ${w.longitude.toFixed(6)}`,J=()=>{if(!_.latitude||!_.longitude)return;const w=`https://www.google.com/maps?q=${_.latitude},${_.longitude}`;window.open(w,"_blank")};return S?b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(Yb,{className:"w-4 h-4 text-muted-foreground"}),b.jsx("span",{className:"text-sm",children:se(_)}),_.latitude&&_.longitude&&b.jsx(ae.Button,{type:"button",variant:"link",size:"sm",onClick:J,className:"p-0 h-auto",children:"View on map"})]}):b.jsxs("div",{className:"space-y-3",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsxs(ae.Button,{type:"button",variant:"outline",size:"sm",onClick:ee,disabled:S||Y,children:[b.jsx(QT,{className:"w-4 h-4 mr-2"}),Y?"Getting location...":"Use Current Location"]}),_.latitude&&_.longitude&&b.jsxs(ae.Button,{type:"button",variant:"link",size:"sm",onClick:J,children:[b.jsx(Yb,{className:"w-4 h-4 mr-2"}),"View on map"]})]}),b.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"latitude",className:"text-xs",children:"Latitude"}),b.jsx(ae.Input,{id:"latitude",type:"number",value:_.latitude??"",onChange:w=>Z("latitude",w.target.value),placeholder:"37.7749",disabled:S||U.disabled,step:"any",className:U.className})]}),b.jsxs("div",{children:[b.jsx(ae.Label,{htmlFor:"longitude",className:"text-xs",children:"Longitude"}),b.jsx(ae.Input,{id:"longitude",type:"number",value:_.longitude??"",onChange:w=>Z("longitude",w.target.value),placeholder:"-122.4194",disabled:S||U.disabled,step:"any"})]})]}),_.accuracy&&b.jsxs("p",{className:"text-xs text-muted-foreground",children:["Accuracy: ±",_.accuracy.toFixed(0),"m"]})]})}const wE=Object.freeze(Object.defineProperty({__proto__:null,GeolocationField:GE},Symbol.toStringTag,{value:"Module"}));function VE({value:y,onChange:R,readonly:L}){const S=me.useRef(null),[U,Y]=me.useState(!1),[V,_]=me.useState(!y);me.useEffect(()=>{if(y&&S.current){const te=S.current.getContext("2d");if(te){const oe=new Image;oe.onload=()=>{te.drawImage(oe,0,0),_(!1)},oe.src=y}}},[y]);const Z=w=>{if(L)return;Y(!0),_(!1);const te=S.current;if(!te)return;const oe=te.getContext("2d");if(!oe)return;const Se=te.getBoundingClientRect(),Pe="touches"in w?w.touches[0].clientX-Se.left:w.clientX-Se.left,ie="touches"in w?w.touches[0].clientY-Se.top:w.clientY-Se.top;oe.beginPath(),oe.moveTo(Pe,ie)},ee=w=>{if(!U||L)return;const te=S.current;if(!te)return;const oe=te.getContext("2d");if(!oe)return;const Se=te.getBoundingClientRect(),Pe="touches"in w?w.touches[0].clientX-Se.left:w.clientX-Se.left,ie="touches"in w?w.touches[0].clientY-Se.top:w.clientY-Se.top;oe.lineTo(Pe,ie),oe.strokeStyle="#000",oe.lineWidth=2,oe.lineCap="round",oe.lineJoin="round",oe.stroke()},se=()=>{if(!U)return;Y(!1);const w=S.current;if(!w)return;const te=w.toDataURL("image/png");R(te)},J=()=>{const w=S.current;if(!w)return;const te=w.getContext("2d");te&&(te.clearRect(0,0,w.width,w.height),_(!0),R(""))};return L&&y?b.jsx("div",{className:"border rounded p-2 bg-white",children:b.jsx("img",{src:y,alt:"Signature",className:"max-w-full h-auto"})}):L&&!y?b.jsx("span",{className:"text-sm text-muted-foreground",children:"No signature"}):b.jsxs("div",{className:"space-y-2",children:[b.jsx("div",{className:"border rounded bg-white",children:b.jsx("canvas",{ref:S,width:400,height:200,className:"w-full touch-none cursor-crosshair",onMouseDown:Z,onMouseMove:ee,onMouseUp:se,onMouseLeave:se,onTouchStart:Z,onTouchMove:ee,onTouchEnd:se})}),b.jsxs("div",{className:"flex justify-between items-center",children:[b.jsx("p",{className:"text-xs text-muted-foreground",children:V?"Sign above":"Signature captured"}),b.jsxs(ae.Button,{type:"button",variant:"outline",size:"sm",onClick:J,disabled:L||V,children:[b.jsx(LT,{className:"w-4 h-4 mr-2"}),"Clear"]})]})]})}const XE=Object.freeze(Object.defineProperty({__proto__:null,SignatureField:VE},Symbol.toStringTag,{value:"Module"}));function QE({value:y,onChange:R,field:L,readonly:S,...U}){const[Y,V]=me.useState(!1),_=L||U.schema,Z=se=>`https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(se)}`,ee=()=>{y&&navigator.clipboard.writeText(y)};return S?b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx("span",{className:"text-sm flex-1 truncate",children:y||"-"}),y&&b.jsxs(ae.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>V(!Y),children:[b.jsx(Gb,{className:"w-4 h-4 mr-2"}),Y?"Hide":"Show"," QR"]})]}):b.jsxs("div",{className:"space-y-3",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(ae.Input,{type:"text",value:y||"",onChange:se=>R(se.target.value),placeholder:_?.placeholder||"Enter text for QR code",disabled:S||U.disabled,className:U.className}),y&&b.jsxs(b.Fragment,{children:[b.jsx(ae.Button,{type:"button",variant:"outline",size:"sm",onClick:ee,children:b.jsx(XT,{className:"w-4 h-4"})}),b.jsx(ae.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>V(!Y),children:b.jsx(Gb,{className:"w-4 h-4"})})]})]}),Y&&y&&b.jsx("div",{className:"border rounded p-4 bg-white flex justify-center",children:b.jsx("img",{src:Z(y),alt:"QR Code",className:"w-48 h-48"})}),y&&b.jsxs("p",{className:"text-xs text-muted-foreground",children:["QR code contains: ",y.length," characters"]})]})}const LE=Object.freeze(Object.defineProperty({__proto__:null,QRCodeField:QE},Symbol.toStringTag,{value:"Module"}));function ZE({value:y,onChange:R,field:L,readonly:S,className:U,...Y}){const V=y||[],_=L||Y.schema,Z=()=>{const J={id:`new-${Date.now()}`,label:"New Related Record"};R([...V,J])},ee=J=>{R(V.filter(w=>w.id!==J))},se=J=>{console.log("View detail:",J)};return S?b.jsxs("div",{className:ae.cn("space-y-2",U),children:[V.length===0?b.jsx("span",{className:"text-sm text-muted-foreground",children:"No related records"}):V.map(J=>b.jsxs("div",{className:"flex items-center justify-between p-2 border rounded hover:bg-muted/50",children:[b.jsx("span",{className:"text-sm",children:J.label}),b.jsx(ae.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>se(J),children:b.jsx(qb,{className:"w-4 h-4"})})]},J.id)),b.jsxs("p",{className:"text-xs text-muted-foreground",children:[V.length," ",V.length===1?"record":"records"]})]}):b.jsxs("div",{className:ae.cn("space-y-3",U),children:[b.jsxs("div",{className:"space-y-2",children:[V.map(J=>b.jsxs("div",{className:"flex items-center justify-between gap-2 p-2 border rounded hover:bg-muted/50",children:[b.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[b.jsx(ae.Badge,{variant:"outline",children:J.id}),b.jsx("span",{className:"text-sm flex-1",children:J.label})]}),b.jsxs("div",{className:"flex items-center gap-1",children:[b.jsx(ae.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>se(J),children:b.jsx(qb,{className:"w-4 h-4"})}),b.jsx(ae.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>ee(J.id),disabled:Y.disabled,children:b.jsx(Gr,{className:"w-4 h-4"})})]})]},J.id)),V.length===0&&b.jsx("div",{className:"text-sm text-muted-foreground text-center py-4 border border-dashed rounded bg-muted/20",children:"No related records"})]}),b.jsxs(ae.Button,{type:"button",variant:"outline",className:"w-full",onClick:Z,disabled:Y.disabled,children:[b.jsx(FT,{className:"w-4 h-4 mr-2"}),"Add ",_?.label||"Record"]})]})}const JE=Object.freeze(Object.defineProperty({__proto__:null,MasterDetailField:ZE},Symbol.toStringTag,{value:"Module"}));function KE({value:y,field:R}){const S=R.options||[];if(!y)return b.jsx("span",{children:"-"});const U=Z=>{const ee={gray:"bg-gray-100 text-gray-800 border-gray-300",red:"bg-red-100 text-red-800 border-red-300",orange:"bg-orange-100 text-orange-800 border-orange-300",yellow:"bg-yellow-100 text-yellow-800 border-yellow-300",green:"bg-green-100 text-green-800 border-green-300",blue:"bg-blue-100 text-blue-800 border-blue-300",indigo:"bg-indigo-100 text-indigo-800 border-indigo-300",purple:"bg-purple-100 text-purple-800 border-purple-300",pink:"bg-pink-100 text-pink-800 border-pink-300"};return ee[Z||"blue"]||ee.blue};if(Array.isArray(y))return b.jsx("div",{className:"flex flex-wrap gap-1",children:y.map((Z,ee)=>{const se=S.find(te=>te.value===Z),J=se?.label||Z,w=U(se?.color);return b.jsx(ae.Badge,{variant:"outline",className:w,children:J},ee)})});const Y=S.find(Z=>Z.value===y),V=Y?.label||y,_=U(Y?.color);return b.jsx(ae.Badge,{variant:"outline",className:_,children:V})}function rS({value:y}){if(!y)return b.jsx("span",{children:"-"});if(Array.isArray(y))return b.jsx("div",{className:"flex flex-wrap gap-1",children:y.map((R,L)=>{const S=R.name||R.label||R._id||String(R);return b.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800",children:S},L)})});if(typeof y=="object"&&y!==null){const R=y.name||y.label||y._id||"[Object]";return b.jsx("span",{className:"truncate",children:R})}return b.jsx("span",{className:"truncate",children:String(y)})}const $E=new Map;function Kv(y,R){$E.set(y,R)}Kv("lookup",rS),Kv("master_detail",rS),Kv("select",KE);const dS={text:()=>Promise.resolve().then(()=>WT).then(y=>({default:y.TextField})),textarea:()=>Promise.resolve().then(()=>cE).then(y=>({default:y.TextAreaField})),number:()=>Promise.resolve().then(()=>IT).then(y=>({default:y.NumberField})),boolean:()=>Promise.resolve().then(()=>PT).then(y=>({default:y.BooleanField})),select:()=>Promise.resolve().then(()=>eE).then(y=>({default:y.SelectField})),date:()=>Promise.resolve().then(()=>tE).then(y=>({default:y.DateField})),datetime:()=>Promise.resolve().then(()=>sE).then(y=>({default:y.DateTimeField})),time:()=>Promise.resolve().then(()=>rE).then(y=>({default:y.TimeField})),email:()=>Promise.resolve().then(()=>lE).then(y=>({default:y.EmailField})),phone:()=>Promise.resolve().then(()=>aE).then(y=>({default:y.PhoneField})),url:()=>Promise.resolve().then(()=>nE).then(y=>({default:y.UrlField})),currency:()=>Promise.resolve().then(()=>iE).then(y=>({default:y.CurrencyField})),percent:()=>Promise.resolve().then(()=>dE).then(y=>({default:y.PercentField})),password:()=>Promise.resolve().then(()=>hE).then(y=>({default:y.PasswordField})),markdown:()=>Promise.resolve().then(()=>Ib).then(y=>({default:y.RichTextField})),html:()=>Promise.resolve().then(()=>Ib).then(y=>({default:y.RichTextField})),lookup:()=>Promise.resolve().then(()=>fE).then(y=>({default:y.LookupField})),master_detail:()=>Promise.resolve().then(()=>JE).then(y=>({default:y.MasterDetailField})),file:()=>Promise.resolve().then(()=>yE).then(y=>({default:y.FileField})),image:()=>Promise.resolve().then(()=>pE).then(y=>({default:y.ImageField})),location:()=>Promise.resolve().then(()=>vE).then(y=>({default:y.LocationField})),formula:()=>Promise.resolve().then(()=>SE).then(y=>({default:y.FormulaField})),summary:()=>Promise.resolve().then(()=>EE).then(y=>({default:y.SummaryField})),auto_number:()=>Promise.resolve().then(()=>zE).then(y=>({default:y.AutoNumberField})),user:()=>Promise.resolve().then(()=>uS).then(y=>({default:y.UserField})),owner:()=>Promise.resolve().then(()=>uS).then(y=>({default:y.UserField})),object:()=>Promise.resolve().then(()=>DE).then(y=>({default:y.ObjectField})),vector:()=>Promise.resolve().then(()=>ME).then(y=>({default:y.VectorField})),grid:()=>Promise.resolve().then(()=>RE).then(y=>({default:y.GridField})),color:()=>Promise.resolve().then(()=>NE).then(y=>({default:y.ColorField})),slider:()=>Promise.resolve().then(()=>jE).then(y=>({default:y.SliderField})),rating:()=>Promise.resolve().then(()=>UE).then(y=>({default:y.RatingField})),code:()=>Promise.resolve().then(()=>HE).then(y=>({default:y.CodeField})),avatar:()=>Promise.resolve().then(()=>BE).then(y=>({default:y.AvatarField})),address:()=>Promise.resolve().then(()=>YE).then(y=>({default:y.AddressField})),geolocation:()=>Promise.resolve().then(()=>wE).then(y=>({default:y.GeolocationField})),signature:()=>Promise.resolve().then(()=>XE).then(y=>({default:y.SignatureField})),qrcode:()=>Promise.resolve().then(()=>LE).then(y=>({default:y.QRCodeField}))};function FE(y){const R=dS[y];if(!R){console.warn(`Unknown field type: ${y}`);return}const L=me.lazy(R);Xv.ComponentRegistry.register(y,L,{namespace:"field"})}function kE(){Object.keys(dS).forEach(y=>{FE(y)})}kE();const WE={text:Xb,textarea:Wb,number:Qb,currency:kb,percent:lS,boolean:Lb,select:Zb,date:Jb,datetime:eS,time:tS,email:Kb,phone:$b,url:Fb,password:aS,color:iS,rating:oS,image:nS,avatar:sS,lookup:Pb,slider:cS,code:fS};function $v(y){return WE[y]||null}class IE{eGui;root=null;init(R){const{value:L,field:S}=R,U=$v(S.type);this.eGui=document.createElement("div"),this.eGui.className="field-widget-cell",U?(this.root=Ub.createRoot(this.eGui),this.root.render(b.jsx(U,{value:L,onChange:()=>{},field:S,readonly:!0}))):this.eGui.textContent=L!=null?String(L):""}getGui(){return this.eGui}refresh(R){const{value:L,field:S}=R,U=$v(S.type);return U&&this.root?(this.root.render(b.jsx(U,{value:L,onChange:()=>{},field:S,readonly:!0})),!0):this.eGui?(this.eGui.textContent=L!=null?String(L):"",!0):!1}destroy(){this.root&&this.root.unmount()}}class PE{eGui;root=null;currentValue;params;init(R){this.params=R,this.currentValue=R.value;const{field:L}=R,S=$v(L.type);if(this.eGui=document.createElement("div"),this.eGui.className="field-widget-editor",S)this.root=Ub.createRoot(this.eGui),this.root.render(b.jsx(S,{value:this.currentValue,onChange:U=>{this.currentValue=U},field:L,readonly:!1}));else{const U=document.createElement("input");U.value=this.currentValue!=null?String(this.currentValue):"",U.className="ag-input-field-input ag-text-field-input",U.addEventListener("input",Y=>{this.currentValue=Y.target.value}),this.eGui.appendChild(U),setTimeout(()=>U.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)}}function eA(y){return class extends IE{init(R){super.init({...R,field:y})}refresh(R){return super.refresh({...R,field:y})}}}function tA(y){return class extends PE{init(R){super.init({...R,field:y})}}}function lA({objectName:y,dataSource:R,fields:L,fieldNames:S,filters:U,sort:Y,pageSize:V=10,pagination:_=!0,domLayout:Z="normal",animateRows:ee=!0,rowSelection:se,theme:J="quartz",height:w=500,className:te="",editable:oe=!1,editType:Se,singleClickEdit:Pe=!1,stopEditingWhenCellsLoseFocus:ie=!0,exportConfig:Be,statusBar:st,callbacks:we,columnConfig:Et,enableRangeSelection:_t=!1,enableCharts:it=!1,contextMenu:Oe}){const Ve=me.useRef(null),[ye,ht]=me.useState(!0),[qe,_e]=me.useState(null),[qt,Ft]=me.useState(null),[M,k]=me.useState([]);me.useEffect(()=>{if(!R){_e(new Error("DataSource is required")),ht(!1);return}(async()=>{try{ht(!0),_e(null);const Ze=await R.getObjectSchema(y);Ft(Ze)}catch(Ze){const Yt=Ze instanceof Error?Ze:new Error(String(Ze));_e(Yt),we?.onDataError?.(Yt)}finally{ht(!1)}})()},[y,R,we]),me.useEffect(()=>{if(!R||!qt)return;(async()=>{try{ht(!0),_e(null);const Ze={$top:V,$skip:0};U&&(Ze.$filter=U),Y&&(Ze.$orderby=Y);const Yt=await R.find(y,Ze);k(Yt.data||[]),we?.onDataLoaded?.(Yt.data||[])}catch(Ze){const Yt=Ze instanceof Error?Ze:new Error(String(Ze));_e(Yt),we?.onDataError?.(Yt)}finally{ht(!1)}})()},[y,R,qt,U,Y,V,we]);const ne=me.useMemo(()=>{if(!qt?.fields)return[];const le=L||Object.values(qt.fields);return(S?le.filter(Yt=>S.includes(Yt.name)):le).map(Yt=>{const Gt={field:Yt.name,headerName:Yt.label||Yt.name,sortable:Yt.sortable!==!1,filter:aA(Yt),editable:oe&&!Yt.readonly};return Et&&(Et.resizable!==void 0&&(Gt.resizable=Et.resizable),Et.sortable!==void 0&&Gt.sortable===void 0&&(Gt.sortable=Et.sortable)),nA(Gt,Yt),Gt})},[qt,L,S,oe,Et]),be=me.useMemo(()=>{if(!st?.enabled)return;const le=st.aggregations||["count","sum","avg"],Ze=[];return le.includes("count")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["count"]}}),le.includes("sum")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["sum"]}}),le.includes("avg")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["avg"]}}),le.includes("min")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["min"]}}),le.includes("max")&&Ze.push({statusPanel:"agAggregationComponent",statusPanelParams:{aggFuncs:["max"]}}),Ze},[st]),ze=me.useCallback(()=>{if(!Ve.current?.api)return;const le={fileName:Be?.fileName||`${y}-export.csv`,skipColumnHeaders:Be?.skipColumnHeaders||!1,allColumns:Be?.allColumns||!1,onlySelected:Be?.onlySelected||!1};if(Ve.current.api.exportDataAsCsv(le),we?.onExport){const Ze=Be?.onlySelected?Ve.current.api.getSelectedRows():M;we.onExport(Ze||[],"csv")}},[Be,we,M,y]),K=me.useCallback(le=>{if(!Oe?.enabled)return[];const Ze=[];return(Oe.items||["copy","copyWithHeaders","separator","export"]).forEach(Gt=>{Gt==="export"?Ze.push({name:"Export CSV",icon:"<span>📥</span>",action:()=>ze()}):Gt==="autoSizeAll"?Ze.push({name:"Auto-size All Columns",action:()=>{Ve.current?.api&&Ve.current.api.autoSizeAllColumns()}}):Gt==="resetColumns"?Ze.push({name:"Reset Columns",action:()=>{Ve.current?.api&&Ve.current.api.resetColumnState()}}):Ze.push(Gt)}),Oe.customItems&&(Ze.length>0&&Ze.push("separator"),Oe.customItems.forEach(Gt=>{Ze.push({name:Gt.name,disabled:Gt.disabled,action:()=>{we?.onContextMenuAction&&we.onContextMenuAction(Gt.action,le.node?.data)}})})),Ze},[Oe,ze,we]),de=me.useCallback(le=>{we?.onCellClicked?.(le)},[we]),pe=me.useCallback(le=>{we?.onRowClicked?.(le)},[we]),ue=me.useCallback(le=>{we?.onSelectionChanged?.(le)},[we]),Ee=me.useCallback(async le=>{if(we?.onCellValueChanged?.(le),R&&le.data&&le.data.id)try{await R.update(y,le.data.id,{[le.colDef.field]:le.newValue})}catch(Ze){console.error("Failed to update record:",Ze),le.node.setDataValue(le.colDef.field,le.oldValue)}},[we,R,y]),Al=me.useCallback(le=>{Ve.current=le},[]),ke=me.useMemo(()=>({pagination:_,paginationPageSize:V,domLayout:Z,animateRows:ee,rowSelection:se,editType:Se,singleClickEdit:Pe,stopEditingWhenCellsLoseFocus:ie,statusBar:be?{statusPanels:be}:void 0,enableRangeSelection:_t,enableCharts:it,getContextMenuItems:Oe?.enabled?K:void 0,suppressCellFocus:!oe,enableCellTextSelection:!0,ensureDomOrder:!0,onCellClicked:de,onRowClicked:pe,onSelectionChanged:ue,onCellValueChanged:Ee,onGridReady:Al}),[_,V,Z,ee,se,Se,Pe,ie,be,_t,it,Oe,K,oe,de,pe,ue,Ee,Al]),Jl=me.useMemo(()=>({height:typeof w=="number"?`${w}px`:w,width:"100%"}),[w]),ic=[`ag-theme-${J}`,"rounded-xl","border","border-border","overflow-hidden","shadow-lg",te].filter(Boolean).join(" ");return ye?b.jsx("div",{className:"flex items-center justify-center",style:Jl,children:b.jsxs("div",{className:"text-muted-foreground",children:["Loading ",y,"..."]})}):qe?b.jsx("div",{className:"flex items-center justify-center",style:Jl,children:b.jsxs("div",{className:"text-destructive",children:["Error loading data: ",qe.message]})}):b.jsxs("div",{className:"object-aggrid-container",children:[Be?.enabled&&b.jsx("div",{className:"mb-2 flex gap-2",children:b.jsx("button",{onClick:ze,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"})}),b.jsx("div",{className:ic,style:Jl,children:b.jsx(Eb.AgGridReact,{ref:Ve,rowData:M,columnDefs:ne,gridOptions:ke})})]})}function aA(y){return y.filterable===!1?!1:RT[y.type]||"agTextColumnFilter"}function nA(y,R){if(["text","textarea","number","currency","percent","boolean","select","date","datetime","time","email","phone","url","password","color","rating","image","avatar","lookup","slider","code"].includes(R.type))y.cellRenderer=eA(R),y.editable&&(y.cellEditor=tA(R),["date","datetime","select","lookup","color"].includes(R.type)&&(y.cellEditorPopup=!0));else switch(R.type){case"master_detail":y.valueFormatter=S=>S.value?typeof S.value=="object"?S.value.name||S.value.label||S.value.id||"":String(S.value):"";break;case"object":y.cellRenderer=()=>{const S=document.createElement("span");return S.className="text-gray-500 italic",S.textContent="[Object]",S};break;case"vector":y.cellRenderer=()=>{const S=document.createElement("span");return S.className="text-gray-500 italic",S.textContent="[Vector]",S};break;case"grid":y.cellRenderer=()=>{const S=document.createElement("span");return S.className="text-gray-500 italic",S.textContent="[Grid]",S};break;default:y.valueFormatter=S=>S.value!=null?String(S.value):""}}const uA=Object.freeze(Object.defineProperty({__proto__:null,default:lA},Symbol.toStringTag,{value:"Module"}));bn.AgGridRenderer=Qv,bn.ObjectAgGridRenderer=Lv,bn.aggridComponents=CT,Object.defineProperty(bn,Symbol.toStringTag,{value:"Module"})}));
|