@guiexpert/preact-table 0.0.1

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/index.js ADDED
@@ -0,0 +1,227 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ZD=require("preact/jsx-runtime"),ZR=require("preact");class vC{constructor(c=-1,p=-1,S=-1,R=-1,T,C,Y,B=0,K=0,ge=0,J=""){this.rowIndex=c,this.rowTop=p,this.columnIndex=S,this.columnLeft=R,this.areaIdent=T,this.sideIdent=C,this.originalEvent=Y,this.clickCount=B,this.draggingX=K,this.draggingY=ge,this.action=J}clone(){return new vC(this.rowIndex,this.rowTop,this.columnIndex,this.columnLeft,this.areaIdent,this.sideIdent,this.originalEvent,this.clickCount,this.draggingX,this.draggingY,this.action)}}class $s{constructor(c=">",p="",S=[]){this.content=c,this.style=p,this.classes=S}}class uw{constructor(c=new $s(">","transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",["gt-tree-arrow-expanded"]),p=new $s(">","",["ge-tree-arrow-collapsed"]),S=new $s(">","color:transparent;",["gt-tree-arrow-hidden"]),R=new $s("↕","",["gt-tree-arrow-expanded-all"])){this.arrowExpanded=c,this.arrowCollapsed=p,this.arrowPlaceholder=S,this.arrowExpandCollapseAll=R}}class sw{constructor(c=new $s("↑","",["ge-header-sorted-asc"]),p=new $s("↓","",["ge-header-sorted-desc"]),S=new $s("↑","color:transparent;",[])){this.iconAsc=c,this.iconDesc=p,this.iconPlaceholder=S}}class JD{constructor(c){this.domService=c}setStyle(c,p,S){return this.domService.setStyle(c,p,S),c}applyStyle(c,p){for(const S in p)this.domService.setStyle(c,S,p[S]);return c}applyDisplayNoneStyle(c){return this.domService.setStyle(c,"display","none"),c}applyDisplayBlockStyle(c){return this.domService.setStyle(c,"display","block"),c}applyStyleInPx(c,p){return Object.entries(p).forEach(([S,R])=>this.domService.setStyle(c,S,R+"px")),c}applyStylePosistionRelative(c){return this.domService.setStyle(c,"position","relative"),this.domService.setStyle(c,"overflow","clip"),c}applyStylePosistionAbsolute(c){return this.domService.setStyle(c,"position","absolute"),c}applyStyleFullSize(c){return this.domService.setStyle(c,"width","100%"),this.domService.setStyle(c,"height","100%"),c}applyStyleOverflowAuto(c="auto",p="auto",S){return this.domService.setStyle(S,"overflow-x",c),this.domService.setStyle(S,"overflow-y",p),S}applyStyleNoPadding(c){return this.domService.setStyle(c,"padding","0"),this.domService.setStyle(c,"margin","0"),this.domService.setStyle(c,"border","0"),c}appendRelativeChildDiv(c){const p=this.applyStylePosistionRelative(this.applyStyleFullSize(this.applyStyleNoPadding(this.domService.createElement("div"))));return this.domService.appendChild(c,p),this.applyStylePosistionAbsolute(c),{parent:c,child:p,cache:{}}}appendText(c,p){const S=this.domService.createText(p);return this.domService.appendChild(c,S),S}addClass(c,p){return c.includes(" ")?c.split(" ").forEach(S=>this.domService.addClass(p,S)):this.domService.addClass(p,c),p}addClasses(c,p){if(c)for(const S of c)this.domService.addClass(p,S);return p}setAttribute(c,p,S){return p&&S&&this.domService.setAttribute(c,p,S),c}createAreaDivWithClass(c,p,S,R){const T=this.domService.createElement("div");return this.addClass(c,T),this.domService.setAttribute(T,"data-area",S),this.domService.setAttribute(T,"data-side",R),this.domService.appendChild(p,T),T}createDivWithClass(c,p){const S=this.domService.createElement("div");return this.addClass(c,S),this.domService.appendChild(p,S),S}addRowDiv(c,p,S=-1,R,T=""){const C=p.index??-1,Y=this.getDivOrCreateDiv(C,c);this.domService.addClass(Y,"ge-table-row-div"),this.domService.addClass(Y,`ge-table-row-div-${p.index}`);const B=(p?.index??0)%2===0?"even":"odd";if(this.domService.addClass(Y,`ge-table-row-${B}`),this.domService.setStyle(Y,"display","clip"),this.domService.setStyle(Y,"position","absolute"),this.domService.setStyle(Y,"left",`${p.left}px`),this.domService.setStyle(Y,"top",`${p.top}px`),this.domService.setStyle(Y,"width",`${p.width}px`),this.domService.setStyle(Y,"height",`${p.height}px`),this.domService.setAttribute(Y,"data-row-index",`${S}`),this.domService.setAttribute(Y,"data-area",`${R}`),T){const K=this.domService.createText(T);this.domService.appendChild(Y,K)}return this.domService.appendChild(c.child,Y),Y}addColumnDiv(c,p,S=-1,R=-1,T,C="",Y,B,K=void 0,ge){const J=B?.treeOptions,ae=B?.showCheckboxWihoutExtraColumn,X=this.domService.createElement("div");this.domService.addClass(X,"ge-table-col-div"),this.domService.addClass(X,`ge-table-col-div-${p.index}`),this.domService.setAttribute(X,"data-col-index",`${p.index}`),this.domService.setAttribute(X,"data-row-index",`${S}`),this.domService.setAttribute(X,"data-area",`${T}`);const le=(p?.index??0)%2===0?"even":"odd";if(this.domService.addClass(X,`ge-table-col-${le}`),this.domService.setStyle(X,"display","clip"),this.domService.setStyle(X,"position","absolute"),this.domService.setStyle(X,"left",`${p.left}px`),this.domService.setStyle(X,"top",`${p.top}px`),this.domService.setStyle(X,"width",`${p.width}px`),this.domService.setStyle(X,"height",`${p.height}px`),Y&&Y!=="none"&&(this.domService.addClass(X,"ge-table-col-tree"),this.addArrowDiv(X,Y,J,S,R,T)),ae&&R===0&&K&&this.addCheckboxToDiv(X,K,T,S),C){const _e=Y!=="none"&&R===0;this.addLabelDiv(X,C,_e,S,R,T)}return ge&&this.addSortedIcon(X,ge,B?.sortedOptions,R),this.domService.appendChild(c,X),X}addCheckboxToDiv(c,p,S,R){const T=this.domService.createElement("div"),C=p==="full"?"checked":"";return T.innerHTML=`
2
+ <input
3
+ type="checkbox"
4
+ data-area="${S}"
5
+ data-row-index="${R}"
6
+ data-input-type="checkbox"
7
+ ${C}
8
+ class="ge-table-row-checkbox"> `,this.domService.setStyle(T,"display","inline"),this.domService.setStyle(T,"width","inherit"),this.domService.setAttribute(T,"data-row-index",`${R}`),this.domService.appendChild(c,T),T}addLabelDiv(c,p="",S=!1,R=-1,T=-1,C="body"){const Y=this.domService.createElement("div");if(this.domService.addClass(Y,"ge-table-label-div"),this.domService.setStyle(Y,"position","relative"),this.domService.setStyle(Y,"background","transparent"),this.domService.setStyle(Y,"width","100%"),this.domService.setStyle(Y,"height","100%"),this.domService.setAttribute(Y,"data-row-index",`${R}`),this.domService.setAttribute(Y,"data-col-index",`${T}`),this.domService.setAttribute(Y,"data-area",`${C}`),p)if(S){const B=this.domService.createText(p);this.domService.appendChild(Y,B)}else{const B=this.domService.createElement("div");this.domService.appendChild(Y,B);const K=this.domService.createText(p);this.domService.addClass(B,"ge-table-label"),this.domService.appendChild(B,K),this.domService.setAttribute(B,"data-row-index",`${R}`),this.domService.setAttribute(B,"data-col-index",`${T}`),this.domService.setAttribute(B,"data-area",`${C}`)}return this.domService.appendChild(c,Y),Y}addSortedIcon(c,p="",S=new sw,R=-1){const T=this.domService.createElement("div");this.domService.addClass(T,"ge-table-sorted-icon-div"),this.domService.setStyle(T,"position","absolute"),this.domService.setStyle(T,"top","0"),this.domService.setStyle(T,"right","0"),this.domService.setStyle(T,"width","20px"),this.domService.setStyle(T,"background","transparent"),this.domService.setStyle(T,"cursor","pointer"),this.domService.setAttribute(T,"data-col-index",`${R}`),this.domService.setAttribute(T,"data-area","header");let C;p==="asc"?C=S.iconAsc:p==="desc"?C=S.iconDesc:C=S.iconPlaceholder;const Y=C.content,B=this.domService.createText(Y);this.domService.appendChild(T,B),C.style&&this.applyStyleString(T,C.style);for(const K of C.classes)this.domService.addClass(T,K);return this.domService.appendChild(c,T),T}addArrowDiv(c,p="none",S=new uw,R=-1,T=-1,C="body"){const Y=this.domService.createElement("div");this.domService.addClass(Y,"ge-table-tree-arrow-div"),this.domService.setStyle(Y,"display","inline-block"),this.domService.setStyle(Y,"position",""),this.domService.setStyle(Y,"width","20px"),this.domService.setStyle(Y,"background","transparent"),this.domService.setStyle(Y,"cursor","pointer"),this.domService.setAttribute(Y,"data-row-index",`${R}`),this.domService.setAttribute(Y,"data-col-index",`${T}`),this.domService.setAttribute(Y,"data-area",`${C}`);let B;p==="expanded"?B=S.arrowExpanded:p==="collapsed"?B=S.arrowCollapsed:B=S.arrowPlaceholder;const K=B.content,ge=this.domService.createText(K);this.domService.appendChild(Y,ge),B.style&&this.applyStyleString(Y,B.style);for(const J of B.classes)this.domService.addClass(Y,J);return this.domService.appendChild(c,Y),Y}addColumnBorderDivs(c,p){return this.addVerticalBorder(p,c),this.addHorizontalBorder(p,c),c}addHorizontalBorder(c,p,S="ge-table-row-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,S),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${c.left}px`),this.domService.setStyle(R,"top",`${c.top}px`),this.domService.setStyle(R,"width",`${c.width}px`),this.domService.setStyle(R,"height","1px"),this.domService.appendChild(p,R),R}addFocusBorderDivs(c,p,S){let R=this.domService.createElement("div");return this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${p.height}px`),this.applyStyle(R,S),this.domService.appendChild(c,R),R=this.domService.createElement("div"),this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left+p.width-1}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${p.height}px`),this.applyStyle(R,S),this.domService.appendChild(c,R),R=this.domService.createElement("div"),this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width",`${p.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,S),this.domService.appendChild(c,R),R=this.domService.createElement("div"),this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top+p.height-1}px`),this.domService.setStyle(R,"width",`${p.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,S),this.domService.appendChild(c,R),c}addVerticalBorder(c,p,S="ge-table-column-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,S),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${c.left}px`),this.domService.setStyle(R,"top",`${c.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${c.height}px`),this.domService.appendChild(p,R),R}addDiv(c,p,S=""){const R=this.domService.createElement("div");return S&&this.domService.addClass(R,S),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width",`${p.width}px`),this.domService.setStyle(R,"height",`${p.height}px`),this.domService.appendChild(c,R),R}applyStyleString(c,p){const S=p.split(";").map(R=>R.trim()).filter(R=>R);for(const R of S){const[T,C]=R.split(":");this.domService.setStyle(c,T.trim(),C.trim())}}getDivOrCreateDiv(c,p){let S=p.cache[c];return S?(S.innerText="",S):(S=this.domService.createElement("div"),p.cache[c]=S,S)}}class cC{constructor(c,p=!0,S,R,T=0,C=!1,Y=!1){this.data=c,this.expanded=p,this.children=S,this.parent=R,this.deep=T,this.checked=C,this.keep=Y}}const fC=I=>I==="header"?"header":I==="footer"?"footer":"body";class e_{constructor(c){this.tableScope=c,this.expandedAll=!0,this.mouseDown=!1,this.dragging=!1,this.tableScope.hostElement.addEventListener("click",this.onHostElementClicked.bind(this)),this.tableScope.hostElement.addEventListener("dblclick",this.onHostElementDblClicked.bind(this)),this.tableScope.hostElement.addEventListener("mousedown",this.onMouseDown.bind(this)),this.tableScope.hostElement.addEventListener("mousemove",this.onMouseMove.bind(this)),this.tableScope.hostElement.addEventListener("mouseup",this.onMouseUp.bind(this)),this.tableScope.hostElement.addEventListener("contextmenu",this.onContextmenu.bind(this)),this.tableScope.scrollViewport.addEventListener("scroll",this.tableScope.adjustAfterScrolling.bind(this.tableScope)),[window,this.tableScope.hostElement].forEach(p=>p.addEventListener("resize",this.tableScope.adjustContainersAndRows.bind(this.tableScope)))}onContextmenu(c){this.mouseEvent=c;const p=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.contextmenu(p)}onHostElementClicked(c){if(c.target instanceof HTMLElement){const p=c.target;if(p.getAttribute("data-ge-action")==="toggleExpandCollapseAll"){this.expandedAll=!this.expandedAll,this.tableScope.toggleExpandCollapseAll(this.expandedAll),c.preventDefault();return}if(p.getAttribute("data-row-index")){const S=Number(p.getAttribute("data-row-index")),R=Number(p.getAttribute("data-col-index")),T=p.getAttribute("data-area");if(T){const C=fC(T),Y=this.tableScope.tableModel.getAreaModel(C),B=Y.getRowByIndex(S);if(p.getAttribute("data-input-type")==="checkbox"){this.tableScope.toggleRowCheckbox(S,R,C),c.preventDefault();return}if(B instanceof cC){const K=R===this.getArrowColumnIndex()&&c.altKey,ge=p.className.includes("ge-table-tree-arrow-div");if(K||ge){c.preventDefault();const J=B;J.expanded=!J.expanded,"recalcVisibleTreeRows"in Y&&Y.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(J)}}}}}this.publishGeMouseEvent(c,1)}onHostElementDblClicked(c){if(c.target instanceof HTMLElement){const p=c.target,S=p.getAttribute("data-area"),R=fC(S),T=Number(p.getAttribute("data-row-index")),C=Number(p.getAttribute("data-col-index")),Y=this.tableScope.tableModel.getAreaModel(R);if(S&&R==="header")this.tableScope.tableModel.isSortable(C)&&(this.tableScope.clearSelection(),this.tableScope.onHeaderDblClicked(c,T,C));else if(p.getAttribute("data-row-index")){const B=Y.getRowByIndex(T);if(S&&R==="body"&&Y.isEditable(T,C)&&(this.tableScope.clearSelection(),this.tableScope.initRenderEditor(T,C)),B instanceof cC&&C===this.getArrowColumnIndex()){c.preventDefault();const K=B;K.expanded=!K.expanded,"recalcVisibleTreeRows"in Y&&Y.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(K)}}}this.publishGeMouseEvent(c,2)}publishGeMouseEvent(c,p){this.mouseEvent=c,this.geMouseEventOld=this.geMouseEvent?.clone(),this.geMouseEvent=this.tableScope.createGeMouseEvent(c),this.geMouseEvent&&(this.geMouseEvent.clickCount=p),this.tableScope.onMouseClicked(this.geMouseEvent,this.geMouseEventOld)}updateCollapsedExpandedState(c){const p=this.tableScope.tableOptions?.autoRestoreOptions?.getRowId;if(p){const S=this.tableScope.storeStateCollapsedExpandService?.collapsedExpandedStateGet().mode,R=S==="collapsed"&&!c.expanded||S==="expanded"&&c.expanded,T=S==="collapsed"&&c.expanded||S==="expanded"&&!c.expanded,C=p(c.data);R?this.tableScope.storeStateCollapsedExpandService?.collapsedStateIdsPush(C):T&&this.tableScope.storeStateCollapsedExpandService?.collapsedStateIdsRemove(C)}}getArrowColumnIndex(){return this.tableScope.tableModel.isRowCheckboxVisible()?1:0}onMouseDown(c){this.mouseEvent=c,this.startMouseEvent=this.tableScope.createGeMouseEvent(this.mouseEvent),this.tableScope.onMouseDown(this.startMouseEvent),this.mouseDown=!0}onMouseMove(c){this.mouseEvent=c,this.mouseDown?(this.dragging=!0,requestAnimationFrame(this.mouseDraggingOnFrame.bind(this))):requestAnimationFrame(this.mouseMoveOnFrame.bind(this))}onMouseUp(c){this.mouseEvent=c,this.dragging&&requestAnimationFrame(this.mouseDraggingEndOnFrame.bind(this)),this.mouseDown=!1,this.dragging=!1}mouseDraggingOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.startMouseEvent?.originalEvent&&(c.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,c.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingOnFrame(c)}}mouseDraggingEndOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.startMouseEvent?.originalEvent&&(c.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,c.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingEndOnFrame(c)}}mouseMoveOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.mouseMove(c)}}}class t_{constructor(c){this.tableScope=c}externalFilterChanged(){this.tableScope.externalFilterChanged()}scrollToPixel(c=0,p=0){}scrollToIndex(c=0,p=0){}setHeaderVisible(c=!0){}setColumnVisible(c,p=!0){}isColumnVisible(c){return!0}isHeaderVisible(){return!0}setFooterVisible(c=!0){}isFooterVisible(){return!0}repaint(){this.tableScope.repaint()}}class n_{flattenTree(c,p=[]){for(const S of c)this.isVisible(S)&&p.push(S),S.children?.length&&this.flattenTree(S.children,p);return p}isVisible(c){return c.parent?c.parent.expanded?this.isVisible(c.parent):!1:!0}}class r_{constructor(c,p=[],S=-1){this.areaIdent=c,this.columnDefs=p,this.overridingRowHeight=S,this.rowSelectionModel=void 0,this.yPositions=[],this.cellRenderers=p.map(R=>R.rendererMap[c])}getTooltipAt(c,p){return""}getCellRenderer(c,p){if(p<this.cellRenderers.length)return this.cellRenderers[p]}getColspanAt(c,p){return 0}getCustomClassesAt(c,p){return[]}getRowspanAt(c,p){return 0}getRowByIndex(c){}isRowCheckable(c){return!0}isRowChecked(c){const p=this.getRowByIndex(c);return this.rowSelectionModel?.isRowChecked(p)}setRowChecked(c,p){if(this.rowSelectionModel){const S=this.getRowByIndex(c);this.rowSelectionModel.checkRow(S,p)}}getMaxColspan(){return 31}getMaxRowspan(){return 31}getYPosByRowIndex(c){return this.overridingRowHeight>0?this.overridingRowHeight*c:this.yPositions[c]}init(){!this.yPositions.length&&this.getRowCount()!==void 0&&this.overridingRowHeight===-1&&this.calcYPositions()}isFilterable(){return this.areaIdent==="body"}doSort(c){return!1}isEditable(c,p){return this.columnDefs&&p<this.columnDefs.length&&this.columnDefs[p].editable?this.columnDefs[p].editable():!1}setValue(c,p,S,R){const T=this.getRowByIndex(c),C=this.columnDefs[p].property;return T[C]=S,!0}isSelectable(c,p){return!0}changeColumnOrder(c,p){this.arrayMove(this.cellRenderers,c,p)}arrayMove(c,p,S){const R=c.splice(p,1)[0];return c.splice(S,0,R),c}calcYPositions(){const c=this.getRowCount();this.yPositions=new Array(c+1),this.yPositions[0]=0;for(let p=0;p<c;p++)this.yPositions[p+1]=this.getRowHeight(p)+this.yPositions[p]}}class i_{genericSortComparator(c,p,S){if(typeof c=="number"&&typeof p=="number")return S*(c-p);if(typeof c=="string"&&typeof p=="string")return S*c.localeCompare(p);if(typeof c=="boolean"&&typeof p=="boolean")return S*((c?-1:1)-(p?-1:1));if(c instanceof Date&&p instanceof Date)return S*(c.getTime()-p.getTime());if(c instanceof Array&&p instanceof Array){const R=c,T=p;if(R.length&&T.length)return this.genericSortComparator(R[0],T[0],S)}return S*(""+c).localeCompare(""+p)}}class dC extends r_{constructor(c,p,S,R=[]){super(c,R,S),this.areaIdent=c,this.rows=p,this.defaultRowHeight=S,this.columnDefs=R,this.sorterService=new i_,this.service=new n_,this.properties=R.map(T=>T.property),this.flattenRows=this.service.flattenTree(p),this.filteredFlattenRows=[...this.flattenRows]}changeColumnOrder(c,p){this.arrayMove(this.properties,c,p),super.changeColumnOrder(c,p)}recalcVisibleTreeRows(){this.filteredFlattenRows=this.service.flattenTree(this.rows)}getFilteredFlattenRows(){return this.filteredFlattenRows}getRowCount(){let c=0;for(const p of this.filteredFlattenRows)this.service.isVisible(p)&&c++;return c}getValueAt(c,p){const S=this.getRowByIndex(c);if(S){const R=this.properties[p];if(R)return R.includes(".")?this.getPropertyValue(S.data,R.split(".")):S.data[R]}return""}getRowHeight(c){return this.defaultRowHeight}getCustomClassesAt(c,p){return["ge-table-tree-cell","ge-table-tree-deep-"+this.filteredFlattenRows[c].deep]}getRowByIndex(c){return this.filteredFlattenRows[c]}getValueByT(c,p){return p.includes(".")?this.getPropertyValue(c,p.split(".")):c[p]}externalFilterChanged(c){this.lastPredictFn=c,this.doFiltering()}doSort(c){const{columnIndex:p,sortState:S}=c[c.length-1],R=S==="asc"?1:S==="desc"?-1:0,T=this.properties[p];return this.treeSort(this.rows,T,R),this.flattenRows=this.service.flattenTree(this.rows),this.filteredFlattenRows=[...this.flattenRows],!0}toggleExpandCollapseAll(c){this.expandAllRecursive(this.rows,c),this.flattenRows=this.service.flattenTree(this.rows),this.doFiltering()}setAllParentsOk(c){return c.parent&&(c.parent.keep=!0,this.setAllParentsOk(c.parent)),!1}setValue(c,p,S){const R=this.getRowByIndex(c);if(R){const T=R.data,C=this.columnDefs[p].property;return T[C]=S,!0}return!1}genericTreeTableSortComparator(c,p){return(S,R)=>{const T=this.getValueByT(S.data,c),C=this.getValueByT(R.data,c);return this.sorterService.genericSortComparator(T,C,p)}}expandAllRecursive(c,p){for(const S of c)S.expanded=p,S.children&&this.expandAllRecursive(S.children,p)}doFiltering(){if(!this.lastPredictFn)this.filteredFlattenRows=[...this.flattenRows?this.flattenRows:[]];else{this.flattenRows||(this.flattenRows=[]);let c=0;this.flattenRows.forEach(S=>{c=Math.max(c,S.deep)});const p=this.flattenRows.filter((S,R,T)=>this.lastPredictFn(S,R,T));this.flattenRows.forEach(S=>S.keep=!1),this.flattenRows.forEach(S=>{p.includes(S)&&(S.keep=!0,this.setAllParentsOk(S))}),this.filteredFlattenRows=this.flattenRows.filter((S,R,T)=>S.keep)}}getPropertyValue(c,p){const S=p.shift();let R=c[S];return R&&p.length?this.getPropertyValue(R,p):R}treeSort(c,p,S){c.sort(this.genericTreeTableSortComparator(p,S));for(const R of c)R.children&&this.treeSort(R.children,p,S)}}class mC{constructor(c){this.getStorageKeyFn=c}autoConvertMapToObject(c){const p={};if(c instanceof Map){const S=c;for(const R of[...S]){const[T,C]=R;p[T]=C}}return p}checkAndPersistItem(c,p){const S=this.getStorageKeyFn;if(S){const R=S();if(R){const T=R+c;if((p+"").includes("Map")){const C=this.autoConvertMapToObject(p);this.persistItem(T,C)}else this.persistItem(T,p)}}}persistItem(c,p){p?localStorage.setItem(c,JSON.stringify(p)):localStorage.removeItem(c)}loadFromLocalStorage(c){const p=localStorage.getItem(c);return p?JSON.parse(p):null}}class a_ extends mC{constructor(c){super(c),this.SCROLL_STATE="scrollState",this.scrollOffset=[0,0],this.load()}getScrollOffset(){return this.scrollOffset}updateScrollOffset(c){this.scrollOffset=c,this.checkAndPersistItem(this.SCROLL_STATE,this.scrollOffset)}load(){const c=this.getStorageKeyFn;if(c){const p=c();if(p){const S=p+this.SCROLL_STATE;let R=this.loadFromLocalStorage(S);this.scrollOffset=R||[0,0]}}}}class l_{constructor(c="collapsed",p=[],S=!1,R=!1){this.mode=c,this.rowIds=p,this.allCollapsed=S,this.allExpanded=R}}class o_ extends mC{constructor(c){super(c),this.COLLAPSED_EXPANDED_STATE="collapsedExpandedState",this.collapsedExpandedState=new l_,this.load()}collapsedExpandedStateGet(){return this.collapsedExpandedState}collapsedExpandedStateIncludes(c){return this.collapsedExpandedState.rowIds.includes(c)}collapsedStateIdsPush(c){this.collapsedExpandedState.rowIds.includes(c)||(this.collapsedExpandedState.rowIds.push(c),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateIdsRemove(c){const p=this.collapsedExpandedState.rowIds.indexOf(c);p!==-1&&(this.collapsedExpandedState.rowIds.splice(p,1),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateAll(c){this.collapsedExpandedState.rowIds=[],this.collapsedExpandedState.mode=c?"collapsed":"expanded",this.collapsedExpandedState.allCollapsed=!c,this.collapsedExpandedState.allExpanded=c,this.persist()}load(){const c=this.getStorageKeyFn;if(c){const p=c();if(p){const S=p+this.COLLAPSED_EXPANDED_STATE,R=this.loadFromLocalStorage(S);R&&(this.collapsedExpandedState=R)}}}persist(){this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE,this.collapsedExpandedState)}}class u_ extends mC{constructor(c){super(c),this.SORTING_STATE="sortingState",this.sortItems=[],this.load()}getSortItems(){return this.sortItems}setSortItems(c){this.sortItems=c,this.checkAndPersistItem(this.SORTING_STATE,this.sortItems)}load(){const c=this.getStorageKeyFn;if(c){const p=c();if(p){const S=p+this.SORTING_STATE;let R=this.loadFromLocalStorage(S);this.sortItems=R||[]}}}}class Is{constructor(c=0,p=0,S=0,R=0,T){this.left=c,this.width=p,this.height=S,this.top=R,this.index=T}}class s_{constructor(c,p,S,R){this.hostElement=c,this.tableModel=p,this.dom=S,this.tableOptions=R,this.scrollTop=0,this.areaBodyWestGeo=new Is,this.areaBodyCenterGeo=new Is,this.areaBodyEastGeo=new Is;const T=this.hostElement;T.innerText="",this.dom.setAttribute(T,"tabindex","0"),this.dom.setStyle(this.dom.addClass("ge-table",T),"position","relative"),this.hoverRow=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-hover-row",T)),this.hoverColumn=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-hover-column",T)),this.areaHeaderWest=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-header ge-table-header-west",T,"header","west"))),this.areaHeaderCenter=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-header ge-table-header-center",T,"header","center"))),this.areaHeaderEast=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-header ge-table-header-east",T,"body","east"))),this.areaBodyWest=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-body ge-table-body-west",T,"body","west"))),this.areaBodyEast=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-body ge-table-body-east",T,"body","east"))),this.areaFooterWest=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-footer ge-table-footer-west",T,"footer","west"))),this.areaFooterCenter=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-footer ge-table-footer-center",T,"footer","center"))),this.areaFooterEast=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-footer ge-table-footer-east",T,"footer","east"))),this.scrollViewport=S.applyStyleOverflowAuto(this.tableOptions.overflowX??"auto",this.tableOptions.overflowY??"auto",S.applyStyleNoPadding(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-scroll-viewport",T,"body","center")))),this.contentWrapperDiv=S.applyStyleNoPadding(S.applyStylePosistionRelative(S.createDivWithClass("ge-table-scroll-content-wrapper",this.scrollViewport))),this.contentDiv=S.applyStyleNoPadding(S.applyStylePosistionRelative(S.createDivWithClass("ge-table-scroll-content",this.contentWrapperDiv))),this.areaBodyCenter=S.appendRelativeChildDiv(S.createDivWithClass("ge-table-body-center",this.contentDiv)),this.borderHeaderBottom=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-header-border",T)),this.borderFixedWest=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-west-fixed-column-border",T)),this.borderFixedEast=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-east-fixed-column-border",T)),this.borderFooterTop=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-footer-border",T))}adjustContainersAndRows(){const c=this.tableModel.getPadding(),p=this.hostElement.clientWidth,S=this.hostElement.clientHeight;this.dom.applyStyle(this.scrollViewport,{width:`${p-c.left}px`,height:`${S-c.top}px`,top:`${c.top}px`,left:`${c.left}px`}),this.scrollTop=this.scrollViewport.scrollTop,this.dom.applyStyle(this.contentDiv,{width:`${this.scrollViewport.clientWidth}px`,height:`${this.scrollViewport.clientHeight}px`,top:`${this.scrollTop}px`,left:`${this.scrollViewport.scrollLeft}px`}),this.areaBodyWestGeo.width=c.left,this.areaBodyWestGeo.height=S-c.top-c.bottom,this.areaBodyWestGeo.top=c.top,this.areaBodyWestGeo.left=0,this.dom.applyStyleInPx(this.areaBodyWest.parent,this.areaBodyWestGeo),this.tableModel.getFixedLeftColumnCount()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFixedWest,{width:"1px",height:`${this.areaBodyWestGeo.height}px`,top:`${this.areaBodyWestGeo.top}px`,left:`${this.areaBodyWestGeo.width}px`})):this.dom.applyDisplayNoneStyle(this.borderFixedWest),this.areaBodyEastGeo.width=c.right,this.areaBodyEastGeo.height=S-c.top-c.bottom,this.areaBodyEastGeo.top=c.top,this.areaBodyEastGeo.left=p-c.right,this.dom.applyStyleInPx(this.areaBodyEast.parent,this.areaBodyEastGeo),this.tableModel.getFixedLeftColumnCount()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFixedEast,{width:"1px",height:`${this.areaBodyEastGeo.height}px`,top:`${this.areaBodyEastGeo.top}px`,left:`${this.areaBodyEastGeo.left}px`})):this.dom.applyDisplayNoneStyle(this.borderFixedEast),this.areaBodyCenterGeo.width=p-c.left-c.right,this.areaBodyCenterGeo.height=S-c.top-c.bottom,this.areaBodyCenterGeo.top=0,this.areaBodyCenterGeo.left=0,this.dom.applyStyleInPx(this.areaBodyCenter.parent,this.areaBodyCenterGeo),this.dom.applyStyle(this.areaHeaderCenter.parent,{width:`${p-c.left-c.right}px`,height:`${c.top}px`,top:"0",left:`${c.left}px`}),this.dom.applyStyle(this.areaHeaderWest.parent,{width:`${c.left}px`,height:`${c.top}px`,top:"0",left:"0"}),this.dom.applyStyle(this.areaHeaderEast.parent,{width:`${c.right}px`,height:`${c.top}px`,top:"0",left:`${p-c.right}px`}),this.tableModel.isHeaderVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderHeaderBottom,{width:`${p}px`,height:"1px",top:`${c.top}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderHeaderBottom),this.dom.applyStyle(this.areaFooterWest.parent,{width:`${c.left}px`,height:`${c.bottom}px`,top:`${S-c.bottom}px`,left:"0"}),this.dom.applyStyle(this.areaFooterCenter.parent,{width:`${p-c.left-c.right}px`,height:`${c.bottom}px`,top:`${S-c.bottom}px`,left:`${c.left}px`}),this.dom.applyStyle(this.areaFooterEast.parent,{width:`${c.right}px`,height:`${c.bottom}px`,top:`${S-c.bottom}px`,left:`${p-c.right}px`}),this.tableModel.isFooterVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFooterTop,{width:`${p}px`,height:"1px",top:`${S-c.bottom}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderFooterTop),this.adjustAfterScrolling()}adjustAfterScrolling(){}resetSizeOfWrapperDiv(){const c=`${this.tableModel.getContentWidthInPixel()}px`,p=`${this.tableModel.getContentHeightInPixel()}px`;this.dom.setStyle(this.contentWrapperDiv,"width",c),this.dom.setStyle(this.contentWrapperDiv,"height",p)}}class Ii{constructor(c,p,S,R){this.r1=c,this.c1=p,this.r2=S,this.c2=R}static create(c){return new Ii(c.rowIndex1,c.columnIndex1,c.rowIndex2,c.columnIndex2)}static singleCell(c,p){return new Ii(c,p,c,p)}static singleRow(c){return new Ii(c,0,c,Number.MAX_SAFE_INTEGER)}static singleColumn(c){return new Ii(0,c,Number.MAX_SAFE_INTEGER,c)}isInRange(c,p){return c>=this.r1&&c<=this.r2&&p>=this.c1&&p<=this.c2}}class c_{constructor(c,p){this.tableModel=c,this.areaModel=p,this.colAndRowspanRanges=void 0}init(){if(this.areaModel.getMaxColspan()<2&&this.areaModel.getMaxRowspan()<2)return;this.colAndRowspanRanges=[];const c=this.areaModel.getRowCount(),p=this.tableModel.getColumnCount();for(let S=0;S<c;S++)for(let R=0;R<p;R++){let T=this.areaModel.getColspanAt(S,R),C=this.areaModel.getRowspanAt(S,R);(T>1||C>1)&&(T===0&&(T=1),C===0&&(C=1),this.colAndRowspanRanges.push(new Ii(S,R,S+C-1,R+T-1)))}}getRanges(){return this.colAndRowspanRanges?this.colAndRowspanRanges:[]}isInRange(c,p){if(this.colAndRowspanRanges){for(const S of this.colAndRowspanRanges)if(S.isInRange(c,p))return!0}return!1}}class f_{constructor(c,p,S){this.header=c,this.body=p,this.footer=S}}class d_ extends s_{constructor(c,p,S,R){super(c,p,S,R),this.scrollLeft=0,this.scrollViewportLeft=0,this.scrollFactorY=0,this.scrollFactorX=0,this.cleanupFunctions={header:[],body:[],footer:[]},this.tree=!1,this.rangeEles=[],this.colAndRowspanModels=new f_,this.firstVisibleRowIndex=-1,this.draggingTargetColumnIndex=-1,this.removables=[],this.tableOptions?.getSelectionModel&&(this.getSelectionModel=this.tableOptions.getSelectionModel),this.tableOptions?.getFocusModel&&(this.getFocusModel=this.tableOptions.getFocusModel),p.getAreaModel("body")instanceof dC&&(this.tree=!0),["header","body","footer"].forEach(C=>{this.colAndRowspanModels[C]=new c_(p,p.getAreaModel(C)),this.colAndRowspanModels[C]?.init()})}resetEditorRenderer(){this.editorRenderer=void 0,this.editorRendererRow=-1,this.editorRendererColumn=-1}clearSelection(){this.getSelectionModel&&this.getSelectionModel()?.clear()}initRenderEditor(c,p){let S=this.tableModel.getColumnDef(p)?.getEditRenderer;if(S||(S=this.tableOptions.getEditRenderer),S)if(this.editorRenderer=S(c,p),this.editorRenderer){this.editorRendererRow=c,this.editorRendererColumn=p,this.repaint();const R=document.querySelector("input.ge-table-cell-editor-input");R&&R.focus()}else this.editorRendererRow=-1,this.editorRendererColumn=-1}repaint(){this.adjustAfterScrolling()}adjustAfterScrolling(){for(const c of this.removables)c.remove();this.hideHoverRow(),this.hideHoverColumn(),this.scrollTop=this.scrollViewport.scrollTop,this.scrollLeft=this.scrollViewport.scrollLeft,this.debounce(this.checkForScrollPosSaving.bind(this)),this.scrollFactorY=this.scrollTop/(this.scrollViewport.scrollHeight-this.scrollViewport.clientHeight),this.scrollFactorX=this.scrollLeft/(this.scrollViewport.scrollWidth-this.scrollViewport.clientWidth),isNaN(this.scrollFactorY)&&(this.scrollFactorY=0),isNaN(this.scrollFactorX)&&(this.scrollFactorX=0),this.adjustBody(),this.adjustArea("footer"),this.adjustArea("header"),this.tableOptions.tableTopBorderVisible&&this.removables.push(this.dom.addHorizontalBorder(new Is(0,this.hostElement.clientWidth,1,0),this.hostElement,"ge-table-row-border")),this.tableOptions.tableBottomBorderVisible&&this.removables.push(this.dom.addHorizontalBorder(new Is(0,this.hostElement.clientWidth,1,this.hostElement.clientHeight-1),this.hostElement,"ge-table-row-border"))}checkForScrollPosSaving(){this.storeScrollPosStateService&&this.tableOptions?.autoRestoreOptions?.autoRestoreScrollPosition&&this.storeScrollPosStateService.updateScrollOffset([this.scrollLeft,this.scrollTop])}getAreaAndSideIdentByAttr(c){if(c){const p=this.getStringByAttr(c,"data-area"),S=this.getStringByAttr(c,"data-side");if(S&&p)return[p,S]}return[void 0,void 0]}getArea(c,p){if(c==="header"){if(p==="west")return this.areaHeaderWest;if(p==="center")return this.areaHeaderCenter;if(p==="east")return this.areaHeaderEast}else if(c==="body"){if(p==="west")return this.areaBodyWest;if(p==="center")return this.areaBodyCenter;if(p==="east")return this.areaBodyEast}else if(c==="footer"){if(p==="west")return this.areaFooterWest;if(p==="center")return this.areaFooterCenter;if(p==="east")return this.areaFooterEast}throw Error(`Wrong area identifier: row:${c}, col:${p}`)}adjustBody(){const c=this.areaBodyCenterGeo.height-this.tableModel.getContentHeightInPixel(),p=this.scrollFactorY*c;this.dom.setStyle(this.contentDiv,"top",`${this.scrollTop}px`),this.dom.setStyle(this.contentDiv,"left",`${this.scrollViewport.scrollLeft}px`),this.adjustArea("body",p)}getNumberByAttr(c,p){if(c){const S=c.closest("["+p+"]")?.getAttribute(p);if(S)return Number(S)}return-1}getStringByAttr(c,p){if(c){const S=c.closest("["+p+"]")?.getAttribute(p);if(S)return S}return""}adjustArea(c,p=0){const S=this.getArea(c,"west"),R=this.getArea(c,"center"),T=this.getArea(c,"east"),C=R.child.clientHeight;S.child.innerText="",R.child.innerText="",T.child.innerText="";const Y=0,B=this.areaBodyCenterGeo.width,K=this.tableModel.getPadding(),ge=this.tableModel.getAreaModel(c),J=ge.getRowCount();for(;this.cleanupFunctions[c].length;){const de=this.cleanupFunctions[c].shift();de&&de()}let ae=p;const X=this.tableModel.getColumnCount(),le=this.tableModel.getFixedRightColumnCount(),_e=this.tableModel.getFixedLeftColumnCount();for(let de=0;de<J;de++){const ct=ae,it=this.tableModel.getRowHeight(c,de);if(ct+it>0){this.firstVisibleRowIndex=de;let xe={left:Y,width:B,height:it,top:ct,index:de},Oe=this.dom.addRowDiv(R,xe,de,c);const Ce=_e;if(this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"center",areaModel:ge,geo:xe,parent:Oe,rowIndex:de,columnIndexStart:Ce,columnIndexEnd:X-le-1,verticalFixed:!1}),K.left>0&&(xe={left:Y,width:this.areaBodyWestGeo.width,height:it,top:ct,index:de},Oe=this.dom.addRowDiv(S,xe,de,c),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"west",areaModel:ge,geo:xe,parent:Oe,rowIndex:de,columnIndexStart:0,columnIndexEnd:Ce-1,verticalFixed:!0})),K.right>0&&(xe={left:Y,width:this.areaBodyEastGeo.width,height:it,top:ct,index:de},Oe=this.dom.addRowDiv(T,xe,de,c),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"east",areaModel:ge,geo:xe,parent:Oe,rowIndex:de,columnIndexStart:X-le,columnIndexEnd:X-1,verticalFixed:!0})),c==="header"&&this.tree&&de===J-1){const Pe=this.dom.applyStyle(this.dom.setAttribute(this.dom.addDiv(Oe,new Is(16,20,20,8)),"data-ge-action","toggleExpandCollapseAll"),{cursor:"pointer"}),ke=this.tableOptions.treeOptions.arrowExpandCollapseAll;if(ke){const Lt=this.dom.domService.createText(ke.content);this.dom.domService.appendChild(Pe,Lt),ke.style&&this.dom.applyStyleString(Pe,ke.style)}}}if(ae=ae+it,ae>C)break}if(this.colAndRowspanModels&&this.colAndRowspanModels[c]){const de=this.colAndRowspanModels[c]?.getRanges()??[];if(de.length)for(const ct of de){let it=0,xe=R.child;if(ct.c1<_e)xe=S.child;else if(le>0&&ct.c1>=X-le)xe=T.child;else{const Oe=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();it=this.scrollFactorX*Oe-this.areaBodyWestGeo.width}this.drawBigCell(ct,it,p,ge,xe)}}}drawBigCell(c,p,S,R,T){const C=S+this.getRowHeights(0,c.r1-1,R).reduce((_e,de)=>_e+de,0),Y=this.tableModel.getColumnCount(),B=this.tableModel.getFixedRightColumnCount();let K=0;B>0&&c.c1>=Y-B&&(K=Y-B);const ge=p+this.getColumnWidths(K,c.c1-1).reduce((_e,de)=>_e+de,0),J=this.getRowHeights(c.r1,c.r2,R).reduce((_e,de)=>_e+de,0),ae=this.getColumnWidths(c.c1,c.c2).reduce((_e,de)=>_e+de,0);let X=!1;const le=this.getSelectionModel?this.getSelectionModel():void 0;le&&(X=le.getSelectionCount(c.r1,c.c1)>0),this.renderCell(R,R.areaIdent,c.r1,c.c1,ge,C,ae,J,T,X),R.areaIdent==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle(c.r1,c.c1,ge,C,ae,J,T)}findRowOfImportantRowspanCell(c,p,S){const R=c.getMaxRowspan();for(let T=p-1;T>-1;T--){const C=c.getRowspanAt(T,S);if(C>1&&T+C+1>=p)return T;if(p-T>R)return-1}return-1}adjustColumnsToRowParent({areaIdent:c,sideIdent:p,areaModel:S,geo:R,parent:T,rowIndex:C,columnIndexStart:Y,columnIndexEnd:B,verticalFixed:K=!1}){this.scrollViewportLeft=this.scrollViewport.scrollLeft;let ge=0;if(!K){const le=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();ge=this.scrollFactorX*le}const J=0,ae=!!(c==="body"&&p);let X=ge;for(let le=Y;le<=B;le++){const _e=X,de=this.tableModel.getColumnWidth(le);if(_e+de>0){let ct=R.height,it=S.getRowspanAt(C,le),xe=S.getColspanAt(C,le);it>1&&(ct=this.getRowHeights(C,C+it-1,S).reduce((Pe,ke)=>Pe+ke,0));let Oe=de;xe>1&&(Oe=this.getColumnWidths(le,le+xe-1).reduce((Pe,ke)=>Pe+ke,0));let Ce=!1;if(this.colAndRowspanModels&&this.colAndRowspanModels[c]&&this.colAndRowspanModels[c]?.isInRange(C,le)&&(Ce=!0),this.draggingTargetColumnIndex===le&&c!=="header")this.renderDragTargetDiv(T,_e,J,Oe,ct),this.dom.addColumnBorderDivs(T,{left:_e,top:J,width:Oe,height:ct});else{let Pe=this.renderSelectedBackgroundDiv(Ce,ae,S,C,le,T,_e,J,Oe,ct);Ce||this.renderCell(S,c,C,le,_e,J,Oe,ct,T,Pe),c==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle(C,le,_e,J,Oe,ct,T)}}if(X=X+de,X>this.areaBodyCenterGeo.width)break}this.dom.addVerticalBorder(new Is(X-1,1,R.height,0),T)}getTreeArrowColumnIndex(){return this.tableOptions.showCheckboxWihoutExtraColumn?0:this.tableModel.isRowCheckboxVisible()?1:0}addAndRenderCellDiv({areaModel:c,areaIdent:p,rowIndex:S,index:R,left:T,width:C,height:Y,top:B,parent:K}){const J=this.editorRenderer&&this.editorRendererRow===S&&this.editorRendererColumn===R?this.editorRenderer:c.getCellRenderer(S,R),ae={left:T,width:C,height:Y,top:B,index:R},X=c.getRowByIndex(S);let le="none";if(R===this.getTreeArrowColumnIndex()&&X instanceof cC){const jt=X;jt.children?.length?jt.expanded?le="expanded":le="collapsed":le="hidden"}let de;if(p==="header"){const jt=this.tableModel.getColumnDef(R);(!jt?.sortIconVisible||jt?.sortIconVisible())&&(de=jt?.sortState)}const ct=c.getValueAt(S,R),it=J?"":`${ct}`,xe=c.isRowChecked(S),Oe=this.dom.addColumnDiv(K,ae,S,R,p,it,le,this.tableOptions,xe,de),Ce=c.getTooltipAt(S,R);Ce&&this.dom.setAttribute(Oe,"title",Ce);const Pe=this.tableModel.getColumnDef(R);Pe&&Pe.classes[p]&&this.dom.addClasses(Pe.classes[p],Oe);let ke;J&&(ke=J.render(Oe,S,R,p,c,ct,this.dom.domService));const Lt=c.getCustomClassesAt(S,R);return Lt.length&&this.dom.addClasses(Lt,Oe),this.dom.addColumnBorderDivs(K,ae),this.getFocusModel&&p==="body"&&this.getFocusModel()?.hasFocus(S,R)&&this.dom.addFocusBorderDivs(K,ae,{}),p==="header"&&this.dom.setAttribute(Oe,"data-ge-action","drag-column"),[Oe,ke]}getColumnWidths(c,p){const S=[];for(let R=c;R<=p;R++)S.push(this.tableModel.getColumnWidth(R));return S}getRowHeights(c,p,S){const R=[];for(let T=c;T<=p;T++)R.push(S.getRowHeight(T));return R}adjustHoverRows(c){if(this.tableOptions.hoverRowVisible&&c.rowIndex>-1){const p=this.hostElement.clientWidth,S=this.tableModel.getAreaModel("body").getRowHeight(c.rowIndex),R=c.rowTop+this.areaHeaderCenter.parent.clientHeight-this.scrollTop;this.dom.applyStyle(this.hoverRow,{left:"0",top:R+"px",width:p+"px",height:S+"px",display:"block"})}else this.hideHoverRow()}hideHoverRow(){this.dom.applyStyle(this.hoverRow,{display:"none"})}adjustHoverColumns(c){if(this.tableOptions.hoverColumnVisible&&c.rowIndex>-1){const p=this.hostElement.clientHeight,S=this.tableModel.getColumnWidth(c.columnIndex),R=c.columnLeft+this.tableModel.getPadding().left-this.scrollLeft;this.dom.applyStyle(this.hoverColumn,{left:R+"px",top:"0px",width:S+"px",height:p+"px",display:"block"})}else this.hideHoverColumn()}hideHoverColumn(){this.dom.applyStyle(this.hoverColumn,{display:"none"})}debounce(c,p=1e3){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(c.bind(this),p)}renderDragTargetDiv(c,p,S,R,T){const C=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-drop-zone",c));return this.dom.setStyle(C,"left",`${p}px`),this.dom.setStyle(C,"top",`${S}px`),this.dom.setStyle(C,"width",`${R}px`),this.dom.setStyle(C,"height",`${T}px`),C}renderSelectedBackgroundDiv(c,p,S,R,T,C,Y,B,K,ge){let J=!1;if(!c&&p&&S.isSelectable(R,T)&&this.getSelectionModel){const ae=this.getSelectionModel();if(ae){const X=ae.getSelectionCount(R,T);J=X>0;for(let le=0;le<X;le++){const _e=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-selected-range",C));this.dom.setStyle(_e,"left",`${Y}px`),this.dom.setStyle(_e,"top",`${B}px`),this.dom.setStyle(_e,"width",`${K}px`),this.dom.setStyle(_e,"height",`${ge}px`)}}}return J}renderCell(c,p,S,R,T,C,Y,B,K,ge){const[J,ae]=this.addAndRenderCellDiv({areaModel:c,areaIdent:p,rowIndex:S,index:R,left:T,width:Y,height:B,top:C,parent:K});ge&&this.dom.addClass("ge-cell-selected",J),ae&&this.cleanupFunctions[p].push(ae)}renderHeaderCellResizeHandle(c,p,S,R,T,C,Y){const B=this.dom.domService,K=this.tableOptions.columnResizeHandleWidthInPx??3,ge=B.createElement("div");B.setAttribute(ge,"data-col-index",`${p}`),B.setAttribute(ge,"data-row-index",`${c}`),B.setAttribute(ge,"data-area","header"),B.setAttribute(ge,"data-ge-action","resize-column"),B.addClass(ge,"ge-table-col-resize-handle"),B.setStyle(ge,"display","clip"),B.setStyle(ge,"position","absolute"),B.setStyle(ge,"cursor","col-resize"),B.setStyle(ge,"left",`${S+T-K}px`),B.setStyle(ge,"top",`${R}px`),B.setStyle(ge,"width",`${K}px`),B.setStyle(ge,"height",`${C}px`),B.appendChild(Y,ge)}}class p_{constructor(c,p){this.columnIndex=c,this.sortState=p}}class h_{constructor(c){this.tableScope=c,this.tableScope.hostElement.addEventListener("change",this.onHostElementChanged.bind(this))}onHostElementChanged(c){if(c.target instanceof HTMLInputElement||c.target instanceof HTMLSelectElement||c.target instanceof HTMLTextAreaElement){const p=c.target,S=p.getAttribute("data-area"),R=p.getAttribute("data-row-index"),T=p.getAttribute("data-col-index");if(S&&R&&T){const C=fC(S),Y=Number(R),B=Number(T);this.tableScope.updateModelValue(C,Y,B,p.value)}}}}class v_{constructor(c=-1,p=-1){this.rowIndex=c,this.columnIndex=p}}class yC{constructor(c){this.cells=c}static createSingle(c,p){return new yC([new v_(c,p)])}}class m_{constructor(c){this.tableScope=c,this.tableScope.tableOptions?.getSelectionModel&&(this.getSelectionModel=this.tableScope.tableOptions.getSelectionModel),this.tableScope.tableOptions?.getFocusModel&&(this.getFocusModel=this.tableScope.tableOptions.getFocusModel)}onMouseClicked(c,p){let S=!1,R=!1;if(this.getSelectionModel&&this.getFocusModel){const T=this.getSelectionModel(),C=this.getFocusModel();T&&C&&(C.hasFocus(c.rowIndex,c.columnIndex)||(C.setFocus(c.rowIndex,c.columnIndex),S=!0),c.originalEvent?.shiftKey||T.hasSelection()&&(T.clear(),S=!0),c.originalEvent?.shiftKey&&this.previousEvt?(T.addSelection(this.createRangeByEvents(c,this.previousEvt)),R=!0,S=!0):c.originalEvent?.ctrlKey||c.originalEvent?.metaKey?(T.addSelection(Ii.singleCell(c.rowIndex,c.columnIndex)),R=!0,S=!0):c.originalEvent?.altKey&&(c.originalEvent?.ctrlKey||c.originalEvent?.metaKey)&&(T.removeSelection(Ii.singleCell(c.rowIndex,c.columnIndex)),R=!0,S=!0))}return R?this.previousEvt=void 0:this.previousEvt=c?.clone(),S}onActionTriggered(c){if(this.getSelectionModel&&this.getFocusModel){const p=this.getSelectionModel(),S=this.getFocusModel();if(p&&S){if(c==="SELECT_ALL")return p.selectAll(),this.tableScope.repaint(),!0;if(c==="DESELECT_ALL")return p.clear(),this.tableScope.repaint(),!0;if(c==="TOGGLE_SELECTION"){const[R,T]=S.getFocus();return p.togglePoint(R,T),this.tableScope.repaint(),!0}}}return!1}createRangeByEvents(c,p){p||(p=c);const S=Math.min(c.rowIndex,p?.rowIndex),R=Math.max(c.rowIndex,p?.rowIndex),T=Math.min(c.columnIndex,p?.columnIndex),C=Math.max(c.columnIndex,p?.columnIndex);return Ii.create({rowIndex1:S,columnIndex1:T,rowIndex2:R,columnIndex2:C})}}class y_{get(){return{f2:"START_EDITING",space:"TOGGLE_SELECTION","ctrl+num_add":"SELECT_ALL","ctrl+a":"SELECT_ALL","ctrl+shift+a":"DESELECT_ALL","ctrl+x":"DESELECT_ALL","ctrl+num_subtract":"DESELECT_ALL","cmd -":"DESELECT_ALL"}}}class g_{get(){return{f2:"START_EDITING",space:"TOGGLE_SELECTION","ctrl+num_add":"SELECT_ALL","cmd+a":"SELECT_ALL","ctrl+a":"SELECT_ALL","cmd+x":"DESELECT_ALL","cmd+shift+a":"DESELECT_ALL","ctrl+shift+a":"DESELECT_ALL","ctrl+num_subtract":"DESELECT_ALL","ctrl -":"DESELECT_ALL"}}}class S_{constructor(c){this.tableScope=c,this.shortcutActionIdMapping={},this.listener=[],this.listener.push(c),this.init()}addListener(c){this.listener.includes(c)||this.listener.push(c)}init(){this.isMacintosh()?Object.assign(this.shortcutActionIdMapping,new g_().get()):Object.assign(this.shortcutActionIdMapping,new y_().get()),Object.assign(this.shortcutActionIdMapping,this.tableScope.tableOptions.shortcutActionIdMapping),this.isLocalhost()&&console.info("ShortcutService",this.shortcutActionIdMapping),this.tableScope.hostElement.addEventListener("keydown",this.onKeyDown.bind(this))}isMacintosh(){return navigator.platform.indexOf("Mac")>-1}isLocalhost(){return location.hostname==="localhost"||location.hostname==="127.0.0.1"}onKeyDown(c){const p=this.findEnty(c);p&&this.emit(p)&&c.preventDefault()}emit(c){this.isLocalhost()&&console.info("ShortcutService emit:",c);let p=!1;for(const S of this.listener)S.onActionTriggered(c)&&(p=!0);return p}findEnty(c){const p=this.getTokenByEvent(c);for(const S in this.shortcutActionIdMapping){const R=S.replace(/opt/g,"alt").replace(/cmd/g,"meta").split(/[\+ ]/g).sort();if(this.areTokensEquals(p,R))return this.shortcutActionIdMapping[S]}}areTokensEquals(c,p){if(c.length!==p.length||c.length===0)return!1;for(let S=0;S<c.length;S++)if(c[S]!==p[S])return!1;return!0}getTokenByEvent(c){const p=[];return c.altKey&&p.push("alt"),c.shiftKey&&p.push("shift"),c.ctrlKey&&p.push("ctrl"),c.metaKey&&p.push("meta"),c.code&&p.push(c.code.toLowerCase().replace(/key/g,"")),p.sort()}}class C_{onCheckboxChanged(c){}onContextmenu(c){}onModelChanged(c){}onMouseClicked(c){}onMouseDragging(c){}onMouseDraggingEnd(c){}onMouseMoved(c){}}class E_ extends d_{constructor(c,p,S,R,T){if(super(c,p,new JD(S),R),this.eventListener=T,this.selectionService=new m_(this),this.api=new t_(this),this.mouseStartAction="",this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,T||(this.eventListener=new C_),this.tableOptions?.autoRestoreOptions){const C=this.tableOptions.autoRestoreOptions,Y=C.getStorageKeyFn;Y&&(C.autoRestoreScrollPosition&&(this.storeScrollPosStateService=new a_(Y)),C.autoRestoreCollapsedExpandedState&&(this.storeStateCollapsedExpandService=new o_(Y)),C.autoRestoreSortingState&&(this.storeSortingService=new u_(Y)))}this.mouseHandler=new e_(this),this.inputHandler=new h_(this),this.shortcutService=new S_(this),this.shortcutService.addListener(this.selectionService)}onActionTriggered(c){if(c==="START_EDITING"&&this.getFocusModel){const p=this.getFocusModel();if(p){const[S,R]=p.getFocus();this.tableModel.getBodyModel().isEditable(S,R)&&(this.clearSelection(),this.initRenderEditor(S,R))}}return!1}updateModelValue(c,p,S,R){c==="body"&&this.tableModel.getAreaModel(c).setValue(p,S,R,this.tableModel)&&(this.resetEditorRenderer(),this.repaint(),this.eventListener.onModelChanged(yC.createSingle(p,S)))}getApi(){return this.api}firstInit(){this.tableModel.init(),this.autoRestoreCollapsedExpandedState(),this.autoRestoreSortingState(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows(),this.autoRestoreScrollPosition()}createGeMouseEvent(c){const p=new vC;if(p.originalEvent=c,c){const S=c.target;if([p.areaIdent,p.sideIdent]=this.getAreaAndSideIdentByAttr(S),p.rowIndex=this.getNumberByAttr(S,"data-row-index"),p.columnIndex=this.getNumberByAttr(S,"data-col-index"),p.action=this.getStringByAttr(S,"data-ge-action"),c.clientY-this.hostElement.offsetTop-this.areaHeaderCenter.parent.clientHeight,c.clientX-this.hostElement.offsetLeft-this.areaBodyWestGeo.width,p.areaIdent){const R=this.tableModel.getAreaModel(p.areaIdent);p.rowTop=R.getYPosByRowIndex(p.rowIndex)}if(p.columnLeft=this.tableModel.getXPosByColumnIndex(p.columnIndex),c.ctrlKey&&c.altKey){const R=c.clientY-this.hostElement.offsetTop-this.areaHeaderCenter.parent.clientHeight,T=c.clientX-this.hostElement.offsetLeft-this.areaBodyWestGeo.width;this.debugOnce(T,R)}}return p}onMouseDown(c){c.columnIndex>-1&&c.action&&["resize-column","drag-column"].includes(c.action)&&(this.mouseStartWidth=this.tableModel.getColumnWidth(c.columnIndex),this.mouseStartAction=c.action,this.mouseStartColumnIndex=c.columnIndex,this.mouseStartAction==="drag-column"&&(this.dragFrom=this.mouseStartColumnIndex))}mouseDraggingOnFrame(c){this.eventListener.onMouseDragging(c),this.mouseEvent=c,this.mouseStartColumnIndex>-1&&this.mouseStartAction==="resize-column"&&this.tableOptions.columnsResizable?this.resizeColumn(c):this.mouseStartAction==="drag-column"&&c.columnIndex>-1&&this.tableOptions.columnsDraggable&&(this.draggingTargetColumnIndex=c.columnIndex,this.dragTo=this.draggingTargetColumnIndex,this.dragFrom>-1&&this.dragTo>-1&&this.dragFrom!==this.dragTo&&(this.tableModel.changeColumnOrder(this.dragFrom,this.dragTo),this.dragFrom=this.dragTo,this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows()),this.repaint())}mouseDraggingEndOnFrame(c){this.eventListener.onMouseDraggingEnd(c),this.draggingTargetColumnIndex=-1,this.mouseStartAction==="resize-column"?this.resizeColumn(c):this.mouseStartAction==="drag-column"&&this.repaint(),this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,this.mouseStartAction=""}resizeColumn(c){this.tableModel.setColumnWidth(this.mouseStartColumnIndex,this.mouseStartWidth+c.draggingX),this.tableModel.recalcPadding(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows()}mouseMove(c){this.eventListener.onMouseMoved(c),this.adjustHoverRows(c),this.adjustHoverColumns(c)}contextmenu(c){this.eventListener.onContextmenu(c)}toggleExpandCollapseAll(c=!0){const p=this.tableModel.getBodyModel();p instanceof dC&&(p.toggleExpandCollapseAll(c),this.repaint(),this.storeStateCollapsedExpandService?.collapsedStateAll(c))}toggleRowCheckbox(c,p,S){const R=this.tableModel.getAreaModel(S),T=R.isRowChecked(c),C=T===void 0||T==="semi"||T==="none";R.setRowChecked(c,C),this.repaint();const Y=R.rowSelectionModel?.getCheckedRows();this.eventListener.onCheckboxChanged(Y||[])}onMouseClicked(c,p){const S=this.selectionService.onMouseClicked(c,p);this.eventListener.onMouseClicked(c),S&&this.debounce(this.repaint.bind(this),10)}externalFilterChanged(){const c=this.tableOptions.externalFilterFunction;c&&(this.clearSelectionModel(),this.tableModel.externalFilterChanged(c),this.repaint())}onHeaderDblClicked(c,p,S){const R=this.tableModel.getColumnDef(S);if(R?.sortable&&R.sortable()){c.preventDefault();const T=R.sortStatesOrder?R.sortStatesOrder:this.tableOptions.sortOrder,C=R.sortState??"",Y=T[(T.indexOf(C)+1)%T.length],B=new p_(S,Y);this.tableModel.doSort([B])&&(this.tableModel.getColumnDefs()?.forEach(ge=>ge.sortState=""),R.sortState=Y),this.repaint(),this.storeSortingService?.setSortItems([B])}}onKeyEvent(c){this.keyEvent=c,console.info(this.keyEvent),this.keyEvent.status==="up"&&this.keyEvent.originalEvent?.code==="F2"&&(this.keyEvent.originalEvent.stopPropagation(),console.info("F2..."))}clearSelectionModel(){this.getSelectionModel&&this.getSelectionModel()?.clear()}debugOnce(c,p){console.clear(),console.info("this.hostElement.offsetTop",this.hostElement.offsetTop),console.info("this.hostElement.scrollHeight",this.hostElement.scrollHeight),console.info("this.scrollViewportTop",this.scrollTop),console.info("this.areaHeaderCenter.parent.clientHeight",this.areaHeaderCenter.parent.clientHeight),console.info("bodyY",p),console.info("bodyX",c),console.info("rows",this.firstVisibleRowIndex),console.info(""),console.info("this.tableModel",this.tableModel),console.info(""),console.info("this.mouseMoveEvent.clientX",this.mouseHandler.mouseEvent?.clientX),console.info("this.hostElement.offsetLeft",this.hostElement.offsetLeft),console.info("this.areaBodyWestGeo.width",this.areaBodyWestGeo.width)}autoRestoreScrollPosition(){if(this.tableOptions?.autoRestoreOptions&&this.storeScrollPosStateService&&this.tableOptions.autoRestoreOptions.autoRestoreScrollPosition){const p=this.storeScrollPosStateService.getScrollOffset();p&&this.scrollViewport.scrollTo(...p)}}autoRestoreSortingState(){if(this.tableOptions?.autoRestoreOptions?.autoRestoreSortingState&&this.storeSortingService){const c=this.storeSortingService.getSortItems();c?.length&&this.tableModel.getBodyModel().doSort(c)}}autoRestoreCollapsedExpandedState(){if(this.tableOptions?.autoRestoreOptions?.getRowId&&this.storeStateCollapsedExpandService){const c=this.tableOptions.autoRestoreOptions,p=c.getRowId;if(c.autoRestoreCollapsedExpandedState&&p){const S=this.storeStateCollapsedExpandService.collapsedExpandedStateGet(),R=this.tableModel.getAreaModel("body");if(R instanceof dC){const T=R,C=R.getRowCount();for(let Y=0;Y<C;Y++){const B=R.getRowByIndex(Y);if(B)if(S.allExpanded)B.expanded=!0;else if(S.allCollapsed)B.expanded=!1;else{const K=p(B.data);S.mode==="expanded"?B.expanded=this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(K):S.mode==="collapsed"&&(B.expanded=!this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(K))}}T.recalcVisibleTreeRows()}}}}}class R_{render(c,p,S,R,T,C,Y){if(T.isEditable(p,S)){Y.addClass(c,"ge-table-row-input-div");const B=T.getValueAt(p,S);c.innerHTML=`
9
+ <input
10
+ type="text"
11
+ value="${B}"
12
+ autofocus
13
+ onfocus="this.setSelectionRange(0, this.value.length)"
14
+ data-listen="change"
15
+ data-area="${R}"
16
+ data-row-index="${p}"
17
+ data-col-index="${S}"
18
+ data-input-type="text"
19
+ style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
20
+ class="ge-table-cell-editor-input">`}}}class w_{constructor(c="none",p="single"){this.selectionType=c,this.selectionMode=p,this.ranges=[],this.negativeRanges=[],this.allSelected=!1}getSelectionCount(c,p){let S=0;for(const R of this.ranges)R.isInRange(c,p)&&S++;return this.allSelected&&S++,this.isInNegativeRange(c,p)&&(S=0),S}isInNegativeRange(c,p){for(const S of this.negativeRanges)if(S.isInRange(c,p))return!0;return!1}getRanges(){return this.ranges}clear(){this.ranges=[],this.negativeRanges=[],this.allSelected=!1}hasSelection(){return!!this.ranges.length}selectAll(){this.allSelected=!0}addSelection(c){this.addRange(c)}removeSelection(c){if(this.selectionType==="none")return;let p=c;this.selectionType==="row"?p=Ii.singleRow(c.r1):this.selectionType==="column"&&(p=Ii.singleColumn(c.c1)),this.negativeRanges.push(p)}togglePoint(c,p){this.getSelectionCount(c,p)>0?this.removeSelection(Ii.singleCell(c,p)):this.addSelection(Ii.singleCell(c,p))}addRange(c){this.selectionType!=="none"&&(this.allSelected=!1,this.selectionMode==="single"&&(this.ranges=[]),this.selectionType==="row"?(c.c1=0,c.c2=Number.MAX_SAFE_INTEGER):this.selectionType==="column"?(c.r1=0,c.r2=Number.MAX_SAFE_INTEGER):this.selectionType==="cell"?(c.r2=c.r1,c.c2=c.c1):this.selectionType,this.ranges.push(c))}}class b_{constructor(c="none"){this.selectionType=c,this.rowIndex=-1,this.columnIndex=-1}clear(){this.rowIndex=-1,this.columnIndex=-1}setFocus(c,p){this.rowIndex=c,this.columnIndex=p}hasFocus(c,p){return this.rowIndex===c&&this.columnIndex===p}getFocus(){return[this.rowIndex,this.columnIndex]}}const x_=new w_,T_=new b_("cell");class D_{constructor(){this.overflowX="auto",this.overflowY="auto",this.tableTopBorderVisible=!0,this.tableBottomBorderVisible=!0,this.hoverRowVisible=!0,this.hoverColumnVisible=!0,this.columnsResizable=!0,this.columnsDraggable=!0,this.columnResizeHandleWidthInPx=4,this.defaultRowHeights={header:34,body:34,footer:34},this.footerVerticalSeparator=!1,this.headerToggleExpandCollapseIcons=!1,this.headerVerticalSeparator=!1,this.treeOptions=new uw,this.showCheckboxWihoutExtraColumn=!1,this.externalFilterFunction=void 0,this.sortedOptions=new sw,this.sortOrder=["asc","desc"],this.getEditRenderer=(c,p)=>new R_,this.getSelectionModel=()=>x_,this.getFocusModel=()=>T_}}class __{setStyle(c,p,S){return c.style[p]=S,c}appendText(c,p){const S=this.createText(p);return this.appendChild(c,S),S}addClass(c,p){return p.includes(" ")?p.split(" ").forEach(S=>c.classList.add(S)):c.classList.add(p),c}appendChild(c,p){c.appendChild(p)}createElement(c){return document.createElement(c)}createText(c){return document.createTextNode(c)}setAttribute(c,p,S){c.setAttribute(p,S)}}class k_ extends ZR.Component{ref=ZR.createRef();constructor(c){super(c)}componentDidMount(){let c=this.ref.current;console.info("myContainer",c),this.initTable(c,this.props)}componentWillUnmount(){}initTable(c,p){const S={onCheckboxChanged:T=>{p.checkboxChanged&&p.checkboxChanged(T)},onContextmenu:T=>{p.contextmenu&&p.contextmenu(T)},onModelChanged:T=>{p.modelChanged&&p.modelChanged(T)},onMouseClicked:T=>{p.mouseClicked&&p.mouseClicked(T)},onMouseDragging:T=>{p.mouseDragging&&p.mouseDragging(T)},onMouseDraggingEnd:T=>{p.mouseDraggingEnd&&p.mouseDraggingEnd(T)},onMouseMoved:T=>{}},R=new E_(c,p.tableModel,new __,p.tableOptions??new D_,S);R.firstInit(),p.tableReady&&p.tableReady(R.getApi())}render(){return ZD.jsx("div",{ref:this.ref,className:"container-div",style:{width:"100%",height:"100%",backgroundColor:"transparent",padding:"0",margin:"0"}})}}var pC={},M_={get exports(){return pC},set exports(I){pC=I}},bi={},zm={},O_={get exports(){return zm},set exports(I){zm=I}},vt={};/**
21
+ * @license React
22
+ * react.production.min.js
23
+ *
24
+ * Copyright (c) Facebook, Inc. and its affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */var JR;function L_(){if(JR)return vt;JR=1;var I=Symbol.for("react.element"),c=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),C=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),K=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),J=Symbol.iterator;function ae(D){return D===null||typeof D!="object"?null:(D=J&&D[J]||D["@@iterator"],typeof D=="function"?D:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},le=Object.assign,_e={};function de(D,Q,ve){this.props=D,this.context=Q,this.refs=_e,this.updater=ve||X}de.prototype.isReactComponent={},de.prototype.setState=function(D,Q){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Q,"setState")},de.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function ct(){}ct.prototype=de.prototype;function it(D,Q,ve){this.props=D,this.context=Q,this.refs=_e,this.updater=ve||X}var xe=it.prototype=new ct;xe.constructor=it,le(xe,de.prototype),xe.isPureReactComponent=!0;var Oe=Array.isArray,Ce=Object.prototype.hasOwnProperty,Pe={current:null},ke={key:!0,ref:!0,__self:!0,__source:!0};function Lt(D,Q,ve){var Ke,Ie={},gt=null,at=null;if(Q!=null)for(Ke in Q.ref!==void 0&&(at=Q.ref),Q.key!==void 0&&(gt=""+Q.key),Q)Ce.call(Q,Ke)&&!ke.hasOwnProperty(Ke)&&(Ie[Ke]=Q[Ke]);var St=arguments.length-2;if(St===1)Ie.children=ve;else if(1<St){for(var ut=Array(St),Pt=0;Pt<St;Pt++)ut[Pt]=arguments[Pt+2];Ie.children=ut}if(D&&D.defaultProps)for(Ke in St=D.defaultProps,St)Ie[Ke]===void 0&&(Ie[Ke]=St[Ke]);return{$$typeof:I,type:D,key:gt,ref:at,props:Ie,_owner:Pe.current}}function jt(D,Q){return{$$typeof:I,type:D.type,key:Q,ref:D.ref,props:D.props,_owner:D._owner}}function Bt(D){return typeof D=="object"&&D!==null&&D.$$typeof===I}function Tt(D){var Q={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(ve){return Q[ve]})}var Rn=/\/+/g;function Je(D,Q){return typeof D=="object"&&D!==null&&D.key!=null?Tt(""+D.key):Q.toString(36)}function ft(D,Q,ve,Ke,Ie){var gt=typeof D;(gt==="undefined"||gt==="boolean")&&(D=null);var at=!1;if(D===null)at=!0;else switch(gt){case"string":case"number":at=!0;break;case"object":switch(D.$$typeof){case I:case c:at=!0}}if(at)return at=D,Ie=Ie(at),D=Ke===""?"."+Je(at,0):Ke,Oe(Ie)?(ve="",D!=null&&(ve=D.replace(Rn,"$&/")+"/"),ft(Ie,Q,ve,"",function(Pt){return Pt})):Ie!=null&&(Bt(Ie)&&(Ie=jt(Ie,ve+(!Ie.key||at&&at.key===Ie.key?"":(""+Ie.key).replace(Rn,"$&/")+"/")+D)),Q.push(Ie)),1;if(at=0,Ke=Ke===""?".":Ke+":",Oe(D))for(var St=0;St<D.length;St++){gt=D[St];var ut=Ke+Je(gt,St);at+=ft(gt,Q,ve,ut,Ie)}else if(ut=ae(D),typeof ut=="function")for(D=ut.call(D),St=0;!(gt=D.next()).done;)gt=gt.value,ut=Ke+Je(gt,St++),at+=ft(gt,Q,ve,ut,Ie);else if(gt==="object")throw Q=String(D),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.");return at}function qt(D,Q,ve){if(D==null)return D;var Ke=[],Ie=0;return ft(D,Ke,"","",function(gt){return Q.call(ve,gt,Ie++)}),Ke}function bt(D){if(D._status===-1){var Q=D._result;Q=Q(),Q.then(function(ve){(D._status===0||D._status===-1)&&(D._status=1,D._result=ve)},function(ve){(D._status===0||D._status===-1)&&(D._status=2,D._result=ve)}),D._status===-1&&(D._status=0,D._result=Q)}if(D._status===1)return D._result.default;throw D._result}var Te={current:null},ie={transition:null},Ae={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:ie,ReactCurrentOwner:Pe};return vt.Children={map:qt,forEach:function(D,Q,ve){qt(D,function(){Q.apply(this,arguments)},ve)},count:function(D){var Q=0;return qt(D,function(){Q++}),Q},toArray:function(D){return qt(D,function(Q){return Q})||[]},only:function(D){if(!Bt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},vt.Component=de,vt.Fragment=p,vt.Profiler=R,vt.PureComponent=it,vt.StrictMode=S,vt.Suspense=B,vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ae,vt.cloneElement=function(D,Q,ve){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var Ke=le({},D.props),Ie=D.key,gt=D.ref,at=D._owner;if(Q!=null){if(Q.ref!==void 0&&(gt=Q.ref,at=Pe.current),Q.key!==void 0&&(Ie=""+Q.key),D.type&&D.type.defaultProps)var St=D.type.defaultProps;for(ut in Q)Ce.call(Q,ut)&&!ke.hasOwnProperty(ut)&&(Ke[ut]=Q[ut]===void 0&&St!==void 0?St[ut]:Q[ut])}var ut=arguments.length-2;if(ut===1)Ke.children=ve;else if(1<ut){St=Array(ut);for(var Pt=0;Pt<ut;Pt++)St[Pt]=arguments[Pt+2];Ke.children=St}return{$$typeof:I,type:D.type,key:Ie,ref:gt,props:Ke,_owner:at}},vt.createContext=function(D){return D={$$typeof:C,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:T,_context:D},D.Consumer=D},vt.createElement=Lt,vt.createFactory=function(D){var Q=Lt.bind(null,D);return Q.type=D,Q},vt.createRef=function(){return{current:null}},vt.forwardRef=function(D){return{$$typeof:Y,render:D}},vt.isValidElement=Bt,vt.lazy=function(D){return{$$typeof:ge,_payload:{_status:-1,_result:D},_init:bt}},vt.memo=function(D,Q){return{$$typeof:K,type:D,compare:Q===void 0?null:Q}},vt.startTransition=function(D){var Q=ie.transition;ie.transition={};try{D()}finally{ie.transition=Q}},vt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},vt.useCallback=function(D,Q){return Te.current.useCallback(D,Q)},vt.useContext=function(D){return Te.current.useContext(D)},vt.useDebugValue=function(){},vt.useDeferredValue=function(D){return Te.current.useDeferredValue(D)},vt.useEffect=function(D,Q){return Te.current.useEffect(D,Q)},vt.useId=function(){return Te.current.useId()},vt.useImperativeHandle=function(D,Q,ve){return Te.current.useImperativeHandle(D,Q,ve)},vt.useInsertionEffect=function(D,Q){return Te.current.useInsertionEffect(D,Q)},vt.useLayoutEffect=function(D,Q){return Te.current.useLayoutEffect(D,Q)},vt.useMemo=function(D,Q){return Te.current.useMemo(D,Q)},vt.useReducer=function(D,Q,ve){return Te.current.useReducer(D,Q,ve)},vt.useRef=function(D){return Te.current.useRef(D)},vt.useState=function(D){return Te.current.useState(D)},vt.useSyncExternalStore=function(D,Q,ve){return Te.current.useSyncExternalStore(D,Q,ve)},vt.useTransition=function(){return Te.current.useTransition()},vt.version="18.2.0",vt}var Qp={},A_={get exports(){return Qp},set exports(I){Qp=I}};/**
29
+ * @license React
30
+ * react.development.js
31
+ *
32
+ * Copyright (c) Facebook, Inc. and its affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ */var ew;function N_(){return ew||(ew=1,function(I,c){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var p="18.2.0",S=Symbol.for("react.element"),R=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),K=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),de=Symbol.iterator,ct="@@iterator";function it(y){if(y===null||typeof y!="object")return null;var x=de&&y[de]||y[ct];return typeof x=="function"?x:null}var xe={current:null},Oe={transition:null},Ce={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Pe={current:null},ke={},Lt=null;function jt(y){Lt=y}ke.setExtraStackFrame=function(y){Lt=y},ke.getCurrentStack=null,ke.getStackAddendum=function(){var y="";Lt&&(y+=Lt);var x=ke.getCurrentStack;return x&&(y+=x()||""),y};var Bt=!1,Tt=!1,Rn=!1,Je=!1,ft=!1,qt={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:Oe,ReactCurrentOwner:Pe};qt.ReactDebugCurrentFrame=ke,qt.ReactCurrentActQueue=Ce;function bt(y){{for(var x=arguments.length,F=new Array(x>1?x-1:0),j=1;j<x;j++)F[j-1]=arguments[j];ie("warn",y,F)}}function Te(y){{for(var x=arguments.length,F=new Array(x>1?x-1:0),j=1;j<x;j++)F[j-1]=arguments[j];ie("error",y,F)}}function ie(y,x,F){{var j=qt.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(x+="%s",F=F.concat([ne]));var Ve=F.map(function(ce){return String(ce)});Ve.unshift("Warning: "+x),Function.prototype.apply.call(console[y],console,Ve)}}var Ae={};function D(y,x){{var F=y.constructor,j=F&&(F.displayName||F.name)||"ReactClass",ne=j+"."+x;if(Ae[ne])return;Te("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",x,j),Ae[ne]=!0}}var Q={isMounted:function(y){return!1},enqueueForceUpdate:function(y,x,F){D(y,"forceUpdate")},enqueueReplaceState:function(y,x,F,j){D(y,"replaceState")},enqueueSetState:function(y,x,F,j){D(y,"setState")}},ve=Object.assign,Ke={};Object.freeze(Ke);function Ie(y,x,F){this.props=y,this.context=x,this.refs=Ke,this.updater=F||Q}Ie.prototype.isReactComponent={},Ie.prototype.setState=function(y,x){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,x,"setState")},Ie.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var gt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},at=function(y,x){Object.defineProperty(Ie.prototype,y,{get:function(){bt("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})};for(var St in gt)gt.hasOwnProperty(St)&&at(St,gt[St])}function ut(){}ut.prototype=Ie.prototype;function Pt(y,x,F){this.props=y,this.context=x,this.refs=Ke,this.updater=F||Q}var fa=Pt.prototype=new ut;fa.constructor=Pt,ve(fa,Ie.prototype),fa.isPureReactComponent=!0;function Cr(){var y={current:null};return Object.seal(y),y}var Ti=Array.isArray;function pn(y){return Ti(y)}function Zn(y){{var x=typeof Symbol=="function"&&Symbol.toStringTag,F=x&&y[Symbol.toStringTag]||y.constructor.name||"Object";return F}}function Er(y){try{return Rr(y),!1}catch{return!0}}function Rr(y){return""+y}function Mn(y){if(Er(y))return Te("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(y)),Rr(y)}function Di(y,x,F){var j=y.displayName;if(j)return j;var ne=x.displayName||x.name||"";return ne!==""?F+"("+ne+")":F}function da(y){return y.displayName||"Context"}function Jn(y){if(y==null)return null;if(typeof y.tag=="number"&&Te("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case T:return"Fragment";case R:return"Portal";case Y:return"Profiler";case C:return"StrictMode";case J:return"Suspense";case ae:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case K:var x=y;return da(x)+".Consumer";case B:var F=y;return da(F._context)+".Provider";case ge:return Di(y,y.render,"ForwardRef");case X:var j=y.displayName||null;return j!==null?j:Jn(y.type)||"Memo";case le:{var ne=y,Ve=ne._payload,ce=ne._init;try{return Jn(ce(Ve))}catch{return null}}}return null}var wr=Object.prototype.hasOwnProperty,Wi={key:!0,ref:!0,__self:!0,__source:!0},br,_i,xr;xr={};function ki(y){if(wr.call(y,"ref")){var x=Object.getOwnPropertyDescriptor(y,"ref").get;if(x&&x.isReactWarning)return!1}return y.ref!==void 0}function Vn(y){if(wr.call(y,"key")){var x=Object.getOwnPropertyDescriptor(y,"key").get;if(x&&x.isReactWarning)return!1}return y.key!==void 0}function Ir(y,x){var F=function(){br||(br=!0,Te("%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://reactjs.org/link/special-props)",x))};F.isReactWarning=!0,Object.defineProperty(y,"key",{get:F,configurable:!0})}function Ul(y,x){var F=function(){_i||(_i=!0,Te("%s: `ref` 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://reactjs.org/link/special-props)",x))};F.isReactWarning=!0,Object.defineProperty(y,"ref",{get:F,configurable:!0})}function Yi(y){if(typeof y.ref=="string"&&Pe.current&&y.__self&&Pe.current.stateNode!==y.__self){var x=Jn(Pe.current.type);xr[x]||(Te('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x,y.ref),xr[x]=!0)}}var se=function(y,x,F,j,ne,Ve,ce){var Fe={$$typeof:S,type:y,key:x,ref:F,props:ce,_owner:Ve};return Fe._store={},Object.defineProperty(Fe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Fe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.defineProperty(Fe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(Fe.props),Object.freeze(Fe)),Fe};function Ne(y,x,F){var j,ne={},Ve=null,ce=null,Fe=null,nt=null;if(x!=null){ki(x)&&(ce=x.ref,Yi(x)),Vn(x)&&(Mn(x.key),Ve=""+x.key),Fe=x.__self===void 0?null:x.__self,nt=x.__source===void 0?null:x.__source;for(j in x)wr.call(x,j)&&!Wi.hasOwnProperty(j)&&(ne[j]=x[j])}var yt=arguments.length-2;if(yt===1)ne.children=F;else if(yt>1){for(var Ut=Array(yt),Ot=0;Ot<yt;Ot++)Ut[Ot]=arguments[Ot+2];Object.freeze&&Object.freeze(Ut),ne.children=Ut}if(y&&y.defaultProps){var Ft=y.defaultProps;for(j in Ft)ne[j]===void 0&&(ne[j]=Ft[j])}if(Ve||ce){var It=typeof y=="function"?y.displayName||y.name||"Unknown":y;Ve&&Ir(ne,It),ce&&Ul(ne,It)}return se(y,Ve,ce,Fe,nt,Pe.current,ne)}function et(y,x){var F=se(y.type,x,y.ref,y._self,y._source,y._owner,y.props);return F}function Mt(y,x,F){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var j,ne=ve({},y.props),Ve=y.key,ce=y.ref,Fe=y._self,nt=y._source,yt=y._owner;if(x!=null){ki(x)&&(ce=x.ref,yt=Pe.current),Vn(x)&&(Mn(x.key),Ve=""+x.key);var Ut;y.type&&y.type.defaultProps&&(Ut=y.type.defaultProps);for(j in x)wr.call(x,j)&&!Wi.hasOwnProperty(j)&&(x[j]===void 0&&Ut!==void 0?ne[j]=Ut[j]:ne[j]=x[j])}var Ot=arguments.length-2;if(Ot===1)ne.children=F;else if(Ot>1){for(var Ft=Array(Ot),It=0;It<Ot;It++)Ft[It]=arguments[It+2];ne.children=Ft}return se(y.type,Ve,ce,Fe,nt,yt,ne)}function At(y){return typeof y=="object"&&y!==null&&y.$$typeof===S}var wn=".",hn=":";function Tr(y){var x=/[=:]/g,F={"=":"=0",":":"=2"},j=y.replace(x,function(ne){return F[ne]});return"$"+j}var Wt=!1,ri=/\/+/g;function tn(y){return y.replace(ri,"$&/")}function $t(y,x){return typeof y=="object"&&y!==null&&y.key!=null?(Mn(y.key),Tr(""+y.key)):x.toString(36)}function Fl(y,x,F,j,ne){var Ve=typeof y;(Ve==="undefined"||Ve==="boolean")&&(y=null);var ce=!1;if(y===null)ce=!0;else switch(Ve){case"string":case"number":ce=!0;break;case"object":switch(y.$$typeof){case S:case R:ce=!0}}if(ce){var Fe=y,nt=ne(Fe),yt=j===""?wn+$t(Fe,0):j;if(pn(nt)){var Ut="";yt!=null&&(Ut=tn(yt)+"/"),Fl(nt,x,Ut,"",function(Pf){return Pf})}else nt!=null&&(At(nt)&&(nt.key&&(!Fe||Fe.key!==nt.key)&&Mn(nt.key),nt=et(nt,F+(nt.key&&(!Fe||Fe.key!==nt.key)?tn(""+nt.key)+"/":"")+yt)),x.push(nt));return 1}var Ot,Ft,It=0,st=j===""?wn:j+hn;if(pn(y))for(var ma=0;ma<y.length;ma++)Ot=y[ma],Ft=st+$t(Ot,ma),It+=Fl(Ot,x,F,Ft,ne);else{var Po=it(y);if(typeof Po=="function"){var $u=y;Po===$u.entries&&(Wt||bt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wt=!0);for(var Bf=Po.call($u),zi,Iu=0;!(zi=Bf.next()).done;)Ot=zi.value,Ft=st+$t(Ot,Iu++),It+=Fl(Ot,x,F,Ft,ne)}else if(Ve==="object"){var Wu=String(y);throw new Error("Objects are not valid as a React child (found: "+(Wu==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Wu)+"). If you meant to render a collection of children, use an array instead.")}}return It}function pa(y,x,F){if(y==null)return y;var j=[],ne=0;return Fl(y,j,"","",function(Ve){return x.call(F,Ve,ne++)}),j}function ko(y){var x=0;return pa(y,function(){x++}),x}function Ws(y,x,F){pa(y,function(){x.apply(this,arguments)},F)}function Ys(y){return pa(y,function(x){return x})||[]}function Mo(y){if(!At(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Uu(y){var x={$$typeof:K,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};x.Provider={$$typeof:B,_context:x};var F=!1,j=!1,ne=!1;{var Ve={$$typeof:K,_context:x};Object.defineProperties(Ve,{Provider:{get:function(){return j||(j=!0,Te("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),x.Provider},set:function(ce){x.Provider=ce}},_currentValue:{get:function(){return x._currentValue},set:function(ce){x._currentValue=ce}},_currentValue2:{get:function(){return x._currentValue2},set:function(ce){x._currentValue2=ce}},_threadCount:{get:function(){return x._threadCount},set:function(ce){x._threadCount=ce}},Consumer:{get:function(){return F||(F=!0,Te("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),x.Consumer}},displayName:{get:function(){return x.displayName},set:function(ce){ne||(bt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ce),ne=!0)}}}),x.Consumer=Ve}return x._currentRenderer=null,x._currentRenderer2=null,x}var Mi=-1,$a=0,Gi=1,Ia=2;function Wr(y){if(y._status===Mi){var x=y._result,F=x();if(F.then(function(Ve){if(y._status===$a||y._status===Mi){var ce=y;ce._status=Gi,ce._result=Ve}},function(Ve){if(y._status===$a||y._status===Mi){var ce=y;ce._status=Ia,ce._result=Ve}}),y._status===Mi){var j=y;j._status=$a,j._result=F}}if(y._status===Gi){var ne=y._result;return ne===void 0&&Te(`lazy: Expected the result of a dynamic import() call. Instead received: %s
37
+
38
+ Your code should look like:
39
+ const MyComponent = lazy(() => import('./MyComponent'))
40
+
41
+ Did you accidentally put curly braces around the import?`,ne),"default"in ne||Te(`lazy: Expected the result of a dynamic import() call. Instead received: %s
42
+
43
+ Your code should look like:
44
+ const MyComponent = lazy(() => import('./MyComponent'))`,ne),ne.default}else throw y._result}function Oi(y){var x={_status:Mi,_result:y},F={$$typeof:le,_payload:x,_init:Wr};{var j,ne;Object.defineProperties(F,{defaultProps:{configurable:!0,get:function(){return j},set:function(Ve){Te("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),j=Ve,Object.defineProperty(F,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ne},set:function(Ve){Te("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ne=Ve,Object.defineProperty(F,"propTypes",{enumerable:!0})}}})}return F}function Wa(y){y!=null&&y.$$typeof===X?Te("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof y!="function"?Te("forwardRef requires a render function but was given %s.",y===null?"null":typeof y):y.length!==0&&y.length!==2&&Te("forwardRef render functions accept exactly two parameters: props and ref. %s",y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),y!=null&&(y.defaultProps!=null||y.propTypes!=null)&&Te("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var x={$$typeof:ge,render:y};{var F;Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(j){F=j,!y.name&&!y.displayName&&(y.displayName=j)}})}return x}var Ya;Ya=Symbol.for("react.module.reference");function Oo(y){return!!(typeof y=="string"||typeof y=="function"||y===T||y===Y||ft||y===C||y===J||y===ae||Je||y===_e||Bt||Tt||Rn||typeof y=="object"&&y!==null&&(y.$$typeof===le||y.$$typeof===X||y.$$typeof===B||y.$$typeof===K||y.$$typeof===ge||y.$$typeof===Ya||y.getModuleId!==void 0))}function Fu(y,x){Oo(y)||Te("memo: The first argument must be a component. Instead received: %s",y===null?"null":typeof y);var F={$$typeof:X,type:y,compare:x===void 0?null:x};{var j;Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return j},set:function(ne){j=ne,!y.name&&!y.displayName&&(y.displayName=ne)}})}return F}function un(){var y=xe.current;return y===null&&Te(`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:
45
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
46
+ 2. You might be breaking the Rules of Hooks
47
+ 3. You might have more than one copy of React in the same app
48
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}function ii(y){var x=un();if(y._context!==void 0){var F=y._context;F.Consumer===y?Te("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):F.Provider===y&&Te("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return x.useContext(y)}function Hl(y){var x=un();return x.useState(y)}function Ga(y,x,F){var j=un();return j.useReducer(y,x,F)}function jn(y){var x=un();return x.useRef(y)}function Gs(y,x){var F=un();return F.useEffect(y,x)}function Qs(y,x){var F=un();return F.useInsertionEffect(y,x)}function Hu(y,x){var F=un();return F.useLayoutEffect(y,x)}function Xs(y,x){var F=un();return F.useCallback(y,x)}function Ff(y,x){var F=un();return F.useMemo(y,x)}function Hf(y,x,F){var j=un();return j.useImperativeHandle(y,x,F)}function Zt(y,x){{var F=un();return F.useDebugValue(y,x)}}function Vf(){var y=un();return y.useTransition()}function Li(y){var x=un();return x.useDeferredValue(y)}function tt(){var y=un();return y.useId()}function Qi(y,x,F){var j=un();return j.useSyncExternalStore(y,x,F)}var Qa=0,Lo,Xa,Dr,Vu,or,ju,Bu;function Ks(){}Ks.__reactDisabledLog=!0;function Ao(){{if(Qa===0){Lo=console.log,Xa=console.info,Dr=console.warn,Vu=console.error,or=console.group,ju=console.groupCollapsed,Bu=console.groupEnd;var y={configurable:!0,enumerable:!0,value:Ks,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}Qa++}}function Ka(){{if(Qa--,Qa===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ve({},y,{value:Lo}),info:ve({},y,{value:Xa}),warn:ve({},y,{value:Dr}),error:ve({},y,{value:Vu}),group:ve({},y,{value:or}),groupCollapsed:ve({},y,{value:ju}),groupEnd:ve({},y,{value:Bu})})}Qa<0&&Te("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ai=qt.ReactCurrentDispatcher,ur;function qa(y,x,F){{if(ur===void 0)try{throw Error()}catch(ne){var j=ne.stack.trim().match(/\n( *(at )?)/);ur=j&&j[1]||""}return`
49
+ `+ur+y}}var Za=!1,Ja;{var No=typeof WeakMap=="function"?WeakMap:Map;Ja=new No}function zo(y,x){if(!y||Za)return"";{var F=Ja.get(y);if(F!==void 0)return F}var j;Za=!0;var ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ve;Ve=Ai.current,Ai.current=null,Ao();try{if(x){var ce=function(){throw Error()};if(Object.defineProperty(ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ce,[])}catch(st){j=st}Reflect.construct(y,[],ce)}else{try{ce.call()}catch(st){j=st}y.call(ce.prototype)}}else{try{throw Error()}catch(st){j=st}y()}}catch(st){if(st&&j&&typeof st.stack=="string"){for(var Fe=st.stack.split(`
50
+ `),nt=j.stack.split(`
51
+ `),yt=Fe.length-1,Ut=nt.length-1;yt>=1&&Ut>=0&&Fe[yt]!==nt[Ut];)Ut--;for(;yt>=1&&Ut>=0;yt--,Ut--)if(Fe[yt]!==nt[Ut]){if(yt!==1||Ut!==1)do if(yt--,Ut--,Ut<0||Fe[yt]!==nt[Ut]){var Ot=`
52
+ `+Fe[yt].replace(" at new "," at ");return y.displayName&&Ot.includes("<anonymous>")&&(Ot=Ot.replace("<anonymous>",y.displayName)),typeof y=="function"&&Ja.set(y,Ot),Ot}while(yt>=1&&Ut>=0);break}}}finally{Za=!1,Ai.current=Ve,Ka(),Error.prepareStackTrace=ne}var Ft=y?y.displayName||y.name:"",It=Ft?qa(Ft):"";return typeof y=="function"&&Ja.set(y,It),It}function ha(y,x,F){return zo(y,!1)}function jf(y){var x=y.prototype;return!!(x&&x.isReactComponent)}function Xi(y,x,F){if(y==null)return"";if(typeof y=="function")return zo(y,jf(y));if(typeof y=="string")return qa(y);switch(y){case J:return qa("Suspense");case ae:return qa("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case ge:return ha(y.render);case X:return Xi(y.type,x,F);case le:{var j=y,ne=j._payload,Ve=j._init;try{return Xi(Ve(ne),x,F)}catch{}}}return""}var Et={},Uo=qt.ReactDebugCurrentFrame;function Vl(y){if(y){var x=y._owner,F=Xi(y.type,y._source,x?x.type:null);Uo.setExtraStackFrame(F)}else Uo.setExtraStackFrame(null)}function Fo(y,x,F,j,ne){{var Ve=Function.call.bind(wr);for(var ce in y)if(Ve(y,ce)){var Fe=void 0;try{if(typeof y[ce]!="function"){var nt=Error((j||"React class")+": "+F+" type `"+ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[ce]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw nt.name="Invariant Violation",nt}Fe=y[ce](x,ce,j,F,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(yt){Fe=yt}Fe&&!(Fe instanceof Error)&&(Vl(ne),Te("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",j||"React class",F,ce,typeof Fe),Vl(null)),Fe instanceof Error&&!(Fe.message in Et)&&(Et[Fe.message]=!0,Vl(ne),Te("Failed %s type: %s",F,Fe.message),Vl(null))}}}function mt(y){if(y){var x=y._owner,F=Xi(y.type,y._source,x?x.type:null);jt(F)}else jt(null)}var Ho;Ho=!1;function Vo(){if(Pe.current){var y=Jn(Pe.current.type);if(y)return`
53
+
54
+ Check the render method of \``+y+"`."}return""}function Ge(y){if(y!==void 0){var x=y.fileName.replace(/^.*[\\\/]/,""),F=y.lineNumber;return`
55
+
56
+ Check your code at `+x+":"+F+"."}return""}function jl(y){return y!=null?Ge(y.__source):""}var nn={};function _r(y){var x=Vo();if(!x){var F=typeof y=="string"?y:y.displayName||y.name;F&&(x=`
57
+
58
+ Check the top-level render call using <`+F+">.")}return x}function sr(y,x){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var F=_r(x);if(!nn[F]){nn[F]=!0;var j="";y&&y._owner&&y._owner!==Pe.current&&(j=" It was passed a child from "+Jn(y._owner.type)+"."),mt(y),Te('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',F,j),mt(null)}}}function el(y,x){if(typeof y=="object"){if(pn(y))for(var F=0;F<y.length;F++){var j=y[F];At(j)&&sr(j,x)}else if(At(y))y._store&&(y._store.validated=!0);else if(y){var ne=it(y);if(typeof ne=="function"&&ne!==y.entries)for(var Ve=ne.call(y),ce;!(ce=Ve.next()).done;)At(ce.value)&&sr(ce.value,x)}}}function sn(y){{var x=y.type;if(x==null||typeof x=="string")return;var F;if(typeof x=="function")F=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===ge||x.$$typeof===X))F=x.propTypes;else return;if(F){var j=Jn(x);Fo(F,y.props,"prop",j,y)}else if(x.PropTypes!==void 0&&!Ho){Ho=!0;var ne=Jn(x);Te("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ne||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&Te("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Dt(y){{for(var x=Object.keys(y.props),F=0;F<x.length;F++){var j=x[F];if(j!=="children"&&j!=="key"){mt(y),Te("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",j),mt(null);break}}y.ref!==null&&(mt(y),Te("Invalid attribute `ref` supplied to `React.Fragment`."),mt(null))}}function qs(y,x,F){var j=Oo(y);if(!j){var ne="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(ne+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ve=jl(x);Ve?ne+=Ve:ne+=Vo();var ce;y===null?ce="null":pn(y)?ce="array":y!==void 0&&y.$$typeof===S?(ce="<"+(Jn(y.type)||"Unknown")+" />",ne=" Did you accidentally export a JSX literal instead of a component?"):ce=typeof y,Te("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ce,ne)}var Fe=Ne.apply(this,arguments);if(Fe==null)return Fe;if(j)for(var nt=2;nt<arguments.length;nt++)el(arguments[nt],y);return y===T?Dt(Fe):sn(Fe),Fe}var kr=!1;function On(y){var x=qs.bind(null,y);return x.type=y,kr||(kr=!0,bt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(x,"type",{enumerable:!1,get:function(){return bt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:y}),y}}),x}function Ki(y,x,F){for(var j=Mt.apply(this,arguments),ne=2;ne<arguments.length;ne++)el(arguments[ne],j.type);return sn(j),j}function Zs(y,x){var F=Oe.transition;Oe.transition={};var j=Oe.transition;Oe.transition._updatedFibers=new Set;try{y()}finally{if(Oe.transition=F,F===null&&j._updatedFibers){var ne=j._updatedFibers.size;ne>10&&bt("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."),j._updatedFibers.clear()}}}var va=!1,tl=null;function Js(y){if(tl===null)try{var x=("require"+Math.random()).slice(0,7),F=I&&I[x];tl=F.call(I,"timers").setImmediate}catch{tl=function(ne){va===!1&&(va=!0,typeof MessageChannel>"u"&&Te("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ve=new MessageChannel;Ve.port1.onmessage=ne,Ve.port2.postMessage(void 0)}}return tl(y)}var ai=0,nl=!1;function rl(y){{var x=ai;ai++,Ce.current===null&&(Ce.current=[]);var F=Ce.isBatchingLegacy,j;try{if(Ce.isBatchingLegacy=!0,j=y(),!F&&Ce.didScheduleLegacyUpdate){var ne=Ce.current;ne!==null&&(Ce.didScheduleLegacyUpdate=!1,al(ne))}}catch(Ft){throw li(x),Ft}finally{Ce.isBatchingLegacy=F}if(j!==null&&typeof j=="object"&&typeof j.then=="function"){var Ve=j,ce=!1,Fe={then:function(Ft,It){ce=!0,Ve.then(function(st){li(x),ai===0?jo(st,Ft,It):Ft(st)},function(st){li(x),It(st)})}};return!nl&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ce||(nl=!0,Te("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Fe}else{var nt=j;if(li(x),ai===0){var yt=Ce.current;yt!==null&&(al(yt),Ce.current=null);var Ut={then:function(Ft,It){Ce.current===null?(Ce.current=[],jo(nt,Ft,It)):Ft(nt)}};return Ut}else{var Ot={then:function(Ft,It){Ft(nt)}};return Ot}}}}function li(y){y!==ai-1&&Te("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ai=y}function jo(y,x,F){{var j=Ce.current;if(j!==null)try{al(j),Js(function(){j.length===0?(Ce.current=null,x(y)):jo(y,x,F)})}catch(ne){F(ne)}else x(y)}}var il=!1;function al(y){if(!il){il=!0;var x=0;try{for(;x<y.length;x++){var F=y[x];do F=F(!0);while(F!==null)}y.length=0}catch(j){throw y=y.slice(x+1),j}finally{il=!1}}}var Bl=qs,Bo=Ki,Pu=On,Ni={map:pa,forEach:Ws,count:ko,toArray:Ys,only:Mo};c.Children=Ni,c.Component=Ie,c.Fragment=T,c.Profiler=Y,c.PureComponent=Pt,c.StrictMode=C,c.Suspense=J,c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qt,c.cloneElement=Bo,c.createContext=Uu,c.createElement=Bl,c.createFactory=Pu,c.createRef=Cr,c.forwardRef=Wa,c.isValidElement=At,c.lazy=Oi,c.memo=Fu,c.startTransition=Zs,c.unstable_act=rl,c.useCallback=Xs,c.useContext=ii,c.useDebugValue=Zt,c.useDeferredValue=Li,c.useEffect=Gs,c.useId=tt,c.useImperativeHandle=Hf,c.useInsertionEffect=Qs,c.useLayoutEffect=Hu,c.useMemo=Ff,c.useReducer=Ga,c.useRef=jn,c.useState=Hl,c.useSyncExternalStore=Qi,c.useTransition=Vf,c.version=p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(A_,Qp)),Qp}var tw;function cw(){return tw||(tw=1,function(I){process.env.NODE_ENV==="production"?I.exports=L_():I.exports=N_()}(O_)),zm}var Um={},z_={get exports(){return Um},set exports(I){Um=I}},uC={};/**
59
+ * @license React
60
+ * scheduler.production.min.js
61
+ *
62
+ * Copyright (c) Facebook, Inc. and its affiliates.
63
+ *
64
+ * This source code is licensed under the MIT license found in the
65
+ * LICENSE file in the root directory of this source tree.
66
+ */var nw;function U_(){return nw||(nw=1,function(I){function c(ie,Ae){var D=ie.length;ie.push(Ae);e:for(;0<D;){var Q=D-1>>>1,ve=ie[Q];if(0<R(ve,Ae))ie[Q]=Ae,ie[D]=ve,D=Q;else break e}}function p(ie){return ie.length===0?null:ie[0]}function S(ie){if(ie.length===0)return null;var Ae=ie[0],D=ie.pop();if(D!==Ae){ie[0]=D;e:for(var Q=0,ve=ie.length,Ke=ve>>>1;Q<Ke;){var Ie=2*(Q+1)-1,gt=ie[Ie],at=Ie+1,St=ie[at];if(0>R(gt,D))at<ve&&0>R(St,gt)?(ie[Q]=St,ie[at]=D,Q=at):(ie[Q]=gt,ie[Ie]=D,Q=Ie);else if(at<ve&&0>R(St,D))ie[Q]=St,ie[at]=D,Q=at;else break e}}return Ae}function R(ie,Ae){var D=ie.sortIndex-Ae.sortIndex;return D!==0?D:ie.id-Ae.id}if(typeof performance=="object"&&typeof performance.now=="function"){var T=performance;I.unstable_now=function(){return T.now()}}else{var C=Date,Y=C.now();I.unstable_now=function(){return C.now()-Y}}var B=[],K=[],ge=1,J=null,ae=3,X=!1,le=!1,_e=!1,de=typeof setTimeout=="function"?setTimeout:null,ct=typeof clearTimeout=="function"?clearTimeout:null,it=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function xe(ie){for(var Ae=p(K);Ae!==null;){if(Ae.callback===null)S(K);else if(Ae.startTime<=ie)S(K),Ae.sortIndex=Ae.expirationTime,c(B,Ae);else break;Ae=p(K)}}function Oe(ie){if(_e=!1,xe(ie),!le)if(p(B)!==null)le=!0,bt(Ce);else{var Ae=p(K);Ae!==null&&Te(Oe,Ae.startTime-ie)}}function Ce(ie,Ae){le=!1,_e&&(_e=!1,ct(Lt),Lt=-1),X=!0;var D=ae;try{for(xe(Ae),J=p(B);J!==null&&(!(J.expirationTime>Ae)||ie&&!Tt());){var Q=J.callback;if(typeof Q=="function"){J.callback=null,ae=J.priorityLevel;var ve=Q(J.expirationTime<=Ae);Ae=I.unstable_now(),typeof ve=="function"?J.callback=ve:J===p(B)&&S(B),xe(Ae)}else S(B);J=p(B)}if(J!==null)var Ke=!0;else{var Ie=p(K);Ie!==null&&Te(Oe,Ie.startTime-Ae),Ke=!1}return Ke}finally{J=null,ae=D,X=!1}}var Pe=!1,ke=null,Lt=-1,jt=5,Bt=-1;function Tt(){return!(I.unstable_now()-Bt<jt)}function Rn(){if(ke!==null){var ie=I.unstable_now();Bt=ie;var Ae=!0;try{Ae=ke(!0,ie)}finally{Ae?Je():(Pe=!1,ke=null)}}else Pe=!1}var Je;if(typeof it=="function")Je=function(){it(Rn)};else if(typeof MessageChannel<"u"){var ft=new MessageChannel,qt=ft.port2;ft.port1.onmessage=Rn,Je=function(){qt.postMessage(null)}}else Je=function(){de(Rn,0)};function bt(ie){ke=ie,Pe||(Pe=!0,Je())}function Te(ie,Ae){Lt=de(function(){ie(I.unstable_now())},Ae)}I.unstable_IdlePriority=5,I.unstable_ImmediatePriority=1,I.unstable_LowPriority=4,I.unstable_NormalPriority=3,I.unstable_Profiling=null,I.unstable_UserBlockingPriority=2,I.unstable_cancelCallback=function(ie){ie.callback=null},I.unstable_continueExecution=function(){le||X||(le=!0,bt(Ce))},I.unstable_forceFrameRate=function(ie){0>ie||125<ie?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):jt=0<ie?Math.floor(1e3/ie):5},I.unstable_getCurrentPriorityLevel=function(){return ae},I.unstable_getFirstCallbackNode=function(){return p(B)},I.unstable_next=function(ie){switch(ae){case 1:case 2:case 3:var Ae=3;break;default:Ae=ae}var D=ae;ae=Ae;try{return ie()}finally{ae=D}},I.unstable_pauseExecution=function(){},I.unstable_requestPaint=function(){},I.unstable_runWithPriority=function(ie,Ae){switch(ie){case 1:case 2:case 3:case 4:case 5:break;default:ie=3}var D=ae;ae=ie;try{return Ae()}finally{ae=D}},I.unstable_scheduleCallback=function(ie,Ae,D){var Q=I.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?Q+D:Q):D=Q,ie){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=D+ve,ie={id:ge++,callback:Ae,priorityLevel:ie,startTime:D,expirationTime:ve,sortIndex:-1},D>Q?(ie.sortIndex=D,c(K,ie),p(B)===null&&ie===p(K)&&(_e?(ct(Lt),Lt=-1):_e=!0,Te(Oe,D-Q))):(ie.sortIndex=ve,c(B,ie),le||X||(le=!0,bt(Ce))),ie},I.unstable_shouldYield=Tt,I.unstable_wrapCallback=function(ie){var Ae=ae;return function(){var D=ae;ae=Ae;try{return ie.apply(this,arguments)}finally{ae=D}}}}(uC)),uC}var sC={};/**
67
+ * @license React
68
+ * scheduler.development.js
69
+ *
70
+ * Copyright (c) Facebook, Inc. and its affiliates.
71
+ *
72
+ * This source code is licensed under the MIT license found in the
73
+ * LICENSE file in the root directory of this source tree.
74
+ */var rw;function F_(){return rw||(rw=1,function(I){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var c=!1,p=!1,S=5;function R(se,Ne){var et=se.length;se.push(Ne),Y(se,Ne,et)}function T(se){return se.length===0?null:se[0]}function C(se){if(se.length===0)return null;var Ne=se[0],et=se.pop();return et!==Ne&&(se[0]=et,B(se,et,0)),Ne}function Y(se,Ne,et){for(var Mt=et;Mt>0;){var At=Mt-1>>>1,wn=se[At];if(K(wn,Ne)>0)se[At]=Ne,se[Mt]=wn,Mt=At;else return}}function B(se,Ne,et){for(var Mt=et,At=se.length,wn=At>>>1;Mt<wn;){var hn=(Mt+1)*2-1,Tr=se[hn],Wt=hn+1,ri=se[Wt];if(K(Tr,Ne)<0)Wt<At&&K(ri,Tr)<0?(se[Mt]=ri,se[Wt]=Ne,Mt=Wt):(se[Mt]=Tr,se[hn]=Ne,Mt=hn);else if(Wt<At&&K(ri,Ne)<0)se[Mt]=ri,se[Wt]=Ne,Mt=Wt;else return}}function K(se,Ne){var et=se.sortIndex-Ne.sortIndex;return et!==0?et:se.id-Ne.id}var ge=1,J=2,ae=3,X=4,le=5;function _e(se,Ne){}var de=typeof performance=="object"&&typeof performance.now=="function";if(de){var ct=performance;I.unstable_now=function(){return ct.now()}}else{var it=Date,xe=it.now();I.unstable_now=function(){return it.now()-xe}}var Oe=1073741823,Ce=-1,Pe=250,ke=5e3,Lt=1e4,jt=Oe,Bt=[],Tt=[],Rn=1,Je=null,ft=ae,qt=!1,bt=!1,Te=!1,ie=typeof setTimeout=="function"?setTimeout:null,Ae=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Q(se){for(var Ne=T(Tt);Ne!==null;){if(Ne.callback===null)C(Tt);else if(Ne.startTime<=se)C(Tt),Ne.sortIndex=Ne.expirationTime,R(Bt,Ne);else return;Ne=T(Tt)}}function ve(se){if(Te=!1,Q(se),!bt)if(T(Bt)!==null)bt=!0,ki(Ke);else{var Ne=T(Tt);Ne!==null&&Vn(ve,Ne.startTime-se)}}function Ke(se,Ne){bt=!1,Te&&(Te=!1,Ir()),qt=!0;var et=ft;try{var Mt;if(!p)return Ie(se,Ne)}finally{Je=null,ft=et,qt=!1}}function Ie(se,Ne){var et=Ne;for(Q(et),Je=T(Bt);Je!==null&&!c&&!(Je.expirationTime>et&&(!se||da()));){var Mt=Je.callback;if(typeof Mt=="function"){Je.callback=null,ft=Je.priorityLevel;var At=Je.expirationTime<=et,wn=Mt(At);et=I.unstable_now(),typeof wn=="function"?Je.callback=wn:Je===T(Bt)&&C(Bt),Q(et)}else C(Bt);Je=T(Bt)}if(Je!==null)return!0;var hn=T(Tt);return hn!==null&&Vn(ve,hn.startTime-et),!1}function gt(se,Ne){switch(se){case ge:case J:case ae:case X:case le:break;default:se=ae}var et=ft;ft=se;try{return Ne()}finally{ft=et}}function at(se){var Ne;switch(ft){case ge:case J:case ae:Ne=ae;break;default:Ne=ft;break}var et=ft;ft=Ne;try{return se()}finally{ft=et}}function St(se){var Ne=ft;return function(){var et=ft;ft=Ne;try{return se.apply(this,arguments)}finally{ft=et}}}function ut(se,Ne,et){var Mt=I.unstable_now(),At;if(typeof et=="object"&&et!==null){var wn=et.delay;typeof wn=="number"&&wn>0?At=Mt+wn:At=Mt}else At=Mt;var hn;switch(se){case ge:hn=Ce;break;case J:hn=Pe;break;case le:hn=jt;break;case X:hn=Lt;break;case ae:default:hn=ke;break}var Tr=At+hn,Wt={id:Rn++,callback:Ne,priorityLevel:se,startTime:At,expirationTime:Tr,sortIndex:-1};return At>Mt?(Wt.sortIndex=At,R(Tt,Wt),T(Bt)===null&&Wt===T(Tt)&&(Te?Ir():Te=!0,Vn(ve,At-Mt))):(Wt.sortIndex=Tr,R(Bt,Wt),!bt&&!qt&&(bt=!0,ki(Ke))),Wt}function Pt(){}function fa(){!bt&&!qt&&(bt=!0,ki(Ke))}function Cr(){return T(Bt)}function Ti(se){se.callback=null}function pn(){return ft}var Zn=!1,Er=null,Rr=-1,Mn=S,Di=-1;function da(){var se=I.unstable_now()-Di;return!(se<Mn)}function Jn(){}function wr(se){if(se<0||se>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}se>0?Mn=Math.floor(1e3/se):Mn=S}var Wi=function(){if(Er!==null){var se=I.unstable_now();Di=se;var Ne=!0,et=!0;try{et=Er(Ne,se)}finally{et?br():(Zn=!1,Er=null)}}else Zn=!1},br;if(typeof D=="function")br=function(){D(Wi)};else if(typeof MessageChannel<"u"){var _i=new MessageChannel,xr=_i.port2;_i.port1.onmessage=Wi,br=function(){xr.postMessage(null)}}else br=function(){ie(Wi,0)};function ki(se){Er=se,Zn||(Zn=!0,br())}function Vn(se,Ne){Rr=ie(function(){se(I.unstable_now())},Ne)}function Ir(){Ae(Rr),Rr=-1}var Ul=Jn,Yi=null;I.unstable_IdlePriority=le,I.unstable_ImmediatePriority=ge,I.unstable_LowPriority=X,I.unstable_NormalPriority=ae,I.unstable_Profiling=Yi,I.unstable_UserBlockingPriority=J,I.unstable_cancelCallback=Ti,I.unstable_continueExecution=fa,I.unstable_forceFrameRate=wr,I.unstable_getCurrentPriorityLevel=pn,I.unstable_getFirstCallbackNode=Cr,I.unstable_next=at,I.unstable_pauseExecution=Pt,I.unstable_requestPaint=Ul,I.unstable_runWithPriority=gt,I.unstable_scheduleCallback=ut,I.unstable_shouldYield=da,I.unstable_wrapCallback=St,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(sC)),sC}var iw;function fw(){return iw||(iw=1,function(I){process.env.NODE_ENV==="production"?I.exports=U_():I.exports=F_()}(z_)),Um}/**
75
+ * @license React
76
+ * react-dom.production.min.js
77
+ *
78
+ * Copyright (c) Facebook, Inc. and its affiliates.
79
+ *
80
+ * This source code is licensed under the MIT license found in the
81
+ * LICENSE file in the root directory of this source tree.
82
+ */var aw;function H_(){if(aw)return bi;aw=1;var I=cw(),c=fw();function p(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var S=new Set,R={};function T(n,r){C(n,r),C(n+"Capture",r)}function C(n,r){for(R[n]=r,n=0;n<r.length;n++)S.add(r[n])}var Y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),B=Object.prototype.hasOwnProperty,K=/^[: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]*$/,ge={},J={};function ae(n){return B.call(J,n)?!0:B.call(ge,n)?!1:K.test(n)?J[n]=!0:(ge[n]=!0,!1)}function X(n,r,l,u){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function le(n,r,l,u){if(r===null||typeof r>"u"||X(n,r,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function _e(n,r,l,u,f,h,g){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=f,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=h,this.removeEmptyString=g}var de={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){de[n]=new _e(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];de[r]=new _e(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){de[n]=new _e(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){de[n]=new _e(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){de[n]=new _e(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){de[n]=new _e(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){de[n]=new _e(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){de[n]=new _e(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){de[n]=new _e(n,5,!1,n.toLowerCase(),null,!1,!1)});var ct=/[\-:]([a-z])/g;function it(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(ct,it);de[r]=new _e(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(ct,it);de[r]=new _e(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(ct,it);de[r]=new _e(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){de[n]=new _e(n,1,!1,n.toLowerCase(),null,!1,!1)}),de.xlinkHref=new _e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){de[n]=new _e(n,1,!1,n.toLowerCase(),null,!0,!0)});function xe(n,r,l,u){var f=de.hasOwnProperty(r)?de[r]:null;(f!==null?f.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(le(r,l,f,u)&&(l=null),u||f===null?ae(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):f.mustUseProperty?n[f.propertyName]=l===null?f.type===3?!1:"":l:(r=f.attributeName,u=f.attributeNamespace,l===null?n.removeAttribute(r):(f=f.type,l=f===3||f===4&&l===!0?"":""+l,u?n.setAttributeNS(u,r,l):n.setAttribute(r,l))))}var Oe=I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ce=Symbol.for("react.element"),Pe=Symbol.for("react.portal"),ke=Symbol.for("react.fragment"),Lt=Symbol.for("react.strict_mode"),jt=Symbol.for("react.profiler"),Bt=Symbol.for("react.provider"),Tt=Symbol.for("react.context"),Rn=Symbol.for("react.forward_ref"),Je=Symbol.for("react.suspense"),ft=Symbol.for("react.suspense_list"),qt=Symbol.for("react.memo"),bt=Symbol.for("react.lazy"),Te=Symbol.for("react.offscreen"),ie=Symbol.iterator;function Ae(n){return n===null||typeof n!="object"?null:(n=ie&&n[ie]||n["@@iterator"],typeof n=="function"?n:null)}var D=Object.assign,Q;function ve(n){if(Q===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);Q=r&&r[1]||""}return`
83
+ `+Q+n}var Ke=!1;function Ie(n,r){if(!n||Ke)return"";Ke=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(V){var u=V}Reflect.construct(n,[],r)}else{try{r.call()}catch(V){u=V}n.call(r.prototype)}else{try{throw Error()}catch(V){u=V}n()}}catch(V){if(V&&u&&typeof V.stack=="string"){for(var f=V.stack.split(`
84
+ `),h=u.stack.split(`
85
+ `),g=f.length-1,b=h.length-1;1<=g&&0<=b&&f[g]!==h[b];)b--;for(;1<=g&&0<=b;g--,b--)if(f[g]!==h[b]){if(g!==1||b!==1)do if(g--,b--,0>b||f[g]!==h[b]){var _=`
86
+ `+f[g].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=g&&0<=b);break}}}finally{Ke=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ve(n):""}function gt(n){switch(n.tag){case 5:return ve(n.type);case 16:return ve("Lazy");case 13:return ve("Suspense");case 19:return ve("SuspenseList");case 0:case 2:case 15:return n=Ie(n.type,!1),n;case 11:return n=Ie(n.type.render,!1),n;case 1:return n=Ie(n.type,!0),n;default:return""}}function at(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ke:return"Fragment";case Pe:return"Portal";case jt:return"Profiler";case Lt:return"StrictMode";case Je:return"Suspense";case ft:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Tt:return(n.displayName||"Context")+".Consumer";case Bt:return(n._context.displayName||"Context")+".Provider";case Rn:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case qt:return r=n.displayName||null,r!==null?r:at(n.type)||"Memo";case bt:r=n._payload,n=n._init;try{return at(n(r))}catch{}}return null}function St(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return at(r);case 8:return r===Lt?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function ut(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Pt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function fa(n){var r=Pt(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),u=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return f.call(this)},set:function(g){u=""+g,h.call(this,g)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(g){u=""+g},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Cr(n){n._valueTracker||(n._valueTracker=fa(n))}function Ti(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=Pt(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function pn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Zn(n,r){var l=r.checked;return D({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Er(n,r){var l=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;l=ut(r.value!=null?r.value:l),n._wrapperState={initialChecked:u,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Rr(n,r){r=r.checked,r!=null&&xe(n,"checked",r,!1)}function Mn(n,r){Rr(n,r);var l=ut(r.value),u=r.type;if(l!=null)u==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(u==="submit"||u==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?da(n,r.type,l):r.hasOwnProperty("defaultValue")&&da(n,r.type,ut(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Di(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var u=r.type;if(!(u!=="submit"&&u!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function da(n,r,l){(r!=="number"||pn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var Jn=Array.isArray;function wr(n,r,l,u){if(n=n.options,r){r={};for(var f=0;f<l.length;f++)r["$"+l[f]]=!0;for(l=0;l<n.length;l++)f=r.hasOwnProperty("$"+n[l].value),n[l].selected!==f&&(n[l].selected=f),f&&u&&(n[l].defaultSelected=!0)}else{for(l=""+ut(l),r=null,f=0;f<n.length;f++){if(n[f].value===l){n[f].selected=!0,u&&(n[f].defaultSelected=!0);return}r!==null||n[f].disabled||(r=n[f])}r!==null&&(r.selected=!0)}}function Wi(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(p(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function br(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(p(92));if(Jn(l)){if(1<l.length)throw Error(p(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:ut(l)}}function _i(n,r){var l=ut(r.value),u=ut(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),u!=null&&(n.defaultValue=""+u)}function xr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function ki(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?ki(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ir,Ul=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,u,f){MSApp.execUnsafeLocalFunction(function(){return n(r,l,u,f)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Ir=Ir||document.createElement("div"),Ir.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Ir.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Yi(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var se={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ne=["Webkit","ms","Moz","O"];Object.keys(se).forEach(function(n){Ne.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),se[r]=se[n]})});function et(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||se.hasOwnProperty(n)&&se[n]?(""+r).trim():r+"px"}function Mt(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,f=et(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,f):n[l]=f}}var At=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function wn(n,r){if(r){if(At[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(p(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(p(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(p(61))}if(r.style!=null&&typeof r.style!="object")throw Error(p(62))}}function hn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Tr=null;function Wt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ri=null,tn=null,$t=null;function Fl(n){if(n=ns(n)){if(typeof ri!="function")throw Error(p(280));var r=n.stateNode;r&&(r=ze(r),ri(n.stateNode,n.type,r))}}function pa(n){tn?$t?$t.push(n):$t=[n]:tn=n}function ko(){if(tn){var n=tn,r=$t;if($t=tn=null,Fl(n),r)for(n=0;n<r.length;n++)Fl(r[n])}}function Ws(n,r){return n(r)}function Ys(){}var Mo=!1;function Uu(n,r,l){if(Mo)return n(r,l);Mo=!0;try{return Ws(n,r,l)}finally{Mo=!1,(tn!==null||$t!==null)&&(Ys(),ko())}}function Mi(n,r){var l=n.stateNode;if(l===null)return null;var u=ze(l);if(u===null)return null;l=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(p(231,r,typeof l));return l}var $a=!1;if(Y)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){$a=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch{$a=!1}function Ia(n,r,l,u,f,h,g,b,_){var V=Array.prototype.slice.call(arguments,3);try{r.apply(l,V)}catch(Z){this.onError(Z)}}var Wr=!1,Oi=null,Wa=!1,Ya=null,Oo={onError:function(n){Wr=!0,Oi=n}};function Fu(n,r,l,u,f,h,g,b,_){Wr=!1,Oi=null,Ia.apply(Oo,arguments)}function un(n,r,l,u,f,h,g,b,_){if(Fu.apply(this,arguments),Wr){if(Wr){var V=Oi;Wr=!1,Oi=null}else throw Error(p(198));Wa||(Wa=!0,Ya=V)}}function ii(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function Hl(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Ga(n){if(ii(n)!==n)throw Error(p(188))}function jn(n){var r=n.alternate;if(!r){if(r=ii(n),r===null)throw Error(p(188));return r!==n?null:n}for(var l=n,u=r;;){var f=l.return;if(f===null)break;var h=f.alternate;if(h===null){if(u=f.return,u!==null){l=u;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===l)return Ga(f),n;if(h===u)return Ga(f),r;h=h.sibling}throw Error(p(188))}if(l.return!==u.return)l=f,u=h;else{for(var g=!1,b=f.child;b;){if(b===l){g=!0,l=f,u=h;break}if(b===u){g=!0,u=f,l=h;break}b=b.sibling}if(!g){for(b=h.child;b;){if(b===l){g=!0,l=h,u=f;break}if(b===u){g=!0,u=h,l=f;break}b=b.sibling}if(!g)throw Error(p(189))}}if(l.alternate!==u)throw Error(p(190))}if(l.tag!==3)throw Error(p(188));return l.stateNode.current===l?n:r}function Gs(n){return n=jn(n),n!==null?Qs(n):null}function Qs(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Qs(n);if(r!==null)return r;n=n.sibling}return null}var Hu=c.unstable_scheduleCallback,Xs=c.unstable_cancelCallback,Ff=c.unstable_shouldYield,Hf=c.unstable_requestPaint,Zt=c.unstable_now,Vf=c.unstable_getCurrentPriorityLevel,Li=c.unstable_ImmediatePriority,tt=c.unstable_UserBlockingPriority,Qi=c.unstable_NormalPriority,Qa=c.unstable_LowPriority,Lo=c.unstable_IdlePriority,Xa=null,Dr=null;function Vu(n){if(Dr&&typeof Dr.onCommitFiberRoot=="function")try{Dr.onCommitFiberRoot(Xa,n,void 0,(n.current.flags&128)===128)}catch{}}var or=Math.clz32?Math.clz32:Ks,ju=Math.log,Bu=Math.LN2;function Ks(n){return n>>>=0,n===0?32:31-(ju(n)/Bu|0)|0}var Ao=64,Ka=4194304;function Ai(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ur(n,r){var l=n.pendingLanes;if(l===0)return 0;var u=0,f=n.suspendedLanes,h=n.pingedLanes,g=l&268435455;if(g!==0){var b=g&~f;b!==0?u=Ai(b):(h&=g,h!==0&&(u=Ai(h)))}else g=l&~f,g!==0?u=Ai(g):h!==0&&(u=Ai(h));if(u===0)return 0;if(r!==0&&r!==u&&!(r&f)&&(f=u&-u,h=r&-r,f>=h||f===16&&(h&4194240)!==0))return r;if(u&4&&(u|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=u;0<r;)l=31-or(r),f=1<<l,u|=n[l],r&=~f;return u}function qa(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Za(n,r){for(var l=n.suspendedLanes,u=n.pingedLanes,f=n.expirationTimes,h=n.pendingLanes;0<h;){var g=31-or(h),b=1<<g,_=f[g];_===-1?(!(b&l)||b&u)&&(f[g]=qa(b,r)):_<=r&&(n.expiredLanes|=b),h&=~b}}function Ja(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function No(){var n=Ao;return Ao<<=1,!(Ao&4194240)&&(Ao=64),n}function zo(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function ha(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-or(r),n[r]=l}function jf(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var u=n.eventTimes;for(n=n.expirationTimes;0<l;){var f=31-or(l),h=1<<f;r[f]=0,u[f]=-1,n[f]=-1,l&=~h}}function Xi(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-or(l),f=1<<u;f&r|n[u]&r&&(n[u]|=r),l&=~f}}var Et=0;function Uo(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Vl,Fo,mt,Ho,Vo,Ge=!1,jl=[],nn=null,_r=null,sr=null,el=new Map,sn=new Map,Dt=[],qs="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function kr(n,r){switch(n){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":_r=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":el.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":sn.delete(r.pointerId)}}function On(n,r,l,u,f,h){return n===null||n.nativeEvent!==h?(n={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:h,targetContainers:[f]},r!==null&&(r=ns(r),r!==null&&Fo(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),n)}function Ki(n,r,l,u,f){switch(r){case"focusin":return nn=On(nn,n,r,l,u,f),!0;case"dragenter":return _r=On(_r,n,r,l,u,f),!0;case"mouseover":return sr=On(sr,n,r,l,u,f),!0;case"pointerover":var h=f.pointerId;return el.set(h,On(el.get(h)||null,n,r,l,u,f)),!0;case"gotpointercapture":return h=f.pointerId,sn.set(h,On(sn.get(h)||null,n,r,l,u,f)),!0}return!1}function Zs(n){var r=ui(n.target);if(r!==null){var l=ii(r);if(l!==null){if(r=l.tag,r===13){if(r=Hl(l),r!==null){n.blockedOn=r,Vo(n.priority,function(){mt(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function va(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=Bo(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var u=new l.constructor(l.type,l);Tr=u,l.target.dispatchEvent(u),Tr=null}else return r=ns(l),r!==null&&Fo(r),n.blockedOn=l,!1;r.shift()}return!0}function tl(n,r,l){va(n)&&l.delete(r)}function Js(){Ge=!1,nn!==null&&va(nn)&&(nn=null),_r!==null&&va(_r)&&(_r=null),sr!==null&&va(sr)&&(sr=null),el.forEach(tl),sn.forEach(tl)}function ai(n,r){n.blockedOn===r&&(n.blockedOn=null,Ge||(Ge=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Js)))}function nl(n){function r(f){return ai(f,n)}if(0<jl.length){ai(jl[0],n);for(var l=1;l<jl.length;l++){var u=jl[l];u.blockedOn===n&&(u.blockedOn=null)}}for(nn!==null&&ai(nn,n),_r!==null&&ai(_r,n),sr!==null&&ai(sr,n),el.forEach(r),sn.forEach(r),l=0;l<Dt.length;l++)u=Dt[l],u.blockedOn===n&&(u.blockedOn=null);for(;0<Dt.length&&(l=Dt[0],l.blockedOn===null);)Zs(l),l.blockedOn===null&&Dt.shift()}var rl=Oe.ReactCurrentBatchConfig,li=!0;function jo(n,r,l,u){var f=Et,h=rl.transition;rl.transition=null;try{Et=1,al(n,r,l,u)}finally{Et=f,rl.transition=h}}function il(n,r,l,u){var f=Et,h=rl.transition;rl.transition=null;try{Et=4,al(n,r,l,u)}finally{Et=f,rl.transition=h}}function al(n,r,l,u){if(li){var f=Bo(n,r,l,u);if(f===null)uc(n,r,u,Bl,l),kr(n,u);else if(Ki(f,n,r,l,u))u.stopPropagation();else if(kr(n,u),r&4&&-1<qs.indexOf(n)){for(;f!==null;){var h=ns(f);if(h!==null&&Vl(h),h=Bo(n,r,l,u),h===null&&uc(n,r,u,Bl,l),h===f)break;f=h}f!==null&&u.stopPropagation()}else uc(n,r,u,null,l)}}var Bl=null;function Bo(n,r,l,u){if(Bl=null,n=Wt(u),n=ui(n),n!==null)if(r=ii(n),r===null)n=null;else if(l=r.tag,l===13){if(n=Hl(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return Bl=n,null}function Pu(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Vf()){case Li:return 1;case tt:return 4;case Qi:case Qa:return 16;case Lo:return 536870912;default:return 16}default:return 16}}var Ni=null,y=null,x=null;function F(){if(x)return x;var n,r=y,l=r.length,u,f="value"in Ni?Ni.value:Ni.textContent,h=f.length;for(n=0;n<l&&r[n]===f[n];n++);var g=l-n;for(u=1;u<=g&&r[l-u]===f[h-u];u++);return x=f.slice(n,1<u?1-u:void 0)}function j(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function ne(){return!0}function Ve(){return!1}function ce(n){function r(l,u,f,h,g){this._reactName=l,this._targetInst=f,this.type=u,this.nativeEvent=h,this.target=g,this.currentTarget=null;for(var b in n)n.hasOwnProperty(b)&&(l=n[b],this[b]=l?l(h):h[b]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ne:Ve,this.isPropagationStopped=Ve,this}return D(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ne)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ne)},persist:function(){},isPersistent:ne}),r}var Fe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nt=ce(Fe),yt=D({},Fe,{view:0,detail:0}),Ut=ce(yt),Ot,Ft,It,st=D({},yt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==It&&(It&&n.type==="mousemove"?(Ot=n.screenX-It.screenX,Ft=n.screenY-It.screenY):Ft=Ot=0,It=n),Ot)},movementY:function(n){return"movementY"in n?n.movementY:Ft}}),ma=ce(st),Po=D({},st,{dataTransfer:0}),$u=ce(Po),Bf=D({},yt,{relatedTarget:0}),zi=ce(Bf),Iu=D({},Fe,{animationName:0,elapsedTime:0,pseudoElement:0}),Wu=ce(Iu),Pf=D({},Fe,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fm=ce(Pf),Hm=D({},Fe,{data:0}),$f=ce(Hm),If={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xp={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"},Kp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qp(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Kp[n])?!!r[n]:!1}function Wf(){return qp}var ya=D({},yt,{key:function(n){if(n.key){var r=If[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=j(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Xp[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wf,charCode:function(n){return n.type==="keypress"?j(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?j(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Vm=ce(ya),Yf=D({},st,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ec=ce(Yf),Gf=D({},yt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),jm=ce(Gf),tc=D({},Fe,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zp=ce(tc),Mr=D({},st,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),ga=ce(Mr),gn=[9,13,27,32],Ui=Y&&"CompositionEvent"in window,Pl=null;Y&&"documentMode"in document&&(Pl=document.documentMode);var nc=Y&&"TextEvent"in window&&!Pl,Jp=Y&&(!Ui||Pl&&8<Pl&&11>=Pl),$o=String.fromCharCode(32),eh=!1;function th(n,r){switch(n){case"keyup":return gn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Io=!1;function Bm(n,r){switch(n){case"compositionend":return rc(r);case"keypress":return r.which!==32?null:(eh=!0,$o);case"textInput":return n=r.data,n===$o&&eh?null:n;default:return null}}function Pm(n,r){if(Io)return n==="compositionend"||!Ui&&th(n,r)?(n=F(),x=y=Ni=null,Io=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Jp&&r.locale!=="ko"?null:r.data;default:return null}}var nh={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 rh(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!nh[n.type]:r==="textarea"}function ih(n,r,l,u){pa(u),r=Ju(r,"onChange"),0<r.length&&(l=new nt("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Yu=null,Wo=null;function Yo(n){oc(n,0)}function Go(n){var r=Xo(n);if(Ti(r))return n}function ah(n,r){if(n==="change")return r}var Qf=!1;if(Y){var Xf;if(Y){var Kf="oninput"in document;if(!Kf){var lh=document.createElement("div");lh.setAttribute("oninput","return;"),Kf=typeof lh.oninput=="function"}Xf=Kf}else Xf=!1;Qf=Xf&&(!document.documentMode||9<document.documentMode)}function oh(){Yu&&(Yu.detachEvent("onpropertychange",uh),Wo=Yu=null)}function uh(n){if(n.propertyName==="value"&&Go(Wo)){var r=[];ih(r,Wo,n,Wt(n)),Uu(Yo,r)}}function $m(n,r,l){n==="focusin"?(oh(),Yu=r,Wo=l,Yu.attachEvent("onpropertychange",uh)):n==="focusout"&&oh()}function Im(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Go(Wo)}function Wm(n,r){if(n==="click")return Go(r)}function sh(n,r){if(n==="input"||n==="change")return Go(r)}function Ym(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var oi=typeof Object.is=="function"?Object.is:Ym;function Gu(n,r){if(oi(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),u=Object.keys(r);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var f=l[u];if(!B.call(r,f)||!oi(n[f],r[f]))return!1}return!0}function ch(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function fh(n,r){var l=ch(n);n=0;for(var u;l;){if(l.nodeType===3){if(u=n+l.textContent.length,n<=r&&u>=r)return{node:l,offset:r-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=ch(l)}}function dh(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?dh(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function ic(){for(var n=window,r=pn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=pn(n.document)}return r}function Sa(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function ac(n){var r=ic(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&dh(l.ownerDocument.documentElement,l)){if(u!==null&&Sa(l)){if(r=u.start,n=u.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var f=l.textContent.length,h=Math.min(u.start,f);u=u.end===void 0?h:Math.min(u.end,f),!n.extend&&h>u&&(f=u,u=h,h=f),f=fh(l,h);var g=fh(l,u);f&&g&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==g.node||n.focusOffset!==g.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),n.removeAllRanges(),h>u?(n.addRange(r),n.extend(g.node,g.offset)):(r.setEnd(g.node,g.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var ph=Y&&"documentMode"in document&&11>=document.documentMode,Fi=null,qf=null,Qu=null,Zf=!1;function hh(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Zf||Fi==null||Fi!==pn(u)||(u=Fi,"selectionStart"in u&&Sa(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Qu&&Gu(Qu,u)||(Qu=u,u=Ju(qf,"onSelect"),0<u.length&&(r=new nt("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=Fi)))}function lc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var $l={animationend:lc("Animation","AnimationEnd"),animationiteration:lc("Animation","AnimationIteration"),animationstart:lc("Animation","AnimationStart"),transitionend:lc("Transition","TransitionEnd")},Jf={},ed={};Y&&(ed=document.createElement("div").style,"AnimationEvent"in window||(delete $l.animationend.animation,delete $l.animationiteration.animation,delete $l.animationstart.animation),"TransitionEvent"in window||delete $l.transitionend.transition);function Ln(n){if(Jf[n])return Jf[n];if(!$l[n])return n;var r=$l[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in ed)return Jf[n]=r[l];return n}var td=Ln("animationend"),vh=Ln("animationiteration"),mh=Ln("animationstart"),yh=Ln("transitionend"),gh=new Map,Sh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ca(n,r){gh.set(n,r),T(r,[n])}for(var Xu=0;Xu<Sh.length;Xu++){var Il=Sh[Xu],Gm=Il.toLowerCase(),Ku=Il[0].toUpperCase()+Il.slice(1);Ca(Gm,"on"+Ku)}Ca(td,"onAnimationEnd"),Ca(vh,"onAnimationIteration"),Ca(mh,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(yh,"onTransitionEnd"),C("onMouseEnter",["mouseout","mouseover"]),C("onMouseLeave",["mouseout","mouseover"]),C("onPointerEnter",["pointerout","pointerover"]),C("onPointerLeave",["pointerout","pointerover"]),T("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),T("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),T("onBeforeInput",["compositionend","keypress","textInput","paste"]),T("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),T("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),T("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qu="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(" "),Qm=new Set("cancel close invalid load scroll toggle".split(" ").concat(qu));function Ch(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,un(u,r,void 0,n),n.currentTarget=null}function oc(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var u=n[l],f=u.event;u=u.listeners;e:{var h=void 0;if(r)for(var g=u.length-1;0<=g;g--){var b=u[g],_=b.instance,V=b.currentTarget;if(b=b.listener,_!==h&&f.isPropagationStopped())break e;Ch(f,b,V),h=_}else for(g=0;g<u.length;g++){if(b=u[g],_=b.instance,V=b.currentTarget,b=b.listener,_!==h&&f.isPropagationStopped())break e;Ch(f,b,V),h=_}}}if(Wa)throw n=Ya,Wa=!1,Ya=null,n}function Ht(n,r){var l=r[ud];l===void 0&&(l=r[ud]=new Set);var u=n+"__bubble";l.has(u)||(Eh(r,n,2,!1),l.add(u))}function ll(n,r,l){var u=0;r&&(u|=4),Eh(l,n,u,r)}var Ea="_reactListening"+Math.random().toString(36).slice(2);function Qo(n){if(!n[Ea]){n[Ea]=!0,S.forEach(function(l){l!=="selectionchange"&&(Qm.has(l)||ll(l,!1,n),ll(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Ea]||(r[Ea]=!0,ll("selectionchange",!1,r))}}function Eh(n,r,l,u){switch(Pu(r)){case 1:var f=jo;break;case 4:f=il;break;default:f=al}l=f.bind(null,r,l,n),f=void 0,!$a||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),u?f!==void 0?n.addEventListener(r,l,{capture:!0,passive:f}):n.addEventListener(r,l,!0):f!==void 0?n.addEventListener(r,l,{passive:f}):n.addEventListener(r,l,!1)}function uc(n,r,l,u,f){var h=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var g=u.tag;if(g===3||g===4){var b=u.stateNode.containerInfo;if(b===f||b.nodeType===8&&b.parentNode===f)break;if(g===4)for(g=u.return;g!==null;){var _=g.tag;if((_===3||_===4)&&(_=g.stateNode.containerInfo,_===f||_.nodeType===8&&_.parentNode===f))return;g=g.return}for(;b!==null;){if(g=ui(b),g===null)return;if(_=g.tag,_===5||_===6){u=h=g;continue e}b=b.parentNode}}u=u.return}Uu(function(){var V=h,Z=Wt(l),ee=[];e:{var q=gh.get(n);if(q!==void 0){var pe=nt,Ee=n;switch(n){case"keypress":if(j(l)===0)break e;case"keydown":case"keyup":pe=Vm;break;case"focusin":Ee="focus",pe=zi;break;case"focusout":Ee="blur",pe=zi;break;case"beforeblur":case"afterblur":pe=zi;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":pe=ma;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pe=$u;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pe=jm;break;case td:case vh:case mh:pe=Wu;break;case yh:pe=Zp;break;case"scroll":pe=Ut;break;case"wheel":pe=ga;break;case"copy":case"cut":case"paste":pe=Fm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pe=ec}var be=(r&4)!==0,mn=!be&&n==="scroll",L=be?q!==null?q+"Capture":null:q;be=[];for(var M=V,z;M!==null;){z=M;var re=z.stateNode;if(z.tag===5&&re!==null&&(z=re,L!==null&&(re=Mi(M,L),re!=null&&be.push(Zu(M,re,z)))),mn)break;M=M.return}0<be.length&&(q=new pe(q,Ee,null,l,Z),ee.push({event:q,listeners:be}))}}if(!(r&7)){e:{if(q=n==="mouseover"||n==="pointerover",pe=n==="mouseout"||n==="pointerout",q&&l!==Tr&&(Ee=l.relatedTarget||l.fromElement)&&(ui(Ee)||Ee[Ra]))break e;if((pe||q)&&(q=Z.window===Z?Z:(q=Z.ownerDocument)?q.defaultView||q.parentWindow:window,pe?(Ee=l.relatedTarget||l.toElement,pe=V,Ee=Ee?ui(Ee):null,Ee!==null&&(mn=ii(Ee),Ee!==mn||Ee.tag!==5&&Ee.tag!==6)&&(Ee=null)):(pe=null,Ee=V),pe!==Ee)){if(be=ma,re="onMouseLeave",L="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(be=ec,re="onPointerLeave",L="onPointerEnter",M="pointer"),mn=pe==null?q:Xo(pe),z=Ee==null?q:Xo(Ee),q=new be(re,M+"leave",pe,l,Z),q.target=mn,q.relatedTarget=z,re=null,ui(Z)===V&&(be=new be(L,M+"enter",Ee,l,Z),be.target=z,be.relatedTarget=mn,re=be),mn=re,pe&&Ee)t:{for(be=pe,L=Ee,M=0,z=be;z;z=Wl(z))M++;for(z=0,re=L;re;re=Wl(re))z++;for(;0<M-z;)be=Wl(be),M--;for(;0<z-M;)L=Wl(L),z--;for(;M--;){if(be===L||L!==null&&be===L.alternate)break t;be=Wl(be),L=Wl(L)}be=null}else be=null;pe!==null&&nd(ee,q,pe,be,!1),Ee!==null&&mn!==null&&nd(ee,mn,Ee,be,!0)}}e:{if(q=V?Xo(V):window,pe=q.nodeName&&q.nodeName.toLowerCase(),pe==="select"||pe==="input"&&q.type==="file")var De=ah;else if(rh(q))if(Qf)De=sh;else{De=Im;var Re=$m}else(pe=q.nodeName)&&pe.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(De=Wm);if(De&&(De=De(n,V))){ih(ee,De,l,Z);break e}Re&&Re(n,q,V),n==="focusout"&&(Re=q._wrapperState)&&Re.controlled&&q.type==="number"&&da(q,"number",q.value)}switch(Re=V?Xo(V):window,n){case"focusin":(rh(Re)||Re.contentEditable==="true")&&(Fi=Re,qf=V,Qu=null);break;case"focusout":Qu=qf=Fi=null;break;case"mousedown":Zf=!0;break;case"contextmenu":case"mouseup":case"dragend":Zf=!1,hh(ee,l,Z);break;case"selectionchange":if(ph)break;case"keydown":case"keyup":hh(ee,l,Z)}var Le;if(Ui)e:{switch(n){case"compositionstart":var Ye="onCompositionStart";break e;case"compositionend":Ye="onCompositionEnd";break e;case"compositionupdate":Ye="onCompositionUpdate";break e}Ye=void 0}else Io?th(n,l)&&(Ye="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Ye="onCompositionStart");Ye&&(Jp&&l.locale!=="ko"&&(Io||Ye!=="onCompositionStart"?Ye==="onCompositionEnd"&&Io&&(Le=F()):(Ni=Z,y="value"in Ni?Ni.value:Ni.textContent,Io=!0)),Re=Ju(V,Ye),0<Re.length&&(Ye=new $f(Ye,n,null,l,Z),ee.push({event:Ye,listeners:Re}),Le?Ye.data=Le:(Le=rc(l),Le!==null&&(Ye.data=Le)))),(Le=nc?Bm(n,l):Pm(n,l))&&(V=Ju(V,"onBeforeInput"),0<V.length&&(Z=new $f("onBeforeInput","beforeinput",null,l,Z),ee.push({event:Z,listeners:V}),Z.data=Le))}oc(ee,r)})}function Zu(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Ju(n,r){for(var l=r+"Capture",u=[];n!==null;){var f=n,h=f.stateNode;f.tag===5&&h!==null&&(f=h,h=Mi(n,l),h!=null&&u.unshift(Zu(n,h,f)),h=Mi(n,r),h!=null&&u.push(Zu(n,h,f))),n=n.return}return u}function Wl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function nd(n,r,l,u,f){for(var h=r._reactName,g=[];l!==null&&l!==u;){var b=l,_=b.alternate,V=b.stateNode;if(_!==null&&_===u)break;b.tag===5&&V!==null&&(b=V,f?(_=Mi(l,h),_!=null&&g.unshift(Zu(l,_,b))):f||(_=Mi(l,h),_!=null&&g.push(Zu(l,_,b)))),l=l.return}g.length!==0&&n.push({event:r,listeners:g})}var rd=/\r\n?/g,Xm=/\u0000|\uFFFD/g;function id(n){return(typeof n=="string"?n:""+n).replace(rd,`
87
+ `).replace(Xm,"")}function sc(n,r,l){if(r=id(r),id(n)!==r&&l)throw Error(p(425))}function cc(){}var ad=null,Yl=null;function es(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Gl=typeof setTimeout=="function"?setTimeout:void 0,Rh=typeof clearTimeout=="function"?clearTimeout:void 0,ld=typeof Promise=="function"?Promise:void 0,od=typeof queueMicrotask=="function"?queueMicrotask:typeof ld<"u"?function(n){return ld.resolve(null).then(n).catch(Km)}:Gl;function Km(n){setTimeout(function(){throw n})}function ol(n,r){var l=r,u=0;do{var f=l.nextSibling;if(n.removeChild(l),f&&f.nodeType===8)if(l=f.data,l==="/$"){if(u===0){n.removeChild(f),nl(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=f}while(l);nl(r)}function Hi(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function ts(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var ul=Math.random().toString(36).slice(2),qi="__reactFiber$"+ul,Ql="__reactProps$"+ul,Ra="__reactContainer$"+ul,ud="__reactEvents$"+ul,qm="__reactListeners$"+ul,sd="__reactHandles$"+ul;function ui(n){var r=n[qi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ra]||l[qi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=ts(n);n!==null;){if(l=n[qi])return l;n=ts(n)}return r}n=l,l=n.parentNode}return null}function ns(n){return n=n[qi]||n[Ra],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Xo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(p(33))}function ze(n){return n[Ql]||null}var sl=[],Yt=-1;function qe(n){return{current:n}}function xt(n){0>Yt||(n.current=sl[Yt],sl[Yt]=null,Yt--)}function _t(n,r){Yt++,sl[Yt]=n.current,n.current=r}var Zi={},We=qe(Zi),cn=qe(!1),Or=Zi;function si(n,r){var l=n.type.contextTypes;if(!l)return Zi;var u=n.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===r)return u.__reactInternalMemoizedMaskedChildContext;var f={},h;for(h in l)f[h]=r[h];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=f),f}function Jt(n){return n=n.childContextTypes,n!=null}function ci(){xt(cn),xt(We)}function cl(n,r,l){if(We.current!==Zi)throw Error(p(168));_t(We,r),_t(cn,l)}function rs(n,r,l){var u=n.stateNode;if(r=r.childContextTypes,typeof u.getChildContext!="function")return l;u=u.getChildContext();for(var f in u)if(!(f in r))throw Error(p(108,St(n)||"Unknown",f));return D({},l,u)}function fc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Zi,Or=We.current,_t(We,n),_t(cn,cn.current),!0}function wh(n,r,l){var u=n.stateNode;if(!u)throw Error(p(169));l?(n=rs(n,r,Or),u.__reactInternalMemoizedMergedChildContext=n,xt(cn),xt(We),_t(We,n)):xt(cn),_t(cn,l)}var Yr=null,An=!1,is=!1;function cd(n){Yr===null?Yr=[n]:Yr.push(n)}function fd(n){An=!0,cd(n)}function Lr(){if(!is&&Yr!==null){is=!0;var n=0,r=Et;try{var l=Yr;for(Et=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Yr=null,An=!1}catch(f){throw Yr!==null&&(Yr=Yr.slice(n+1)),Hu(Li,Lr),f}finally{Et=r,is=!1}}return null}var fl=[],Ar=0,Xl=null,Ko=0,Nr=[],er=0,fi=null,Bn=1,wa="";function Gr(n,r){fl[Ar++]=Ko,fl[Ar++]=Xl,Xl=n,Ko=r}function dd(n,r,l){Nr[er++]=Bn,Nr[er++]=wa,Nr[er++]=fi,fi=n;var u=Bn;n=wa;var f=32-or(u)-1;u&=~(1<<f),l+=1;var h=32-or(r)+f;if(30<h){var g=f-f%5;h=(u&(1<<g)-1).toString(32),u>>=g,f-=g,Bn=1<<32-or(r)+f|l<<f|u,wa=h+n}else Bn=1<<h|l<<f|u,wa=n}function dc(n){n.return!==null&&(Gr(n,1),dd(n,1,0))}function pd(n){for(;n===Xl;)Xl=fl[--Ar],fl[Ar]=null,Ko=fl[--Ar],fl[Ar]=null;for(;n===fi;)fi=Nr[--er],Nr[er]=null,wa=Nr[--er],Nr[er]=null,Bn=Nr[--er],Nr[er]=null}var Qr=null,zr=null,Gt=!1,di=null;function hd(n,r){var l=gi(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function bh(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Qr=n,zr=Hi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Qr=n,zr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=fi!==null?{id:Bn,overflow:wa}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=gi(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Qr=n,zr=null,!0):!1;default:return!1}}function pc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function hc(n){if(Gt){var r=zr;if(r){var l=r;if(!bh(n,r)){if(pc(n))throw Error(p(418));r=Hi(l.nextSibling);var u=Qr;r&&bh(n,r)?hd(u,l):(n.flags=n.flags&-4097|2,Gt=!1,Qr=n)}}else{if(pc(n))throw Error(p(418));n.flags=n.flags&-4097|2,Gt=!1,Qr=n}}}function xh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Qr=n}function vc(n){if(n!==Qr)return!1;if(!Gt)return xh(n),Gt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!es(n.type,n.memoizedProps)),r&&(r=zr)){if(pc(n))throw Th(),Error(p(418));for(;r;)hd(n,r),r=Hi(r.nextSibling)}if(xh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(p(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){zr=Hi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}zr=null}}else zr=Qr?Hi(n.stateNode.nextSibling):null;return!0}function Th(){for(var n=zr;n;)n=Hi(n.nextSibling)}function rn(){zr=Qr=null,Gt=!1}function vd(n){di===null?di=[n]:di.push(n)}var mc=Oe.ReactCurrentBatchConfig;function Xr(n,r){if(n&&n.defaultProps){r=D({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var Ji=qe(null),yc=null,dl=null,md=null;function yd(){md=dl=yc=null}function pl(n){var r=Ji.current;xt(Ji),n._currentValue=r}function Nn(n,r,l){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===l)break;n=n.return}}function oe(n,r){yc=n,md=dl=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Sn=!0),n.firstContext=null)}function vn(n){var r=n._currentValue;if(md!==n)if(n={context:n,memoizedValue:r,next:null},dl===null){if(yc===null)throw Error(p(308));dl=n,yc.dependencies={lanes:0,firstContext:n}}else dl=dl.next=n;return r}var Pn=null;function gd(n){Pn===null?Pn=[n]:Pn.push(n)}function Dh(n,r,l,u){var f=r.interleaved;return f===null?(l.next=l,gd(r)):(l.next=f.next,f.next=l),r.interleaved=l,ba(n,u)}function ba(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var hl=!1;function Sd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function xa(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function vl(n,r,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,lt&2){var f=u.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),u.pending=r,ba(n,l)}return f=u.interleaved,f===null?(r.next=r,gd(u)):(r.next=f.next,f.next=r),u.interleaved=r,ba(n,l)}function gc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Xi(n,l)}}function Cd(n,r){var l=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var f=null,h=null;if(l=l.firstBaseUpdate,l!==null){do{var g={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};h===null?f=h=g:h=h.next=g,l=l.next}while(l!==null);h===null?f=h=r:h=h.next=r}else f=h=r;l={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:u.shared,effects:u.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function ml(n,r,l,u){var f=n.updateQueue;hl=!1;var h=f.firstBaseUpdate,g=f.lastBaseUpdate,b=f.shared.pending;if(b!==null){f.shared.pending=null;var _=b,V=_.next;_.next=null,g===null?h=V:g.next=V,g=_;var Z=n.alternate;Z!==null&&(Z=Z.updateQueue,b=Z.lastBaseUpdate,b!==g&&(b===null?Z.firstBaseUpdate=V:b.next=V,Z.lastBaseUpdate=_))}if(h!==null){var ee=f.baseState;g=0,Z=V=_=null,b=h;do{var q=b.lane,pe=b.eventTime;if((u&q)===q){Z!==null&&(Z=Z.next={eventTime:pe,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var Ee=n,be=b;switch(q=r,pe=l,be.tag){case 1:if(Ee=be.payload,typeof Ee=="function"){ee=Ee.call(pe,ee,q);break e}ee=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=be.payload,q=typeof Ee=="function"?Ee.call(pe,ee,q):Ee,q==null)break e;ee=D({},ee,q);break e;case 2:hl=!0}}b.callback!==null&&b.lane!==0&&(n.flags|=64,q=f.effects,q===null?f.effects=[b]:q.push(b))}else pe={eventTime:pe,lane:q,tag:b.tag,payload:b.payload,callback:b.callback,next:null},Z===null?(V=Z=pe,_=ee):Z=Z.next=pe,g|=q;if(b=b.next,b===null){if(b=f.shared.pending,b===null)break;q=b,b=q.next,q.next=null,f.lastBaseUpdate=q,f.shared.pending=null}}while(1);if(Z===null&&(_=ee),f.baseState=_,f.firstBaseUpdate=V,f.lastBaseUpdate=Z,r=f.shared.interleaved,r!==null){f=r;do g|=f.lane,f=f.next;while(f!==r)}else h===null&&(f.shared.lanes=0);ka|=g,n.lanes=g,n.memoizedState=ee}}function Kl(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var u=n[r],f=u.callback;if(f!==null){if(u.callback=null,u=l,typeof f!="function")throw Error(p(191,f));f.call(u)}}}var _h=new I.Component().refs;function Ed(n,r,l,u){r=n.memoizedState,l=l(u,r),l=l==null?r:D({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var Sc={isMounted:function(n){return(n=n._reactInternals)?ii(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=ir(),f=Cn(n),h=xa(u,f);h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ar(r,n,f,u),gc(r,n,f))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ir(),f=Cn(n),h=xa(u,f);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ar(r,n,f,u),gc(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ir(),u=Cn(n),f=xa(l,u);f.tag=2,r!=null&&(f.callback=r),r=vl(n,f,u),r!==null&&(ar(r,n,u,l),gc(r,n,u))}};function kh(n,r,l,u,f,h,g){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,h,g):r.prototype&&r.prototype.isPureReactComponent?!Gu(l,u)||!Gu(f,h):!0}function Mh(n,r,l){var u=!1,f=Zi,h=r.contextType;return typeof h=="object"&&h!==null?h=vn(h):(f=Jt(r)?Or:We.current,u=r.contextTypes,h=(u=u!=null)?si(n,f):Zi),r=new r(l,h),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Sc,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=h),r}function Oh(n,r,l,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,u),r.state!==n&&Sc.enqueueReplaceState(r,r.state,null)}function Cc(n,r,l,u){var f=n.stateNode;f.props=l,f.state=n.memoizedState,f.refs=_h,Sd(n);var h=r.contextType;typeof h=="object"&&h!==null?f.context=vn(h):(h=Jt(r)?Or:We.current,f.context=si(n,h)),f.state=n.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(Ed(n,r,h,l),f.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&Sc.enqueueReplaceState(f,f.state,null),ml(n,l,f,u),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function qo(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(p(309));var u=l.stateNode}if(!u)throw Error(p(147,n));var f=u,h=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===h?r.ref:(r=function(g){var b=f.refs;b===_h&&(b=f.refs={}),g===null?delete b[h]:b[h]=g},r._stringRef=h,r)}if(typeof n!="string")throw Error(p(284));if(!l._owner)throw Error(p(290,n))}return n}function Ec(n,r){throw n=Object.prototype.toString.call(r),Error(p(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function Lh(n){var r=n._init;return r(n._payload)}function Ah(n){function r(L,M){if(n){var z=L.deletions;z===null?(L.deletions=[M],L.flags|=16):z.push(M)}}function l(L,M){if(!n)return null;for(;M!==null;)r(L,M),M=M.sibling;return null}function u(L,M){for(L=new Map;M!==null;)M.key!==null?L.set(M.key,M):L.set(M.index,M),M=M.sibling;return L}function f(L,M){return L=bl(L,M),L.index=0,L.sibling=null,L}function h(L,M,z){return L.index=z,n?(z=L.alternate,z!==null?(z=z.index,z<M?(L.flags|=2,M):z):(L.flags|=2,M)):(L.flags|=1048576,M)}function g(L){return n&&L.alternate===null&&(L.flags|=2),L}function b(L,M,z,re){return M===null||M.tag!==6?(M=ws(z,L.mode,re),M.return=L,M):(M=f(M,z),M.return=L,M)}function _(L,M,z,re){var De=z.type;return De===ke?Z(L,M,z.props.children,re,z.key):M!==null&&(M.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===bt&&Lh(De)===M.type)?(re=f(M,z.props),re.ref=qo(L,M,z),re.return=L,re):(re=Jc(z.type,z.key,z.props,null,L.mode,re),re.ref=qo(L,M,z),re.return=L,re)}function V(L,M,z,re){return M===null||M.tag!==4||M.stateNode.containerInfo!==z.containerInfo||M.stateNode.implementation!==z.implementation?(M=mo(z,L.mode,re),M.return=L,M):(M=f(M,z.children||[]),M.return=L,M)}function Z(L,M,z,re,De){return M===null||M.tag!==7?(M=vo(z,L.mode,re,De),M.return=L,M):(M=f(M,z),M.return=L,M)}function ee(L,M,z){if(typeof M=="string"&&M!==""||typeof M=="number")return M=ws(""+M,L.mode,z),M.return=L,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Ce:return z=Jc(M.type,M.key,M.props,null,L.mode,z),z.ref=qo(L,null,M),z.return=L,z;case Pe:return M=mo(M,L.mode,z),M.return=L,M;case bt:var re=M._init;return ee(L,re(M._payload),z)}if(Jn(M)||Ae(M))return M=vo(M,L.mode,z,null),M.return=L,M;Ec(L,M)}return null}function q(L,M,z,re){var De=M!==null?M.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return De!==null?null:b(L,M,""+z,re);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Ce:return z.key===De?_(L,M,z,re):null;case Pe:return z.key===De?V(L,M,z,re):null;case bt:return De=z._init,q(L,M,De(z._payload),re)}if(Jn(z)||Ae(z))return De!==null?null:Z(L,M,z,re,null);Ec(L,z)}return null}function pe(L,M,z,re,De){if(typeof re=="string"&&re!==""||typeof re=="number")return L=L.get(z)||null,b(M,L,""+re,De);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case Ce:return L=L.get(re.key===null?z:re.key)||null,_(M,L,re,De);case Pe:return L=L.get(re.key===null?z:re.key)||null,V(M,L,re,De);case bt:var Re=re._init;return pe(L,M,z,Re(re._payload),De)}if(Jn(re)||Ae(re))return L=L.get(z)||null,Z(M,L,re,De,null);Ec(M,re)}return null}function Ee(L,M,z,re){for(var De=null,Re=null,Le=M,Ye=M=0,Fn=null;Le!==null&&Ye<z.length;Ye++){Le.index>Ye?(Fn=Le,Le=null):Fn=Le.sibling;var Ct=q(L,Le,z[Ye],re);if(Ct===null){Le===null&&(Le=Fn);break}n&&Le&&Ct.alternate===null&&r(L,Le),M=h(Ct,M,Ye),Re===null?De=Ct:Re.sibling=Ct,Re=Ct,Le=Fn}if(Ye===z.length)return l(L,Le),Gt&&Gr(L,Ye),De;if(Le===null){for(;Ye<z.length;Ye++)Le=ee(L,z[Ye],re),Le!==null&&(M=h(Le,M,Ye),Re===null?De=Le:Re.sibling=Le,Re=Le);return Gt&&Gr(L,Ye),De}for(Le=u(L,Le);Ye<z.length;Ye++)Fn=pe(Le,L,Ye,z[Ye],re),Fn!==null&&(n&&Fn.alternate!==null&&Le.delete(Fn.key===null?Ye:Fn.key),M=h(Fn,M,Ye),Re===null?De=Fn:Re.sibling=Fn,Re=Fn);return n&&Le.forEach(function(xl){return r(L,xl)}),Gt&&Gr(L,Ye),De}function be(L,M,z,re){var De=Ae(z);if(typeof De!="function")throw Error(p(150));if(z=De.call(z),z==null)throw Error(p(151));for(var Re=De=null,Le=M,Ye=M=0,Fn=null,Ct=z.next();Le!==null&&!Ct.done;Ye++,Ct=z.next()){Le.index>Ye?(Fn=Le,Le=null):Fn=Le.sibling;var xl=q(L,Le,Ct.value,re);if(xl===null){Le===null&&(Le=Fn);break}n&&Le&&xl.alternate===null&&r(L,Le),M=h(xl,M,Ye),Re===null?De=xl:Re.sibling=xl,Re=xl,Le=Fn}if(Ct.done)return l(L,Le),Gt&&Gr(L,Ye),De;if(Le===null){for(;!Ct.done;Ye++,Ct=z.next())Ct=ee(L,Ct.value,re),Ct!==null&&(M=h(Ct,M,Ye),Re===null?De=Ct:Re.sibling=Ct,Re=Ct);return Gt&&Gr(L,Ye),De}for(Le=u(L,Le);!Ct.done;Ye++,Ct=z.next())Ct=pe(Le,L,Ye,Ct.value,re),Ct!==null&&(n&&Ct.alternate!==null&&Le.delete(Ct.key===null?Ye:Ct.key),M=h(Ct,M,Ye),Re===null?De=Ct:Re.sibling=Ct,Re=Ct);return n&&Le.forEach(function(yy){return r(L,yy)}),Gt&&Gr(L,Ye),De}function mn(L,M,z,re){if(typeof z=="object"&&z!==null&&z.type===ke&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case Ce:e:{for(var De=z.key,Re=M;Re!==null;){if(Re.key===De){if(De=z.type,De===ke){if(Re.tag===7){l(L,Re.sibling),M=f(Re,z.props.children),M.return=L,L=M;break e}}else if(Re.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===bt&&Lh(De)===Re.type){l(L,Re.sibling),M=f(Re,z.props),M.ref=qo(L,Re,z),M.return=L,L=M;break e}l(L,Re);break}else r(L,Re);Re=Re.sibling}z.type===ke?(M=vo(z.props.children,L.mode,re,z.key),M.return=L,L=M):(re=Jc(z.type,z.key,z.props,null,L.mode,re),re.ref=qo(L,M,z),re.return=L,L=re)}return g(L);case Pe:e:{for(Re=z.key;M!==null;){if(M.key===Re)if(M.tag===4&&M.stateNode.containerInfo===z.containerInfo&&M.stateNode.implementation===z.implementation){l(L,M.sibling),M=f(M,z.children||[]),M.return=L,L=M;break e}else{l(L,M);break}else r(L,M);M=M.sibling}M=mo(z,L.mode,re),M.return=L,L=M}return g(L);case bt:return Re=z._init,mn(L,M,Re(z._payload),re)}if(Jn(z))return Ee(L,M,z,re);if(Ae(z))return be(L,M,z,re);Ec(L,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,M!==null&&M.tag===6?(l(L,M.sibling),M=f(M,z),M.return=L,L=M):(l(L,M),M=ws(z,L.mode,re),M.return=L,L=M),g(L)):l(L,M)}return mn}var Zo=Ah(!0),Nh=Ah(!1),as={},Vi=qe(as),ls=qe(as),Jo=qe(as);function ql(n){if(n===as)throw Error(p(174));return n}function Rd(n,r){switch(_t(Jo,r),_t(ls,n),_t(Vi,as),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Vn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=Vn(r,n)}xt(Vi),_t(Vi,r)}function yl(){xt(Vi),xt(ls),xt(Jo)}function He(n){ql(Jo.current);var r=ql(Vi.current),l=Vn(r,n.type);r!==l&&(_t(ls,n),_t(Vi,l))}function rt(n){ls.current===n&&(xt(Vi),xt(ls))}var je=qe(0);function an(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var pi=[];function Rc(){for(var n=0;n<pi.length;n++)pi[n]._workInProgressVersionPrimary=null;pi.length=0}var wc=Oe.ReactCurrentDispatcher,wd=Oe.ReactCurrentBatchConfig,Zl=0,Qt=null,W=null,dt=null,Be=!1,ea=!1,Kr=0,Jl=0;function Xt(){throw Error(p(321))}function eo(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!oi(n[l],r[l]))return!1;return!0}function gl(n,r,l,u,f,h){if(Zl=h,Qt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,wc.current=n===null||n.memoizedState===null?Jm:ey,n=l(u,f),ea){h=0;do{if(ea=!1,Kr=0,25<=h)throw Error(p(301));h+=1,dt=W=null,r.updateQueue=null,wc.current=xd,n=l(u,f)}while(ea)}if(wc.current=Vc,r=W!==null&&W.next!==null,Zl=0,dt=W=Qt=null,Be=!1,r)throw Error(p(300));return n}function to(){var n=Kr!==0;return Kr=0,n}function hi(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Qt.memoizedState=dt=n:dt=dt.next=n,dt}function Ur(){if(W===null){var n=Qt.alternate;n=n!==null?n.memoizedState:null}else n=W.next;var r=dt===null?Qt.memoizedState:dt.next;if(r!==null)dt=r,W=n;else{if(n===null)throw Error(p(310));W=n,n={memoizedState:W.memoizedState,baseState:W.baseState,baseQueue:W.baseQueue,queue:W.queue,next:null},dt===null?Qt.memoizedState=dt=n:dt=dt.next=n}return dt}function no(n,r){return typeof r=="function"?r(n):r}function os(n){var r=Ur(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=W,f=u.baseQueue,h=l.pending;if(h!==null){if(f!==null){var g=f.next;f.next=h.next,h.next=g}u.baseQueue=f=h,l.pending=null}if(f!==null){h=f.next,u=u.baseState;var b=g=null,_=null,V=h;do{var Z=V.lane;if((Zl&Z)===Z)_!==null&&(_=_.next={lane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),u=V.hasEagerState?V.eagerState:n(u,V.action);else{var ee={lane:Z,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};_===null?(b=_=ee,g=u):_=_.next=ee,Qt.lanes|=Z,ka|=Z}V=V.next}while(V!==null&&V!==h);_===null?g=u:_.next=b,oi(u,r.memoizedState)||(Sn=!0),r.memoizedState=u,r.baseState=g,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){f=n;do h=f.lane,Qt.lanes|=h,ka|=h,f=f.next;while(f!==n)}else f===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function us(n){var r=Ur(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=l.dispatch,f=l.pending,h=r.memoizedState;if(f!==null){l.pending=null;var g=f=f.next;do h=n(h,g.action),g=g.next;while(g!==f);oi(h,r.memoizedState)||(Sn=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function bc(){}function xc(n,r){var l=Qt,u=Ur(),f=r(),h=!oi(u.memoizedState,f);if(h&&(u.memoizedState=f,Sn=!0),u=u.queue,ss(_c.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||dt!==null&&dt.memoizedState.tag&1){if(l.flags|=2048,ro(9,Dc.bind(null,l,u,f,r),void 0,null),ln===null)throw Error(p(349));Zl&30||Tc(l,r,f)}return f}function Tc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=Qt.updateQueue,r===null?(r={lastEffect:null,stores:null},Qt.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Dc(n,r,l,u){r.value=l,r.getSnapshot=u,kc(r)&&Mc(n)}function _c(n,r,l){return l(function(){kc(r)&&Mc(n)})}function kc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!oi(n,l)}catch{return!0}}function Mc(n){var r=ba(n,1);r!==null&&ar(r,n,1,-1)}function Oc(n){var r=hi();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:no,lastRenderedState:n},r.queue=n,n=n.dispatch=Hc.bind(null,Qt,n),[r.memoizedState,n]}function ro(n,r,l,u){return n={tag:n,create:r,destroy:l,deps:u,next:null},r=Qt.updateQueue,r===null?(r={lastEffect:null,stores:null},Qt.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(u=l.next,l.next=n,n.next=u,r.lastEffect=n)),n}function Lc(){return Ur().memoizedState}function io(n,r,l,u){var f=hi();Qt.flags|=n,f.memoizedState=ro(1|r,l,void 0,u===void 0?null:u)}function Ta(n,r,l,u){var f=Ur();u=u===void 0?null:u;var h=void 0;if(W!==null){var g=W.memoizedState;if(h=g.destroy,u!==null&&eo(u,g.deps)){f.memoizedState=ro(r,l,h,u);return}}Qt.flags|=n,f.memoizedState=ro(1|r,l,h,u)}function Ac(n,r){return io(8390656,8,n,r)}function ss(n,r){return Ta(2048,8,n,r)}function Nc(n,r){return Ta(4,2,n,r)}function zc(n,r){return Ta(4,4,n,r)}function bd(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function eu(n,r,l){return l=l!=null?l.concat([n]):null,Ta(4,4,bd.bind(null,r,n),l)}function Uc(){}function tu(n,r){var l=Ur();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&eo(r,u[1])?u[0]:(l.memoizedState=[n,r],n)}function Sl(n,r){var l=Ur();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&eo(r,u[1])?u[0]:(n=n(),l.memoizedState=[n,r],n)}function Fr(n,r,l){return Zl&21?(oi(l,r)||(l=No(),Qt.lanes|=l,ka|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Sn=!0),n.memoizedState=l)}function Zm(n,r){var l=Et;Et=l!==0&&4>l?l:4,n(!0);var u=wd.transition;wd.transition={};try{n(!1),r()}finally{Et=l,wd.transition=u}}function Vt(){return Ur().memoizedState}function Fc(n,r,l){var u=Cn(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},nu(n))cs(r,l);else if(l=Dh(n,r,l,u),l!==null){var f=ir();ar(l,n,u,f),zh(l,r,u)}}function Hc(n,r,l){var u=Cn(n),f={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(nu(n))cs(r,f);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var g=r.lastRenderedState,b=h(g,l);if(f.hasEagerState=!0,f.eagerState=b,oi(b,g)){var _=r.interleaved;_===null?(f.next=f,gd(r)):(f.next=_.next,_.next=f),r.interleaved=f;return}}catch{}finally{}l=Dh(n,r,f,u),l!==null&&(f=ir(),ar(l,n,u,f),zh(l,r,u))}}function nu(n){var r=n.alternate;return n===Qt||r!==null&&r===Qt}function cs(n,r){ea=Be=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function zh(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Xi(n,l)}}var Vc={readContext:vn,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useInsertionEffect:Xt,useLayoutEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useMutableSource:Xt,useSyncExternalStore:Xt,useId:Xt,unstable_isNewReconciler:!1},Jm={readContext:vn,useCallback:function(n,r){return hi().memoizedState=[n,r===void 0?null:r],n},useContext:vn,useEffect:Ac,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,io(4194308,4,bd.bind(null,r,n),l)},useLayoutEffect:function(n,r){return io(4194308,4,n,r)},useInsertionEffect:function(n,r){return io(4,2,n,r)},useMemo:function(n,r){var l=hi();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=hi();return r=l!==void 0?l(r):r,u.memoizedState=u.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},u.queue=n,n=n.dispatch=Fc.bind(null,Qt,n),[u.memoizedState,n]},useRef:function(n){var r=hi();return n={current:n},r.memoizedState=n},useState:Oc,useDebugValue:Uc,useDeferredValue:function(n){return hi().memoizedState=n},useTransition:function(){var n=Oc(!1),r=n[0];return n=Zm.bind(null,n[1]),hi().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=Qt,f=hi();if(Gt){if(l===void 0)throw Error(p(407));l=l()}else{if(l=r(),ln===null)throw Error(p(349));Zl&30||Tc(u,r,l)}f.memoizedState=l;var h={value:l,getSnapshot:r};return f.queue=h,Ac(_c.bind(null,u,h,n),[n]),u.flags|=2048,ro(9,Dc.bind(null,u,h,l,r),void 0,null),l},useId:function(){var n=hi(),r=ln.identifierPrefix;if(Gt){var l=wa,u=Bn;l=(u&~(1<<32-or(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=Kr++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Jl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},ey={readContext:vn,useCallback:tu,useContext:vn,useEffect:ss,useImperativeHandle:eu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:os,useRef:Lc,useState:function(){return os(no)},useDebugValue:Uc,useDeferredValue:function(n){var r=Ur();return Fr(r,W.memoizedState,n)},useTransition:function(){var n=os(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:bc,useSyncExternalStore:xc,useId:Vt,unstable_isNewReconciler:!1},xd={readContext:vn,useCallback:tu,useContext:vn,useEffect:ss,useImperativeHandle:eu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:us,useRef:Lc,useState:function(){return us(no)},useDebugValue:Uc,useDeferredValue:function(n){var r=Ur();return W===null?r.memoizedState=n:Fr(r,W.memoizedState,n)},useTransition:function(){var n=us(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:bc,useSyncExternalStore:xc,useId:Vt,unstable_isNewReconciler:!1};function ru(n,r){try{var l="",u=r;do l+=gt(u),u=u.return;while(u);var f=l}catch(h){f=`
88
+ Error generating stack: `+h.message+`
89
+ `+h.stack}return{value:n,source:r,stack:f,digest:null}}function fs(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function jc(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var ty=typeof WeakMap=="function"?WeakMap:Map;function Uh(n,r,l){l=xa(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){Gc||(Gc=!0,so=u),jc(n,r)},l}function ds(n,r,l){l=xa(-1,l),l.tag=3;var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var f=r.value;l.payload=function(){return u(f)},l.callback=function(){jc(n,r)}}var h=n.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){jc(n,r),typeof u!="function"&&(ra===null?ra=new Set([this]):ra.add(this));var g=r.stack;this.componentDidCatch(r.value,{componentStack:g!==null?g:""})}),l}function Fh(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new ty;var f=new Set;u.set(r,f)}else f=u.get(r),f===void 0&&(f=new Set,u.set(r,f));f.has(l)||(f.add(l),n=uy.bind(null,n,r,l),r.then(n,n))}function Td(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function Dd(n,r,l,u,f){return n.mode&1?(n.flags|=65536,n.lanes=f,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=xa(-1,1),r.tag=2,vl(l,r,1))),l.lanes|=1),n)}var ny=Oe.ReactCurrentOwner,Sn=!1;function xn(n,r,l,u){r.child=n===null?Nh(r,null,l,u):Zo(r,n.child,l,u)}function Cl(n,r,l,u,f){l=l.render;var h=r.ref;return oe(r,f),u=gl(n,r,l,u,h,f),l=to(),n!==null&&!Sn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,$n(n,r,f)):(Gt&&l&&dc(r),r.flags|=1,xn(n,r,u,f),r.child)}function Bc(n,r,l,u,f){if(n===null){var h=l.type;return typeof h=="function"&&!Yd(h)&&h.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=h,Hr(n,r,h,u,f)):(n=Jc(l.type,null,u,r,r.mode,f),n.ref=r.ref,n.return=r,r.child=n)}if(h=n.child,!(n.lanes&f)){var g=h.memoizedProps;if(l=l.compare,l=l!==null?l:Gu,l(g,u)&&n.ref===r.ref)return $n(n,r,f)}return r.flags|=1,n=bl(h,u),n.ref=r.ref,n.return=r,r.child=n}function Hr(n,r,l,u,f){if(n!==null){var h=n.memoizedProps;if(Gu(h,u)&&n.ref===r.ref)if(Sn=!1,r.pendingProps=u=h,(n.lanes&f)!==0)n.flags&131072&&(Sn=!0);else return r.lanes=n.lanes,$n(n,r,f)}return iu(n,r,l,u,f)}function ao(n,r,l){var u=r.pendingProps,f=u.children,h=n!==null?n.memoizedState:null;if(u.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},_t(cu,qr),qr|=l;else{if(!(l&1073741824))return n=h!==null?h.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,_t(cu,qr),qr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,_t(cu,qr),qr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,_t(cu,qr),qr|=u;return xn(n,r,f,l),r.child}function Ze(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function iu(n,r,l,u,f){var h=Jt(l)?Or:We.current;return h=si(r,h),oe(r,f),l=gl(n,r,l,u,h,f),u=to(),n!==null&&!Sn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,$n(n,r,f)):(Gt&&u&&dc(r),r.flags|=1,xn(n,r,l,f),r.child)}function _d(n,r,l,u,f){if(Jt(l)){var h=!0;fc(r)}else h=!1;if(oe(r,f),r.stateNode===null)tr(n,r),Mh(r,l,u),Cc(r,l,u,f),u=!0;else if(n===null){var g=r.stateNode,b=r.memoizedProps;g.props=b;var _=g.context,V=l.contextType;typeof V=="object"&&V!==null?V=vn(V):(V=Jt(l)?Or:We.current,V=si(r,V));var Z=l.getDerivedStateFromProps,ee=typeof Z=="function"||typeof g.getSnapshotBeforeUpdate=="function";ee||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==u||_!==V)&&Oh(r,g,u,V),hl=!1;var q=r.memoizedState;g.state=q,ml(r,u,g,f),_=r.memoizedState,b!==u||q!==_||cn.current||hl?(typeof Z=="function"&&(Ed(r,l,Z,u),_=r.memoizedState),(b=hl||kh(r,l,b,u,q,_,V))?(ee||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=_),g.props=u,g.state=_,g.context=V,u=b):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{g=r.stateNode,bn(n,r),b=r.memoizedProps,V=r.type===r.elementType?b:Xr(r.type,b),g.props=V,ee=r.pendingProps,q=g.context,_=l.contextType,typeof _=="object"&&_!==null?_=vn(_):(_=Jt(l)?Or:We.current,_=si(r,_));var pe=l.getDerivedStateFromProps;(Z=typeof pe=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==ee||q!==_)&&Oh(r,g,u,_),hl=!1,q=r.memoizedState,g.state=q,ml(r,u,g,f);var Ee=r.memoizedState;b!==ee||q!==Ee||cn.current||hl?(typeof pe=="function"&&(Ed(r,l,pe,u),Ee=r.memoizedState),(V=hl||kh(r,l,V,u,q,Ee,_)||!1)?(Z||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Ee,_),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Ee,_)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=Ee),g.props=u,g.state=Ee,g.context=_,u=V):(typeof g.componentDidUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=1024),u=!1)}return Hh(n,r,l,u,h,f)}function Hh(n,r,l,u,f,h){Ze(n,r);var g=(r.flags&128)!==0;if(!u&&!g)return f&&wh(r,l,!1),$n(n,r,h);u=r.stateNode,ny.current=r;var b=g&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&g?(r.child=Zo(r,n.child,null,h),r.child=Zo(r,null,b,h)):xn(n,r,b,h),r.memoizedState=u.state,f&&wh(r,l,!0),r.child}function Vh(n){var r=n.stateNode;r.pendingContext?cl(n,r.pendingContext,r.pendingContext!==r.context):r.context&&cl(n,r.context,!1),Rd(n,r.containerInfo)}function Pc(n,r,l,u,f){return rn(),vd(f),r.flags|=256,xn(n,r,l,u),r.child}var lo={dehydrated:null,treeContext:null,retryLane:0};function kd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Md(n,r,l){var u=r.pendingProps,f=je.current,h=!1,g=(r.flags&128)!==0,b;if((b=g)||(b=n!==null&&n.memoizedState===null?!1:(f&2)!==0),b?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),_t(je,f&1),n===null)return hc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(g=u.children,n=u.fallback,h?(u=r.mode,h=r.child,g={mode:"hidden",children:g},!(u&1)&&h!==null?(h.childLanes=0,h.pendingProps=g):h=Rs(g,u,0,null),n=vo(n,u,l,null),h.return=r,n.return=r,h.sibling=n,r.child=h,r.child.memoizedState=kd(l),r.memoizedState=lo,n):Od(r,g));if(f=n.memoizedState,f!==null&&(b=f.dehydrated,b!==null))return ry(n,r,g,u,b,f,l);if(h){h=u.fallback,g=r.mode,f=n.child,b=f.sibling;var _={mode:"hidden",children:u.children};return!(g&1)&&r.child!==f?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=bl(f,_),u.subtreeFlags=f.subtreeFlags&14680064),b!==null?h=bl(b,h):(h=vo(h,g,l,null),h.flags|=2),h.return=r,u.return=r,u.sibling=h,r.child=u,u=h,h=r.child,g=n.child.memoizedState,g=g===null?kd(l):{baseLanes:g.baseLanes|l,cachePool:null,transitions:g.transitions},h.memoizedState=g,h.childLanes=n.childLanes&~l,r.memoizedState=lo,u}return h=n.child,n=h.sibling,u=bl(h,{mode:"visible",children:u.children}),!(r.mode&1)&&(u.lanes=l),u.return=r,u.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=u,r.memoizedState=null,u}function Od(n,r){return r=Rs({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function au(n,r,l,u){return u!==null&&vd(u),Zo(r,n.child,null,l),n=Od(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function ry(n,r,l,u,f,h,g){if(l)return r.flags&256?(r.flags&=-257,u=fs(Error(p(422))),au(n,r,g,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(h=u.fallback,f=r.mode,u=Rs({mode:"visible",children:u.children},f,0,null),h=vo(h,f,g,null),h.flags|=2,u.return=r,h.return=r,u.sibling=h,r.child=u,r.mode&1&&Zo(r,n.child,null,g),r.child.memoizedState=kd(g),r.memoizedState=lo,h);if(!(r.mode&1))return au(n,r,g,null);if(f.data==="$!"){if(u=f.nextSibling&&f.nextSibling.dataset,u)var b=u.dgst;return u=b,h=Error(p(419)),u=fs(h,u,void 0),au(n,r,g,u)}if(b=(g&n.childLanes)!==0,Sn||b){if(u=ln,u!==null){switch(g&-g){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=f&(u.suspendedLanes|g)?0:f,f!==0&&f!==h.retryLane&&(h.retryLane=f,ba(n,f),ar(u,n,f,-1))}return $d(),u=fs(Error(p(421))),au(n,r,g,u)}return f.data==="$?"?(r.flags|=128,r.child=n.child,r=sy.bind(null,n),f._reactRetry=r,null):(n=h.treeContext,zr=Hi(f.nextSibling),Qr=r,Gt=!0,di=null,n!==null&&(Nr[er++]=Bn,Nr[er++]=wa,Nr[er++]=fi,Bn=n.id,wa=n.overflow,fi=r),r=Od(r,u.children),r.flags|=4096,r)}function Ld(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),Nn(n.return,r,l)}function $c(n,r,l,u,f){var h=n.memoizedState;h===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:f}:(h.isBackwards=r,h.rendering=null,h.renderingStartTime=0,h.last=u,h.tail=l,h.tailMode=f)}function Ad(n,r,l){var u=r.pendingProps,f=u.revealOrder,h=u.tail;if(xn(n,r,u.children,l),u=je.current,u&2)u=u&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ld(n,l,r);else if(n.tag===19)Ld(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}u&=1}if(_t(je,u),!(r.mode&1))r.memoizedState=null;else switch(f){case"forwards":for(l=r.child,f=null;l!==null;)n=l.alternate,n!==null&&an(n)===null&&(f=l),l=l.sibling;l=f,l===null?(f=r.child,r.child=null):(f=l.sibling,l.sibling=null),$c(r,!1,f,l,h);break;case"backwards":for(l=null,f=r.child,r.child=null;f!==null;){if(n=f.alternate,n!==null&&an(n)===null){r.child=f;break}n=f.sibling,f.sibling=l,l=f,f=n}$c(r,!0,l,null,h);break;case"together":$c(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function tr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function $n(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),ka|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(p(153));if(r.child!==null){for(n=r.child,l=bl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=bl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Da(n,r,l){switch(r.tag){case 3:Vh(r),rn();break;case 5:He(r);break;case 1:Jt(r.type)&&fc(r);break;case 4:Rd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,f=r.memoizedProps.value;_t(Ji,u._currentValue),u._currentValue=f;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(_t(je,je.current&1),r.flags|=128,null):l&r.child.childLanes?Md(n,r,l):(_t(je,je.current&1),n=$n(n,r,l),n!==null?n.sibling:null);_t(je,je.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Ad(n,r,l);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),_t(je,je.current),u)break;return null;case 22:case 23:return r.lanes=0,ao(n,r,l)}return $n(n,r,l)}var ps,oo,vi,Tn;ps=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},oo=function(){},vi=function(n,r,l,u){var f=n.memoizedProps;if(f!==u){n=r.stateNode,ql(Vi.current);var h=null;switch(l){case"input":f=Zn(n,f),u=Zn(n,u),h=[];break;case"select":f=D({},f,{value:void 0}),u=D({},u,{value:void 0}),h=[];break;case"textarea":f=Wi(n,f),u=Wi(n,u),h=[];break;default:typeof f.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=cc)}wn(l,u);var g;l=null;for(V in f)if(!u.hasOwnProperty(V)&&f.hasOwnProperty(V)&&f[V]!=null)if(V==="style"){var b=f[V];for(g in b)b.hasOwnProperty(g)&&(l||(l={}),l[g]="")}else V!=="dangerouslySetInnerHTML"&&V!=="children"&&V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(R.hasOwnProperty(V)?h||(h=[]):(h=h||[]).push(V,null));for(V in u){var _=u[V];if(b=f?.[V],u.hasOwnProperty(V)&&_!==b&&(_!=null||b!=null))if(V==="style")if(b){for(g in b)!b.hasOwnProperty(g)||_&&_.hasOwnProperty(g)||(l||(l={}),l[g]="");for(g in _)_.hasOwnProperty(g)&&b[g]!==_[g]&&(l||(l={}),l[g]=_[g])}else l||(h||(h=[]),h.push(V,l)),l=_;else V==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,b=b?b.__html:void 0,_!=null&&b!==_&&(h=h||[]).push(V,_)):V==="children"?typeof _!="string"&&typeof _!="number"||(h=h||[]).push(V,""+_):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&(R.hasOwnProperty(V)?(_!=null&&V==="onScroll"&&Ht("scroll",n),h||b===_||(h=[])):(h=h||[]).push(V,_))}l&&(h=h||[]).push("style",l);var V=h;(r.updateQueue=V)&&(r.flags|=4)}},Tn=function(n,r,l,u){l!==u&&(r.flags|=4)};function hs(n,r){if(!Gt)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function nr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,u=0;if(r)for(var f=n.child;f!==null;)l|=f.lanes|f.childLanes,u|=f.subtreeFlags&14680064,u|=f.flags&14680064,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)l|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=u,n.childLanes=l,r}function iy(n,r,l){var u=r.pendingProps;switch(pd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nr(r),null;case 1:return Jt(r.type)&&ci(),nr(r),null;case 3:return u=r.stateNode,yl(),xt(cn),xt(We),Rc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(vc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,di!==null&&(Es(di),di=null))),oo(n,r),nr(r),null;case 5:rt(r);var f=ql(Jo.current);if(l=r.type,n!==null&&r.stateNode!=null)vi(n,r,l,u,f),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(p(166));return nr(r),null}if(n=ql(Vi.current),vc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[qi]=r,u[Ql]=h,n=(r.mode&1)!==0,l){case"dialog":Ht("cancel",u),Ht("close",u);break;case"iframe":case"object":case"embed":Ht("load",u);break;case"video":case"audio":for(f=0;f<qu.length;f++)Ht(qu[f],u);break;case"source":Ht("error",u);break;case"img":case"image":case"link":Ht("error",u),Ht("load",u);break;case"details":Ht("toggle",u);break;case"input":Er(u,h),Ht("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Ht("invalid",u);break;case"textarea":br(u,h),Ht("invalid",u)}wn(l,h),f=null;for(var g in h)if(h.hasOwnProperty(g)){var b=h[g];g==="children"?typeof b=="string"?u.textContent!==b&&(h.suppressHydrationWarning!==!0&&sc(u.textContent,b,n),f=["children",b]):typeof b=="number"&&u.textContent!==""+b&&(h.suppressHydrationWarning!==!0&&sc(u.textContent,b,n),f=["children",""+b]):R.hasOwnProperty(g)&&b!=null&&g==="onScroll"&&Ht("scroll",u)}switch(l){case"input":Cr(u),Di(u,h,!0);break;case"textarea":Cr(u),xr(u);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(u.onclick=cc)}u=f,r.updateQueue=u,u!==null&&(r.flags|=4)}else{g=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=ki(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=g.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=g.createElement(l,{is:u.is}):(n=g.createElement(l),l==="select"&&(g=n,u.multiple?g.multiple=!0:u.size&&(g.size=u.size))):n=g.createElementNS(n,l),n[qi]=r,n[Ql]=u,ps(n,r,!1,!1),r.stateNode=n;e:{switch(g=hn(l,u),l){case"dialog":Ht("cancel",n),Ht("close",n),f=u;break;case"iframe":case"object":case"embed":Ht("load",n),f=u;break;case"video":case"audio":for(f=0;f<qu.length;f++)Ht(qu[f],n);f=u;break;case"source":Ht("error",n),f=u;break;case"img":case"image":case"link":Ht("error",n),Ht("load",n),f=u;break;case"details":Ht("toggle",n),f=u;break;case"input":Er(n,u),f=Zn(n,u),Ht("invalid",n);break;case"option":f=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},f=D({},u,{value:void 0}),Ht("invalid",n);break;case"textarea":br(n,u),f=Wi(n,u),Ht("invalid",n);break;default:f=u}wn(l,f),b=f;for(h in b)if(b.hasOwnProperty(h)){var _=b[h];h==="style"?Mt(n,_):h==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Ul(n,_)):h==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&Yi(n,_):typeof _=="number"&&Yi(n,""+_):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(R.hasOwnProperty(h)?_!=null&&h==="onScroll"&&Ht("scroll",n):_!=null&&xe(n,h,_,g))}switch(l){case"input":Cr(n),Di(n,u,!1);break;case"textarea":Cr(n),xr(n);break;case"option":u.value!=null&&n.setAttribute("value",""+ut(u.value));break;case"select":n.multiple=!!u.multiple,h=u.value,h!=null?wr(n,!!u.multiple,h,!1):u.defaultValue!=null&&wr(n,!!u.multiple,u.defaultValue,!0);break;default:typeof f.onClick=="function"&&(n.onclick=cc)}switch(l){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return nr(r),null;case 6:if(n&&r.stateNode!=null)Tn(n,r,n.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(p(166));if(l=ql(Jo.current),ql(Vi.current),vc(r)){if(u=r.stateNode,l=r.memoizedProps,u[qi]=r,(h=u.nodeValue!==l)&&(n=Qr,n!==null))switch(n.tag){case 3:sc(u.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&sc(u.nodeValue,l,(n.mode&1)!==0)}h&&(r.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[qi]=r,r.stateNode=u}return nr(r),null;case 13:if(xt(je),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Gt&&zr!==null&&r.mode&1&&!(r.flags&128))Th(),rn(),r.flags|=98560,h=!1;else if(h=vc(r),u!==null&&u.dehydrated!==null){if(n===null){if(!h)throw Error(p(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(p(317));h[qi]=r}else rn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;nr(r),h=!1}else di!==null&&(Es(di),di=null),h=!0;if(!h)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(u=u!==null,u!==(n!==null&&n.memoizedState!==null)&&u&&(r.child.flags|=8192,r.mode&1&&(n===null||je.current&1?_n===0&&(_n=3):$d())),r.updateQueue!==null&&(r.flags|=4),nr(r),null);case 4:return yl(),oo(n,r),n===null&&Qo(r.stateNode.containerInfo),nr(r),null;case 10:return pl(r.type._context),nr(r),null;case 17:return Jt(r.type)&&ci(),nr(r),null;case 19:if(xt(je),h=r.memoizedState,h===null)return nr(r),null;if(u=(r.flags&128)!==0,g=h.rendering,g===null)if(u)hs(h,!1);else{if(_n!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(g=an(n),g!==null){for(r.flags|=128,hs(h,!1),u=g.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=l,l=r.child;l!==null;)h=l,n=u,h.flags&=14680066,g=h.alternate,g===null?(h.childLanes=0,h.lanes=n,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=g.childLanes,h.lanes=g.lanes,h.child=g.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=g.memoizedProps,h.memoizedState=g.memoizedState,h.updateQueue=g.updateQueue,h.type=g.type,n=g.dependencies,h.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return _t(je,je.current&1|2),r.child}n=n.sibling}h.tail!==null&&Zt()>du&&(r.flags|=128,u=!0,hs(h,!1),r.lanes=4194304)}else{if(!u)if(n=an(g),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),hs(h,!0),h.tail===null&&h.tailMode==="hidden"&&!g.alternate&&!Gt)return nr(r),null}else 2*Zt()-h.renderingStartTime>du&&l!==1073741824&&(r.flags|=128,u=!0,hs(h,!1),r.lanes=4194304);h.isBackwards?(g.sibling=r.child,r.child=g):(l=h.last,l!==null?l.sibling=g:r.child=g,h.last=g)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Zt(),r.sibling=null,l=je.current,_t(je,u?l&1|2:l&1),r):(nr(r),null);case 22:case 23:return Pd(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?qr&1073741824&&(nr(r),r.subtreeFlags&6&&(r.flags|=8192)):nr(r),null;case 24:return null;case 25:return null}throw Error(p(156,r.tag))}function Nd(n,r){switch(pd(r),r.tag){case 1:return Jt(r.type)&&ci(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return yl(),xt(cn),xt(We),Rc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return rt(r),null;case 13:if(xt(je),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(p(340));rn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return xt(je),null;case 4:return yl(),null;case 10:return pl(r.type._context),null;case 22:case 23:return Pd(),null;case 24:return null;default:return null}}var vs=!1,Dn=!1,jh=typeof WeakSet=="function"?WeakSet:Set,Se=null;function lu(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){dn(n,r,u)}else l.current=null}function ms(n,r,l){try{l()}catch(u){dn(n,r,u)}}var Bh=!1;function Ph(n,r){if(ad=li,n=ic(),Sa(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var f=u.anchorOffset,h=u.focusNode;u=u.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var g=0,b=-1,_=-1,V=0,Z=0,ee=n,q=null;t:for(;;){for(var pe;ee!==l||f!==0&&ee.nodeType!==3||(b=g+f),ee!==h||u!==0&&ee.nodeType!==3||(_=g+u),ee.nodeType===3&&(g+=ee.nodeValue.length),(pe=ee.firstChild)!==null;)q=ee,ee=pe;for(;;){if(ee===n)break t;if(q===l&&++V===f&&(b=g),q===h&&++Z===u&&(_=g),(pe=ee.nextSibling)!==null)break;ee=q,q=ee.parentNode}ee=pe}l=b===-1||_===-1?null:{start:b,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(Yl={focusedElem:n,selectionRange:l},li=!1,Se=r;Se!==null;)if(r=Se,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Se=n;else for(;Se!==null;){r=Se;try{var Ee=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Ee!==null){var be=Ee.memoizedProps,mn=Ee.memoizedState,L=r.stateNode,M=L.getSnapshotBeforeUpdate(r.elementType===r.type?be:Xr(r.type,be),mn);L.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var z=r.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163))}}catch(re){dn(r,r.return,re)}if(n=r.sibling,n!==null){n.return=r.return,Se=n;break}Se=r.return}return Ee=Bh,Bh=!1,Ee}function ys(n,r,l){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var f=u=u.next;do{if((f.tag&n)===n){var h=f.destroy;f.destroy=void 0,h!==void 0&&ms(r,l,h)}f=f.next}while(f!==u)}}function gs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var u=l.create;l.destroy=u()}l=l.next}while(l!==r)}}function zd(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function Ud(n){var r=n.alternate;r!==null&&(n.alternate=null,Ud(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[qi],delete r[Ql],delete r[ud],delete r[qm],delete r[sd])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function $h(n){return n.tag===5||n.tag===3||n.tag===4}function Ic(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||$h(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ou(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=cc));else if(u!==4&&(n=n.child,n!==null))for(ou(n,r,l),n=n.sibling;n!==null;)ou(n,r,l),n=n.sibling}function ta(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(u!==4&&(n=n.child,n!==null))for(ta(n,r,l),n=n.sibling;n!==null;)ta(n,r,l),n=n.sibling}var en=null,zn=!1;function mi(n,r,l){for(l=l.child;l!==null;)uu(n,r,l),l=l.sibling}function uu(n,r,l){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(Xa,l)}catch{}switch(l.tag){case 5:Dn||lu(l,r);case 6:var u=en,f=zn;en=null,mi(n,r,l),en=u,zn=f,en!==null&&(zn?(n=en,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):en.removeChild(l.stateNode));break;case 18:en!==null&&(zn?(n=en,l=l.stateNode,n.nodeType===8?ol(n.parentNode,l):n.nodeType===1&&ol(n,l),nl(n)):ol(en,l.stateNode));break;case 4:u=en,f=zn,en=l.stateNode.containerInfo,zn=!0,mi(n,r,l),en=u,zn=f;break;case 0:case 11:case 14:case 15:if(!Dn&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){f=u=u.next;do{var h=f,g=h.destroy;h=h.tag,g!==void 0&&(h&2||h&4)&&ms(l,r,g),f=f.next}while(f!==u)}mi(n,r,l);break;case 1:if(!Dn&&(lu(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(b){dn(l,r,b)}mi(n,r,l);break;case 21:mi(n,r,l);break;case 22:l.mode&1?(Dn=(u=Dn)||l.memoizedState!==null,mi(n,r,l),Dn=u):mi(n,r,l);break;default:mi(n,r,l)}}function _a(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new jh),r.forEach(function(u){var f=cy.bind(null,n,u);l.has(u)||(l.add(u),u.then(f,f))})}}function ji(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var f=l[u];try{var h=n,g=r,b=g;e:for(;b!==null;){switch(b.tag){case 5:en=b.stateNode,zn=!1;break e;case 3:en=b.stateNode.containerInfo,zn=!0;break e;case 4:en=b.stateNode.containerInfo,zn=!0;break e}b=b.return}if(en===null)throw Error(p(160));uu(h,g,f),en=null,zn=!1;var _=f.alternate;_!==null&&(_.return=null),f.return=null}catch(V){dn(f,r,V)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Ih(r,n),r=r.sibling}function Ih(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(ji(r,n),na(n),u&4){try{ys(3,n,n.return),gs(3,n)}catch(be){dn(n,n.return,be)}try{ys(5,n,n.return)}catch(be){dn(n,n.return,be)}}break;case 1:ji(r,n),na(n),u&512&&l!==null&&lu(l,l.return);break;case 5:if(ji(r,n),na(n),u&512&&l!==null&&lu(l,l.return),n.flags&32){var f=n.stateNode;try{Yi(f,"")}catch(be){dn(n,n.return,be)}}if(u&4&&(f=n.stateNode,f!=null)){var h=n.memoizedProps,g=l!==null?l.memoizedProps:h,b=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{b==="input"&&h.type==="radio"&&h.name!=null&&Rr(f,h),hn(b,g);var V=hn(b,h);for(g=0;g<_.length;g+=2){var Z=_[g],ee=_[g+1];Z==="style"?Mt(f,ee):Z==="dangerouslySetInnerHTML"?Ul(f,ee):Z==="children"?Yi(f,ee):xe(f,Z,ee,V)}switch(b){case"input":Mn(f,h);break;case"textarea":_i(f,h);break;case"select":var q=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var pe=h.value;pe!=null?wr(f,!!h.multiple,pe,!1):q!==!!h.multiple&&(h.defaultValue!=null?wr(f,!!h.multiple,h.defaultValue,!0):wr(f,!!h.multiple,h.multiple?[]:"",!1))}f[Ql]=h}catch(be){dn(n,n.return,be)}}break;case 6:if(ji(r,n),na(n),u&4){if(n.stateNode===null)throw Error(p(162));f=n.stateNode,h=n.memoizedProps;try{f.nodeValue=h}catch(be){dn(n,n.return,be)}}break;case 3:if(ji(r,n),na(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{nl(r.containerInfo)}catch(be){dn(n,n.return,be)}break;case 4:ji(r,n),na(n);break;case 13:ji(r,n),na(n),f=n.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(Vd=Zt())),u&4&&_a(n);break;case 22:if(Z=l!==null&&l.memoizedState!==null,n.mode&1?(Dn=(V=Dn)||Z,ji(r,n),Dn=V):ji(r,n),na(n),u&8192){if(V=n.memoizedState!==null,(n.stateNode.isHidden=V)&&!Z&&n.mode&1)for(Se=n,Z=n.child;Z!==null;){for(ee=Se=Z;Se!==null;){switch(q=Se,pe=q.child,q.tag){case 0:case 11:case 14:case 15:ys(4,q,q.return);break;case 1:lu(q,q.return);var Ee=q.stateNode;if(typeof Ee.componentWillUnmount=="function"){u=q,l=q.return;try{r=u,Ee.props=r.memoizedProps,Ee.state=r.memoizedState,Ee.componentWillUnmount()}catch(be){dn(u,l,be)}}break;case 5:lu(q,q.return);break;case 22:if(q.memoizedState!==null){Fd(ee);continue}}pe!==null?(pe.return=q,Se=pe):Fd(ee)}Z=Z.sibling}e:for(Z=null,ee=n;;){if(ee.tag===5){if(Z===null){Z=ee;try{f=ee.stateNode,V?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(b=ee.stateNode,_=ee.memoizedProps.style,g=_!=null&&_.hasOwnProperty("display")?_.display:null,b.style.display=et("display",g))}catch(be){dn(n,n.return,be)}}}else if(ee.tag===6){if(Z===null)try{ee.stateNode.nodeValue=V?"":ee.memoizedProps}catch(be){dn(n,n.return,be)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===n)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===n)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===n)break e;Z===ee&&(Z=null),ee=ee.return}Z===ee&&(Z=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:ji(r,n),na(n),u&4&&_a(n);break;case 21:break;default:ji(r,n),na(n)}}function na(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if($h(l)){var u=l;break e}l=l.return}throw Error(p(160))}switch(u.tag){case 5:var f=u.stateNode;u.flags&32&&(Yi(f,""),u.flags&=-33);var h=Ic(n);ta(n,h,f);break;case 3:case 4:var g=u.stateNode.containerInfo,b=Ic(n);ou(n,b,g);break;default:throw Error(p(161))}}catch(_){dn(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Wh(n,r,l){Se=n,su(n)}function su(n,r,l){for(var u=(n.mode&1)!==0;Se!==null;){var f=Se,h=f.child;if(f.tag===22&&u){var g=f.memoizedState!==null||vs;if(!g){var b=f.alternate,_=b!==null&&b.memoizedState!==null||Dn;b=vs;var V=Dn;if(vs=g,(Dn=_)&&!V)for(Se=f;Se!==null;)g=Se,_=g.child,g.tag===22&&g.memoizedState!==null?Gh(f):_!==null?(_.return=g,Se=_):Gh(f);for(;h!==null;)Se=h,su(h),h=h.sibling;Se=f,vs=b,Dn=V}Yh(n)}else f.subtreeFlags&8772&&h!==null?(h.return=f,Se=h):Yh(n)}}function Yh(n){for(;Se!==null;){var r=Se;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Dn||gs(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!Dn)if(l===null)u.componentDidMount();else{var f=r.elementType===r.type?l.memoizedProps:Xr(r.type,l.memoizedProps);u.componentDidUpdate(f,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&Kl(r,h,u);break;case 3:var g=r.updateQueue;if(g!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Kl(r,g,l)}break;case 5:var b=r.stateNode;if(l===null&&r.flags&4){l=b;var _=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&l.focus();break;case"img":_.src&&(l.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var V=r.alternate;if(V!==null){var Z=V.memoizedState;if(Z!==null){var ee=Z.dehydrated;ee!==null&&nl(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p(163))}Dn||r.flags&512&&zd(r)}catch(q){dn(r,r.return,q)}}if(r===n){Se=null;break}if(l=r.sibling,l!==null){l.return=r.return,Se=l;break}Se=r.return}}function Fd(n){for(;Se!==null;){var r=Se;if(r===n){Se=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Se=l;break}Se=r.return}}function Gh(n){for(;Se!==null;){var r=Se;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{gs(4,r)}catch(_){dn(r,l,_)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var f=r.return;try{u.componentDidMount()}catch(_){dn(r,f,_)}}var h=r.return;try{zd(r)}catch(_){dn(r,h,_)}break;case 5:var g=r.return;try{zd(r)}catch(_){dn(r,g,_)}}}catch(_){dn(r,r.return,_)}if(r===n){Se=null;break}var b=r.sibling;if(b!==null){b.return=r.return,Se=b;break}Se=r.return}}var Wc=Math.ceil,Ss=Oe.ReactCurrentDispatcher,Hd=Oe.ReactCurrentOwner,rr=Oe.ReactCurrentBatchConfig,lt=0,ln=null,fn=null,Un=0,qr=0,cu=qe(0),_n=0,Cs=null,ka=0,Yc=0,fu=0,uo=null,cr=null,Vd=0,du=1/0,Ma=null,Gc=!1,so=null,ra=null,El=!1,Rl=null,Qc=0,pu=0,Xc=null,co=-1,fo=0;function ir(){return lt&6?Zt():co!==-1?co:co=Zt()}function Cn(n){return n.mode&1?lt&2&&Un!==0?Un&-Un:mc.transition!==null?(fo===0&&(fo=No()),fo):(n=Et,n!==0||(n=window.event,n=n===void 0?16:Pu(n.type)),n):1}function ar(n,r,l,u){if(50<pu)throw pu=0,Xc=null,Error(p(185));ha(n,l,u),(!(lt&2)||n!==ln)&&(n===ln&&(!(lt&2)&&(Yc|=l),_n===4&&yi(n,Un)),lr(n,u),l===1&&lt===0&&!(r.mode&1)&&(du=Zt()+500,An&&Lr()))}function lr(n,r){var l=n.callbackNode;Za(n,r);var u=ur(n,n===ln?Un:0);if(u===0)l!==null&&Xs(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&Xs(l),r===1)n.tag===0?fd(Qh.bind(null,n)):cd(Qh.bind(null,n)),od(function(){!(lt&6)&&Lr()}),l=null;else{switch(Uo(u)){case 1:l=Li;break;case 4:l=tt;break;case 16:l=Qi;break;case 536870912:l=Lo;break;default:l=Qi}l=Wd(l,hu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function hu(n,r){if(co=-1,fo=0,lt&6)throw Error(p(327));var l=n.callbackNode;if(mu()&&n.callbackNode!==l)return null;var u=ur(n,n===ln?Un:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=qc(n,u);else{r=u;var f=lt;lt|=2;var h=Kc();(ln!==n||Un!==r)&&(Ma=null,du=Zt()+500,po(n,r));do try{ly();break}catch(b){Xh(n,b)}while(1);yd(),Ss.current=h,lt=f,fn!==null?r=0:(ln=null,Un=0,r=_n)}if(r!==0){if(r===2&&(f=Ja(n),f!==0&&(u=f,r=jd(n,f))),r===1)throw l=Cs,po(n,0),yi(n,u),lr(n,Zt()),l;if(r===6)yi(n,u);else{if(f=n.current.alternate,!(u&30)&&!Bd(f)&&(r=qc(n,u),r===2&&(h=Ja(n),h!==0&&(u=h,r=jd(n,h))),r===1))throw l=Cs,po(n,0),yi(n,u),lr(n,Zt()),l;switch(n.finishedWork=f,n.finishedLanes=u,r){case 0:case 1:throw Error(p(345));case 2:ho(n,cr,Ma);break;case 3:if(yi(n,u),(u&130023424)===u&&(r=Vd+500-Zt(),10<r)){if(ur(n,0)!==0)break;if(f=n.suspendedLanes,(f&u)!==u){ir(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Gl(ho.bind(null,n,cr,Ma),r);break}ho(n,cr,Ma);break;case 4:if(yi(n,u),(u&4194240)===u)break;for(r=n.eventTimes,f=-1;0<u;){var g=31-or(u);h=1<<g,g=r[g],g>f&&(f=g),u&=~h}if(u=f,u=Zt()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Wc(u/1960))-u,10<u){n.timeoutHandle=Gl(ho.bind(null,n,cr,Ma),u);break}ho(n,cr,Ma);break;case 5:ho(n,cr,Ma);break;default:throw Error(p(329))}}}return lr(n,Zt()),n.callbackNode===l?hu.bind(null,n):null}function jd(n,r){var l=uo;return n.current.memoizedState.isDehydrated&&(po(n,r).flags|=256),n=qc(n,r),n!==2&&(r=cr,cr=l,r!==null&&Es(r)),n}function Es(n){cr===null?cr=n:cr.push.apply(cr,n)}function Bd(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var u=0;u<l.length;u++){var f=l[u],h=f.getSnapshot;f=f.value;try{if(!oi(h(),f))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function yi(n,r){for(r&=~fu,r&=~Yc,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-or(r),u=1<<l;n[l]=-1,r&=~u}}function Qh(n){if(lt&6)throw Error(p(327));mu();var r=ur(n,0);if(!(r&1))return lr(n,Zt()),null;var l=qc(n,r);if(n.tag!==0&&l===2){var u=Ja(n);u!==0&&(r=u,l=jd(n,u))}if(l===1)throw l=Cs,po(n,0),yi(n,r),lr(n,Zt()),l;if(l===6)throw Error(p(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,ho(n,cr,Ma),lr(n,Zt()),null}function vu(n,r){var l=lt;lt|=1;try{return n(r)}finally{lt=l,lt===0&&(du=Zt()+500,An&&Lr())}}function wl(n){Rl!==null&&Rl.tag===0&&!(lt&6)&&mu();var r=lt;lt|=1;var l=rr.transition,u=Et;try{if(rr.transition=null,Et=1,n)return n()}finally{Et=u,rr.transition=l,lt=r,!(lt&6)&&Lr()}}function Pd(){qr=cu.current,xt(cu)}function po(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Rh(l)),fn!==null)for(l=fn.return;l!==null;){var u=l;switch(pd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ci();break;case 3:yl(),xt(cn),xt(We),Rc();break;case 5:rt(u);break;case 4:yl();break;case 13:xt(je);break;case 19:xt(je);break;case 10:pl(u.type._context);break;case 22:case 23:Pd()}l=l.return}if(ln=n,fn=n=bl(n.current,null),Un=qr=r,_n=0,Cs=null,fu=Yc=ka=0,cr=uo=null,Pn!==null){for(r=0;r<Pn.length;r++)if(l=Pn[r],u=l.interleaved,u!==null){l.interleaved=null;var f=u.next,h=l.pending;if(h!==null){var g=h.next;h.next=f,u.next=g}l.pending=u}Pn=null}return n}function Xh(n,r){do{var l=fn;try{if(yd(),wc.current=Vc,Be){for(var u=Qt.memoizedState;u!==null;){var f=u.queue;f!==null&&(f.pending=null),u=u.next}Be=!1}if(Zl=0,dt=W=Qt=null,ea=!1,Kr=0,Hd.current=null,l===null||l.return===null){_n=1,Cs=r,fn=null;break}e:{var h=n,g=l.return,b=l,_=r;if(r=Un,b.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var V=_,Z=b,ee=Z.tag;if(!(Z.mode&1)&&(ee===0||ee===11||ee===15)){var q=Z.alternate;q?(Z.updateQueue=q.updateQueue,Z.memoizedState=q.memoizedState,Z.lanes=q.lanes):(Z.updateQueue=null,Z.memoizedState=null)}var pe=Td(g);if(pe!==null){pe.flags&=-257,Dd(pe,g,b,h,r),pe.mode&1&&Fh(h,V,r),r=pe,_=V;var Ee=r.updateQueue;if(Ee===null){var be=new Set;be.add(_),r.updateQueue=be}else Ee.add(_);break e}else{if(!(r&1)){Fh(h,V,r),$d();break e}_=Error(p(426))}}else if(Gt&&b.mode&1){var mn=Td(g);if(mn!==null){!(mn.flags&65536)&&(mn.flags|=256),Dd(mn,g,b,h,r),vd(ru(_,b));break e}}h=_=ru(_,b),_n!==4&&(_n=2),uo===null?uo=[h]:uo.push(h),h=g;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var L=Uh(h,_,r);Cd(h,L);break e;case 1:b=_;var M=h.type,z=h.stateNode;if(!(h.flags&128)&&(typeof M.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(ra===null||!ra.has(z)))){h.flags|=65536,r&=-r,h.lanes|=r;var re=ds(h,b,r);Cd(h,re);break e}}h=h.return}while(h!==null)}Id(l)}catch(De){r=De,fn===l&&l!==null&&(fn=l=l.return);continue}break}while(1)}function Kc(){var n=Ss.current;return Ss.current=Vc,n===null?Vc:n}function $d(){(_n===0||_n===3||_n===2)&&(_n=4),ln===null||!(ka&268435455)&&!(Yc&268435455)||yi(ln,Un)}function qc(n,r){var l=lt;lt|=2;var u=Kc();(ln!==n||Un!==r)&&(Ma=null,po(n,r));do try{ay();break}catch(f){Xh(n,f)}while(1);if(yd(),lt=l,Ss.current=u,fn!==null)throw Error(p(261));return ln=null,Un=0,_n}function ay(){for(;fn!==null;)Kh(fn)}function ly(){for(;fn!==null&&!Ff();)Kh(fn)}function Kh(n){var r=Zh(n.alternate,n,qr);n.memoizedProps=n.pendingProps,r===null?Id(n):fn=r,Hd.current=null}function Id(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=Nd(l,r),l!==null){l.flags&=32767,fn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{_n=6,fn=null;return}}else if(l=iy(l,r,qr),l!==null){fn=l;return}if(r=r.sibling,r!==null){fn=r;return}fn=r=n}while(r!==null);_n===0&&(_n=5)}function ho(n,r,l){var u=Et,f=rr.transition;try{rr.transition=null,Et=1,oy(n,r,l,u)}finally{rr.transition=f,Et=u}return null}function oy(n,r,l,u){do mu();while(Rl!==null);if(lt&6)throw Error(p(327));l=n.finishedWork;var f=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(p(177));n.callbackNode=null,n.callbackPriority=0;var h=l.lanes|l.childLanes;if(jf(n,h),n===ln&&(fn=ln=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||El||(El=!0,Wd(Qi,function(){return mu(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=rr.transition,rr.transition=null;var g=Et;Et=1;var b=lt;lt|=4,Hd.current=null,Ph(n,l),Ih(l,n),ac(Yl),li=!!ad,Yl=ad=null,n.current=l,Wh(l),Hf(),lt=b,Et=g,rr.transition=h}else n.current=l;if(El&&(El=!1,Rl=n,Qc=f),h=n.pendingLanes,h===0&&(ra=null),Vu(l.stateNode),lr(n,Zt()),r!==null)for(u=n.onRecoverableError,l=0;l<r.length;l++)f=r[l],u(f.value,{componentStack:f.stack,digest:f.digest});if(Gc)throw Gc=!1,n=so,so=null,n;return Qc&1&&n.tag!==0&&mu(),h=n.pendingLanes,h&1?n===Xc?pu++:(pu=0,Xc=n):pu=0,Lr(),null}function mu(){if(Rl!==null){var n=Uo(Qc),r=rr.transition,l=Et;try{if(rr.transition=null,Et=16>n?16:n,Rl===null)var u=!1;else{if(n=Rl,Rl=null,Qc=0,lt&6)throw Error(p(331));var f=lt;for(lt|=4,Se=n.current;Se!==null;){var h=Se,g=h.child;if(Se.flags&16){var b=h.deletions;if(b!==null){for(var _=0;_<b.length;_++){var V=b[_];for(Se=V;Se!==null;){var Z=Se;switch(Z.tag){case 0:case 11:case 15:ys(8,Z,h)}var ee=Z.child;if(ee!==null)ee.return=Z,Se=ee;else for(;Se!==null;){Z=Se;var q=Z.sibling,pe=Z.return;if(Ud(Z),Z===V){Se=null;break}if(q!==null){q.return=pe,Se=q;break}Se=pe}}}var Ee=h.alternate;if(Ee!==null){var be=Ee.child;if(be!==null){Ee.child=null;do{var mn=be.sibling;be.sibling=null,be=mn}while(be!==null)}}Se=h}}if(h.subtreeFlags&2064&&g!==null)g.return=h,Se=g;else e:for(;Se!==null;){if(h=Se,h.flags&2048)switch(h.tag){case 0:case 11:case 15:ys(9,h,h.return)}var L=h.sibling;if(L!==null){L.return=h.return,Se=L;break e}Se=h.return}}var M=n.current;for(Se=M;Se!==null;){g=Se;var z=g.child;if(g.subtreeFlags&2064&&z!==null)z.return=g,Se=z;else e:for(g=M;Se!==null;){if(b=Se,b.flags&2048)try{switch(b.tag){case 0:case 11:case 15:gs(9,b)}}catch(De){dn(b,b.return,De)}if(b===g){Se=null;break e}var re=b.sibling;if(re!==null){re.return=b.return,Se=re;break e}Se=b.return}}if(lt=f,Lr(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Xa,n)}catch{}u=!0}return u}finally{Et=l,rr.transition=r}}return!1}function qh(n,r,l){r=ru(l,r),r=Uh(n,r,1),n=vl(n,r,1),r=ir(),n!==null&&(ha(n,1,r),lr(n,r))}function dn(n,r,l){if(n.tag===3)qh(n,n,l);else for(;r!==null;){if(r.tag===3){qh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ra===null||!ra.has(u))){n=ru(l,n),n=ds(r,n,1),r=vl(r,n,1),n=ir(),r!==null&&(ha(r,1,n),lr(r,n));break}}r=r.return}}function uy(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=ir(),n.pingedLanes|=n.suspendedLanes&l,ln===n&&(Un&l)===l&&(_n===4||_n===3&&(Un&130023424)===Un&&500>Zt()-Vd?po(n,0):fu|=l),lr(n,r)}function Zc(n,r){r===0&&(n.mode&1?(r=Ka,Ka<<=1,!(Ka&130023424)&&(Ka=4194304)):r=1);var l=ir();n=ba(n,r),n!==null&&(ha(n,r,l),lr(n,l))}function sy(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Zc(n,l)}function cy(n,r){var l=0;switch(n.tag){case 13:var u=n.stateNode,f=n.memoizedState;f!==null&&(l=f.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(p(314))}u!==null&&u.delete(r),Zc(n,l)}var Zh;Zh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||cn.current)Sn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Sn=!1,Da(n,r,l);Sn=!!(n.flags&131072)}else Sn=!1,Gt&&r.flags&1048576&&dd(r,Ko,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;tr(n,r),n=r.pendingProps;var f=si(r,We.current);oe(r,l),f=gl(null,r,u,n,f,l);var h=to();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Jt(u)?(h=!0,fc(r)):h=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Sd(r),f.updater=Sc,r.stateNode=f,f._reactInternals=r,Cc(r,u,n,l),r=Hh(null,r,u,!0,h,l)):(r.tag=0,Gt&&h&&dc(r),xn(null,r,f,l),r=r.child),r;case 16:u=r.elementType;e:{switch(tr(n,r),n=r.pendingProps,f=u._init,u=f(u._payload),r.type=u,f=r.tag=dy(u),n=Xr(u,n),f){case 0:r=iu(null,r,u,n,l);break e;case 1:r=_d(null,r,u,n,l);break e;case 11:r=Cl(null,r,u,n,l);break e;case 14:r=Bc(null,r,u,Xr(u.type,n),l);break e}throw Error(p(306,u,""))}return r;case 0:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),iu(n,r,u,f,l);case 1:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),_d(n,r,u,f,l);case 3:e:{if(Vh(r),n===null)throw Error(p(387));u=r.pendingProps,h=r.memoizedState,f=h.element,bn(n,r),ml(r,u,null,l);var g=r.memoizedState;if(u=g.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){f=ru(Error(p(423)),r),r=Pc(n,r,u,l,f);break e}else if(u!==f){f=ru(Error(p(424)),r),r=Pc(n,r,u,l,f);break e}else for(zr=Hi(r.stateNode.containerInfo.firstChild),Qr=r,Gt=!0,di=null,l=Nh(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(rn(),u===f){r=$n(n,r,l);break e}xn(n,r,u,l)}r=r.child}return r;case 5:return He(r),n===null&&hc(r),u=r.type,f=r.pendingProps,h=n!==null?n.memoizedProps:null,g=f.children,es(u,f)?g=null:h!==null&&es(u,h)&&(r.flags|=32),Ze(n,r),xn(n,r,g,l),r.child;case 6:return n===null&&hc(r),null;case 13:return Md(n,r,l);case 4:return Rd(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Zo(r,null,u,l):xn(n,r,u,l),r.child;case 11:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),Cl(n,r,u,f,l);case 7:return xn(n,r,r.pendingProps,l),r.child;case 8:return xn(n,r,r.pendingProps.children,l),r.child;case 12:return xn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(u=r.type._context,f=r.pendingProps,h=r.memoizedProps,g=f.value,_t(Ji,u._currentValue),u._currentValue=g,h!==null)if(oi(h.value,g)){if(h.children===f.children&&!cn.current){r=$n(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var b=h.dependencies;if(b!==null){g=h.child;for(var _=b.firstContext;_!==null;){if(_.context===u){if(h.tag===1){_=xa(-1,l&-l),_.tag=2;var V=h.updateQueue;if(V!==null){V=V.shared;var Z=V.pending;Z===null?_.next=_:(_.next=Z.next,Z.next=_),V.pending=_}}h.lanes|=l,_=h.alternate,_!==null&&(_.lanes|=l),Nn(h.return,l,r),b.lanes|=l;break}_=_.next}}else if(h.tag===10)g=h.type===r.type?null:h.child;else if(h.tag===18){if(g=h.return,g===null)throw Error(p(341));g.lanes|=l,b=g.alternate,b!==null&&(b.lanes|=l),Nn(g,l,r),g=h.sibling}else g=h.child;if(g!==null)g.return=h;else for(g=h;g!==null;){if(g===r){g=null;break}if(h=g.sibling,h!==null){h.return=g.return,g=h;break}g=g.return}h=g}xn(n,r,f.children,l),r=r.child}return r;case 9:return f=r.type,u=r.pendingProps.children,oe(r,l),f=vn(f),u=u(f),r.flags|=1,xn(n,r,u,l),r.child;case 14:return u=r.type,f=Xr(u,r.pendingProps),f=Xr(u.type,f),Bc(n,r,u,f,l);case 15:return Hr(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),tr(n,r),r.tag=1,Jt(u)?(n=!0,fc(r)):n=!1,oe(r,l),Mh(r,u,f),Cc(r,u,f,l),Hh(null,r,u,!0,n,l);case 19:return Ad(n,r,l);case 22:return ao(n,r,l)}throw Error(p(156,r.tag))};function Wd(n,r){return Hu(n,r)}function fy(n,r,l,u){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gi(n,r,l,u){return new fy(n,r,l,u)}function Yd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function dy(n){if(typeof n=="function")return Yd(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Rn)return 11;if(n===qt)return 14}return 2}function bl(n,r){var l=n.alternate;return l===null?(l=gi(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Jc(n,r,l,u,f,h){var g=2;if(u=n,typeof n=="function")Yd(n)&&(g=1);else if(typeof n=="string")g=5;else e:switch(n){case ke:return vo(l.children,f,h,r);case Lt:g=8,f|=8;break;case jt:return n=gi(12,l,r,f|2),n.elementType=jt,n.lanes=h,n;case Je:return n=gi(13,l,r,f),n.elementType=Je,n.lanes=h,n;case ft:return n=gi(19,l,r,f),n.elementType=ft,n.lanes=h,n;case Te:return Rs(l,f,h,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Bt:g=10;break e;case Tt:g=9;break e;case Rn:g=11;break e;case qt:g=14;break e;case bt:g=16,u=null;break e}throw Error(p(130,n==null?n:typeof n,""))}return r=gi(g,l,r,f),r.elementType=n,r.type=u,r.lanes=h,r}function vo(n,r,l,u){return n=gi(7,n,u,r),n.lanes=l,n}function Rs(n,r,l,u){return n=gi(22,n,u,r),n.elementType=Te,n.lanes=l,n.stateNode={isHidden:!1},n}function ws(n,r,l){return n=gi(6,n,null,r),n.lanes=l,n}function mo(n,r,l){return r=gi(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function py(n,r,l,u,f){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zo(0),this.expirationTimes=zo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zo(0),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function ef(n,r,l,u,f,h,g,b,_){return n=new py(n,r,l,b,_),r===1?(r=1,h===!0&&(r|=8)):r=0,h=gi(3,null,null,r),n.current=h,h.stateNode=n,h.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sd(h),n}function Jh(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Pe,key:u==null?null:""+u,children:n,containerInfo:r,implementation:l}}function Gd(n){if(!n)return Zi;n=n._reactInternals;e:{if(ii(n)!==n||n.tag!==1)throw Error(p(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Jt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(p(171))}if(n.tag===1){var l=n.type;if(Jt(l))return rs(n,l,r)}return r}function ev(n,r,l,u,f,h,g,b,_){return n=ef(l,u,!0,n,f,h,g,b,_),n.context=Gd(null),l=n.current,u=ir(),f=Cn(l),h=xa(u,f),h.callback=r??null,vl(l,h,f),n.current.lanes=f,ha(n,f,u),lr(n,u),n}function bs(n,r,l,u){var f=r.current,h=ir(),g=Cn(f);return l=Gd(l),r.context===null?r.context=l:r.pendingContext=l,r=xa(h,g),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=vl(f,r,g),n!==null&&(ar(n,f,g,h),gc(n,f,g)),g}function tf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function tv(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Qd(n,r){tv(n,r),(n=n.alternate)&&tv(n,r)}function nv(){return null}var Xd=typeof reportError=="function"?reportError:function(n){console.error(n)};function nf(n){this._internalRoot=n}Oa.prototype.render=nf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(p(409));bs(n,r,null,null)},Oa.prototype.unmount=nf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;wl(function(){bs(null,n,null,null)}),r[Ra]=null}};function Oa(n){this._internalRoot=n}Oa.prototype.unstable_scheduleHydration=function(n){if(n){var r=Ho();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Dt.length&&r!==0&&r<Dt[l].priority;l++);Dt.splice(l,0,n),l===0&&Zs(n)}};function Kd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function rf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function rv(){}function hy(n,r,l,u,f){if(f){if(typeof u=="function"){var h=u;u=function(){var V=tf(g);h.call(V)}}var g=ev(r,u,n,0,null,!1,!1,"",rv);return n._reactRootContainer=g,n[Ra]=g.current,Qo(n.nodeType===8?n.parentNode:n),wl(),g}for(;f=n.lastChild;)n.removeChild(f);if(typeof u=="function"){var b=u;u=function(){var V=tf(_);b.call(V)}}var _=ef(n,0,!1,null,null,!1,!1,"",rv);return n._reactRootContainer=_,n[Ra]=_.current,Qo(n.nodeType===8?n.parentNode:n),wl(function(){bs(r,_,l,u)}),_}function af(n,r,l,u,f){var h=l._reactRootContainer;if(h){var g=h;if(typeof f=="function"){var b=f;f=function(){var _=tf(g);b.call(_)}}bs(r,g,n,f)}else g=hy(l,r,n,f,u);return tf(g)}Vl=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=Ai(r.pendingLanes);l!==0&&(Xi(r,l|1),lr(r,Zt()),!(lt&6)&&(du=Zt()+500,Lr()))}break;case 13:wl(function(){var u=ba(n,1);if(u!==null){var f=ir();ar(u,n,1,f)}}),Qd(n,1)}},Fo=function(n){if(n.tag===13){var r=ba(n,134217728);if(r!==null){var l=ir();ar(r,n,134217728,l)}Qd(n,134217728)}},mt=function(n){if(n.tag===13){var r=Cn(n),l=ba(n,r);if(l!==null){var u=ir();ar(l,n,r,u)}Qd(n,r)}},Ho=function(){return Et},Vo=function(n,r){var l=Et;try{return Et=n,r()}finally{Et=l}},ri=function(n,r,l){switch(r){case"input":if(Mn(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var u=l[r];if(u!==n&&u.form===n.form){var f=ze(u);if(!f)throw Error(p(90));Ti(u),Mn(u,f)}}}break;case"textarea":_i(n,l);break;case"select":r=l.value,r!=null&&wr(n,!!l.multiple,r,!1)}},Ws=vu,Ys=wl;var vy={usingClientEntryPoint:!1,Events:[ns,Xo,ze,pa,ko,vu]},yu={findFiberByHostInstance:ui,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},my={bundleType:yu.bundleType,version:yu.version,rendererPackageName:yu.rendererPackageName,rendererConfig:yu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oe.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Gs(n),n===null?null:n.stateNode},findFiberByHostInstance:yu.findFiberByHostInstance||nv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lf.isDisabled&&lf.supportsFiber)try{Xa=lf.inject(my),Dr=lf}catch{}}return bi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vy,bi.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kd(r))throw Error(p(200));return Jh(n,r,null,l)},bi.createRoot=function(n,r){if(!Kd(n))throw Error(p(299));var l=!1,u="",f=Xd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=ef(n,1,!1,null,null,l,!1,u,f),n[Ra]=r.current,Qo(n.nodeType===8?n.parentNode:n),new nf(r)},bi.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(p(188)):(n=Object.keys(n).join(","),Error(p(268,n)));return n=Gs(r),n=n===null?null:n.stateNode,n},bi.flushSync=function(n){return wl(n)},bi.hydrate=function(n,r,l){if(!rf(r))throw Error(p(200));return af(null,n,r,!0,l)},bi.hydrateRoot=function(n,r,l){if(!Kd(n))throw Error(p(405));var u=l!=null&&l.hydratedSources||null,f=!1,h="",g=Xd;if(l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(g=l.onRecoverableError)),r=ev(r,null,n,1,l??null,f,!1,h,g),n[Ra]=r.current,Qo(n),u)for(n=0;n<u.length;n++)l=u[n],f=l._getVersion,f=f(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,f]:r.mutableSourceEagerHydrationData.push(l,f);return new Oa(r)},bi.render=function(n,r,l){if(!rf(r))throw Error(p(200));return af(null,n,r,!1,l)},bi.unmountComponentAtNode=function(n){if(!rf(n))throw Error(p(40));return n._reactRootContainer?(wl(function(){af(null,null,n,!1,function(){n._reactRootContainer=null,n[Ra]=null})}),!0):!1},bi.unstable_batchedUpdates=vu,bi.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!rf(l))throw Error(p(200));if(n==null||n._reactInternals===void 0)throw Error(p(38));return af(n,r,l,!1,u)},bi.version="18.2.0-next-9e3b772b8-20220608",bi}var xi={};/**
90
+ * @license React
91
+ * react-dom.development.js
92
+ *
93
+ * Copyright (c) Facebook, Inc. and its affiliates.
94
+ *
95
+ * This source code is licensed under the MIT license found in the
96
+ * LICENSE file in the root directory of this source tree.
97
+ */var lw;function V_(){return lw||(lw=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var I=cw(),c=fw(),p=I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=!1;function R(e){S=e}function T(e){if(!S){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Y("warn",e,i)}}function C(e){if(!S){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Y("error",e,i)}}function Y(e,t,i){{var a=p.ReactDebugCurrentFrame,o=a.getStackAddendum();o!==""&&(t+="%s",i=i.concat([o]));var s=i.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var B=0,K=1,ge=2,J=3,ae=4,X=5,le=6,_e=7,de=8,ct=9,it=10,xe=11,Oe=12,Ce=13,Pe=14,ke=15,Lt=16,jt=17,Bt=18,Tt=19,Rn=21,Je=22,ft=23,qt=24,bt=25,Te=!0,ie=!1,Ae=!1,D=!1,Q=!1,ve=!0,Ke=!1,Ie=!1,gt=!0,at=!0,St=!0,ut=new Set,Pt={},fa={};function Cr(e,t){Ti(e,t),Ti(e+"Capture",t)}function Ti(e,t){Pt[e]&&C("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Pt[e]=t;{var i=e.toLowerCase();fa[i]=e,e==="onDoubleClick"&&(fa.ondblclick=e)}for(var a=0;a<t.length;a++)ut.add(t[a])}var pn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zn=Object.prototype.hasOwnProperty;function Er(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function Rr(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function Di(e,t){if(Rr(e))return C("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function da(e){if(Rr(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}function Jn(e,t){if(Rr(e))return C("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function wr(e,t){if(Rr(e))return C("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function Wi(e){if(Rr(e))return C("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}function br(e){if(Rr(e))return C("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}var _i=0,xr=1,ki=2,Vn=3,Ir=4,Ul=5,Yi=6,se=":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",Ne=se+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",et=new RegExp("^["+se+"]["+Ne+"]*$"),Mt={},At={};function wn(e){return Zn.call(At,e)?!0:Zn.call(Mt,e)?!1:et.test(e)?(At[e]=!0,!0):(Mt[e]=!0,C("Invalid attribute name: `%s`",e),!1)}function hn(e,t,i){return t!==null?t.type===_i:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Tr(e,t,i,a){if(i!==null&&i.type===_i)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(i!==null)return!i.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return o!=="data-"&&o!=="aria-"}default:return!1}}function Wt(e,t,i,a){if(t===null||typeof t>"u"||Tr(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case Vn:return!t;case Ir:return t===!1;case Ul:return isNaN(t);case Yi:return isNaN(t)||t<1}return!1}function ri(e){return $t.hasOwnProperty(e)?$t[e]:null}function tn(e,t,i,a,o,s,d){this.acceptsBooleans=t===ki||t===Vn||t===Ir,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var $t={},Fl=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Fl.forEach(function(e){$t[e]=new tn(e,_i,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];$t[t]=new tn(t,xr,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new tn(e,ki,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new tn(e,ki,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){$t[e]=new tn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$t[e]=new tn(e,Vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$t[e]=new tn(e,Ir,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$t[e]=new tn(e,Yi,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$t[e]=new tn(e,Ul,!1,e.toLowerCase(),null,!1,!1)});var pa=/[\-\:]([a-z])/g,ko=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(pa,ko);$t[t]=new tn(t,xr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(pa,ko);$t[t]=new tn(t,xr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pa,ko);$t[t]=new tn(t,xr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new tn(e,xr,!1,e.toLowerCase(),null,!1,!1)});var Ws="xlinkHref";$t[Ws]=new tn("xlinkHref",xr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$t[e]=new tn(e,xr,!1,e.toLowerCase(),null,!0,!0)});var Ys=/^[\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,Mo=!1;function Uu(e){!Mo&&Ys.test(e)&&(Mo=!0,C("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Mi(e,t,i,a){if(a.mustUseProperty){var o=a.propertyName;return e[o]}else{Di(i,t),a.sanitizeURL&&Uu(""+i);var s=a.attributeName,d=null;if(a.type===Ir){if(e.hasAttribute(s)){var v=e.getAttribute(s);return v===""?!0:Wt(t,i,a,!1)?v:v===""+i?i:v}}else if(e.hasAttribute(s)){if(Wt(t,i,a,!1))return e.getAttribute(s);if(a.type===Vn)return i;d=e.getAttribute(s)}return Wt(t,i,a,!1)?d===null?i:d:d===""+i?i:d}}function $a(e,t,i,a){{if(!wn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var o=e.getAttribute(t);return Di(i,t),o===""+i?i:o}}function Gi(e,t,i,a){var o=ri(t);if(!hn(t,o,a)){if(Wt(t,i,o,a)&&(i=null),a||o===null){if(wn(t)){var s=t;i===null?e.removeAttribute(s):(Di(i,t),e.setAttribute(s,""+i))}return}var d=o.mustUseProperty;if(d){var v=o.propertyName;if(i===null){var m=o.type;e[v]=m===Vn?!1:""}else e[v]=i;return}var E=o.attributeName,w=o.attributeNamespace;if(i===null)e.removeAttribute(E);else{var O=o.type,k;O===Vn||O===Ir&&i===!0?k="":(Di(i,E),k=""+i,o.sanitizeURL&&Uu(k.toString())),w?e.setAttributeNS(w,E,k):e.setAttribute(E,k)}}}var Ia=Symbol.for("react.element"),Wr=Symbol.for("react.portal"),Oi=Symbol.for("react.fragment"),Wa=Symbol.for("react.strict_mode"),Ya=Symbol.for("react.profiler"),Oo=Symbol.for("react.provider"),Fu=Symbol.for("react.context"),un=Symbol.for("react.forward_ref"),ii=Symbol.for("react.suspense"),Hl=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),Gs=Symbol.for("react.scope"),Qs=Symbol.for("react.debug_trace_mode"),Hu=Symbol.for("react.offscreen"),Xs=Symbol.for("react.legacy_hidden"),Ff=Symbol.for("react.cache"),Hf=Symbol.for("react.tracing_marker"),Zt=Symbol.iterator,Vf="@@iterator";function Li(e){if(e===null||typeof e!="object")return null;var t=Zt&&e[Zt]||e[Vf];return typeof t=="function"?t:null}var tt=Object.assign,Qi=0,Qa,Lo,Xa,Dr,Vu,or,ju;function Bu(){}Bu.__reactDisabledLog=!0;function Ks(){{if(Qi===0){Qa=console.log,Lo=console.info,Xa=console.warn,Dr=console.error,Vu=console.group,or=console.groupCollapsed,ju=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Bu,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qi++}}function Ao(){{if(Qi--,Qi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:tt({},e,{value:Qa}),info:tt({},e,{value:Lo}),warn:tt({},e,{value:Xa}),error:tt({},e,{value:Dr}),group:tt({},e,{value:Vu}),groupCollapsed:tt({},e,{value:or}),groupEnd:tt({},e,{value:ju})})}Qi<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ka=p.ReactCurrentDispatcher,Ai;function ur(e,t,i){{if(Ai===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);Ai=a&&a[1]||""}return`
98
+ `+Ai+e}}var qa=!1,Za;{var Ja=typeof WeakMap=="function"?WeakMap:Map;Za=new Ja}function No(e,t){if(!e||qa)return"";{var i=Za.get(e);if(i!==void 0)return i}var a;qa=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=Ka.current,Ka.current=null,Ks();try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(H){a=H}Reflect.construct(e,[],d)}else{try{d.call()}catch(H){a=H}e.call(d.prototype)}}else{try{throw Error()}catch(H){a=H}e()}}catch(H){if(H&&a&&typeof H.stack=="string"){for(var v=H.stack.split(`
99
+ `),m=a.stack.split(`
100
+ `),E=v.length-1,w=m.length-1;E>=1&&w>=0&&v[E]!==m[w];)w--;for(;E>=1&&w>=0;E--,w--)if(v[E]!==m[w]){if(E!==1||w!==1)do if(E--,w--,w<0||v[E]!==m[w]){var O=`
101
+ `+v[E].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&Za.set(e,O),O}while(E>=1&&w>=0);break}}}finally{qa=!1,Ka.current=s,Ao(),Error.prepareStackTrace=o}var k=e?e.displayName||e.name:"",U=k?ur(k):"";return typeof e=="function"&&Za.set(e,U),U}function zo(e,t,i){return No(e,!0)}function ha(e,t,i){return No(e,!1)}function jf(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Xi(e,t,i){if(e==null)return"";if(typeof e=="function")return No(e,jf(e));if(typeof e=="string")return ur(e);switch(e){case ii:return ur("Suspense");case Hl:return ur("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case un:return ha(e.render);case Ga:return Xi(e.type,t,i);case jn:{var a=e,o=a._payload,s=a._init;try{return Xi(s(o),t,i)}catch{}}}return""}function Et(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case X:return ur(e.type);case Lt:return ur("Lazy");case Ce:return ur("Suspense");case Tt:return ur("SuspenseList");case B:case ge:case ke:return ha(e.type);case xe:return ha(e.type.render);case K:return zo(e.type);default:return""}}function Uo(e){try{var t="",i=e;do t+=Et(i),i=i.return;while(i);return t}catch(a){return`
102
+ Error generating stack: `+a.message+`
103
+ `+a.stack}}function Vl(e,t,i){var a=e.displayName;if(a)return a;var o=t.displayName||t.name||"";return o!==""?i+"("+o+")":i}function Fo(e){return e.displayName||"Context"}function mt(e){if(e==null)return null;if(typeof e.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Oi:return"Fragment";case Wr:return"Portal";case Ya:return"Profiler";case Wa:return"StrictMode";case ii:return"Suspense";case Hl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fu:var t=e;return Fo(t)+".Consumer";case Oo:var i=e;return Fo(i._context)+".Provider";case un:return Vl(e,e.render,"ForwardRef");case Ga:var a=e.displayName||null;return a!==null?a:mt(e.type)||"Memo";case jn:{var o=e,s=o._payload,d=o._init;try{return mt(d(s))}catch{return null}}}return null}function Ho(e,t,i){var a=t.displayName||t.name||"";return e.displayName||(a!==""?i+"("+a+")":i)}function Vo(e){return e.displayName||"Context"}function Ge(e){var t=e.tag,i=e.type;switch(t){case qt:return"Cache";case ct:var a=i;return Vo(a)+".Consumer";case it:var o=i;return Vo(o._context)+".Provider";case Bt:return"DehydratedFragment";case xe:return Ho(i,i.render,"ForwardRef");case _e:return"Fragment";case X:return i;case ae:return"Portal";case J:return"Root";case le:return"Text";case Lt:return mt(i);case de:return i===Wa?"StrictMode":"Mode";case Je:return"Offscreen";case Oe:return"Profiler";case Rn:return"Scope";case Ce:return"Suspense";case Tt:return"SuspenseList";case bt:return"TracingMarker";case K:case B:case jt:case ge:case Pe:case ke:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var jl=p.ReactDebugCurrentFrame,nn=null,_r=!1;function sr(){{if(nn===null)return null;var e=nn._debugOwner;if(e!==null&&typeof e<"u")return Ge(e)}return null}function el(){return nn===null?"":Uo(nn)}function sn(){jl.getCurrentStack=null,nn=null,_r=!1}function Dt(e){jl.getCurrentStack=e===null?null:el,nn=e,_r=!1}function qs(){return nn}function kr(e){_r=e}function On(e){return""+e}function Ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return br(e),e;default:return""}}var Zs={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function va(e,t){Zs[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||C("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||C("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 tl(e){var t=e.type,i=e.nodeName;return i&&i.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Js(e){return e._valueTracker}function ai(e){e._valueTracker=null}function nl(e){var t="";return e&&(tl(e)?t=e.checked?"true":"false":t=e.value),t}function rl(e){var t=tl(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);br(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof i>"u"||typeof i.get!="function"||typeof i.set!="function")){var o=i.get,s=i.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(v){br(v),a=""+v,s.call(this,v)}}),Object.defineProperty(e,t,{enumerable:i.enumerable});var d={getValue:function(){return a},setValue:function(v){br(v),a=""+v},stopTracking:function(){ai(e),delete e[t]}};return d}}function li(e){Js(e)||(e._valueTracker=rl(e))}function jo(e){if(!e)return!1;var t=Js(e);if(!t)return!0;var i=t.getValue(),a=nl(e);return a!==i?(t.setValue(a),!0):!1}function il(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}}var al=!1,Bl=!1,Bo=!1,Pu=!1;function Ni(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function y(e,t){var i=e,a=t.checked,o=tt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??i._wrapperState.initialChecked});return o}function x(e,t){va("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Bl&&(C("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",sr()||"A component",t.type),Bl=!0),t.value!==void 0&&t.defaultValue!==void 0&&!al&&(C("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",sr()||"A component",t.type),al=!0);var i=e,a=t.defaultValue==null?"":t.defaultValue;i._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ki(t.value!=null?t.value:a),controlled:Ni(t)}}function F(e,t){var i=e,a=t.checked;a!=null&&Gi(i,"checked",a,!1)}function j(e,t){var i=e;{var a=Ni(t);!i._wrapperState.controlled&&a&&!Pu&&(C("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://reactjs.org/link/controlled-components"),Pu=!0),i._wrapperState.controlled&&!a&&!Bo&&(C("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://reactjs.org/link/controlled-components"),Bo=!0)}F(e,t);var o=Ki(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=On(o)):i.value!==On(o)&&(i.value=On(o));else if(s==="submit"||s==="reset"){i.removeAttribute("value");return}t.hasOwnProperty("value")?Fe(i,t.type,o):t.hasOwnProperty("defaultValue")&&Fe(i,t.type,Ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(i.defaultChecked=!!t.defaultChecked)}function ne(e,t,i){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type,s=o==="submit"||o==="reset";if(s&&(t.value===void 0||t.value===null))return;var d=On(a._wrapperState.initialValue);i||d!==a.value&&(a.value=d),a.defaultValue=d}var v=a.name;v!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,v!==""&&(a.name=v)}function Ve(e,t){var i=e;j(i,t),ce(i,t)}function ce(e,t){var i=t.name;if(t.type==="radio"&&i!=null){for(var a=e;a.parentNode;)a=a.parentNode;Di(i,"name");for(var o=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),s=0;s<o.length;s++){var d=o[s];if(!(d===e||d.form!==e.form)){var v=Cv(d);if(!v)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");jo(d),j(d,v)}}}}function Fe(e,t,i){(t!=="number"||il(e.ownerDocument)!==e)&&(i==null?e.defaultValue=On(e._wrapperState.initialValue):e.defaultValue!==On(i)&&(e.defaultValue=On(i)))}var nt=!1,yt=!1,Ut=!1;function Ot(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?I.Children.forEach(t.children,function(i){i!=null&&(typeof i=="string"||typeof i=="number"||yt||(yt=!0,C("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Ut||(Ut=!0,C("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!nt&&(C("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),nt=!0)}function Ft(e,t){t.value!=null&&e.setAttribute("value",On(Ki(t.value)))}var It=Array.isArray;function st(e){return It(e)}var ma;ma=!1;function Po(){var e=sr();return e?`
104
+
105
+ Check the render method of \``+e+"`.":""}var $u=["value","defaultValue"];function Bf(e){{va("select",e);for(var t=0;t<$u.length;t++){var i=$u[t];if(e[i]!=null){var a=st(e[i]);e.multiple&&!a?C("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Po()):!e.multiple&&a&&C("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Po())}}}}function zi(e,t,i,a){var o=e.options;if(t){for(var s=i,d={},v=0;v<s.length;v++)d["$"+s[v]]=!0;for(var m=0;m<o.length;m++){var E=d.hasOwnProperty("$"+o[m].value);o[m].selected!==E&&(o[m].selected=E),E&&a&&(o[m].defaultSelected=!0)}}else{for(var w=On(Ki(i)),O=null,k=0;k<o.length;k++){if(o[k].value===w){o[k].selected=!0,a&&(o[k].defaultSelected=!0);return}O===null&&!o[k].disabled&&(O=o[k])}O!==null&&(O.selected=!0)}}function Iu(e,t){return tt({},t,{value:void 0})}function Wu(e,t){var i=e;Bf(t),i._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!ma&&(C("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ma=!0)}function Pf(e,t){var i=e;i.multiple=!!t.multiple;var a=t.value;a!=null?zi(i,!!t.multiple,a,!1):t.defaultValue!=null&&zi(i,!!t.multiple,t.defaultValue,!0)}function Fm(e,t){var i=e,a=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!t.multiple;var o=t.value;o!=null?zi(i,!!t.multiple,o,!1):a!==!!t.multiple&&(t.defaultValue!=null?zi(i,!!t.multiple,t.defaultValue,!0):zi(i,!!t.multiple,t.multiple?[]:"",!1))}function Hm(e,t){var i=e,a=t.value;a!=null&&zi(i,!!t.multiple,a,!1)}var $f=!1;function If(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=tt({},t,{value:void 0,defaultValue:void 0,children:On(i._wrapperState.initialValue)});return a}function Xp(e,t){var i=e;va("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!$f&&(C("%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://reactjs.org/link/controlled-components",sr()||"A component"),$f=!0);var a=t.value;if(a==null){var o=t.children,s=t.defaultValue;if(o!=null){C("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(st(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}s=o}}s==null&&(s=""),a=s}i._wrapperState={initialValue:Ki(a)}}function Kp(e,t){var i=e,a=Ki(t.value),o=Ki(t.defaultValue);if(a!=null){var s=On(a);s!==i.value&&(i.value=s),t.defaultValue==null&&i.defaultValue!==s&&(i.defaultValue=s)}o!=null&&(i.defaultValue=On(o))}function qp(e,t){var i=e,a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function Wf(e,t){Kp(e,t)}var ya="http://www.w3.org/1999/xhtml",Vm="http://www.w3.org/1998/Math/MathML",Yf="http://www.w3.org/2000/svg";function ec(e){switch(e){case"svg":return Yf;case"math":return Vm;default:return ya}}function Gf(e,t){return e==null||e===ya?ec(t):e===Yf&&t==="foreignObject"?ya:e}var jm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,o){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,o)})}:e},tc,Zp=jm(function(e,t){if(e.namespaceURI===Yf&&!("innerHTML"in e)){tc=tc||document.createElement("div"),tc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var i=tc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild);return}e.innerHTML=t}),Mr=1,ga=3,gn=8,Ui=9,Pl=11,nc=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===ga){i.nodeValue=t;return}}e.textContent=t},Jp={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],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"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],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"],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"]},$o={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function eh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var th=["Webkit","ms","Moz","O"];Object.keys($o).forEach(function(e){th.forEach(function(t){$o[eh(t,e)]=$o[e]})});function rc(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!($o.hasOwnProperty(e)&&$o[e])?t+"px":(wr(t,e),(""+t).trim())}var Io=/([A-Z])/g,Bm=/^ms-/;function Pm(e){return e.replace(Io,"-$1").toLowerCase().replace(Bm,"-ms-")}var nh=function(){};{var rh=/^(?:webkit|moz|o)[A-Z]/,ih=/^-ms-/,Yu=/-(.)/g,Wo=/;\s*$/,Yo={},Go={},ah=!1,Qf=!1,Xf=function(e){return e.replace(Yu,function(t,i){return i.toUpperCase()})},Kf=function(e){Yo.hasOwnProperty(e)&&Yo[e]||(Yo[e]=!0,C("Unsupported style property %s. Did you mean %s?",e,Xf(e.replace(ih,"ms-"))))},lh=function(e){Yo.hasOwnProperty(e)&&Yo[e]||(Yo[e]=!0,C("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},oh=function(e,t){Go.hasOwnProperty(t)&&Go[t]||(Go[t]=!0,C(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Wo,"")))},uh=function(e,t){ah||(ah=!0,C("`NaN` is an invalid value for the `%s` css style property.",e))},$m=function(e,t){Qf||(Qf=!0,C("`Infinity` is an invalid value for the `%s` css style property.",e))};nh=function(e,t){e.indexOf("-")>-1?Kf(e):rh.test(e)?lh(e):Wo.test(t)&&oh(e,t),typeof t=="number"&&(isNaN(t)?uh(e,t):isFinite(t)||$m(e,t))}}var Im=nh;function Wm(e){{var t="",i="";for(var a in e)if(e.hasOwnProperty(a)){var o=e[a];if(o!=null){var s=a.indexOf("--")===0;t+=i+(s?a:Pm(a))+":",t+=rc(a,o,s),i=";"}}return t||null}}function sh(e,t){var i=e.style;for(var a in t)if(t.hasOwnProperty(a)){var o=a.indexOf("--")===0;o||Im(a,t[a]);var s=rc(a,t[a],o);a==="float"&&(a="cssFloat"),o?i.setProperty(a,s):i[a]=s}}function Ym(e){return e==null||typeof e=="boolean"||e===""}function oi(e){var t={};for(var i in e)for(var a=Jp[i]||[i],o=0;o<a.length;o++)t[a[o]]=i;return t}function Gu(e,t){{if(!t)return;var i=oi(e),a=oi(t),o={};for(var s in i){var d=i[s],v=a[s];if(v&&d!==v){var m=d+","+v;if(o[m])continue;o[m]=!0,C("%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.",Ym(e[d])?"Removing":"Updating",d,v)}}}}var ch={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},fh=tt({menuitem:!0},ch),dh="__html";function ic(e,t){if(t){if(fh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(dh in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&C("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."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Sa(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ac={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},ph={"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},Fi={},qf=new RegExp("^(aria)-["+Ne+"]*$"),Qu=new RegExp("^(aria)[A-Z]["+Ne+"]*$");function Zf(e,t){{if(Zn.call(Fi,t)&&Fi[t])return!0;if(Qu.test(t)){var i="aria-"+t.slice(4).toLowerCase(),a=ph.hasOwnProperty(i)?i:null;if(a==null)return C("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Fi[t]=!0,!0;if(t!==a)return C("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Fi[t]=!0,!0}if(qf.test(t)){var o=t.toLowerCase(),s=ph.hasOwnProperty(o)?o:null;if(s==null)return Fi[t]=!0,!1;if(t!==s)return C("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),Fi[t]=!0,!0}}return!0}function hh(e,t){{var i=[];for(var a in t){var o=Zf(e,a);o||i.push(a)}var s=i.map(function(d){return"`"+d+"`"}).join(", ");i.length===1?C("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):i.length>1&&C("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function lc(e,t){Sa(e,t)||hh(e,t)}var $l=!1;function Jf(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!$l&&($l=!0,e==="select"&&t.multiple?C("`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):C("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var ed=function(){};{var Ln={},td=/^on./,vh=/^on[^A-Z]/,mh=new RegExp("^(aria)-["+Ne+"]*$"),yh=new RegExp("^(aria)[A-Z]["+Ne+"]*$");ed=function(e,t,i,a){if(Zn.call(Ln,t)&&Ln[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return C("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."),Ln[t]=!0,!0;if(a!=null){var s=a.registrationNameDependencies,d=a.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var v=d.hasOwnProperty(o)?d[o]:null;if(v!=null)return C("Invalid event handler property `%s`. Did you mean `%s`?",t,v),Ln[t]=!0,!0;if(td.test(t))return C("Unknown event handler property `%s`. It will be ignored.",t),Ln[t]=!0,!0}else if(td.test(t))return vh.test(t)&&C("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ln[t]=!0,!0;if(mh.test(t)||yh.test(t))return!0;if(o==="innerhtml")return C("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ln[t]=!0,!0;if(o==="aria")return C("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ln[t]=!0,!0;if(o==="is"&&i!==null&&i!==void 0&&typeof i!="string")return C("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),Ln[t]=!0,!0;if(typeof i=="number"&&isNaN(i))return C("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ln[t]=!0,!0;var m=ri(t),E=m!==null&&m.type===_i;if(ac.hasOwnProperty(o)){var w=ac[o];if(w!==t)return C("Invalid DOM property `%s`. Did you mean `%s`?",t,w),Ln[t]=!0,!0}else if(!E&&t!==o)return C("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),Ln[t]=!0,!0;return typeof i=="boolean"&&Tr(t,i,m,!1)?(i?C('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()}.',i,t,t,i,t):C('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.',i,t,t,i,t,t,t),Ln[t]=!0,!0):E?!0:Tr(t,i,m,!1)?(Ln[t]=!0,!1):((i==="false"||i==="true")&&m!==null&&m.type===Vn&&(C("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="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,i),Ln[t]=!0),!0)}}var gh=function(e,t,i){{var a=[];for(var o in t){var s=ed(e,o,t[o],i);s||a.push(o)}var d=a.map(function(v){return"`"+v+"`"}).join(", ");a.length===1?C("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e):a.length>1&&C("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e)}};function Sh(e,t,i){Sa(e,t)||gh(e,t,i)}var Ca=1,Xu=1<<1,Il=1<<2,Gm=Ca|Xu|Il,Ku=null;function qu(e){Ku!==null&&C("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Ku=e}function Qm(){Ku===null&&C("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Ku=null}function Ch(e){return e===Ku}function oc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ga?t.parentNode:t}var Ht=null,ll=null,Ea=null;function Qo(e){var t=Cu(e);if(t){if(typeof Ht!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var i=t.stateNode;if(i){var a=Cv(i);Ht(t.stateNode,t.type,a)}}}function Eh(e){Ht=e}function uc(e){ll?Ea?Ea.push(e):Ea=[e]:ll=e}function Zu(){return ll!==null||Ea!==null}function Ju(){if(ll){var e=ll,t=Ea;if(ll=null,Ea=null,Qo(e),t)for(var i=0;i<t.length;i++)Qo(t[i])}}var Wl=function(e,t){return e(t)},nd=function(){},rd=!1;function Xm(){var e=Zu();e&&(nd(),Ju())}function id(e,t,i){if(rd)return e(t,i);rd=!0;try{return Wl(e,t,i)}finally{rd=!1,Xm()}}function sc(e,t,i){Wl=e,nd=i}function cc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function ad(e,t,i){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(i.disabled&&cc(t));default:return!1}}function Yl(e,t){var i=e.stateNode;if(i===null)return null;var a=Cv(i);if(a===null)return null;var o=a[t];if(ad(t,e.type,a))return null;if(o&&typeof o!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var es=!1;if(pn)try{var Gl={};Object.defineProperty(Gl,"passive",{get:function(){es=!0}}),window.addEventListener("test",Gl,Gl),window.removeEventListener("test",Gl,Gl)}catch{es=!1}function Rh(e,t,i,a,o,s,d,v,m){var E=Array.prototype.slice.call(arguments,3);try{t.apply(i,E)}catch(w){this.onError(w)}}var ld=Rh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var od=document.createElement("react");ld=function(t,i,a,o,s,d,v,m,E){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var w=document.createEvent("Event"),O=!1,k=!0,U=window.event,H=Object.getOwnPropertyDescriptor(window,"event");function P(){od.removeEventListener($,Ue,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=U)}var me=Array.prototype.slice.call(arguments,3);function Ue(){O=!0,P(),i.apply(a,me),k=!1}var Me,ht=!1,ot=!1;function A(N){if(Me=N.error,ht=!0,Me===null&&N.colno===0&&N.lineno===0&&(ot=!0),N.defaultPrevented&&Me!=null&&typeof Me=="object")try{Me._suppressLogging=!0}catch{}}var $="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",A),od.addEventListener($,Ue,!1),w.initEvent($,!1,!1),od.dispatchEvent(w),H&&Object.defineProperty(window,"event",H),O&&k&&(ht?ot&&(Me=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Me=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Me)),window.removeEventListener("error",A),!O)return P(),Rh.apply(this,arguments)}}var Km=ld,ol=!1,Hi=null,ts=!1,ul=null,qi={onError:function(e){ol=!0,Hi=e}};function Ql(e,t,i,a,o,s,d,v,m){ol=!1,Hi=null,Km.apply(qi,arguments)}function Ra(e,t,i,a,o,s,d,v,m){if(Ql.apply(this,arguments),ol){var E=sd();ts||(ts=!0,ul=E)}}function ud(){if(ts){var e=ul;throw ts=!1,ul=null,e}}function qm(){return ol}function sd(){if(ol){var e=Hi;return ol=!1,Hi=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ui(e){return e._reactInternals}function ns(e){return e._reactInternals!==void 0}function Xo(e,t){e._reactInternals=t}var ze=0,sl=1,Yt=2,qe=4,xt=16,_t=32,Zi=64,We=128,cn=256,Or=512,si=1024,Jt=2048,ci=4096,cl=8192,rs=16384,fc=Jt|qe|Zi|Or|si|rs,wh=32767,Yr=32768,An=65536,is=131072,cd=1048576,fd=2097152,Lr=4194304,fl=8388608,Ar=16777216,Xl=33554432,Ko=qe|si|0,Nr=Yt|qe|xt|_t|Or|ci|cl,er=qe|Zi|Or|cl,fi=Jt|xt,Bn=Lr|fl|fd,wa=p.ReactCurrentOwner;function Gr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(Yt|ci))!==ze&&(i=t.return),a=t.return;while(a)}return t.tag===J?i:null}function dd(e){if(e.tag===Ce){var t=e.memoizedState;if(t===null){var i=e.alternate;i!==null&&(t=i.memoizedState)}if(t!==null)return t.dehydrated}return null}function dc(e){return e.tag===J?e.stateNode.containerInfo:null}function pd(e){return Gr(e)===e}function Qr(e){{var t=wa.current;if(t!==null&&t.tag===K){var i=t,a=i.stateNode;a._warnedAboutRefsInRender||C("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ge(i)||"A component"),a._warnedAboutRefsInRender=!0}}var o=ui(e);return o?Gr(o)===o:!1}function zr(e){if(Gr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Gt(e){var t=e.alternate;if(!t){var i=Gr(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var a=e,o=t;;){var s=a.return;if(s===null)break;var d=s.alternate;if(d===null){var v=s.return;if(v!==null){a=o=v;continue}break}if(s.child===d.child){for(var m=s.child;m;){if(m===a)return zr(s),e;if(m===o)return zr(s),t;m=m.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=s,o=d;else{for(var E=!1,w=s.child;w;){if(w===a){E=!0,a=s,o=d;break}if(w===o){E=!0,o=s,a=d;break}w=w.sibling}if(!E){for(w=d.child;w;){if(w===a){E=!0,a=d,o=s;break}if(w===o){E=!0,o=d,a=s;break}w=w.sibling}if(!E)throw new 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!==o)throw new 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!==J)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function di(e){var t=Gt(e);return t!==null?hd(t):null}function hd(e){if(e.tag===X||e.tag===le)return e;for(var t=e.child;t!==null;){var i=hd(t);if(i!==null)return i;t=t.sibling}return null}function bh(e){var t=Gt(e);return t!==null?pc(t):null}function pc(e){if(e.tag===X||e.tag===le)return e;for(var t=e.child;t!==null;){if(t.tag!==ae){var i=pc(t);if(i!==null)return i}t=t.sibling}return null}var hc=c.unstable_scheduleCallback,xh=c.unstable_cancelCallback,vc=c.unstable_shouldYield,Th=c.unstable_requestPaint,rn=c.unstable_now,vd=c.unstable_getCurrentPriorityLevel,mc=c.unstable_ImmediatePriority,Xr=c.unstable_UserBlockingPriority,Ji=c.unstable_NormalPriority,yc=c.unstable_LowPriority,dl=c.unstable_IdlePriority,md=c.unstable_yieldValue,yd=c.unstable_setDisableYieldValue,pl=null,Nn=null,oe=null,vn=!1,Pn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function gd(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 C("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{gt&&(e=tt({},e,{getLaneLabelMap:vl,injectProfilingHooks:xa})),pl=t.inject(e),Nn=t}catch(i){C("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function Dh(e,t){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(pl,e,t)}catch(i){vn||(vn=!0,C("React instrumentation encountered an error: %s",i))}}function ba(e,t){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{var i=(e.current.flags&We)===We;if(at){var a;switch(t){case tr:a=mc;break;case $n:a=Xr;break;case Da:a=Ji;break;case ps:a=dl;break;default:a=Ji;break}Nn.onCommitFiberRoot(pl,e,a,i)}}catch(o){vn||(vn=!0,C("React instrumentation encountered an error: %s",o))}}function hl(e){if(Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(pl,e)}catch(t){vn||(vn=!0,C("React instrumentation encountered an error: %s",t))}}function Sd(e){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(pl,e)}catch(t){vn||(vn=!0,C("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof md=="function"&&(yd(e),R(e)),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(pl,e)}catch(t){vn||(vn=!0,C("React instrumentation encountered an error: %s",t))}}function xa(e){oe=e}function vl(){{for(var e=new Map,t=1,i=0;i<Qt;i++){var a=Zm(t);e.set(t,a),t*=2}return e}}function gc(e){oe!==null&&typeof oe.markCommitStarted=="function"&&oe.markCommitStarted(e)}function Cd(){oe!==null&&typeof oe.markCommitStopped=="function"&&oe.markCommitStopped()}function ml(e){oe!==null&&typeof oe.markComponentRenderStarted=="function"&&oe.markComponentRenderStarted(e)}function Kl(){oe!==null&&typeof oe.markComponentRenderStopped=="function"&&oe.markComponentRenderStopped()}function _h(e){oe!==null&&typeof oe.markComponentPassiveEffectMountStarted=="function"&&oe.markComponentPassiveEffectMountStarted(e)}function Ed(){oe!==null&&typeof oe.markComponentPassiveEffectMountStopped=="function"&&oe.markComponentPassiveEffectMountStopped()}function Sc(e){oe!==null&&typeof oe.markComponentPassiveEffectUnmountStarted=="function"&&oe.markComponentPassiveEffectUnmountStarted(e)}function kh(){oe!==null&&typeof oe.markComponentPassiveEffectUnmountStopped=="function"&&oe.markComponentPassiveEffectUnmountStopped()}function Mh(e){oe!==null&&typeof oe.markComponentLayoutEffectMountStarted=="function"&&oe.markComponentLayoutEffectMountStarted(e)}function Oh(){oe!==null&&typeof oe.markComponentLayoutEffectMountStopped=="function"&&oe.markComponentLayoutEffectMountStopped()}function Cc(e){oe!==null&&typeof oe.markComponentLayoutEffectUnmountStarted=="function"&&oe.markComponentLayoutEffectUnmountStarted(e)}function qo(){oe!==null&&typeof oe.markComponentLayoutEffectUnmountStopped=="function"&&oe.markComponentLayoutEffectUnmountStopped()}function Ec(e,t,i){oe!==null&&typeof oe.markComponentErrored=="function"&&oe.markComponentErrored(e,t,i)}function Lh(e,t,i){oe!==null&&typeof oe.markComponentSuspended=="function"&&oe.markComponentSuspended(e,t,i)}function Ah(e){oe!==null&&typeof oe.markLayoutEffectsStarted=="function"&&oe.markLayoutEffectsStarted(e)}function Zo(){oe!==null&&typeof oe.markLayoutEffectsStopped=="function"&&oe.markLayoutEffectsStopped()}function Nh(e){oe!==null&&typeof oe.markPassiveEffectsStarted=="function"&&oe.markPassiveEffectsStarted(e)}function as(){oe!==null&&typeof oe.markPassiveEffectsStopped=="function"&&oe.markPassiveEffectsStopped()}function Vi(e){oe!==null&&typeof oe.markRenderStarted=="function"&&oe.markRenderStarted(e)}function ls(){oe!==null&&typeof oe.markRenderYielded=="function"&&oe.markRenderYielded()}function Jo(){oe!==null&&typeof oe.markRenderStopped=="function"&&oe.markRenderStopped()}function ql(e){oe!==null&&typeof oe.markRenderScheduled=="function"&&oe.markRenderScheduled(e)}function Rd(e,t){oe!==null&&typeof oe.markForceUpdateScheduled=="function"&&oe.markForceUpdateScheduled(e,t)}function yl(e,t){oe!==null&&typeof oe.markStateUpdateScheduled=="function"&&oe.markStateUpdateScheduled(e,t)}var He=0,rt=1,je=2,an=8,pi=16,Rc=Math.clz32?Math.clz32:Zl,wc=Math.log,wd=Math.LN2;function Zl(e){var t=e>>>0;return t===0?32:31-(wc(t)/wd|0)|0}var Qt=31,W=0,dt=0,Be=1,ea=2,Kr=4,Jl=8,Xt=16,eo=32,gl=4194240,to=64,hi=128,Ur=256,no=512,os=1024,us=2048,bc=4096,xc=8192,Tc=16384,Dc=32768,_c=65536,kc=131072,Mc=262144,Oc=524288,ro=1048576,Lc=2097152,io=130023424,Ta=4194304,Ac=8388608,ss=16777216,Nc=33554432,zc=67108864,bd=Ta,eu=134217728,Uc=268435455,tu=268435456,Sl=536870912,Fr=1073741824;function Zm(e){{if(e&Be)return"Sync";if(e&ea)return"InputContinuousHydration";if(e&Kr)return"InputContinuous";if(e&Jl)return"DefaultHydration";if(e&Xt)return"Default";if(e&eo)return"TransitionHydration";if(e&gl)return"Transition";if(e&io)return"Retry";if(e&eu)return"SelectiveHydration";if(e&tu)return"IdleHydration";if(e&Sl)return"Idle";if(e&Fr)return"Offscreen"}}var Vt=-1,Fc=to,Hc=Ta;function nu(e){switch(Sn(e)){case Be:return Be;case ea:return ea;case Kr:return Kr;case Jl:return Jl;case Xt:return Xt;case eo:return eo;case to:case hi:case Ur:case no:case os:case us:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:return e&gl;case Ta:case Ac:case ss:case Nc:case zc:return e&io;case eu:return eu;case tu:return tu;case Sl:return Sl;case Fr:return Fr;default:return C("Should have found matching lanes. This is a bug in React."),e}}function cs(e,t){var i=e.pendingLanes;if(i===W)return W;var a=W,o=e.suspendedLanes,s=e.pingedLanes,d=i&Uc;if(d!==W){var v=d&~o;if(v!==W)a=nu(v);else{var m=d&s;m!==W&&(a=nu(m))}}else{var E=i&~o;E!==W?a=nu(E):s!==W&&(a=nu(s))}if(a===W)return W;if(t!==W&&t!==a&&(t&o)===W){var w=Sn(a),O=Sn(t);if(w>=O||w===Xt&&(O&gl)!==W)return t}(a&Kr)!==W&&(a|=i&Xt);var k=e.entangledLanes;if(k!==W)for(var U=e.entanglements,H=a&k;H>0;){var P=Cl(H),me=1<<P;a|=U[P],H&=~me}return a}function zh(e,t){for(var i=e.eventTimes,a=Vt;t>0;){var o=Cl(t),s=1<<o,d=i[o];d>a&&(a=d),t&=~s}return a}function Vc(e,t){switch(e){case Be:case ea:case Kr:return t+250;case Jl:case Xt:case eo:case to:case hi:case Ur:case no:case os:case us:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:return t+5e3;case Ta:case Ac:case ss:case Nc:case zc:return Vt;case eu:case tu:case Sl:case Fr:return Vt;default:return C("Should have found matching lanes. This is a bug in React."),Vt}}function Jm(e,t){for(var i=e.pendingLanes,a=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=i;d>0;){var v=Cl(d),m=1<<v,E=s[v];E===Vt?((m&a)===W||(m&o)!==W)&&(s[v]=Vc(m,t)):E<=t&&(e.expiredLanes|=m),d&=~m}}function ey(e){return nu(e.pendingLanes)}function xd(e){var t=e.pendingLanes&~Fr;return t!==W?t:t&Fr?Fr:W}function ru(e){return(e&Be)!==W}function fs(e){return(e&Uc)!==W}function jc(e){return(e&io)===e}function ty(e){var t=Be|Kr|Xt;return(e&t)===W}function Uh(e){return(e&gl)===e}function ds(e,t){var i=ea|Kr|Jl|Xt;return(t&i)!==W}function Fh(e,t){return(t&e.expiredLanes)!==W}function Td(e){return(e&gl)!==W}function Dd(){var e=Fc;return Fc<<=1,(Fc&gl)===W&&(Fc=to),e}function ny(){var e=Hc;return Hc<<=1,(Hc&io)===W&&(Hc=Ta),e}function Sn(e){return e&-e}function xn(e){return Sn(e)}function Cl(e){return 31-Rc(e)}function Bc(e){return Cl(e)}function Hr(e,t){return(e&t)!==W}function ao(e,t){return(e&t)===t}function Ze(e,t){return e|t}function iu(e,t){return e&~t}function _d(e,t){return e&t}function Hh(e){return e}function Vh(e,t){return e!==dt&&e<t?e:t}function Pc(e){for(var t=[],i=0;i<Qt;i++)t.push(e);return t}function lo(e,t,i){e.pendingLanes|=t,t!==Sl&&(e.suspendedLanes=W,e.pingedLanes=W);var a=e.eventTimes,o=Bc(t);a[o]=i}function kd(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,a=t;a>0;){var o=Cl(a),s=1<<o;i[o]=Vt,a&=~s}}function Md(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function Od(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=W,e.pingedLanes=W,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,o=e.eventTimes,s=e.expirationTimes,d=i;d>0;){var v=Cl(d),m=1<<v;a[v]=W,o[v]=Vt,s[v]=Vt,d&=~m}}function au(e,t){for(var i=e.entangledLanes|=t,a=e.entanglements,o=i;o;){var s=Cl(o),d=1<<s;d&t|a[s]&t&&(a[s]|=t),o&=~d}}function ry(e,t){var i=Sn(t),a;switch(i){case Kr:a=ea;break;case Xt:a=Jl;break;case to:case hi:case Ur:case no:case os:case us:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:case Ta:case Ac:case ss:case Nc:case zc:a=eo;break;case Sl:a=tu;break;default:a=dt;break}return(a&(e.suspendedLanes|t))!==dt?dt:a}function Ld(e,t,i){if(Pn)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=Bc(i),s=1<<o,d=a[o];d.add(t),i&=~s}}function $c(e,t){if(Pn)for(var i=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var o=Bc(t),s=1<<o,d=i[o];d.size>0&&(d.forEach(function(v){var m=v.alternate;(m===null||!a.has(m))&&a.add(v)}),d.clear()),t&=~s}}function Ad(e,t){return null}var tr=Be,$n=Kr,Da=Xt,ps=Sl,oo=dt;function vi(){return oo}function Tn(e){oo=e}function hs(e,t){var i=oo;try{return oo=e,t()}finally{oo=i}}function nr(e,t){return e!==0&&e<t?e:t}function iy(e,t){return e===0||e>t?e:t}function Nd(e,t){return e!==0&&e<t}function vs(e){var t=Sn(e);return Nd(tr,t)?Nd($n,t)?fs(t)?Da:ps:$n:tr}function Dn(e){var t=e.current.memoizedState;return t.isDehydrated}var jh;function Se(e){jh=e}function lu(e){jh(e)}var ms;function Bh(e){ms=e}var Ph;function ys(e){Ph=e}var gs;function zd(e){gs=e}var Ud;function $h(e){Ud=e}var Ic=!1,ou=[],ta=null,en=null,zn=null,mi=new Map,uu=new Map,_a=[],ji=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Ih(e){return ji.indexOf(e)>-1}function na(e,t,i,a,o){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]}}function Wh(e,t){switch(e){case"focusin":case"focusout":ta=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;mi.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;uu.delete(a);break}}}function su(e,t,i,a,o,s){if(e===null||e.nativeEvent!==s){var d=na(t,i,a,o,s);if(t!==null){var v=Cu(t);v!==null&&ms(v)}return d}e.eventSystemFlags|=a;var m=e.targetContainers;return o!==null&&m.indexOf(o)===-1&&m.push(o),e}function Yh(e,t,i,a,o){switch(t){case"focusin":{var s=o;return ta=su(ta,e,t,i,a,s),!0}case"dragenter":{var d=o;return en=su(en,e,t,i,a,d),!0}case"mouseover":{var v=o;return zn=su(zn,e,t,i,a,v),!0}case"pointerover":{var m=o,E=m.pointerId;return mi.set(E,su(mi.get(E)||null,e,t,i,a,m)),!0}case"gotpointercapture":{var w=o,O=w.pointerId;return uu.set(O,su(uu.get(O)||null,e,t,i,a,w)),!0}}return!1}function Fd(e){var t=Ds(e.target);if(t!==null){var i=Gr(t);if(i!==null){var a=i.tag;if(a===Ce){var o=dd(i);if(o!==null){e.blockedOn=o,Ud(e.priority,function(){Ph(i)});return}}else if(a===J){var s=i.stateNode;if(Dn(s)){e.blockedOn=dc(i);return}}}}e.blockedOn=null}function Gh(e){for(var t=gs(),i={blockedOn:null,target:e,priority:t},a=0;a<_a.length&&Nd(t,_a[a].priority);a++);_a.splice(a,0,i),a===0&&Fd(i)}function Wc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],a=uo(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(a===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);qu(s),o.target.dispatchEvent(s),Qm()}else{var d=Cu(a);return d!==null&&ms(d),e.blockedOn=a,!1}t.shift()}return!0}function Ss(e,t,i){Wc(e)&&i.delete(t)}function Hd(){Ic=!1,ta!==null&&Wc(ta)&&(ta=null),en!==null&&Wc(en)&&(en=null),zn!==null&&Wc(zn)&&(zn=null),mi.forEach(Ss),uu.forEach(Ss)}function rr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ic||(Ic=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Hd)))}function lt(e){if(ou.length>0){rr(ou[0],e);for(var t=1;t<ou.length;t++){var i=ou[t];i.blockedOn===e&&(i.blockedOn=null)}}ta!==null&&rr(ta,e),en!==null&&rr(en,e),zn!==null&&rr(zn,e);var a=function(v){return rr(v,e)};mi.forEach(a),uu.forEach(a);for(var o=0;o<_a.length;o++){var s=_a[o];s.blockedOn===e&&(s.blockedOn=null)}for(;_a.length>0;){var d=_a[0];if(d.blockedOn!==null)break;Fd(d),d.blockedOn===null&&_a.shift()}}var ln=p.ReactCurrentBatchConfig,fn=!0;function Un(e){fn=!!e}function qr(){return fn}function cu(e,t,i){var a=cr(t),o;switch(a){case tr:o=_n;break;case $n:o=Cs;break;case Da:default:o=ka;break}return o.bind(null,t,i,e)}function _n(e,t,i,a){var o=vi(),s=ln.transition;ln.transition=null;try{Tn(tr),ka(e,t,i,a)}finally{Tn(o),ln.transition=s}}function Cs(e,t,i,a){var o=vi(),s=ln.transition;ln.transition=null;try{Tn($n),ka(e,t,i,a)}finally{Tn(o),ln.transition=s}}function ka(e,t,i,a){fn&&Yc(e,t,i,a)}function Yc(e,t,i,a){var o=uo(e,t,i,a);if(o===null){by(e,t,a,fu,i),Wh(e,a);return}if(Yh(o,e,t,i,a)){a.stopPropagation();return}if(Wh(e,a),t&Il&&Ih(e)){for(;o!==null;){var s=Cu(o);s!==null&&lu(s);var d=uo(e,t,i,a);if(d===null&&by(e,t,a,fu,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}by(e,t,a,null,i)}var fu=null;function uo(e,t,i,a){fu=null;var o=oc(a),s=Ds(o);if(s!==null){var d=Gr(s);if(d===null)s=null;else{var v=d.tag;if(v===Ce){var m=dd(d);if(m!==null)return m;s=null}else if(v===J){var E=d.stateNode;if(Dn(E))return dc(d);s=null}else d!==s&&(s=null)}}return fu=s,null}function cr(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return tr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return $n;case"message":{var t=vd();switch(t){case mc:return tr;case Xr:return $n;case Ji:case yc:return Da;case dl:return ps;default:return Da}}default:return Da}}function Vd(e,t,i){return e.addEventListener(t,i,!1),i}function du(e,t,i){return e.addEventListener(t,i,!0),i}function Ma(e,t,i,a){return e.addEventListener(t,i,{capture:!0,passive:a}),i}function Gc(e,t,i,a){return e.addEventListener(t,i,{passive:a}),i}var so=null,ra=null,El=null;function Rl(e){return so=e,ra=Xc(),!0}function Qc(){so=null,ra=null,El=null}function pu(){if(El)return El;var e,t=ra,i=t.length,a,o=Xc(),s=o.length;for(e=0;e<i&&t[e]===o[e];e++);var d=i-e;for(a=1;a<=d&&t[i-a]===o[s-a];a++);var v=a>1?1-a:void 0;return El=o.slice(e,v),El}function Xc(){return"value"in so?so.value:so.textContent}function co(e){var t,i=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),t>=32||t===13?t:0}function fo(){return!0}function ir(){return!1}function Cn(e){function t(i,a,o,s,d){this._reactName=i,this._targetInst=o,this.type=a,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var v in e)if(e.hasOwnProperty(v)){var m=e[v];m?this[v]=m(s):this[v]=s[v]}var E=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return E?this.isDefaultPrevented=fo:this.isDefaultPrevented=ir,this.isPropagationStopped=ir,this}return tt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=fo)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=fo)},persist:function(){},isPersistent:fo}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=Cn(ar),hu=tt({},ar,{view:0,detail:0}),jd=Cn(hu),Es,Bd,yi;function Qh(e){e!==yi&&(yi&&e.type==="mousemove"?(Es=e.screenX-yi.screenX,Bd=e.screenY-yi.screenY):(Es=0,Bd=0),yi=e)}var vu=tt({},hu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zc,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:(Qh(e),Es)},movementY:function(e){return"movementY"in e?e.movementY:Bd}}),wl=Cn(vu),Pd=tt({},vu,{dataTransfer:0}),po=Cn(Pd),Xh=tt({},hu,{relatedTarget:0}),Kc=Cn(Xh),$d=tt({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),qc=Cn($d),ay=tt({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ly=Cn(ay),Kh=tt({},ar,{data:0}),Id=Cn(Kh),ho=Id,oy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mu={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"};function qh(e){if(e.key){var t=oy[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=co(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?mu[e.keyCode]||"Unidentified":""}var dn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uy(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var a=dn[e];return a?!!i[a]:!1}function Zc(e){return uy}var sy=tt({},hu,{key:qh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zc,charCode:function(e){return e.type==="keypress"?co(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?co(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),cy=Cn(sy),Zh=tt({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Cn(Zh),fy=tt({},hu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zc}),gi=Cn(fy),Yd=tt({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),dy=Cn(Yd),bl=tt({},vu,{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}),Jc=Cn(bl),vo=[9,13,27,32],Rs=229,ws=pn&&"CompositionEvent"in window,mo=null;pn&&"documentMode"in document&&(mo=document.documentMode);var py=pn&&"TextEvent"in window&&!mo,ef=pn&&(!ws||mo&&mo>8&&mo<=11),Jh=32,Gd=String.fromCharCode(Jh);function ev(){Cr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Cr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Cr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var bs=!1;function tf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tv(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Qd(e,t){return e==="keydown"&&t.keyCode===Rs}function nv(e,t){switch(e){case"keyup":return vo.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Rs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function nf(e){return e.locale==="ko"}var Oa=!1;function Kd(e,t,i,a,o){var s,d;if(ws?s=tv(t):Oa?nv(t,a)&&(s="onCompositionEnd"):Qd(t,a)&&(s="onCompositionStart"),!s)return null;ef&&!nf(a)&&(!Oa&&s==="onCompositionStart"?Oa=Rl(o):s==="onCompositionEnd"&&Oa&&(d=pu()));var v=ov(i,s);if(v.length>0){var m=new Id(s,t,null,a,o);if(e.push({event:m,listeners:v}),d)m.data=d;else{var E=Xd(a);E!==null&&(m.data=E)}}}function rf(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":var i=t.which;return i!==Jh?null:(bs=!0,Gd);case"textInput":var a=t.data;return a===Gd&&bs?null:a;default:return null}}function rv(e,t){if(Oa){if(e==="compositionend"||!ws&&nv(e,t)){var i=pu();return Qc(),Oa=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!tf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ef&&!nf(t)?null:t.data;default:return null}}function hy(e,t,i,a,o){var s;if(py?s=rf(t,a):s=rv(t,a),!s)return null;var d=ov(i,"onBeforeInput");if(d.length>0){var v=new ho("onBeforeInput","beforeinput",null,a,o);e.push({event:v,listeners:d}),v.data=s}}function af(e,t,i,a,o,s,d){Kd(e,t,i,a,o),hy(e,t,i,a,o)}var vy={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 yu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vy[e.type]:t==="textarea"}/**
106
+ * Checks if an event is supported in the current execution environment.
107
+ *
108
+ * NOTE: This will not work correctly for non-generic events such as `change`,
109
+ * `reset`, `load`, `error`, and `select`.
110
+ *
111
+ * Borrows from Modernizr.
112
+ *
113
+ * @param {string} eventNameSuffix Event name, e.g. "click".
114
+ * @return {boolean} True if the event is supported.
115
+ * @internal
116
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
117
+ */function my(e){if(!pn)return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i=typeof a[t]=="function"}return i}function lf(){Cr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,i,a){uc(a);var o=ov(t,"onChange");if(o.length>0){var s=new lr("onChange","change",null,i,a);e.push({event:s,listeners:o})}}var r=null,l=null;function u(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function f(e){var t=[];n(t,l,e,oc(e)),id(h,t)}function h(e){MC(e,0)}function g(e){var t=df(e);if(jo(t))return e}function b(e,t){if(e==="change")return t}var _=!1;pn&&(_=my("input")&&(!document.documentMode||document.documentMode>9));function V(e,t){r=e,l=t,r.attachEvent("onpropertychange",ee)}function Z(){r&&(r.detachEvent("onpropertychange",ee),r=null,l=null)}function ee(e){e.propertyName==="value"&&g(l)&&f(e)}function q(e,t,i){e==="focusin"?(Z(),V(t,i)):e==="focusout"&&Z()}function pe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g(l)}function Ee(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function be(e,t){if(e==="click")return g(t)}function mn(e,t){if(e==="input"||e==="change")return g(t)}function L(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Fe(e,"number",e.value)}function M(e,t,i,a,o,s,d){var v=i?df(i):window,m,E;if(u(v)?m=b:yu(v)?_?m=mn:(m=pe,E=q):Ee(v)&&(m=be),m){var w=m(t,i);if(w){n(e,w,a,o);return}}E&&E(t,v,i),t==="focusout"&&L(v)}function z(){Ti("onMouseEnter",["mouseout","mouseover"]),Ti("onMouseLeave",["mouseout","mouseover"]),Ti("onPointerEnter",["pointerout","pointerover"]),Ti("onPointerLeave",["pointerout","pointerover"])}function re(e,t,i,a,o,s,d){var v=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout";if(v&&!Ch(a)){var E=a.relatedTarget||a.fromElement;if(E&&(Ds(E)||cp(E)))return}if(!(!m&&!v)){var w;if(o.window===o)w=o;else{var O=o.ownerDocument;O?w=O.defaultView||O.parentWindow:w=window}var k,U;if(m){var H=a.relatedTarget||a.toElement;if(k=i,U=H?Ds(H):null,U!==null){var P=Gr(U);(U!==P||U.tag!==X&&U.tag!==le)&&(U=null)}}else k=null,U=i;if(k!==U){var me=wl,Ue="onMouseLeave",Me="onMouseEnter",ht="mouse";(t==="pointerout"||t==="pointerover")&&(me=Wd,Ue="onPointerLeave",Me="onPointerEnter",ht="pointer");var ot=k==null?w:df(k),A=U==null?w:df(U),$=new me(Ue,ht+"leave",k,a,o);$.target=ot,$.relatedTarget=A;var N=null,te=Ds(o);if(te===i){var ye=new me(Me,ht+"enter",U,a,o);ye.target=A,ye.relatedTarget=ot,N=ye}Ow(e,$,N,k,U)}}}function De(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Re=typeof Object.is=="function"?Object.is:De;function Le(e,t){if(Re(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var o=0;o<i.length;o++){var s=i[o];if(!Zn.call(t,s)||!Re(e[s],t[s]))return!1}return!0}function Ye(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ct(e,t){for(var i=Ye(e),a=0,o=0;i;){if(i.nodeType===ga){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=Ye(Fn(i))}}function xl(e){var t=e.ownerDocument,i=t&&t.defaultView||window,a=i.getSelection&&i.getSelection();if(!a||a.rangeCount===0)return null;var o=a.anchorNode,s=a.anchorOffset,d=a.focusNode,v=a.focusOffset;try{o.nodeType,d.nodeType}catch{return null}return yy(e,o,s,d,v)}function yy(e,t,i,a,o){var s=0,d=-1,v=-1,m=0,E=0,w=e,O=null;e:for(;;){for(var k=null;w===t&&(i===0||w.nodeType===ga)&&(d=s+i),w===a&&(o===0||w.nodeType===ga)&&(v=s+o),w.nodeType===ga&&(s+=w.nodeValue.length),(k=w.firstChild)!==null;)O=w,w=k;for(;;){if(w===e)break e;if(O===t&&++m===i&&(d=s),O===a&&++E===o&&(v=s),(k=w.nextSibling)!==null)break;w=O,O=w.parentNode}w=k}return d===-1||v===-1?null:{start:d,end:v}}function dw(e,t){var i=e.ownerDocument||document,a=i&&i.defaultView||window;if(a.getSelection){var o=a.getSelection(),s=e.textContent.length,d=Math.min(t.start,s),v=t.end===void 0?d:Math.min(t.end,s);if(!o.extend&&d>v){var m=v;v=d,d=m}var E=Ct(e,d),w=Ct(e,v);if(E&&w){if(o.rangeCount===1&&o.anchorNode===E.node&&o.anchorOffset===E.offset&&o.focusNode===w.node&&o.focusOffset===w.offset)return;var O=i.createRange();O.setStart(E.node,E.offset),o.removeAllRanges(),d>v?(o.addRange(O),o.extend(w.node,w.offset)):(O.setEnd(w.node,w.offset),o.addRange(O))}}}function gC(e){return e&&e.nodeType===ga}function SC(e,t){return!e||!t?!1:e===t?!0:gC(e)?!1:gC(t)?SC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function pw(e){return e&&e.ownerDocument&&SC(e.ownerDocument.documentElement,e)}function hw(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function CC(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){if(hw(t))e=t.contentWindow;else return t;t=il(e.document)}return t}function gy(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 vw(){var e=CC();return{focusedElem:e,selectionRange:gy(e)?yw(e):null}}function mw(e){var t=CC(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&pw(i)){a!==null&&gy(i)&&gw(i,a);for(var o=[],s=i;s=s.parentNode;)s.nodeType===Mr&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof i.focus=="function"&&i.focus();for(var d=0;d<o.length;d++){var v=o[d];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}}function yw(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=xl(e),t||{start:0,end:0}}function gw(e,t){var i=t.start,a=t.end;a===void 0&&(a=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length)):dw(e,t)}var Sw=pn&&"documentMode"in document&&document.documentMode<=11;function Cw(){Cr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var of=null,Sy=null,qd=null,Cy=!1;function Ew(e){if("selectionStart"in e&&gy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function Rw(e){return e.window===e?e.document:e.nodeType===Ui?e:e.ownerDocument}function EC(e,t,i){var a=Rw(i);if(!(Cy||of==null||of!==il(a))){var o=Ew(of);if(!qd||!Le(qd,o)){qd=o;var s=ov(Sy,"onSelect");if(s.length>0){var d=new lr("onSelect","select",null,t,i);e.push({event:d,listeners:s}),d.target=of}}}}function ww(e,t,i,a,o,s,d){var v=i?df(i):window;switch(t){case"focusin":(yu(v)||v.contentEditable==="true")&&(of=v,Sy=i,qd=null);break;case"focusout":of=null,Sy=null,qd=null;break;case"mousedown":Cy=!0;break;case"contextmenu":case"mouseup":case"dragend":Cy=!1,EC(e,a,o);break;case"selectionchange":if(Sw)break;case"keydown":case"keyup":EC(e,a,o)}}function iv(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var uf={animationend:iv("Animation","AnimationEnd"),animationiteration:iv("Animation","AnimationIteration"),animationstart:iv("Animation","AnimationStart"),transitionend:iv("Transition","TransitionEnd")},Ey={},RC={};pn&&(RC=document.createElement("div").style,"AnimationEvent"in window||(delete uf.animationend.animation,delete uf.animationiteration.animation,delete uf.animationstart.animation),"TransitionEvent"in window||delete uf.transitionend.transition);function av(e){if(Ey[e])return Ey[e];if(!uf[e])return e;var t=uf[e];for(var i in t)if(t.hasOwnProperty(i)&&i in RC)return Ey[e]=t[i];return e}var wC=av("animationend"),bC=av("animationiteration"),xC=av("animationstart"),TC=av("transitionend"),DC=new Map,_C=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function gu(e,t){DC.set(e,t),Cr(t,[e])}function bw(){for(var e=0;e<_C.length;e++){var t=_C[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);gu(i,"on"+a)}gu(wC,"onAnimationEnd"),gu(bC,"onAnimationIteration"),gu(xC,"onAnimationStart"),gu("dblclick","onDoubleClick"),gu("focusin","onFocus"),gu("focusout","onBlur"),gu(TC,"onTransitionEnd")}function xw(e,t,i,a,o,s,d){var v=DC.get(t);if(v!==void 0){var m=lr,E=t;switch(t){case"keypress":if(co(a)===0)return;case"keydown":case"keyup":m=cy;break;case"focusin":E="focus",m=Kc;break;case"focusout":E="blur",m=Kc;break;case"beforeblur":case"afterblur":m=Kc;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=wl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=po;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=gi;break;case wC:case bC:case xC:m=qc;break;case TC:m=dy;break;case"scroll":m=jd;break;case"wheel":m=Jc;break;case"copy":case"cut":case"paste":m=ly;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Wd;break}var w=(s&Il)!==0;{var O=!w&&t==="scroll",k=kw(i,v,a.type,w,O);if(k.length>0){var U=new m(v,E,null,a,o);e.push({event:U,listeners:k})}}}}bw(),z(),lf(),Cw(),ev();function Tw(e,t,i,a,o,s,d){xw(e,t,i,a,o,s);var v=(s&Gm)===0;v&&(re(e,t,i,a,o),M(e,t,i,a,o),ww(e,t,i,a,o),af(e,t,i,a,o))}var Zd=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Ry=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Zd));function kC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,Ra(a,t,void 0,e),e.currentTarget=null}function Dw(e,t,i){var a;if(i)for(var o=t.length-1;o>=0;o--){var s=t[o],d=s.instance,v=s.currentTarget,m=s.listener;if(d!==a&&e.isPropagationStopped())return;kC(e,m,v),a=d}else for(var E=0;E<t.length;E++){var w=t[E],O=w.instance,k=w.currentTarget,U=w.listener;if(O!==a&&e.isPropagationStopped())return;kC(e,U,k),a=O}}function MC(e,t){for(var i=(t&Il)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;Dw(s,d,i)}ud()}function _w(e,t,i,a,o){var s=oc(i),d=[];Tw(d,e,a,i,s,t),MC(d,t)}function on(e,t){Ry.has(e)||C('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,a=ib(t),o=Lw(e,i);a.has(o)||(OC(t,e,Xu,i),a.add(o))}function wy(e,t,i){Ry.has(e)&&!t&&C('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=Il),OC(i,e,a,t)}var lv="_reactListening"+Math.random().toString(36).slice(2);function Jd(e){if(!e[lv]){e[lv]=!0,ut.forEach(function(i){i!=="selectionchange"&&(Ry.has(i)||wy(i,!1,e),wy(i,!0,e))});var t=e.nodeType===Ui?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,wy("selectionchange",!1,t)))}}function OC(e,t,i,a,o){var s=cu(e,t,i),d=void 0;es&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,a?d!==void 0?Ma(e,t,s,d):du(e,t,s):d!==void 0?Gc(e,t,s,d):Vd(e,t,s)}function LC(e,t){return e===t||e.nodeType===gn&&e.parentNode===t}function by(e,t,i,a,o){var s=a;if(!(t&Ca)&&!(t&Xu)){var d=o;if(a!==null){var v=a;e:for(;;){if(v===null)return;var m=v.tag;if(m===J||m===ae){var E=v.stateNode.containerInfo;if(LC(E,d))break;if(m===ae)for(var w=v.return;w!==null;){var O=w.tag;if(O===J||O===ae){var k=w.stateNode.containerInfo;if(LC(k,d))return}w=w.return}for(;E!==null;){var U=Ds(E);if(U===null)return;var H=U.tag;if(H===X||H===le){v=s=U;continue e}E=E.parentNode}}v=v.return}}}id(function(){return _w(e,t,i,s)})}function ep(e,t,i){return{instance:e,listener:t,currentTarget:i}}function kw(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,v=a?d:t,m=[],E=e,w=null;E!==null;){var O=E,k=O.stateNode,U=O.tag;if(U===X&&k!==null&&(w=k,v!==null)){var H=Yl(E,v);H!=null&&m.push(ep(E,H,w))}if(o)break;E=E.return}return m}function ov(e,t){for(var i=t+"Capture",a=[],o=e;o!==null;){var s=o,d=s.stateNode,v=s.tag;if(v===X&&d!==null){var m=d,E=Yl(o,i);E!=null&&a.unshift(ep(o,E,m));var w=Yl(o,t);w!=null&&a.push(ep(o,w,m))}o=o.return}return a}function sf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==X);return e||null}function Mw(e,t){for(var i=e,a=t,o=0,s=i;s;s=sf(s))o++;for(var d=0,v=a;v;v=sf(v))d++;for(;o-d>0;)i=sf(i),o--;for(;d-o>0;)a=sf(a),d--;for(var m=o;m--;){if(i===a||a!==null&&i===a.alternate)return i;i=sf(i),a=sf(a)}return null}function AC(e,t,i,a,o){for(var s=t._reactName,d=[],v=i;v!==null&&v!==a;){var m=v,E=m.alternate,w=m.stateNode,O=m.tag;if(E!==null&&E===a)break;if(O===X&&w!==null){var k=w;if(o){var U=Yl(v,s);U!=null&&d.unshift(ep(v,U,k))}else if(!o){var H=Yl(v,s);H!=null&&d.push(ep(v,H,k))}}v=v.return}d.length!==0&&e.push({event:t,listeners:d})}function Ow(e,t,i,a,o){var s=a&&o?Mw(a,o):null;a!==null&&AC(e,t,a,s,!1),o!==null&&i!==null&&AC(e,i,o,s,!0)}function Lw(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,tp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",Su="suppressHydrationWarning",NC="autoFocus",xs="children",Ts="style",sv="__html",xy,cv,np,zC,fv,UC,FC;xy={dialog:!0,webview:!0},cv=function(e,t){lc(e,t),Jf(e,t),Sh(e,t,{registrationNameDependencies:Pt,possibleRegistrationNames:fa})},UC=pn&&!document.documentMode,np=function(e,t,i){if(!Si){var a=dv(i),o=dv(t);o!==a&&(Si=!0,C("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(a)))}},zC=function(e){if(!Si){Si=!0;var t=[];e.forEach(function(i){t.push(i)}),C("Extra attributes from the server: %s",t)}},fv=function(e,t){t===!1?C("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):C("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},FC=function(e,t){var i=e.namespaceURI===ya?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var Aw=/\r\n?/g,Nw=/\u0000|\uFFFD/g;function dv(e){Wi(e);var t=typeof e=="string"?e:""+e;return t.replace(Aw,`
118
+ `).replace(Nw,"")}function pv(e,t,i,a){var o=dv(t),s=dv(e);if(s!==o&&(a&&(Si||(Si=!0,C('Text content did not match. Server: "%s" Client: "%s"',s,o))),i&&Te))throw new Error("Text content does not match server-rendered HTML.")}function HC(e){return e.nodeType===Ui?e:e.ownerDocument}function zw(){}function hv(e){e.onclick=zw}function Uw(e,t,i,a,o){for(var s in a)if(a.hasOwnProperty(s)){var d=a[s];if(s===Ts)d&&Object.freeze(d),sh(t,d);else if(s===tp){var v=d?d[sv]:void 0;v!=null&&Zp(t,v)}else if(s===xs)if(typeof d=="string"){var m=e!=="textarea"||d!=="";m&&nc(t,d)}else typeof d=="number"&&nc(t,""+d);else s===uv||s===Su||s===NC||(Pt.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&fv(s,d),s==="onScroll"&&on("scroll",t)):d!=null&&Gi(t,s,d,o))}}function Fw(e,t,i,a){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===Ts?sh(e,d):s===tp?Zp(e,d):s===xs?nc(e,d):Gi(e,s,d,a)}}function Hw(e,t,i,a){var o,s=HC(i),d,v=a;if(v===ya&&(v=ec(e)),v===ya){if(o=Sa(e,t),!o&&e!==e.toLowerCase()&&C("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var m=s.createElement("div");m.innerHTML="<script><\/script>";var E=m.firstChild;d=m.removeChild(E)}else if(typeof t.is=="string")d=s.createElement(e,{is:t.is});else if(d=s.createElement(e),e==="select"){var w=d;t.multiple?w.multiple=!0:t.size&&(w.size=t.size)}}else d=s.createElementNS(v,e);return v===ya&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Zn.call(xy,e)&&(xy[e]=!0,C("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),d}function Vw(e,t){return HC(t).createTextNode(e)}function jw(e,t,i,a){var o=Sa(t,i);cv(t,i);var s;switch(t){case"dialog":on("cancel",e),on("close",e),s=i;break;case"iframe":case"object":case"embed":on("load",e),s=i;break;case"video":case"audio":for(var d=0;d<Zd.length;d++)on(Zd[d],e);s=i;break;case"source":on("error",e),s=i;break;case"img":case"image":case"link":on("error",e),on("load",e),s=i;break;case"details":on("toggle",e),s=i;break;case"input":x(e,i),s=y(e,i),on("invalid",e);break;case"option":Ot(e,i),s=i;break;case"select":Wu(e,i),s=Iu(e,i),on("invalid",e);break;case"textarea":Xp(e,i),s=If(e,i),on("invalid",e);break;default:s=i}switch(ic(t,s),Uw(t,e,a,s,o),t){case"input":li(e),ne(e,i,!1);break;case"textarea":li(e),qp(e);break;case"option":Ft(e,i);break;case"select":Pf(e,i);break;default:typeof s.onClick=="function"&&hv(e);break}}function Bw(e,t,i,a,o){cv(t,a);var s=null,d,v;switch(t){case"input":d=y(e,i),v=y(e,a),s=[];break;case"select":d=Iu(e,i),v=Iu(e,a),s=[];break;case"textarea":d=If(e,i),v=If(e,a),s=[];break;default:d=i,v=a,typeof d.onClick!="function"&&typeof v.onClick=="function"&&hv(e);break}ic(t,v);var m,E,w=null;for(m in d)if(!(v.hasOwnProperty(m)||!d.hasOwnProperty(m)||d[m]==null))if(m===Ts){var O=d[m];for(E in O)O.hasOwnProperty(E)&&(w||(w={}),w[E]="")}else m===tp||m===xs||m===uv||m===Su||m===NC||(Pt.hasOwnProperty(m)?s||(s=[]):(s=s||[]).push(m,null));for(m in v){var k=v[m],U=d?.[m];if(!(!v.hasOwnProperty(m)||k===U||k==null&&U==null))if(m===Ts)if(k&&Object.freeze(k),U){for(E in U)U.hasOwnProperty(E)&&(!k||!k.hasOwnProperty(E))&&(w||(w={}),w[E]="");for(E in k)k.hasOwnProperty(E)&&U[E]!==k[E]&&(w||(w={}),w[E]=k[E])}else w||(s||(s=[]),s.push(m,w)),w=k;else if(m===tp){var H=k?k[sv]:void 0,P=U?U[sv]:void 0;H!=null&&P!==H&&(s=s||[]).push(m,H)}else m===xs?(typeof k=="string"||typeof k=="number")&&(s=s||[]).push(m,""+k):m===uv||m===Su||(Pt.hasOwnProperty(m)?(k!=null&&(typeof k!="function"&&fv(m,k),m==="onScroll"&&on("scroll",e)),!s&&U!==k&&(s=[])):(s=s||[]).push(m,k))}return w&&(Gu(w,v[Ts]),(s=s||[]).push(Ts,w)),s}function Pw(e,t,i,a,o){i==="input"&&o.type==="radio"&&o.name!=null&&F(e,o);var s=Sa(i,a),d=Sa(i,o);switch(Fw(e,t,s,d),i){case"input":j(e,o);break;case"textarea":Kp(e,o);break;case"select":Fm(e,o);break}}function $w(e){{var t=e.toLowerCase();return ac.hasOwnProperty(t)&&ac[t]||null}}function Iw(e,t,i,a,o,s,d){var v,m;switch(v=Sa(t,i),cv(t,i),t){case"dialog":on("cancel",e),on("close",e);break;case"iframe":case"object":case"embed":on("load",e);break;case"video":case"audio":for(var E=0;E<Zd.length;E++)on(Zd[E],e);break;case"source":on("error",e);break;case"img":case"image":case"link":on("error",e),on("load",e);break;case"details":on("toggle",e);break;case"input":x(e,i),on("invalid",e);break;case"option":Ot(e,i);break;case"select":Wu(e,i),on("invalid",e);break;case"textarea":Xp(e,i),on("invalid",e);break}ic(t,i);{m=new Set;for(var w=e.attributes,O=0;O<w.length;O++){var k=w[O].name.toLowerCase();switch(k){case"value":break;case"checked":break;case"selected":break;default:m.add(w[O].name)}}}var U=null;for(var H in i)if(i.hasOwnProperty(H)){var P=i[H];if(H===xs)typeof P=="string"?e.textContent!==P&&(i[Su]!==!0&&pv(e.textContent,P,s,d),U=[xs,P]):typeof P=="number"&&e.textContent!==""+P&&(i[Su]!==!0&&pv(e.textContent,P,s,d),U=[xs,""+P]);else if(Pt.hasOwnProperty(H))P!=null&&(typeof P!="function"&&fv(H,P),H==="onScroll"&&on("scroll",e));else if(d&&typeof v=="boolean"){var me=void 0,Ue=v&&Ke?null:ri(H);if(i[Su]!==!0){if(!(H===uv||H===Su||H==="value"||H==="checked"||H==="selected")){if(H===tp){var Me=e.innerHTML,ht=P?P[sv]:void 0;if(ht!=null){var ot=FC(e,ht);ot!==Me&&np(H,Me,ot)}}else if(H===Ts){if(m.delete(H),UC){var A=Wm(P);me=e.getAttribute("style"),A!==me&&np(H,me,A)}}else if(v&&!Ke)m.delete(H.toLowerCase()),me=$a(e,H,P),P!==me&&np(H,me,P);else if(!hn(H,Ue,v)&&!Wt(H,P,Ue,v)){var $=!1;if(Ue!==null)m.delete(Ue.attributeName),me=Mi(e,H,P,Ue);else{var N=a;if(N===ya&&(N=ec(t)),N===ya)m.delete(H.toLowerCase());else{var te=$w(H);te!==null&&te!==H&&($=!0,m.delete(te)),m.delete(H)}me=$a(e,H,P)}var ye=Ke;!ye&&P!==me&&!$&&np(H,me,P)}}}}}switch(d&&m.size>0&&i[Su]!==!0&&zC(m),t){case"input":li(e),ne(e,i,!0);break;case"textarea":li(e),qp(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&hv(e);break}return U}function Ww(e,t,i){var a=e.nodeValue!==t;return a}function Ty(e,t){{if(Si)return;Si=!0,C("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Dy(e,t){{if(Si)return;Si=!0,C('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function _y(e,t,i){{if(Si)return;Si=!0,C("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ky(e,t){{if(t===""||Si)return;Si=!0,C('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Yw(e,t,i){switch(t){case"input":Ve(e,i);return;case"textarea":Wf(e,i);return;case"select":Hm(e,i);return}}var rp=function(){},ip=function(){};{var Gw=["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"],VC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Qw=VC.concat(["button"]),Xw=["dd","dt","li","option","optgroup","p","rp","rt"],jC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ip=function(e,t){var i=tt({},e||jC),a={tag:t};return VC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),Qw.indexOf(t)!==-1&&(i.pTagInButtonScope=null),Gw.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=a,t==="form"&&(i.formTag=a),t==="a"&&(i.aTagInScope=a),t==="button"&&(i.buttonTagInScope=a),t==="nobr"&&(i.nobrTagInScope=a),t==="p"&&(i.pTagInButtonScope=a),t==="li"&&(i.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=a),i};var Kw=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||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":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":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 Xw.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},qw=function(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},BC={};rp=function(e,t,i){i=i||jC;var a=i.current,o=a&&a.tag;t!=null&&(e!=null&&C("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=Kw(e,o)?null:a,d=s?null:qw(e,i),v=s||d;if(v){var m=v.tag,E=!!s+"|"+e+"|"+m;if(!BC[E]){BC[E]=!0;var w=e,O="";if(e==="#text"?/\S/.test(t)?w="Text nodes":(w="Whitespace text nodes",O=" Make sure you don't have any extra whitespace between tags on each line of your source code."):w="<"+e+">",s){var k="";m==="table"&&e==="tr"&&(k+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",w,m,O,k)}else C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",w,m)}}}}var vv="suppressHydrationWarning",mv="$",yv="/$",ap="$?",lp="$!",Zw="style",My=null,Oy=null;function Jw(e){var t,i,a=e.nodeType;switch(a){case Ui:case Pl:{t=a===Ui?"#document":"#fragment";var o=e.documentElement;i=o?o.namespaceURI:Gf(null,"");break}default:{var s=a===gn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,i=Gf(d,t);break}}{var v=t.toLowerCase(),m=ip(null,v);return{namespace:i,ancestorInfo:m}}}function e1(e,t,i){{var a=e,o=Gf(a.namespace,t),s=ip(a.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function B_(e){return e}function t1(e){My=qr(),Oy=vw();var t=null;return Un(!1),t}function n1(e){mw(Oy),Un(My),My=null,Oy=null}function r1(e,t,i,a,o){var s;{var d=a;if(rp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var v=""+t.children,m=ip(d.ancestorInfo,e);rp(null,v,m)}s=d.namespace}var E=Hw(e,t,i,s);return sp(o,E),Vy(E,t),E}function i1(e,t){e.appendChild(t)}function a1(e,t,i,a,o){switch(jw(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function l1(e,t,i,a,o,s){{var d=s;if(typeof a.children!=typeof i.children&&(typeof a.children=="string"||typeof a.children=="number")){var v=""+a.children,m=ip(d.ancestorInfo,t);rp(null,v,m)}}return Bw(e,t,i,a)}function Ly(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function o1(e,t,i,a){{var o=i;rp(null,e,o.ancestorInfo)}var s=Vw(e,t);return sp(a,s),s}function u1(){var e=window.event;return e===void 0?Da:cr(e.type)}var Ay=typeof setTimeout=="function"?setTimeout:void 0,s1=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=-1,PC=typeof Promise=="function"?Promise:void 0,c1=typeof queueMicrotask=="function"?queueMicrotask:typeof PC<"u"?function(e){return PC.resolve(null).then(e).catch(f1)}:Ay;function f1(e){setTimeout(function(){throw e})}function d1(e,t,i,a){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function p1(e,t,i,a,o,s){Pw(e,t,i,a,o),Vy(e,o)}function $C(e){nc(e,"")}function h1(e,t,i){e.nodeValue=i}function v1(e,t){e.appendChild(t)}function m1(e,t){var i;e.nodeType===gn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var a=e._reactRootContainer;a==null&&i.onclick===null&&hv(i)}function y1(e,t,i){e.insertBefore(t,i)}function g1(e,t,i){e.nodeType===gn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function S1(e,t){e.removeChild(t)}function C1(e,t){e.nodeType===gn?e.parentNode.removeChild(t):e.removeChild(t)}function zy(e,t){var i=t,a=0;do{var o=i.nextSibling;if(e.removeChild(i),o&&o.nodeType===gn){var s=o.data;if(s===yv)if(a===0){e.removeChild(o),lt(t);return}else a--;else(s===mv||s===ap||s===lp)&&a++}i=o}while(i);lt(t)}function E1(e,t){e.nodeType===gn?zy(e.parentNode,t):e.nodeType===Mr&&zy(e,t),lt(e)}function R1(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function w1(e){e.nodeValue=""}function b1(e,t){e=e;var i=t[Zw],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=rc("display",a)}function x1(e,t){e.nodeValue=t}function T1(e){e.nodeType===Mr?e.textContent="":e.nodeType===Ui&&e.documentElement&&e.removeChild(e.documentElement)}function D1(e,t,i){return e.nodeType!==Mr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function _1(e,t){return t===""||e.nodeType!==ga?null:e}function k1(e){return e.nodeType!==gn?null:e}function IC(e){return e.data===ap}function Uy(e){return e.data===lp}function M1(e){var t=e.nextSibling&&e.nextSibling.dataset,i,a,o;return t&&(i=t.dgst,a=t.msg,o=t.stck),{message:a,digest:i,stack:o}}function O1(e,t){e._reactRetry=t}function gv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Mr||t===ga)break;if(t===gn){var i=e.data;if(i===mv||i===lp||i===ap)break;if(i===yv)return null}}return e}function op(e){return gv(e.nextSibling)}function L1(e){return gv(e.firstChild)}function A1(e){return gv(e.firstChild)}function N1(e){return gv(e.nextSibling)}function z1(e,t,i,a,o,s,d){sp(s,e),Vy(e,i);var v;{var m=o;v=m.namespace}var E=(s.mode&rt)!==He;return Iw(e,t,i,v,a,E,d)}function U1(e,t,i,a){return sp(i,e),i.mode&rt,Ww(e,t)}function F1(e,t){sp(t,e)}function H1(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===gn){var a=t.data;if(a===yv){if(i===0)return op(t);i--}else(a===mv||a===lp||a===ap)&&i++}t=t.nextSibling}return null}function WC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===gn){var a=t.data;if(a===mv||a===lp||a===ap){if(i===0)return t;i--}else a===yv&&i++}t=t.previousSibling}return null}function V1(e){lt(e)}function j1(e){lt(e)}function B1(e){return e!=="head"&&e!=="body"}function P1(e,t,i,a){var o=!0;pv(t.nodeValue,i,a,o)}function $1(e,t,i,a,o,s){if(t[vv]!==!0){var d=!0;pv(a.nodeValue,o,s,d)}}function I1(e,t){t.nodeType===Mr?Ty(e,t):t.nodeType===gn||Dy(e,t)}function W1(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Mr?Ty(i,t):t.nodeType===gn||Dy(i,t))}}function Y1(e,t,i,a,o){(o||t[vv]!==!0)&&(a.nodeType===Mr?Ty(i,a):a.nodeType===gn||Dy(i,a))}function G1(e,t,i){_y(e,t)}function Q1(e,t){ky(e,t)}function X1(e,t,i){{var a=e.parentNode;a!==null&&_y(a,t)}}function K1(e,t){{var i=e.parentNode;i!==null&&ky(i,t)}}function q1(e,t,i,a,o,s){(s||t[vv]!==!0)&&_y(i,a)}function Z1(e,t,i,a,o){(o||t[vv]!==!0)&&ky(i,a)}function J1(e){C("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function eb(e){Jd(e)}var cf=Math.random().toString(36).slice(2),ff="__reactFiber$"+cf,Fy="__reactProps$"+cf,up="__reactContainer$"+cf,Hy="__reactEvents$"+cf,tb="__reactListeners$"+cf,nb="__reactHandles$"+cf;function rb(e){delete e[ff],delete e[Fy],delete e[Hy],delete e[tb],delete e[nb]}function sp(e,t){t[ff]=e}function Sv(e,t){t[up]=e}function YC(e){e[up]=null}function cp(e){return!!e[up]}function Ds(e){var t=e[ff];if(t)return t;for(var i=e.parentNode;i;){if(t=i[up]||i[ff],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var o=WC(e);o!==null;){var s=o[ff];if(s)return s;o=WC(o)}return t}e=i,i=e.parentNode}return null}function Cu(e){var t=e[ff]||e[up];return t&&(t.tag===X||t.tag===le||t.tag===Ce||t.tag===J)?t:null}function df(e){if(e.tag===X||e.tag===le)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Cv(e){return e[Fy]||null}function Vy(e,t){e[Fy]=t}function ib(e){var t=e[Hy];return t===void 0&&(t=e[Hy]=new Set),t}var GC={},QC=p.ReactDebugCurrentFrame;function Ev(e){if(e){var t=e._owner,i=Xi(e.type,e._source,t?t.type:null);QC.setExtraStackFrame(i)}else QC.setExtraStackFrame(null)}function La(e,t,i,a,o){{var s=Function.call.bind(Zn);for(var d in e)if(s(e,d)){var v=void 0;try{if(typeof e[d]!="function"){var m=Error((a||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}v=e[d](t,d,a,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){v=E}v&&!(v instanceof Error)&&(Ev(o),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",i,d,typeof v),Ev(null)),v instanceof Error&&!(v.message in GC)&&(GC[v.message]=!0,Ev(o),C("Failed %s type: %s",i,v.message),Ev(null))}}}var jy=[],Rv;Rv=[];var yo=-1;function Eu(e){return{current:e}}function Vr(e,t){if(yo<0){C("Unexpected pop.");return}t!==Rv[yo]&&C("Unexpected Fiber popped."),e.current=jy[yo],jy[yo]=null,Rv[yo]=null,yo--}function jr(e,t,i){yo++,jy[yo]=e.current,Rv[yo]=i,e.current=t}var By;By={};var Bi={};Object.freeze(Bi);var go=Eu(Bi),Tl=Eu(!1),Py=Bi;function pf(e,t,i){return i&&Dl(t)?Py:go.current}function XC(e,t,i){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=i}}function hf(e,t){{var i=e.type,a=i.contextTypes;if(!a)return Bi;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={};for(var d in a)s[d]=t[d];{var v=Ge(e)||"Unknown";La(a,s,"context",v)}return o&&XC(e,t,s),s}}function wv(){return Tl.current}function Dl(e){{var t=e.childContextTypes;return t!=null}}function bv(e){Vr(Tl,e),Vr(go,e)}function $y(e){Vr(Tl,e),Vr(go,e)}function KC(e,t,i){{if(go.current!==Bi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");jr(go,t,e),jr(Tl,i,e)}}function qC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=Ge(e)||"Unknown";By[s]||(By[s]=!0,C("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s))}return i}var d=a.getChildContext();for(var v in d)if(!(v in o))throw new Error((Ge(e)||"Unknown")+'.getChildContext(): key "'+v+'" is not defined in childContextTypes.');{var m=Ge(e)||"Unknown";La(o,d,"child context",m)}return tt({},i,d)}}function xv(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||Bi;return Py=go.current,jr(go,i,e),jr(Tl,Tl.current,e),!0}}function ZC(e,t,i){{var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var o=qC(e,t,Py);a.__reactInternalMemoizedMergedChildContext=o,Vr(Tl,e),Vr(go,e),jr(go,o,e),jr(Tl,i,e)}else Vr(Tl,e),jr(Tl,i,e)}}function ab(e){{if(!pd(e)||e.tag!==K)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case J:return t.stateNode.context;case K:{var i=t.type;if(Dl(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Ru=0,Tv=1,So=null,Iy=!1,Wy=!1;function JC(e){So===null?So=[e]:So.push(e)}function lb(e){Iy=!0,JC(e)}function eE(){Iy&&wu()}function wu(){if(!Wy&&So!==null){Wy=!0;var e=0,t=vi();try{var i=!0,a=So;for(Tn(tr);e<a.length;e++){var o=a[e];do o=o(i);while(o!==null)}So=null,Iy=!1}catch(s){throw So!==null&&(So=So.slice(e+1)),hc(mc,wu),s}finally{Tn(t),Wy=!1}}return null}var vf=[],mf=0,Dv=null,_v=0,ia=[],aa=0,_s=null,Co=1,Eo="";function ob(e){return Ms(),(e.flags&cd)!==ze}function ub(e){return Ms(),_v}function sb(){var e=Eo,t=Co,i=t&~cb(t);return i.toString(32)+e}function ks(e,t){Ms(),vf[mf++]=_v,vf[mf++]=Dv,Dv=e,_v=t}function tE(e,t,i){Ms(),ia[aa++]=Co,ia[aa++]=Eo,ia[aa++]=_s,_s=e;var a=Co,o=Eo,s=kv(a)-1,d=a&~(1<<s),v=i+1,m=kv(t)+s;if(m>30){var E=s-s%5,w=(1<<E)-1,O=(d&w).toString(32),k=d>>E,U=s-E,H=kv(t)+U,P=v<<U,me=P|k,Ue=O+o;Co=1<<H|me,Eo=Ue}else{var Me=v<<s,ht=Me|d,ot=o;Co=1<<m|ht,Eo=ot}}function Yy(e){Ms();var t=e.return;if(t!==null){var i=1,a=0;ks(e,i),tE(e,i,a)}}function kv(e){return 32-Rc(e)}function cb(e){return 1<<kv(e)-1}function Gy(e){for(;e===Dv;)Dv=vf[--mf],vf[mf]=null,_v=vf[--mf],vf[mf]=null;for(;e===_s;)_s=ia[--aa],ia[aa]=null,Eo=ia[--aa],ia[aa]=null,Co=ia[--aa],ia[aa]=null}function fb(){return Ms(),_s!==null?{id:Co,overflow:Eo}:null}function db(e,t){Ms(),ia[aa++]=Co,ia[aa++]=Eo,ia[aa++]=_s,Co=t.id,Eo=t.overflow,_s=e}function Ms(){dr()||C("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fr=null,la=null,Aa=!1,Os=!1,bu=null;function pb(){Aa&&C("We should not be hydrating here. This is a bug in React. Please file a bug.")}function nE(){Os=!0}function hb(){return Os}function vb(e){var t=e.stateNode.containerInfo;return la=A1(t),fr=e,Aa=!0,bu=null,Os=!1,!0}function mb(e,t,i){return la=N1(t),fr=e,Aa=!0,bu=null,Os=!1,i!==null&&db(e,i),!0}function rE(e,t){switch(e.tag){case J:{I1(e.stateNode.containerInfo,t);break}case X:{var i=(e.mode&rt)!==He;Y1(e.type,e.memoizedProps,e.stateNode,t,i);break}case Ce:{var a=e.memoizedState;a.dehydrated!==null&&W1(a.dehydrated,t);break}}}function iE(e,t){rE(e,t);var i=SD();i.stateNode=t,i.return=e;var a=e.deletions;a===null?(e.deletions=[i],e.flags|=xt):a.push(i)}function Qy(e,t){{if(Os)return;switch(e.tag){case J:{var i=e.stateNode.containerInfo;switch(t.tag){case X:var a=t.type;t.pendingProps,G1(i,a);break;case le:var o=t.pendingProps;Q1(i,o);break}break}case X:{var s=e.type,d=e.memoizedProps,v=e.stateNode;switch(t.tag){case X:{var m=t.type,E=t.pendingProps,w=(e.mode&rt)!==He;q1(s,d,v,m,E,w);break}case le:{var O=t.pendingProps,k=(e.mode&rt)!==He;Z1(s,d,v,O,k);break}}break}case Ce:{var U=e.memoizedState,H=U.dehydrated;if(H!==null)switch(t.tag){case X:var P=t.type;t.pendingProps,X1(H,P);break;case le:var me=t.pendingProps;K1(H,me);break}break}default:return}}}function aE(e,t){t.flags=t.flags&~ci|Yt,Qy(e,t)}function lE(e,t){switch(e.tag){case X:{var i=e.type;e.pendingProps;var a=D1(t,i);return a!==null?(e.stateNode=a,fr=e,la=L1(a),!0):!1}case le:{var o=e.pendingProps,s=_1(t,o);return s!==null?(e.stateNode=s,fr=e,la=null,!0):!1}case Ce:{var d=k1(t);if(d!==null){var v={dehydrated:d,treeContext:fb(),retryLane:Fr};e.memoizedState=v;var m=CD(d);return m.return=e,e.child=m,fr=e,la=null,!0}return!1}default:return!1}}function Xy(e){return(e.mode&rt)!==He&&(e.flags&We)===ze}function Ky(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function qy(e){if(Aa){var t=la;if(!t){Xy(e)&&(Qy(fr,e),Ky()),aE(fr,e),Aa=!1,fr=e;return}var i=t;if(!lE(e,t)){Xy(e)&&(Qy(fr,e),Ky()),t=op(i);var a=fr;if(!t||!lE(e,t)){aE(fr,e),Aa=!1,fr=e;return}iE(a,i)}}}function yb(e,t,i){var a=e.stateNode,o=!Os,s=z1(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function gb(e){var t=e.stateNode,i=e.memoizedProps,a=U1(t,i,e);if(a){var o=fr;if(o!==null)switch(o.tag){case J:{var s=o.stateNode.containerInfo,d=(o.mode&rt)!==He;P1(s,t,i,d);break}case X:{var v=o.type,m=o.memoizedProps,E=o.stateNode,w=(o.mode&rt)!==He;$1(v,m,E,t,i,w);break}}}return a}function Sb(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");F1(i,e)}function Cb(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return H1(i)}function oE(e){for(var t=e.return;t!==null&&t.tag!==X&&t.tag!==J&&t.tag!==Ce;)t=t.return;fr=t}function Mv(e){if(e!==fr)return!1;if(!Aa)return oE(e),Aa=!0,!1;if(e.tag!==J&&(e.tag!==X||B1(e.type)&&!Ly(e.type,e.memoizedProps))){var t=la;if(t)if(Xy(e))uE(e),Ky();else for(;t;)iE(e,t),t=op(t)}return oE(e),e.tag===Ce?la=Cb(e):la=fr?op(e.stateNode):null,!0}function Eb(){return Aa&&la!==null}function uE(e){for(var t=la;t;)rE(e,t),t=op(t)}function yf(){fr=null,la=null,Aa=!1,Os=!1}function sE(){bu!==null&&(rR(bu),bu=null)}function dr(){return Aa}function Zy(e){bu===null?bu=[e]:bu.push(e)}var Rb=p.ReactCurrentBatchConfig,wb=null;function bb(){return Rb.transition}var Na={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xb=function(e){for(var t=null,i=e;i!==null;)i.mode&an&&(t=i),i=i.return;return t},Ls=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},fp=[],dp=[],pp=[],hp=[],vp=[],mp=[],As=new Set;Na.recordUnsafeLifecycleWarnings=function(e,t){As.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&fp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillMount=="function"&&dp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&hp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&vp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillUpdate=="function"&&mp.push(e))},Na.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;fp.length>0&&(fp.forEach(function(k){e.add(Ge(k)||"Component"),As.add(k.type)}),fp=[]);var t=new Set;dp.length>0&&(dp.forEach(function(k){t.add(Ge(k)||"Component"),As.add(k.type)}),dp=[]);var i=new Set;pp.length>0&&(pp.forEach(function(k){i.add(Ge(k)||"Component"),As.add(k.type)}),pp=[]);var a=new Set;hp.length>0&&(hp.forEach(function(k){a.add(Ge(k)||"Component"),As.add(k.type)}),hp=[]);var o=new Set;vp.length>0&&(vp.forEach(function(k){o.add(Ge(k)||"Component"),As.add(k.type)}),vp=[]);var s=new Set;if(mp.length>0&&(mp.forEach(function(k){s.add(Ge(k)||"Component"),As.add(k.type)}),mp=[]),t.size>0){var d=Ls(t);C(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
119
+
120
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
121
+
122
+ Please update the following components: %s`,d)}if(a.size>0){var v=Ls(a);C(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
123
+
124
+ * Move data fetching code or side effects to componentDidUpdate.
125
+ * 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://reactjs.org/link/derived-state
126
+
127
+ Please update the following components: %s`,v)}if(s.size>0){var m=Ls(s);C(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
128
+
129
+ * Move data fetching code or side effects to componentDidUpdate.
130
+
131
+ Please update the following components: %s`,m)}if(e.size>0){var E=Ls(e);T(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
132
+
133
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
134
+ * 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.
135
+
136
+ Please update the following components: %s`,E)}if(i.size>0){var w=Ls(i);T(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
137
+
138
+ * Move data fetching code or side effects to componentDidUpdate.
139
+ * 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://reactjs.org/link/derived-state
140
+ * 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.
141
+
142
+ Please update the following components: %s`,w)}if(o.size>0){var O=Ls(o);T(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
143
+
144
+ * Move data fetching code or side effects to componentDidUpdate.
145
+ * 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.
146
+
147
+ Please update the following components: %s`,O)}};var Ov=new Map,cE=new Set;Na.recordLegacyContextWarning=function(e,t){var i=xb(e);if(i===null){C("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.");return}if(!cE.has(e.type)){var a=Ov.get(i);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Ov.set(i,a)),a.push(e))}},Na.flushLegacyContextWarning=function(){Ov.forEach(function(e,t){if(e.length!==0){var i=e[0],a=new Set;e.forEach(function(s){a.add(Ge(s)||"Component"),cE.add(s.type)});var o=Ls(a);try{Dt(i),C(`Legacy context API has been detected within a strict-mode tree.
148
+
149
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
150
+
151
+ Please update the following components: %s
152
+
153
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)}finally{sn()}}})},Na.discardPendingWarnings=function(){fp=[],dp=[],pp=[],hp=[],vp=[],mp=[],Ov=new Map}}function za(e,t){if(e&&e.defaultProps){var i=tt({},t),a=e.defaultProps;for(var o in a)i[o]===void 0&&(i[o]=a[o]);return i}return t}var Jy=Eu(null),eg;eg={};var Lv=null,gf=null,tg=null,Av=!1;function Nv(){Lv=null,gf=null,tg=null,Av=!1}function fE(){Av=!0}function dE(){Av=!1}function pE(e,t,i){jr(Jy,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==eg&&C("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=eg}function ng(e,t){var i=Jy.current;Vr(Jy,t),e._currentValue=i}function rg(e,t,i){for(var a=e;a!==null;){var o=a.alternate;if(ao(a.childLanes,t)?o!==null&&!ao(o.childLanes,t)&&(o.childLanes=Ze(o.childLanes,t)):(a.childLanes=Ze(a.childLanes,t),o!==null&&(o.childLanes=Ze(o.childLanes,t))),a===i)break;a=a.return}a!==i&&C("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 Tb(e,t,i){Db(e,t,i)}function Db(e,t,i){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=void 0,s=a.dependencies;if(s!==null){o=a.child;for(var d=s.firstContext;d!==null;){if(d.context===t){if(a.tag===K){var v=xn(i),m=Ro(Vt,v);m.tag=Uv;var E=a.updateQueue;if(E!==null){var w=E.shared,O=w.pending;O===null?m.next=m:(m.next=O.next,O.next=m),w.pending=m}}a.lanes=Ze(a.lanes,i);var k=a.alternate;k!==null&&(k.lanes=Ze(k.lanes,i)),rg(a.return,i,e),s.lanes=Ze(s.lanes,i);break}d=d.next}}else if(a.tag===it)o=a.type===e.type?null:a.child;else if(a.tag===Bt){var U=a.return;if(U===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes=Ze(U.lanes,i);var H=U.alternate;H!==null&&(H.lanes=Ze(H.lanes,i)),rg(U,i,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}var P=o.sibling;if(P!==null){P.return=o.return,o=P;break}o=o.return}a=o}}function Sf(e,t){Lv=e,gf=null,tg=null;var i=e.dependencies;if(i!==null){var a=i.firstContext;a!==null&&(Hr(i.lanes,t)&&Mp(),i.firstContext=null)}}function Hn(e){Av&&C("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().");var t=e._currentValue;if(tg!==e){var i={context:e,memoizedValue:t,next:null};if(gf===null){if(Lv===null)throw new 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().");gf=i,Lv.dependencies={lanes:W,firstContext:i}}else gf=gf.next=i}return t}var Ns=null;function ig(e){Ns===null?Ns=[e]:Ns.push(e)}function _b(){if(Ns!==null){for(var e=0;e<Ns.length;e++){var t=Ns[e],i=t.interleaved;if(i!==null){t.interleaved=null;var a=i.next,o=t.pending;if(o!==null){var s=o.next;o.next=a,i.next=s}t.pending=i}}Ns=null}}function hE(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i,zv(e,a)}function kb(e,t,i,a){var o=t.interleaved;o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i}function Mb(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i,zv(e,a)}function Ci(e,t){return zv(e,t)}var Ob=zv;function zv(e,t){e.lanes=Ze(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=Ze(i.lanes,t)),i===null&&(e.flags&(Yt|ci))!==ze&&vR(e);for(var a=e,o=e.return;o!==null;)o.childLanes=Ze(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=Ze(i.childLanes,t):(o.flags&(Yt|ci))!==ze&&vR(e),a=o,o=o.return;if(a.tag===J){var s=a.stateNode;return s}else return null}var vE=0,mE=1,Uv=2,ag=3,Fv=!1,lg,Hv;lg=!1,Hv=null;function og(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:W},effects:null};e.updateQueue=t}function yE(e,t){var i=t.updateQueue,a=e.updateQueue;if(i===a){var o={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=o}}function Ro(e,t){var i={eventTime:e,lane:t,tag:vE,payload:null,callback:null,next:null};return i}function xu(e,t,i){var a=e.updateQueue;if(a===null)return null;var o=a.shared;if(Hv===o&&!lg&&(C("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."),lg=!0),OT()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,Ob(e,i)}else return Mb(e,o,t,i)}function Vv(e,t,i){var a=t.updateQueue;if(a!==null){var o=a.shared;if(Td(i)){var s=o.lanes;s=_d(s,e.pendingLanes);var d=Ze(s,i);o.lanes=d,au(e,d)}}}function ug(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null){var o=a.updateQueue;if(i===o){var s=null,d=null,v=i.firstBaseUpdate;if(v!==null){var m=v;do{var E={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};d===null?s=d=E:(d.next=E,d=E),m=m.next}while(m!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;i={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=i;return}}var w=i.lastBaseUpdate;w===null?i.firstBaseUpdate=t:w.next=t,i.lastBaseUpdate=t}function Lb(e,t,i,a,o,s){switch(i.tag){case mE:{var d=i.payload;if(typeof d=="function"){fE();var v=d.call(s,a,o);{if(e.mode&an){bn(!0);try{d.call(s,a,o)}finally{bn(!1)}}dE()}return v}return d}case ag:e.flags=e.flags&~An|We;case vE:{var m=i.payload,E;if(typeof m=="function"){fE(),E=m.call(s,a,o);{if(e.mode&an){bn(!0);try{m.call(s,a,o)}finally{bn(!1)}}dE()}}else E=m;return E==null?a:tt({},a,E)}case Uv:return Fv=!0,a}return a}function jv(e,t,i,a){var o=e.updateQueue;Fv=!1,Hv=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,v=o.shared.pending;if(v!==null){o.shared.pending=null;var m=v,E=m.next;m.next=null,d===null?s=E:d.next=E,d=m;var w=e.alternate;if(w!==null){var O=w.updateQueue,k=O.lastBaseUpdate;k!==d&&(k===null?O.firstBaseUpdate=E:k.next=E,O.lastBaseUpdate=m)}}if(s!==null){var U=o.baseState,H=W,P=null,me=null,Ue=null,Me=s;do{var ht=Me.lane,ot=Me.eventTime;if(ao(a,ht)){if(Ue!==null){var $={eventTime:ot,lane:dt,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Ue=Ue.next=$}U=Lb(e,o,Me,U,t,i);var N=Me.callback;if(N!==null&&Me.lane!==dt){e.flags|=Zi;var te=o.effects;te===null?o.effects=[Me]:te.push(Me)}}else{var A={eventTime:ot,lane:ht,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Ue===null?(me=Ue=A,P=U):Ue=Ue.next=A,H=Ze(H,ht)}if(Me=Me.next,Me===null){if(v=o.shared.pending,v===null)break;var ye=v,fe=ye.next;ye.next=null,Me=fe,o.lastBaseUpdate=ye,o.shared.pending=null}}while(!0);Ue===null&&(P=U),o.baseState=P,o.firstBaseUpdate=me,o.lastBaseUpdate=Ue;var $e=o.shared.interleaved;if($e!==null){var Xe=$e;do H=Ze(H,Xe.lane),Xe=Xe.next;while(Xe!==$e)}else s===null&&(o.shared.lanes=W);Pp(H),e.lanes=H,e.memoizedState=U}Hv=null}function Ab(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function gE(){Fv=!1}function Bv(){return Fv}function SE(e,t,i){var a=t.effects;if(t.effects=null,a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.callback;d!==null&&(s.callback=null,Ab(d,i))}}var sg={},CE=new I.Component().refs,cg,fg,dg,pg,hg,EE,Pv,vg,mg,yg;{cg=new Set,fg=new Set,dg=new Set,pg=new Set,vg=new Set,hg=new Set,mg=new Set,yg=new Set;var RE=new Set;Pv=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;RE.has(i)||(RE.add(i),C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},EE=function(e,t){if(t===void 0){var i=mt(e)||"Component";hg.has(i)||(hg.add(i),C("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(sg,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(sg)}function gg(e,t,i,a){var o=e.memoizedState,s=i(a,o);{if(e.mode&an){bn(!0);try{s=i(a,o)}finally{bn(!1)}}EE(t,s)}var d=s==null?o:tt({},o,s);if(e.memoizedState=d,e.lanes===W){var v=e.updateQueue;v.baseState=d}}var Sg={isMounted:Qr,enqueueSetState:function(e,t,i){var a=ui(e),o=ei(),s=Au(a),d=Ro(o,s);d.payload=t,i!=null&&(Pv(i,"setState"),d.callback=i);var v=xu(a,d,s);v!==null&&(qn(v,a,s,o),Vv(v,a,s)),yl(a,s)},enqueueReplaceState:function(e,t,i){var a=ui(e),o=ei(),s=Au(a),d=Ro(o,s);d.tag=mE,d.payload=t,i!=null&&(Pv(i,"replaceState"),d.callback=i);var v=xu(a,d,s);v!==null&&(qn(v,a,s,o),Vv(v,a,s)),yl(a,s)},enqueueForceUpdate:function(e,t){var i=ui(e),a=ei(),o=Au(i),s=Ro(a,o);s.tag=Uv,t!=null&&(Pv(t,"forceUpdate"),s.callback=t);var d=xu(i,s,o);d!==null&&(qn(d,i,o,a),Vv(d,i,o)),Rd(i,o)}};function wE(e,t,i,a,o,s,d){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){var m=v.shouldComponentUpdate(a,s,d);{if(e.mode&an){bn(!0);try{m=v.shouldComponentUpdate(a,s,d)}finally{bn(!1)}}m===void 0&&C("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",mt(t)||"Component")}return m}return t.prototype&&t.prototype.isPureReactComponent?!Le(i,a)||!Le(o,s):!0}function Nb(e,t,i){var a=e.stateNode;{var o=mt(t)||"Component",s=a.render;s||(t.prototype&&typeof t.prototype.render=="function"?C("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):C("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&C("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&C("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),a.propTypes&&C("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),a.contextType&&C("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),a.contextTypes&&C("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!mg.has(t)&&(mg.add(t),C("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),typeof a.componentShouldUpdate=="function"&&C("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&C("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",mt(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&C("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof a.componentDidReceiveProps=="function"&&C("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),typeof a.componentWillRecieveProps=="function"&&C("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof a.UNSAFE_componentWillRecieveProps=="function"&&C("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var d=a.props!==i;a.props!==void 0&&d&&C("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),a.defaultProps&&C("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!dg.has(t)&&(dg.add(t),C("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",mt(t))),typeof a.getDerivedStateFromProps=="function"&&C("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof a.getDerivedStateFromError=="function"&&C("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof t.getSnapshotBeforeUpdate=="function"&&C("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var v=a.state;v&&(typeof v!="object"||st(v))&&C("%s.state: must be set to an object or null",o),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&C("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}}function bE(e,t){t.updater=Sg,e.stateNode=t,Xo(t,e),t._reactInternalInstance=sg}function xE(e,t,i){var a=!1,o=Bi,s=Bi,d=t.contextType;if("contextType"in t){var v=d===null||d!==void 0&&d.$$typeof===Fu&&d._context===void 0;if(!v&&!yg.has(t)){yg.add(t);var m="";d===void 0?m=" 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 d!="object"?m=" However, it is set to a "+typeof d+".":d.$$typeof===Oo?m=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?m=" Did you accidentally pass the Context.Consumer instead?":m=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",C("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",mt(t)||"Component",m)}}if(typeof d=="object"&&d!==null)s=Hn(d);else{o=pf(e,t,!0);var E=t.contextTypes;a=E!=null,s=a?hf(e,o):Bi}var w=new t(i,s);if(e.mode&an){bn(!0);try{w=new t(i,s)}finally{bn(!1)}}var O=e.memoizedState=w.state!==null&&w.state!==void 0?w.state:null;bE(e,w);{if(typeof t.getDerivedStateFromProps=="function"&&O===null){var k=mt(t)||"Component";fg.has(k)||(fg.add(k),C("`%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.",k,w.state===null?"null":"undefined",k))}if(typeof t.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"){var U=null,H=null,P=null;if(typeof w.componentWillMount=="function"&&w.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof w.UNSAFE_componentWillMount=="function"&&(U="UNSAFE_componentWillMount"),typeof w.componentWillReceiveProps=="function"&&w.componentWillReceiveProps.__suppressDeprecationWarning!==!0?H="componentWillReceiveProps":typeof w.UNSAFE_componentWillReceiveProps=="function"&&(H="UNSAFE_componentWillReceiveProps"),typeof w.componentWillUpdate=="function"&&w.componentWillUpdate.__suppressDeprecationWarning!==!0?P="componentWillUpdate":typeof w.UNSAFE_componentWillUpdate=="function"&&(P="UNSAFE_componentWillUpdate"),U!==null||H!==null||P!==null){var me=mt(t)||"Component",Ue=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";pg.has(me)||(pg.add(me),C(`Unsafe legacy lifecycles will not be called for components using new component APIs.
154
+
155
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
156
+
157
+ The above lifecycles should be removed. Learn more about this warning here:
158
+ https://reactjs.org/link/unsafe-component-lifecycles`,me,Ue,U!==null?`
159
+ `+U:"",H!==null?`
160
+ `+H:"",P!==null?`
161
+ `+P:""))}}}return a&&XC(e,o,s),w}function zb(e,t){var i=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),i!==t.state&&(C("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ge(e)||"Component"),Sg.enqueueReplaceState(t,t.state,null))}function TE(e,t,i,a){var o=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,a),t.state!==o){{var s=Ge(e)||"Component";cg.has(s)||(cg.add(s),C("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}Sg.enqueueReplaceState(t,t.state,null)}}function Cg(e,t,i,a){Nb(e,t,i);var o=e.stateNode;o.props=i,o.state=e.memoizedState,o.refs=CE,og(e);var s=t.contextType;if(typeof s=="object"&&s!==null)o.context=Hn(s);else{var d=pf(e,t,!0);o.context=hf(e,d)}{if(o.state===i){var v=mt(t)||"Component";vg.has(v)||(vg.add(v),C("%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.",v))}e.mode&an&&Na.recordLegacyContextWarning(e,o),Na.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var m=t.getDerivedStateFromProps;if(typeof m=="function"&&(gg(e,t,m,i),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(zb(e,o),jv(e,i,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var E=qe;E|=Lr,(e.mode&pi)!==He&&(E|=Ar),e.flags|=E}}function Ub(e,t,i,a){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,v=t.contextType,m=Bi;if(typeof v=="object"&&v!==null)m=Hn(v);else{var E=pf(e,t,!0);m=hf(e,E)}var w=t.getDerivedStateFromProps,O=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function";!O&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(s!==i||d!==m)&&TE(e,o,i,m),gE();var k=e.memoizedState,U=o.state=k;if(jv(e,i,o,a),U=e.memoizedState,s===i&&k===U&&!wv()&&!Bv()){if(typeof o.componentDidMount=="function"){var H=qe;H|=Lr,(e.mode&pi)!==He&&(H|=Ar),e.flags|=H}return!1}typeof w=="function"&&(gg(e,t,w,i),U=e.memoizedState);var P=Bv()||wE(e,t,s,i,k,U,m);if(P){if(!O&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"){var me=qe;me|=Lr,(e.mode&pi)!==He&&(me|=Ar),e.flags|=me}}else{if(typeof o.componentDidMount=="function"){var Ue=qe;Ue|=Lr,(e.mode&pi)!==He&&(Ue|=Ar),e.flags|=Ue}e.memoizedProps=i,e.memoizedState=U}return o.props=i,o.state=U,o.context=m,P}function Fb(e,t,i,a,o){var s=t.stateNode;yE(e,t);var d=t.memoizedProps,v=t.type===t.elementType?d:za(t.type,d);s.props=v;var m=t.pendingProps,E=s.context,w=i.contextType,O=Bi;if(typeof w=="object"&&w!==null)O=Hn(w);else{var k=pf(t,i,!0);O=hf(t,k)}var U=i.getDerivedStateFromProps,H=typeof U=="function"||typeof s.getSnapshotBeforeUpdate=="function";!H&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==m||E!==O)&&TE(t,s,a,O),gE();var P=t.memoizedState,me=s.state=P;if(jv(t,a,s,o),me=t.memoizedState,d===m&&P===me&&!wv()&&!Bv()&&!Ae)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=qe),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=si),!1;typeof U=="function"&&(gg(t,i,U,a),me=t.memoizedState);var Ue=Bv()||wE(t,i,v,a,P,me,O)||Ae;return Ue?(!H&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,me,O),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,me,O)),typeof s.componentDidUpdate=="function"&&(t.flags|=qe),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=si)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=qe),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=si),t.memoizedProps=a,t.memoizedState=me),s.props=a,s.state=me,s.context=O,Ue}var Eg,Rg,wg,bg,xg,DE=function(e,t){};Eg=!1,Rg=!1,wg={},bg={},xg={},DE=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var i=Ge(t)||"Component";bg[i]||(bg[i]=!0,C('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function yp(e,t,i){var a=i.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&an||Ie)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)){var o=Ge(e)||"Component";wg[o]||(C('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',a),wg[o]=!0)}if(i._owner){var s=i._owner,d;if(s){var v=s;if(v.tag!==K)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");d=v.stateNode}if(!d)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var m=d;Jn(a,"ref");var E=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var w=function(O){var k=m.refs;k===CE&&(k=m.refs={}),O===null?delete k[E]:k[E]=O};return w._stringRef=E,w}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!i._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
162
+ 1. You may be adding a ref to a function component
163
+ 2. You may be adding a ref to a component that was not created inside a component's render method
164
+ 3. You have multiple copies of React loaded
165
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function $v(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function Iv(e){{var t=Ge(e)||"Component";if(xg[t])return;xg[t]=!0,C("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function _E(e){var t=e._payload,i=e._init;return i(t)}function kE(e){function t(A,$){if(e){var N=A.deletions;N===null?(A.deletions=[$],A.flags|=xt):N.push($)}}function i(A,$){if(!e)return null;for(var N=$;N!==null;)t(A,N),N=N.sibling;return null}function a(A,$){for(var N=new Map,te=$;te!==null;)te.key!==null?N.set(te.key,te):N.set(te.index,te),te=te.sibling;return N}function o(A,$){var N=Ps(A,$);return N.index=0,N.sibling=null,N}function s(A,$,N){if(A.index=N,!e)return A.flags|=cd,$;var te=A.alternate;if(te!==null){var ye=te.index;return ye<$?(A.flags|=Yt,$):ye}else return A.flags|=Yt,$}function d(A){return e&&A.alternate===null&&(A.flags|=Yt),A}function v(A,$,N,te){if($===null||$.tag!==le){var ye=ZS(N,A.mode,te);return ye.return=A,ye}else{var fe=o($,N);return fe.return=A,fe}}function m(A,$,N,te){var ye=N.type;if(ye===Oi)return w(A,$,N.props.children,te,N.key);if($!==null&&($.elementType===ye||SR($,N)||typeof ye=="object"&&ye!==null&&ye.$$typeof===jn&&_E(ye)===$.type)){var fe=o($,N.props);return fe.ref=yp(A,$,N),fe.return=A,fe._debugSource=N._source,fe._debugOwner=N._owner,fe}var $e=qS(N,A.mode,te);return $e.ref=yp(A,$,N),$e.return=A,$e}function E(A,$,N,te){if($===null||$.tag!==ae||$.stateNode.containerInfo!==N.containerInfo||$.stateNode.implementation!==N.implementation){var ye=JS(N,A.mode,te);return ye.return=A,ye}else{var fe=o($,N.children||[]);return fe.return=A,fe}}function w(A,$,N,te,ye){if($===null||$.tag!==_e){var fe=zu(N,A.mode,te,ye);return fe.return=A,fe}else{var $e=o($,N);return $e.return=A,$e}}function O(A,$,N){if(typeof $=="string"&&$!==""||typeof $=="number"){var te=ZS(""+$,A.mode,N);return te.return=A,te}if(typeof $=="object"&&$!==null){switch($.$$typeof){case Ia:{var ye=qS($,A.mode,N);return ye.ref=yp(A,null,$),ye.return=A,ye}case Wr:{var fe=JS($,A.mode,N);return fe.return=A,fe}case jn:{var $e=$._payload,Xe=$._init;return O(A,Xe($e),N)}}if(st($)||Li($)){var zt=zu($,A.mode,N,null);return zt.return=A,zt}$v(A,$)}return typeof $=="function"&&Iv(A),null}function k(A,$,N,te){var ye=$!==null?$.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return ye!==null?null:v(A,$,""+N,te);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Ia:return N.key===ye?m(A,$,N,te):null;case Wr:return N.key===ye?E(A,$,N,te):null;case jn:{var fe=N._payload,$e=N._init;return k(A,$,$e(fe),te)}}if(st(N)||Li(N))return ye!==null?null:w(A,$,N,te,null);$v(A,N)}return typeof N=="function"&&Iv(A),null}function U(A,$,N,te,ye){if(typeof te=="string"&&te!==""||typeof te=="number"){var fe=A.get(N)||null;return v($,fe,""+te,ye)}if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Ia:{var $e=A.get(te.key===null?N:te.key)||null;return m($,$e,te,ye)}case Wr:{var Xe=A.get(te.key===null?N:te.key)||null;return E($,Xe,te,ye)}case jn:var zt=te._payload,Rt=te._init;return U(A,$,N,Rt(zt),ye)}if(st(te)||Li(te)){var kn=A.get(N)||null;return w($,kn,te,ye,null)}$v($,te)}return typeof te=="function"&&Iv($),null}function H(A,$,N){{if(typeof A!="object"||A===null)return $;switch(A.$$typeof){case Ia:case Wr:DE(A,N);var te=A.key;if(typeof te!="string")break;if($===null){$=new Set,$.add(te);break}if(!$.has(te)){$.add(te);break}C("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.",te);break;case jn:var ye=A._payload,fe=A._init;H(fe(ye),$,N);break}}return $}function P(A,$,N,te){for(var ye=null,fe=0;fe<N.length;fe++){var $e=N[fe];ye=H($e,ye,A)}for(var Xe=null,zt=null,Rt=$,kn=0,wt=0,En=null;Rt!==null&&wt<N.length;wt++){Rt.index>wt?(En=Rt,Rt=null):En=Rt.sibling;var Pr=k(A,Rt,N[wt],te);if(Pr===null){Rt===null&&(Rt=En);break}e&&Rt&&Pr.alternate===null&&t(A,Rt),kn=s(Pr,kn,wt),zt===null?Xe=Pr:zt.sibling=Pr,zt=Pr,Rt=En}if(wt===N.length){if(i(A,Rt),dr()){var Sr=wt;ks(A,Sr)}return Xe}if(Rt===null){for(;wt<N.length;wt++){var $i=O(A,N[wt],te);$i!==null&&(kn=s($i,kn,wt),zt===null?Xe=$i:zt.sibling=$i,zt=$i)}if(dr()){var ti=wt;ks(A,ti)}return Xe}for(var ni=a(A,Rt);wt<N.length;wt++){var $r=U(ni,A,wt,N[wt],te);$r!==null&&(e&&$r.alternate!==null&&ni.delete($r.key===null?wt:$r.key),kn=s($r,kn,wt),zt===null?Xe=$r:zt.sibling=$r,zt=$r)}if(e&&ni.forEach(function(Uf){return t(A,Uf)}),dr()){var _o=wt;ks(A,_o)}return Xe}function me(A,$,N,te){var ye=Li(N);if(typeof ye!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&N[Symbol.toStringTag]==="Generator"&&(Rg||C("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Rg=!0),N.entries===ye&&(Eg||C("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Eg=!0);var fe=ye.call(N);if(fe)for(var $e=null,Xe=fe.next();!Xe.done;Xe=fe.next()){var zt=Xe.value;$e=H(zt,$e,A)}}var Rt=ye.call(N);if(Rt==null)throw new Error("An iterable object provided no iterator.");for(var kn=null,wt=null,En=$,Pr=0,Sr=0,$i=null,ti=Rt.next();En!==null&&!ti.done;Sr++,ti=Rt.next()){En.index>Sr?($i=En,En=null):$i=En.sibling;var ni=k(A,En,ti.value,te);if(ni===null){En===null&&(En=$i);break}e&&En&&ni.alternate===null&&t(A,En),Pr=s(ni,Pr,Sr),wt===null?kn=ni:wt.sibling=ni,wt=ni,En=$i}if(ti.done){if(i(A,En),dr()){var $r=Sr;ks(A,$r)}return kn}if(En===null){for(;!ti.done;Sr++,ti=Rt.next()){var _o=O(A,ti.value,te);_o!==null&&(Pr=s(_o,Pr,Sr),wt===null?kn=_o:wt.sibling=_o,wt=_o)}if(dr()){var Uf=Sr;ks(A,Uf)}return kn}for(var Gp=a(A,En);!ti.done;Sr++,ti=Rt.next()){var zl=U(Gp,A,Sr,ti.value,te);zl!==null&&(e&&zl.alternate!==null&&Gp.delete(zl.key===null?Sr:zl.key),Pr=s(zl,Pr,Sr),wt===null?kn=zl:wt.sibling=zl,wt=zl)}if(e&&Gp.forEach(function(qD){return t(A,qD)}),dr()){var KD=Sr;ks(A,KD)}return kn}function Ue(A,$,N,te){if($!==null&&$.tag===le){i(A,$.sibling);var ye=o($,N);return ye.return=A,ye}i(A,$);var fe=ZS(N,A.mode,te);return fe.return=A,fe}function Me(A,$,N,te){for(var ye=N.key,fe=$;fe!==null;){if(fe.key===ye){var $e=N.type;if($e===Oi){if(fe.tag===_e){i(A,fe.sibling);var Xe=o(fe,N.props.children);return Xe.return=A,Xe._debugSource=N._source,Xe._debugOwner=N._owner,Xe}}else if(fe.elementType===$e||SR(fe,N)||typeof $e=="object"&&$e!==null&&$e.$$typeof===jn&&_E($e)===fe.type){i(A,fe.sibling);var zt=o(fe,N.props);return zt.ref=yp(A,fe,N),zt.return=A,zt._debugSource=N._source,zt._debugOwner=N._owner,zt}i(A,fe);break}else t(A,fe);fe=fe.sibling}if(N.type===Oi){var Rt=zu(N.props.children,A.mode,te,N.key);return Rt.return=A,Rt}else{var kn=qS(N,A.mode,te);return kn.ref=yp(A,$,N),kn.return=A,kn}}function ht(A,$,N,te){for(var ye=N.key,fe=$;fe!==null;){if(fe.key===ye)if(fe.tag===ae&&fe.stateNode.containerInfo===N.containerInfo&&fe.stateNode.implementation===N.implementation){i(A,fe.sibling);var $e=o(fe,N.children||[]);return $e.return=A,$e}else{i(A,fe);break}else t(A,fe);fe=fe.sibling}var Xe=JS(N,A.mode,te);return Xe.return=A,Xe}function ot(A,$,N,te){var ye=typeof N=="object"&&N!==null&&N.type===Oi&&N.key===null;if(ye&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Ia:return d(Me(A,$,N,te));case Wr:return d(ht(A,$,N,te));case jn:var fe=N._payload,$e=N._init;return ot(A,$,$e(fe),te)}if(st(N))return P(A,$,N,te);if(Li(N))return me(A,$,N,te);$v(A,N)}return typeof N=="string"&&N!==""||typeof N=="number"?d(Ue(A,$,""+N,te)):(typeof N=="function"&&Iv(A),i(A,$))}return ot}var Cf=kE(!0),ME=kE(!1);function Hb(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,a=Ps(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=Ps(i,i.pendingProps),a.return=t;a.sibling=null}}function Vb(e,t){for(var i=e.child;i!==null;)hD(i,t),i=i.sibling}var gp={},Tu=Eu(gp),Sp=Eu(gp),Wv=Eu(gp);function Yv(e){if(e===gp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function OE(){var e=Yv(Wv.current);return e}function Tg(e,t){jr(Wv,t,e),jr(Sp,e,e),jr(Tu,gp,e);var i=Jw(t);Vr(Tu,e),jr(Tu,i,e)}function Ef(e){Vr(Tu,e),Vr(Sp,e),Vr(Wv,e)}function Dg(){var e=Yv(Tu.current);return e}function LE(e){Yv(Wv.current);var t=Yv(Tu.current),i=e1(t,e.type);t!==i&&(jr(Sp,e,e),jr(Tu,i,e))}function _g(e){Sp.current===e&&(Vr(Tu,e),Vr(Sp,e))}var jb=0,AE=1,NE=1,Cp=2,Ua=Eu(jb);function kg(e,t){return(e&t)!==0}function Rf(e){return e&AE}function Mg(e,t){return e&AE|t}function Bb(e,t){return e|t}function Du(e,t){jr(Ua,t,e)}function wf(e){Vr(Ua,e)}function Pb(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function Gv(e){for(var t=e;t!==null;){if(t.tag===Ce){var i=t.memoizedState;if(i!==null){var a=i.dehydrated;if(a===null||IC(a)||Uy(a))return t}}else if(t.tag===Tt&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&We)!==ze;if(o)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ei=0,In=1,_l=2,Wn=4,pr=8,Og=[];function Lg(){for(var e=0;e<Og.length;e++){var t=Og[e];t._workInProgressVersionPrimary=null}Og.length=0}function $b(e,t){var i=t._getVersion,a=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var he=p.ReactCurrentDispatcher,Ep=p.ReactCurrentBatchConfig,Ag,bf;Ag=new Set;var zs=W,Nt=null,Yn=null,Gn=null,Qv=!1,Rp=!1,wp=0,Ib=0,Wb=25,G=null,oa=null,_u=-1,Ng=!1;function kt(){{var e=G;oa===null?oa=[e]:oa.push(e)}}function ue(){{var e=G;oa!==null&&(_u++,oa[_u]!==e&&Yb(e))}}function xf(e){e!=null&&!st(e)&&C("%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 Yb(e){{var t=Ge(Nt);if(!Ag.has(t)&&(Ag.add(t),oa!==null)){for(var i="",a=30,o=0;o<=_u;o++){for(var s=oa[o],d=o===_u?e:s,v=o+1+". "+s;v.length<a;)v+=" ";v+=d+`
166
+ `,i+=v}C(`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://reactjs.org/link/rules-of-hooks
167
+
168
+ Previous render Next render
169
+ ------------------------------------------------------
170
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
171
+ `,t,i)}}}function Br(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
172
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
173
+ 2. You might be breaking the Rules of Hooks
174
+ 3. You might have more than one copy of React in the same app
175
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function zg(e,t){if(Ng)return!1;if(t===null)return C("%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&&C(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
176
+
177
+ Previous: %s
178
+ Incoming: %s`,G,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Re(e[i],t[i]))return!1;return!0}function Tf(e,t,i,a,o,s){zs=s,Nt=t,oa=e!==null?e._debugHookTypes:null,_u=-1,Ng=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=W,e!==null&&e.memoizedState!==null?he.current=n0:oa!==null?he.current=t0:he.current=e0;var d=i(a,o);if(Rp){var v=0;do{if(Rp=!1,wp=0,v>=Wb)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");v+=1,Ng=!1,Yn=null,Gn=null,t.updateQueue=null,_u=-1,he.current=r0,d=i(a,o)}while(Rp)}he.current=om,t._debugHookTypes=oa;var m=Yn!==null&&Yn.next!==null;if(zs=W,Nt=null,Yn=null,Gn=null,G=null,oa=null,_u=-1,e!==null&&(e.flags&Bn)!==(t.flags&Bn)&&(e.mode&rt)!==He&&C("Internal React error: Expected static flag was missing. Please notify the React team."),Qv=!1,m)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function Df(){var e=wp!==0;return wp=0,e}function zE(e,t,i){t.updateQueue=e.updateQueue,(t.mode&pi)!==He?t.flags&=~(Xl|Ar|Jt|qe):t.flags&=~(Jt|qe),e.lanes=iu(e.lanes,i)}function UE(){if(he.current=om,Qv){for(var e=Nt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Qv=!1}zs=W,Nt=null,Yn=null,Gn=null,oa=null,_u=-1,G=null,XE=!1,Rp=!1,wp=0}function kl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?Nt.memoizedState=Gn=e:Gn=Gn.next=e,Gn}function ua(){var e;if(Yn===null){var t=Nt.alternate;t!==null?e=t.memoizedState:e=null}else e=Yn.next;var i;if(Gn===null?i=Nt.memoizedState:i=Gn.next,i!==null)Gn=i,i=Gn.next,Yn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Yn=e;var a={memoizedState:Yn.memoizedState,baseState:Yn.baseState,baseQueue:Yn.baseQueue,queue:Yn.queue,next:null};Gn===null?Nt.memoizedState=Gn=a:Gn=Gn.next=a}return Gn}function FE(){return{lastEffect:null,stores:null}}function Ug(e,t){return typeof t=="function"?t(e):t}function Fg(e,t,i){var a=kl(),o;i!==void 0?o=i(t):o=t,a.memoizedState=a.baseState=o;var s={pending:null,interleaved:null,lanes:W,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};a.queue=s;var d=s.dispatch=Kb.bind(null,Nt,s);return[a.memoizedState,d]}function Hg(e,t,i){var a=ua(),o=a.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=Yn,d=s.baseQueue,v=o.pending;if(v!==null){if(d!==null){var m=d.next,E=v.next;d.next=E,v.next=m}s.baseQueue!==d&&C("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=d=v,o.pending=null}if(d!==null){var w=d.next,O=s.baseState,k=null,U=null,H=null,P=w;do{var me=P.lane;if(ao(zs,me)){if(H!==null){var Me={lane:dt,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null};H=H.next=Me}if(P.hasEagerState)O=P.eagerState;else{var ht=P.action;O=e(O,ht)}}else{var Ue={lane:me,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null};H===null?(U=H=Ue,k=O):H=H.next=Ue,Nt.lanes=Ze(Nt.lanes,me),Pp(me)}P=P.next}while(P!==null&&P!==w);H===null?k=O:H.next=U,Re(O,a.memoizedState)||Mp(),a.memoizedState=O,a.baseState=k,a.baseQueue=H,o.lastRenderedState=O}var ot=o.interleaved;if(ot!==null){var A=ot;do{var $=A.lane;Nt.lanes=Ze(Nt.lanes,$),Pp($),A=A.next}while(A!==ot)}else d===null&&(o.lanes=W);var N=o.dispatch;return[a.memoizedState,N]}function Vg(e,t,i){var a=ua(),o=a.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,v=a.memoizedState;if(d!==null){o.pending=null;var m=d.next,E=m;do{var w=E.action;v=e(v,w),E=E.next}while(E!==m);Re(v,a.memoizedState)||Mp(),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),o.lastRenderedState=v}return[v,s]}function P_(e,t,i){}function $_(e,t,i){}function jg(e,t,i){var a=Nt,o=kl(),s,d=dr();if(d){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=i(),bf||s!==i()&&(C("The result of getServerSnapshot should be cached to avoid an infinite loop"),bf=!0)}else{if(s=t(),!bf){var v=t();Re(s,v)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var m=xm();if(m===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ds(m,zs)||HE(a,t,s)}o.memoizedState=s;var E={value:s,getSnapshot:t};return o.queue=E,Jv(jE.bind(null,a,E,e),[e]),a.flags|=Jt,bp(In|pr,VE.bind(null,a,E,s,t),void 0,null),s}function Xv(e,t,i){var a=Nt,o=ua(),s=t();if(!bf){var d=t();Re(s,d)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var v=o.memoizedState,m=!Re(v,s);m&&(o.memoizedState=s,Mp());var E=o.queue;if(Tp(jE.bind(null,a,E,e),[e]),E.getSnapshot!==t||m||Gn!==null&&Gn.memoizedState.tag&In){a.flags|=Jt,bp(In|pr,VE.bind(null,a,E,s,t),void 0,null);var w=xm();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ds(w,zs)||HE(a,t,s)}return s}function HE(e,t,i){e.flags|=rs;var a={getSnapshot:t,value:i},o=Nt.updateQueue;if(o===null)o=FE(),Nt.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function VE(e,t,i,a){t.value=i,t.getSnapshot=a,BE(t)&&PE(e)}function jE(e,t,i){var a=function(){BE(t)&&PE(e)};return i(a)}function BE(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!Re(i,a)}catch{return!0}}function PE(e){var t=Ci(e,Be);t!==null&&qn(t,e,Be,Vt)}function Kv(e){var t=kl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:W,dispatch:null,lastRenderedReducer:Ug,lastRenderedState:e};t.queue=i;var a=i.dispatch=qb.bind(null,Nt,i);return[t.memoizedState,a]}function Bg(e){return Hg(Ug)}function Pg(e){return Vg(Ug)}function bp(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=Nt.updateQueue;if(s===null)s=FE(),Nt.updateQueue=s,s.lastEffect=o.next=o;else{var d=s.lastEffect;if(d===null)s.lastEffect=o.next=o;else{var v=d.next;d.next=o,o.next=v,s.lastEffect=o}}return o}function $g(e){var t=kl();{var i={current:e};return t.memoizedState=i,i}}function qv(e){var t=ua();return t.memoizedState}function xp(e,t,i,a){var o=kl(),s=a===void 0?null:a;Nt.flags|=e,o.memoizedState=bp(In|t,i,void 0,s)}function Zv(e,t,i,a){var o=ua(),s=a===void 0?null:a,d=void 0;if(Yn!==null){var v=Yn.memoizedState;if(d=v.destroy,s!==null){var m=v.deps;if(zg(s,m)){o.memoizedState=bp(t,i,d,s);return}}}Nt.flags|=e,o.memoizedState=bp(In|t,i,d,s)}function Jv(e,t){return(Nt.mode&pi)!==He?xp(Xl|Jt|fl,pr,e,t):xp(Jt|fl,pr,e,t)}function Tp(e,t){return Zv(Jt,pr,e,t)}function Ig(e,t){return xp(qe,_l,e,t)}function em(e,t){return Zv(qe,_l,e,t)}function Wg(e,t){var i=qe;return i|=Lr,(Nt.mode&pi)!==He&&(i|=Ar),xp(i,Wn,e,t)}function tm(e,t){return Zv(qe,Wn,e,t)}function $E(e,t){if(typeof t=="function"){var i=t,a=e();return i(a),function(){i(null)}}else if(t!=null){var o=t;o.hasOwnProperty("current")||C("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var s=e();return o.current=s,function(){o.current=null}}}function Yg(e,t,i){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null,o=qe;return o|=Lr,(Nt.mode&pi)!==He&&(o|=Ar),xp(o,Wn,$E.bind(null,t,e),a)}function nm(e,t,i){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null;return Zv(qe,Wn,$E.bind(null,t,e),a)}function Gb(e,t){}var rm=Gb;function Gg(e,t){var i=kl(),a=t===void 0?null:t;return i.memoizedState=[e,a],e}function im(e,t){var i=ua(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(zg(a,s))return o[0]}return i.memoizedState=[e,a],e}function Qg(e,t){var i=kl(),a=t===void 0?null:t,o=e();return i.memoizedState=[o,a],o}function am(e,t){var i=ua(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(zg(a,s))return o[0]}var d=e();return i.memoizedState=[d,a],d}function Xg(e){var t=kl();return t.memoizedState=e,e}function IE(e){var t=ua(),i=Yn,a=i.memoizedState;return YE(t,a,e)}function WE(e){var t=ua();if(Yn===null)return t.memoizedState=e,e;var i=Yn.memoizedState;return YE(t,i,e)}function YE(e,t,i){var a=!ty(zs);if(a){if(!Re(i,t)){var o=Dd();Nt.lanes=Ze(Nt.lanes,o),Pp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Mp()),e.memoizedState=i,i}function Qb(e,t,i){var a=vi();Tn(nr(a,$n)),e(!0);var o=Ep.transition;Ep.transition={};var s=Ep.transition;Ep.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Tn(a),Ep.transition=o,o===null&&s._updatedFibers){var d=s._updatedFibers.size;d>10&&T("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."),s._updatedFibers.clear()}}}function Kg(){var e=Kv(!1),t=e[0],i=e[1],a=Qb.bind(null,i),o=kl();return o.memoizedState=a,[t,a]}function GE(){var e=Bg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}function QE(){var e=Pg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}var XE=!1;function Xb(){return XE}function qg(){var e=kl(),t=xm(),i=t.identifierPrefix,a;if(dr()){var o=sb();a=":"+i+"R"+o;var s=wp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=Ib++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function lm(){var e=ua(),t=e.memoizedState;return t}function Kb(e,t,i){typeof arguments[3]=="function"&&C("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().");var a=Au(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(KE(e))qE(t,o);else{var s=hE(e,t,o,a);if(s!==null){var d=ei();qn(s,e,a,d),ZE(s,t,a)}}JE(e,a)}function qb(e,t,i){typeof arguments[3]=="function"&&C("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().");var a=Au(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(KE(e))qE(t,o);else{var s=e.alternate;if(e.lanes===W&&(s===null||s.lanes===W)){var d=t.lastRenderedReducer;if(d!==null){var v;v=he.current,he.current=Fa;try{var m=t.lastRenderedState,E=d(m,i);if(o.hasEagerState=!0,o.eagerState=E,Re(E,m)){kb(e,t,o,a);return}}catch{}finally{he.current=v}}}var w=hE(e,t,o,a);if(w!==null){var O=ei();qn(w,e,a,O),ZE(w,t,a)}}JE(e,a)}function KE(e){var t=e.alternate;return e===Nt||t!==null&&t===Nt}function qE(e,t){Rp=Qv=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function ZE(e,t,i){if(Td(i)){var a=t.lanes;a=_d(a,e.pendingLanes);var o=Ze(a,i);t.lanes=o,au(e,o)}}function JE(e,t,i){yl(e,t)}var om={readContext:Hn,useCallback:Br,useContext:Br,useEffect:Br,useImperativeHandle:Br,useInsertionEffect:Br,useLayoutEffect:Br,useMemo:Br,useReducer:Br,useRef:Br,useState:Br,useDebugValue:Br,useDeferredValue:Br,useTransition:Br,useMutableSource:Br,useSyncExternalStore:Br,useId:Br,unstable_isNewReconciler:ie},e0=null,t0=null,n0=null,r0=null,Ml=null,Fa=null,um=null;{var Zg=function(){C("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().")},Qe=function(){C("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};e0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",kt(),xf(t),Gg(e,t)},useContext:function(e){return G="useContext",kt(),Hn(e)},useEffect:function(e,t){return G="useEffect",kt(),xf(t),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",kt(),xf(i),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",kt(),xf(t),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",kt(),xf(t),Wg(e,t)},useMemo:function(e,t){G="useMemo",kt(),xf(t);var i=he.current;he.current=Ml;try{return Qg(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",kt();var a=he.current;he.current=Ml;try{return Fg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",kt(),$g(e)},useState:function(e){G="useState",kt();var t=he.current;he.current=Ml;try{return Kv(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",kt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",kt(),Xg(e)},useTransition:function(){return G="useTransition",kt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",kt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",kt(),jg(e,t,i)},useId:function(){return G="useId",kt(),qg()},unstable_isNewReconciler:ie},t0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",ue(),Gg(e,t)},useContext:function(e){return G="useContext",ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",ue(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",ue(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",ue(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",ue(),Wg(e,t)},useMemo:function(e,t){G="useMemo",ue();var i=he.current;he.current=Ml;try{return Qg(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",ue();var a=he.current;he.current=Ml;try{return Fg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",ue(),$g(e)},useState:function(e){G="useState",ue();var t=he.current;he.current=Ml;try{return Kv(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",ue(),void 0},useDeferredValue:function(e){return G="useDeferredValue",ue(),Xg(e)},useTransition:function(){return G="useTransition",ue(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",ue(),jg(e,t,i)},useId:function(){return G="useId",ue(),qg()},unstable_isNewReconciler:ie},n0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",ue(),im(e,t)},useContext:function(e){return G="useContext",ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",ue();var i=he.current;he.current=Fa;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",ue();var a=he.current;he.current=Fa;try{return Hg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",ue(),qv()},useState:function(e){G="useState",ue();var t=he.current;he.current=Fa;try{return Bg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",ue(),IE(e)},useTransition:function(){return G="useTransition",ue(),GE()},useMutableSource:function(e,t,i){return G="useMutableSource",ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",ue(),Xv(e,t)},useId:function(){return G="useId",ue(),lm()},unstable_isNewReconciler:ie},r0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",ue(),im(e,t)},useContext:function(e){return G="useContext",ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",ue();var i=he.current;he.current=um;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",ue();var a=he.current;he.current=um;try{return Vg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",ue(),qv()},useState:function(e){G="useState",ue();var t=he.current;he.current=um;try{return Pg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",ue(),WE(e)},useTransition:function(){return G="useTransition",ue(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",ue(),Xv(e,t)},useId:function(){return G="useId",ue(),lm()},unstable_isNewReconciler:ie},Ml={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Qe(),kt(),Gg(e,t)},useContext:function(e){return G="useContext",Qe(),kt(),Hn(e)},useEffect:function(e,t){return G="useEffect",Qe(),kt(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Qe(),kt(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Qe(),kt(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Qe(),kt(),Wg(e,t)},useMemo:function(e,t){G="useMemo",Qe(),kt();var i=he.current;he.current=Ml;try{return Qg(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",Qe(),kt();var a=he.current;he.current=Ml;try{return Fg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",Qe(),kt(),$g(e)},useState:function(e){G="useState",Qe(),kt();var t=he.current;he.current=Ml;try{return Kv(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Qe(),kt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",Qe(),kt(),Xg(e)},useTransition:function(){return G="useTransition",Qe(),kt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",Qe(),kt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Qe(),kt(),jg(e,t,i)},useId:function(){return G="useId",Qe(),kt(),qg()},unstable_isNewReconciler:ie},Fa={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Qe(),ue(),im(e,t)},useContext:function(e){return G="useContext",Qe(),ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",Qe(),ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Qe(),ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Qe(),ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Qe(),ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",Qe(),ue();var i=he.current;he.current=Fa;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",Qe(),ue();var a=he.current;he.current=Fa;try{return Hg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",Qe(),ue(),qv()},useState:function(e){G="useState",Qe(),ue();var t=he.current;he.current=Fa;try{return Bg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Qe(),ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Qe(),ue(),IE(e)},useTransition:function(){return G="useTransition",Qe(),ue(),GE()},useMutableSource:function(e,t,i){return G="useMutableSource",Qe(),ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Qe(),ue(),Xv(e,t)},useId:function(){return G="useId",Qe(),ue(),lm()},unstable_isNewReconciler:ie},um={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Qe(),ue(),im(e,t)},useContext:function(e){return G="useContext",Qe(),ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",Qe(),ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Qe(),ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Qe(),ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Qe(),ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",Qe(),ue();var i=he.current;he.current=Fa;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",Qe(),ue();var a=he.current;he.current=Fa;try{return Vg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",Qe(),ue(),qv()},useState:function(e){G="useState",Qe(),ue();var t=he.current;he.current=Fa;try{return Pg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Qe(),ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Qe(),ue(),WE(e)},useTransition:function(){return G="useTransition",Qe(),ue(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",Qe(),ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Qe(),ue(),Xv(e,t)},useId:function(){return G="useId",Qe(),ue(),lm()},unstable_isNewReconciler:ie}}var ku=c.unstable_now,i0=0,sm=-1,Dp=-1,cm=-1,Jg=!1,fm=!1;function a0(){return Jg}function Zb(){fm=!0}function Jb(){Jg=!1,fm=!1}function ex(){Jg=fm,fm=!1}function l0(){return i0}function o0(){i0=ku()}function eS(e){Dp=ku(),e.actualStartTime<0&&(e.actualStartTime=ku())}function u0(e){Dp=-1}function dm(e,t){if(Dp>=0){var i=ku()-Dp;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Dp=-1}}function Ol(e){if(sm>=0){var t=ku()-sm;sm=-1;for(var i=e.return;i!==null;){switch(i.tag){case J:var a=i.stateNode;a.effectDuration+=t;return;case Oe:var o=i.stateNode;o.effectDuration+=t;return}i=i.return}}}function tS(e){if(cm>=0){var t=ku()-cm;cm=-1;for(var i=e.return;i!==null;){switch(i.tag){case J:var a=i.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case Oe:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}i=i.return}}}function Ll(){sm=ku()}function nS(){cm=ku()}function rS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Us(e,t){return{value:e,source:t,stack:Uo(t),digest:null}}function iS(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function tx(e,t){return!0}function aS(e,t){try{var i=tx(e,t);if(i===!1)return;var a=t.value,o=t.source,s=t.stack,d=s!==null?s:"";if(a!=null&&a._suppressLogging){if(e.tag===K)return;console.error(a)}var v=o?Ge(o):null,m=v?"The above error occurred in the <"+v+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===J)E=`Consider adding an error boundary to your tree to customize error handling behavior.
179
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var w=Ge(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+w+".")}var O=m+`
180
+ `+d+`
181
+
182
+ `+(""+E);console.error(O)}catch(k){setTimeout(function(){throw k})}}var nx=typeof WeakMap=="function"?WeakMap:Map;function s0(e,t,i){var a=Ro(Vt,i);a.tag=ag,a.payload={element:null};var o=t.value;return a.callback=function(){QT(o),aS(e,t)},a}function lS(e,t,i){var a=Ro(Vt,i);a.tag=ag;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;a.payload=function(){return o(s)},a.callback=function(){CR(e),aS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){CR(e),aS(e,t),typeof o!="function"&&YT(this);var m=t.value,E=t.stack;this.componentDidCatch(m,{componentStack:E!==null?E:""}),typeof o!="function"&&(Hr(e.lanes,Be)||C("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ge(e)||"Unknown"))}),a}function c0(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new nx,o=new Set,a.set(t,o)):(o=a.get(t),o===void 0&&(o=new Set,a.set(t,o))),!o.has(i)){o.add(i);var s=XT.bind(null,e,t,i);Pn&&$p(e,i),t.then(s,s)}}function rx(e,t,i,a){var o=e.updateQueue;if(o===null){var s=new Set;s.add(i),e.updateQueue=s}else o.add(i)}function ix(e,t){var i=e.tag;if((e.mode&rt)===He&&(i===B||i===xe||i===ke)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function f0(e){var t=e;do{if(t.tag===Ce&&Pb(t))return t;t=t.return}while(t!==null);return null}function d0(e,t,i,a,o){if((e.mode&rt)===He){if(e===t)e.flags|=An;else{if(e.flags|=We,i.flags|=is,i.flags&=~(fc|Yr),i.tag===K){var s=i.alternate;if(s===null)i.tag=jt;else{var d=Ro(Vt,Be);d.tag=Uv,xu(i,d,Be)}}i.lanes=Ze(i.lanes,Be)}return e}return e.flags|=An,e.lanes=o,e}function ax(e,t,i,a,o){if(i.flags|=Yr,Pn&&$p(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a;ix(i),dr()&&i.mode&rt&&nE();var d=f0(t);if(d!==null){d.flags&=~cn,d0(d,t,i,e,o),d.mode&rt&&c0(e,s,o),rx(d,e,s);return}else{if(!ru(o)){c0(e,s,o),VS();return}var v=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");a=v}}else if(dr()&&i.mode&rt){nE();var m=f0(t);if(m!==null){(m.flags&An)===ze&&(m.flags|=cn),d0(m,t,i,e,o),Zy(Us(a,i));return}}a=Us(a,i),HT(a);var E=t;do{switch(E.tag){case J:{var w=a;E.flags|=An;var O=xn(o);E.lanes=Ze(E.lanes,O);var k=s0(E,w,O);ug(E,k);return}case K:var U=a,H=E.type,P=E.stateNode;if((E.flags&We)===ze&&(typeof H.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&!fR(P))){E.flags|=An;var me=xn(o);E.lanes=Ze(E.lanes,me);var Ue=lS(E,U,me);ug(E,Ue);return}break}E=E.return}while(E!==null)}function lx(){return null}var _p=p.ReactCurrentOwner,Ha=!1,oS,kp,uS,sS,cS,Fs,fS,pm;oS={},kp={},uS={},sS={},cS={},Fs=!1,fS={},pm={};function Zr(e,t,i,a){e===null?t.child=ME(t,null,i,a):t.child=Cf(t,e.child,i,a)}function ox(e,t,i,a){t.child=Cf(t,e.child,null,a),t.child=Cf(t,null,i,a)}function p0(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&La(s,a,"prop",mt(i))}var d=i.render,v=t.ref,m,E;Sf(t,o),ml(t);{if(_p.current=t,kr(!0),m=Tf(e,t,d,a,v,o),E=Df(),t.mode&an){bn(!0);try{m=Tf(e,t,d,a,v,o),E=Df()}finally{bn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(zE(e,t,o),wo(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function h0(e,t,i,a,o){if(e===null){var s=i.type;if(dD(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=zf(s),t.tag=ke,t.type=d,hS(t,s),v0(e,t,d,a,o)}{var v=s.propTypes;v&&La(v,a,"prop",mt(s))}var m=KS(i.type,null,a,t,t.mode,o);return m.ref=t.ref,m.return=t,t.child=m,m}{var E=i.type,w=E.propTypes;w&&La(w,a,"prop",mt(E))}var O=e.child,k=CS(e,o);if(!k){var U=O.memoizedProps,H=i.compare;if(H=H!==null?H:Le,H(U,a)&&e.ref===t.ref)return wo(e,t,o)}t.flags|=sl;var P=Ps(O,a);return P.ref=t.ref,P.return=t,t.child=P,P}function v0(e,t,i,a,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===jn){var d=s,v=d._payload,m=d._init;try{s=m(v)}catch{s=null}var E=s&&s.propTypes;E&&La(E,a,"prop",mt(s))}}if(e!==null){var w=e.memoizedProps;if(Le(w,a)&&e.ref===t.ref&&t.type===e.type)if(Ha=!1,t.pendingProps=a=w,CS(e,o))(e.flags&is)!==ze&&(Ha=!0);else return t.lanes=e.lanes,wo(e,t,o)}return dS(e,t,i,a,o)}function m0(e,t,i){var a=t.pendingProps,o=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"||D)if((t.mode&rt)===He){var d={baseLanes:W,cachePool:null,transitions:null};t.memoizedState=d,Tm(t,i)}else if(Hr(i,Fr)){var O={baseLanes:W,cachePool:null,transitions:null};t.memoizedState=O;var k=s!==null?s.baseLanes:i;Tm(t,k)}else{var v=null,m;if(s!==null){var E=s.baseLanes;m=Ze(E,i)}else m=i;t.lanes=t.childLanes=Fr;var w={baseLanes:m,cachePool:v,transitions:null};return t.memoizedState=w,t.updateQueue=null,Tm(t,m),null}else{var U;s!==null?(U=Ze(s.baseLanes,i),t.memoizedState=null):U=i,Tm(t,U)}return Zr(e,t,o,i),t.child}function ux(e,t,i){var a=t.pendingProps;return Zr(e,t,a,i),t.child}function sx(e,t,i){var a=t.pendingProps.children;return Zr(e,t,a,i),t.child}function cx(e,t,i){{t.flags|=qe;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var o=t.pendingProps,s=o.children;return Zr(e,t,s,i),t.child}function y0(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Or,t.flags|=fd)}function dS(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&La(s,a,"prop",mt(i))}var d;{var v=pf(t,i,!0);d=hf(t,v)}var m,E;Sf(t,o),ml(t);{if(_p.current=t,kr(!0),m=Tf(e,t,i,a,d,o),E=Df(),t.mode&an){bn(!0);try{m=Tf(e,t,i,a,d,o),E=Df()}finally{bn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(zE(e,t,o),wo(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function g0(e,t,i,a,o){{switch(DD(t)){case!1:{var s=t.stateNode,d=t.type,v=new d(t.memoizedProps,s.context),m=v.state;s.updater.enqueueSetState(s,m,null);break}case!0:{t.flags|=We,t.flags|=An;var E=new Error("Simulated error coming from DevTools"),w=xn(o);t.lanes=Ze(t.lanes,w);var O=lS(t,Us(E,t),w);ug(t,O);break}}if(t.type!==t.elementType){var k=i.propTypes;k&&La(k,a,"prop",mt(i))}}var U;Dl(i)?(U=!0,xv(t)):U=!1,Sf(t,o);var H=t.stateNode,P;H===null?(vm(e,t),xE(t,i,a),Cg(t,i,a,o),P=!0):e===null?P=Ub(t,i,a,o):P=Fb(e,t,i,a,o);var me=pS(e,t,i,P,U,o);{var Ue=t.stateNode;P&&Ue.props!==a&&(Fs||C("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ge(t)||"a component"),Fs=!0)}return me}function pS(e,t,i,a,o,s){y0(e,t);var d=(t.flags&We)!==ze;if(!a&&!d)return o&&ZC(t,i,!1),wo(e,t,s);var v=t.stateNode;_p.current=t;var m;if(d&&typeof i.getDerivedStateFromError!="function")m=null,u0();else{ml(t);{if(kr(!0),m=v.render(),t.mode&an){bn(!0);try{v.render()}finally{bn(!1)}}kr(!1)}Kl()}return t.flags|=sl,e!==null&&d?ox(e,t,m,s):Zr(e,t,m,s),t.memoizedState=v.state,o&&ZC(t,i,!0),t.child}function S0(e){var t=e.stateNode;t.pendingContext?KC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KC(e,t.context,!1),Tg(e,t.containerInfo)}function fx(e,t,i){if(S0(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,o=t.memoizedState,s=o.element;yE(e,t),jv(t,a,null,i);var d=t.memoizedState;t.stateNode;var v=d.element;if(o.isDehydrated){var m={element:v,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},E=t.updateQueue;if(E.baseState=m,t.memoizedState=m,t.flags&cn){var w=Us(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return C0(e,t,v,i,w)}else if(v!==s){var O=Us(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return C0(e,t,v,i,O)}else{vb(t);var k=ME(t,null,v,i);t.child=k;for(var U=k;U;)U.flags=U.flags&~Yt|ci,U=U.sibling}}else{if(yf(),v===s)return wo(e,t,i);Zr(e,t,v,i)}return t.child}function C0(e,t,i,a,o){return yf(),Zy(o),t.flags|=cn,Zr(e,t,i,a),t.child}function dx(e,t,i){LE(t),e===null&&qy(t);var a=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,v=Ly(a,o);return v?d=null:s!==null&&Ly(a,s)&&(t.flags|=_t),y0(e,t),Zr(e,t,d,i),t.child}function px(e,t){return e===null&&qy(t),null}function hx(e,t,i,a){vm(e,t);var o=t.pendingProps,s=i,d=s._payload,v=s._init,m=v(d);t.type=m;var E=t.tag=pD(m),w=za(m,o),O;switch(E){case B:return hS(t,m),t.type=m=zf(m),O=dS(null,t,m,w,a),O;case K:return t.type=m=IS(m),O=g0(null,t,m,w,a),O;case xe:return t.type=m=WS(m),O=p0(null,t,m,w,a),O;case Pe:{if(t.type!==t.elementType){var k=m.propTypes;k&&La(k,w,"prop",mt(m))}return O=h0(null,t,m,za(m.type,w),a),O}}var U="";throw m!==null&&typeof m=="object"&&m.$$typeof===jn&&(U=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+m+". "+("Lazy element type must resolve to a class or function."+U))}function vx(e,t,i,a,o){vm(e,t),t.tag=K;var s;return Dl(i)?(s=!0,xv(t)):s=!1,Sf(t,o),xE(t,i,a),Cg(t,i,a,o),pS(null,t,i,!0,s,o)}function mx(e,t,i,a){vm(e,t);var o=t.pendingProps,s;{var d=pf(t,i,!1);s=hf(t,d)}Sf(t,a);var v,m;ml(t);{if(i.prototype&&typeof i.prototype.render=="function"){var E=mt(i)||"Unknown";oS[E]||(C("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.",E,E),oS[E]=!0)}t.mode&an&&Na.recordLegacyContextWarning(t,null),kr(!0),_p.current=t,v=Tf(null,t,i,o,s,a),m=Df(),kr(!1)}if(Kl(),t.flags|=sl,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){var w=mt(i)||"Unknown";kp[w]||(C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",w,w,w),kp[w]=!0)}if(typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){{var O=mt(i)||"Unknown";kp[O]||(C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",O,O,O),kp[O]=!0)}t.tag=K,t.memoizedState=null,t.updateQueue=null;var k=!1;return Dl(i)?(k=!0,xv(t)):k=!1,t.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,og(t),bE(t,v),Cg(t,i,o,a),pS(null,t,i,!0,k,a)}else{if(t.tag=B,t.mode&an){bn(!0);try{v=Tf(null,t,i,o,s,a),m=Df()}finally{bn(!1)}}return dr()&&m&&Yy(t),Zr(null,t,v,a),hS(t,i),t.child}}function hS(e,t){{if(t&&t.childContextTypes&&C("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",a=sr();a&&(i+=`
183
+
184
+ Check the render method of \``+a+"`.");var o=a||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),cS[o]||(cS[o]=!0,C("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(typeof t.getDerivedStateFromProps=="function"){var d=mt(t)||"Unknown";sS[d]||(C("%s: Function components do not support getDerivedStateFromProps.",d),sS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var v=mt(t)||"Unknown";uS[v]||(C("%s: Function components do not support contextType.",v),uS[v]=!0)}}}var vS={dehydrated:null,treeContext:null,retryLane:dt};function mS(e){return{baseLanes:e,cachePool:lx(),transitions:null}}function yx(e,t){var i=null;return{baseLanes:Ze(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function gx(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return kg(e,Cp)}function Sx(e,t){return iu(e.childLanes,t)}function E0(e,t,i){var a=t.pendingProps;_D(t)&&(t.flags|=We);var o=Ua.current,s=!1,d=(t.flags&We)!==ze;if(d||gx(o,e)?(s=!0,t.flags&=~We):(e===null||e.memoizedState!==null)&&(o=Bb(o,NE)),o=Rf(o),Du(t,o),e===null){qy(t);var v=t.memoizedState;if(v!==null){var m=v.dehydrated;if(m!==null)return bx(t,m)}var E=a.children,w=a.fallback;if(s){var O=Cx(t,E,w,i),k=t.child;return k.memoizedState=mS(i),t.memoizedState=vS,O}else return yS(t,E)}else{var U=e.memoizedState;if(U!==null){var H=U.dehydrated;if(H!==null)return xx(e,t,d,a,H,U,i)}if(s){var P=a.fallback,me=a.children,Ue=Rx(e,t,me,P,i),Me=t.child,ht=e.child.memoizedState;return Me.memoizedState=ht===null?mS(i):yx(ht,i),Me.childLanes=Sx(e,i),t.memoizedState=vS,Ue}else{var ot=a.children,A=Ex(e,t,ot,i);return t.memoizedState=null,A}}}function yS(e,t,i){var a=e.mode,o={mode:"visible",children:t},s=gS(o,a);return s.return=e,e.child=s,s}function Cx(e,t,i,a){var o=e.mode,s=e.child,d={mode:"hidden",children:t},v,m;return(o&rt)===He&&s!==null?(v=s,v.childLanes=W,v.pendingProps=d,e.mode&je&&(v.actualDuration=0,v.actualStartTime=-1,v.selfBaseDuration=0,v.treeBaseDuration=0),m=zu(i,o,a,null)):(v=gS(d,o),m=zu(i,o,a,null)),v.return=e,m.return=e,v.sibling=m,e.child=v,m}function gS(e,t,i){return RR(e,t,W,null)}function R0(e,t){return Ps(e,t)}function Ex(e,t,i,a){var o=e.child,s=o.sibling,d=R0(o,{mode:"visible",children:i});if((t.mode&rt)===He&&(d.lanes=a),d.return=t,d.sibling=null,s!==null){var v=t.deletions;v===null?(t.deletions=[s],t.flags|=xt):v.push(s)}return t.child=d,d}function Rx(e,t,i,a,o){var s=t.mode,d=e.child,v=d.sibling,m={mode:"hidden",children:i},E;if((s&rt)===He&&t.child!==d){var w=t.child;E=w,E.childLanes=W,E.pendingProps=m,t.mode&je&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=d.selfBaseDuration,E.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else E=R0(d,m),E.subtreeFlags=d.subtreeFlags&Bn;var O;return v!==null?O=Ps(v,a):(O=zu(a,s,o,null),O.flags|=Yt),O.return=t,E.return=t,E.sibling=O,t.child=E,O}function hm(e,t,i,a){a!==null&&Zy(a),Cf(t,e.child,null,i);var o=t.pendingProps,s=o.children,d=yS(t,s);return d.flags|=Yt,t.memoizedState=null,d}function wx(e,t,i,a,o){var s=t.mode,d={mode:"visible",children:i},v=gS(d,s),m=zu(a,s,o,null);return m.flags|=Yt,v.return=t,m.return=t,v.sibling=m,t.child=v,(t.mode&rt)!==He&&Cf(t,e.child,null,o),m}function bx(e,t,i){return(e.mode&rt)===He?(C("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Be):Uy(t)?e.lanes=Jl:e.lanes=Fr,null}function xx(e,t,i,a,o,s,d){if(i)if(t.flags&cn){t.flags&=~cn;var A=iS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hm(e,t,d,A)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=We,null;var $=a.children,N=a.fallback,te=wx(e,t,$,N,d),ye=t.child;return ye.memoizedState=mS(d),t.memoizedState=vS,te}else{if(pb(),(t.mode&rt)===He)return hm(e,t,d,null);if(Uy(o)){var v,m,E;{var w=M1(o);v=w.digest,m=w.message,E=w.stack}var O;m?O=new Error(m):O=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var k=iS(O,v,E);return hm(e,t,d,k)}var U=Hr(d,e.childLanes);if(Ha||U){var H=xm();if(H!==null){var P=ry(H,d);if(P!==dt&&P!==s.retryLane){s.retryLane=P;var me=Vt;Ci(e,P),qn(H,e,P,me)}}VS();var Ue=iS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return hm(e,t,d,Ue)}else if(IC(o)){t.flags|=We,t.child=e.child;var Me=KT.bind(null,e);return O1(o,Me),null}else{mb(t,o,s.treeContext);var ht=a.children,ot=yS(t,ht);return ot.flags|=ci,ot}}}function w0(e,t,i){e.lanes=Ze(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=Ze(a.lanes,t)),rg(e.return,t,i)}function Tx(e,t,i){for(var a=t;a!==null;){if(a.tag===Ce){var o=a.memoizedState;o!==null&&w0(a,i,e)}else if(a.tag===Tt)w0(a,i,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function Dx(e){for(var t=e,i=null;t!==null;){var a=t.alternate;a!==null&&Gv(a)===null&&(i=t),t=t.sibling}return i}function _x(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!fS[e])if(fS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{C('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{C('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:C('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else C('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function kx(e,t){e!==void 0&&!pm[e]&&(e!=="collapsed"&&e!=="hidden"?(pm[e]=!0,C('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(pm[e]=!0,C('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function b0(e,t){{var i=st(e),a=!i&&typeof Li(e)=="function";if(i||a){var o=i?"array":"iterable";return C("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>",o,t,o),!1}}return!0}function Mx(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(st(e)){for(var i=0;i<e.length;i++)if(!b0(e[i],i))return}else{var a=Li(e);if(typeof a=="function"){var o=a.call(e);if(o)for(var s=o.next(),d=0;!s.done;s=o.next()){if(!b0(s.value,d))return;d++}}else C('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?',t)}}function SS(e,t,i,a,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=i,s.tailMode=o)}function x0(e,t,i){var a=t.pendingProps,o=a.revealOrder,s=a.tail,d=a.children;_x(o),kx(s,o),Mx(d,o),Zr(e,t,d,i);var v=Ua.current,m=kg(v,Cp);if(m)v=Mg(v,Cp),t.flags|=We;else{var E=e!==null&&(e.flags&We)!==ze;E&&Tx(t,t.child,i),v=Rf(v)}if(Du(t,v),(t.mode&rt)===He)t.memoizedState=null;else switch(o){case"forwards":{var w=Dx(t.child),O;w===null?(O=t.child,t.child=null):(O=w.sibling,w.sibling=null),SS(t,!1,O,w,s);break}case"backwards":{var k=null,U=t.child;for(t.child=null;U!==null;){var H=U.alternate;if(H!==null&&Gv(H)===null){t.child=U;break}var P=U.sibling;U.sibling=k,k=U,U=P}SS(t,!0,k,null,s);break}case"together":{SS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Ox(e,t,i){Tg(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=Cf(t,null,a,i):Zr(e,t,a,i),t.child}var T0=!1;function Lx(e,t,i){var a=t.type,o=a._context,s=t.pendingProps,d=t.memoizedProps,v=s.value;{"value"in s||T0||(T0=!0,C("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var m=t.type.propTypes;m&&La(m,s,"prop","Context.Provider")}if(pE(t,o,v),d!==null){var E=d.value;if(Re(E,v)){if(d.children===s.children&&!wv())return wo(e,t,i)}else Tb(t,o,i)}var w=s.children;return Zr(e,t,w,i),t.child}var D0=!1;function Ax(e,t,i){var a=t.type;a._context===void 0?a!==a.Consumer&&(D0||(D0=!0,C("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var o=t.pendingProps,s=o.children;typeof s!="function"&&C("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."),Sf(t,i);var d=Hn(a);ml(t);var v;return _p.current=t,kr(!0),v=s(d),kr(!1),Kl(),t.flags|=sl,Zr(e,t,v,i),t.child}function Mp(){Ha=!0}function vm(e,t){(t.mode&rt)===He&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Yt)}function wo(e,t,i){return e!==null&&(t.dependencies=e.dependencies),u0(),Pp(t.lanes),Hr(i,t.childLanes)?(Hb(e,t),t.child):null}function Nx(e,t,i){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===a.child)a.child=i;else{var o=a.child;if(o===null)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw new Error("Expected to find the previous sibling.");o.sibling=i}var s=a.deletions;return s===null?(a.deletions=[e],a.flags|=xt):s.push(e),i.flags|=Yt,i}}function CS(e,t){var i=e.lanes;return!!Hr(i,t)}function zx(e,t,i){switch(t.tag){case J:S0(t),t.stateNode,yf();break;case X:LE(t);break;case K:{var a=t.type;Dl(a)&&xv(t);break}case ae:Tg(t,t.stateNode.containerInfo);break;case it:{var o=t.memoizedProps.value,s=t.type._context;pE(t,s,o);break}case Oe:{var d=Hr(i,t.childLanes);d&&(t.flags|=qe);{var v=t.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}}break;case Ce:{var m=t.memoizedState;if(m!==null){if(m.dehydrated!==null)return Du(t,Rf(Ua.current)),t.flags|=We,null;var E=t.child,w=E.childLanes;if(Hr(i,w))return E0(e,t,i);Du(t,Rf(Ua.current));var O=wo(e,t,i);return O!==null?O.sibling:null}else Du(t,Rf(Ua.current));break}case Tt:{var k=(e.flags&We)!==ze,U=Hr(i,t.childLanes);if(k){if(U)return x0(e,t,i);t.flags|=We}var H=t.memoizedState;if(H!==null&&(H.rendering=null,H.tail=null,H.lastEffect=null),Du(t,Ua.current),U)break;return null}case Je:case ft:return t.lanes=W,m0(e,t,i)}return wo(e,t,i)}function _0(e,t,i){if(t._debugNeedsRemount&&e!==null)return Nx(e,t,KS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,o=t.pendingProps;if(a!==o||wv()||t.type!==e.type)Ha=!0;else{var s=CS(e,i);if(!s&&(t.flags&We)===ze)return Ha=!1,zx(e,t,i);(e.flags&is)!==ze?Ha=!0:Ha=!1}}else if(Ha=!1,dr()&&ob(t)){var d=t.index,v=ub();tE(t,v,d)}switch(t.lanes=W,t.tag){case ge:return mx(e,t,t.type,i);case Lt:{var m=t.elementType;return hx(e,t,m,i)}case B:{var E=t.type,w=t.pendingProps,O=t.elementType===E?w:za(E,w);return dS(e,t,E,O,i)}case K:{var k=t.type,U=t.pendingProps,H=t.elementType===k?U:za(k,U);return g0(e,t,k,H,i)}case J:return fx(e,t,i);case X:return dx(e,t,i);case le:return px(e,t);case Ce:return E0(e,t,i);case ae:return Ox(e,t,i);case xe:{var P=t.type,me=t.pendingProps,Ue=t.elementType===P?me:za(P,me);return p0(e,t,P,Ue,i)}case _e:return ux(e,t,i);case de:return sx(e,t,i);case Oe:return cx(e,t,i);case it:return Lx(e,t,i);case ct:return Ax(e,t,i);case Pe:{var Me=t.type,ht=t.pendingProps,ot=za(Me,ht);if(t.type!==t.elementType){var A=Me.propTypes;A&&La(A,ot,"prop",mt(Me))}return ot=za(Me.type,ot),h0(e,t,Me,ot,i)}case ke:return v0(e,t,t.type,t.pendingProps,i);case jt:{var $=t.type,N=t.pendingProps,te=t.elementType===$?N:za($,N);return vx(e,t,$,te,i)}case Tt:return x0(e,t,i);case Rn:break;case Je:return m0(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function _f(e){e.flags|=qe}function k0(e){e.flags|=Or,e.flags|=fd}var M0,ES,O0,L0;M0=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===X||o.tag===le)i1(e,o.stateNode);else if(o.tag!==ae){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===t)return;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},ES=function(e,t){},O0=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,v=Dg(),m=l1(d,i,s,a,o,v);t.updateQueue=m,m&&_f(t)}},L0=function(e,t,i,a){i!==a&&_f(t)};function Op(e,t){if(!dr())switch(e.tailMode){case"hidden":{for(var i=e.tail,a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.sibling=null;break}case"collapsed":{for(var o=e.tail,s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:s.sibling=null;break}}}function hr(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=W,a=ze;if(t){if((e.mode&je)!==He){for(var m=e.selfBaseDuration,E=e.child;E!==null;)i=Ze(i,Ze(E.lanes,E.childLanes)),a|=E.subtreeFlags&Bn,a|=E.flags&Bn,m+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=m}else for(var w=e.child;w!==null;)i=Ze(i,Ze(w.lanes,w.childLanes)),a|=w.subtreeFlags&Bn,a|=w.flags&Bn,w.return=e,w=w.sibling;e.subtreeFlags|=a}else{if((e.mode&je)!==He){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=Ze(i,Ze(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(var v=e.child;v!==null;)i=Ze(i,Ze(v.lanes,v.childLanes)),a|=v.subtreeFlags,a|=v.flags,v.return=e,v=v.sibling;e.subtreeFlags|=a}return e.childLanes=i,t}function Ux(e,t,i){if(Eb()&&(t.mode&rt)!==He&&(t.flags&We)===ze)return uE(t),yf(),t.flags|=cn|Yr|An,!1;var a=Mv(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Sb(t),hr(t),(t.mode&je)!==He){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(yf(),(t.flags&We)===ze&&(t.memoizedState=null),t.flags|=qe,hr(t),(t.mode&je)!==He){var d=i!==null;if(d){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else return sE(),!0}function A0(e,t,i){var a=t.pendingProps;switch(Gy(t),t.tag){case ge:case Lt:case ke:case B:case xe:case _e:case de:case Oe:case ct:case Pe:return hr(t),null;case K:{var o=t.type;return Dl(o)&&bv(t),hr(t),null}case J:{var s=t.stateNode;if(Ef(t),$y(t),Lg(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=Mv(t);if(d)_f(t);else if(e!==null){var v=e.memoizedState;(!v.isDehydrated||(t.flags&cn)!==ze)&&(t.flags|=si,sE())}}return ES(e,t),hr(t),null}case X:{_g(t);var m=OE(),E=t.type;if(e!==null&&t.stateNode!=null)O0(e,t,E,a,m),e.ref!==t.ref&&k0(t);else{if(!a){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return hr(t),null}var w=Dg(),O=Mv(t);if(O)yb(t,m,w)&&_f(t);else{var k=r1(E,a,m,w,t);M0(k,t,!1,!1),t.stateNode=k,a1(k,E,a,m)&&_f(t)}t.ref!==null&&k0(t)}return hr(t),null}case le:{var U=a;if(e&&t.stateNode!=null){var H=e.memoizedProps;L0(e,t,H,U)}else{if(typeof U!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var P=OE(),me=Dg(),Ue=Mv(t);Ue?gb(t)&&_f(t):t.stateNode=o1(U,P,me,t)}return hr(t),null}case Ce:{wf(t);var Me=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var ht=Ux(e,t,Me);if(!ht)return t.flags&An?t:null}if((t.flags&We)!==ze)return t.lanes=i,(t.mode&je)!==He&&rS(t),t;var ot=Me!==null,A=e!==null&&e.memoizedState!==null;if(ot!==A&&ot){var $=t.child;if($.flags|=cl,(t.mode&rt)!==He){var N=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Q);N||kg(Ua.current,NE)?FT():VS()}}var te=t.updateQueue;if(te!==null&&(t.flags|=qe),hr(t),(t.mode&je)!==He&&ot){var ye=t.child;ye!==null&&(t.treeBaseDuration-=ye.treeBaseDuration)}return null}case ae:return Ef(t),ES(e,t),e===null&&eb(t.stateNode.containerInfo),hr(t),null;case it:var fe=t.type._context;return ng(fe,t),hr(t),null;case jt:{var $e=t.type;return Dl($e)&&bv(t),hr(t),null}case Tt:{wf(t);var Xe=t.memoizedState;if(Xe===null)return hr(t),null;var zt=(t.flags&We)!==ze,Rt=Xe.rendering;if(Rt===null)if(zt)Op(Xe,!1);else{var kn=VT()&&(e===null||(e.flags&We)===ze);if(!kn)for(var wt=t.child;wt!==null;){var En=Gv(wt);if(En!==null){zt=!0,t.flags|=We,Op(Xe,!1);var Pr=En.updateQueue;return Pr!==null&&(t.updateQueue=Pr,t.flags|=qe),t.subtreeFlags=ze,Vb(t,i),Du(t,Mg(Ua.current,Cp)),t.child}wt=wt.sibling}Xe.tail!==null&&rn()>eR()&&(t.flags|=We,zt=!0,Op(Xe,!1),t.lanes=bd)}else{if(!zt){var Sr=Gv(Rt);if(Sr!==null){t.flags|=We,zt=!0;var $i=Sr.updateQueue;if($i!==null&&(t.updateQueue=$i,t.flags|=qe),Op(Xe,!0),Xe.tail===null&&Xe.tailMode==="hidden"&&!Rt.alternate&&!dr())return hr(t),null}else rn()*2-Xe.renderingStartTime>eR()&&i!==Fr&&(t.flags|=We,zt=!0,Op(Xe,!1),t.lanes=bd)}if(Xe.isBackwards)Rt.sibling=t.child,t.child=Rt;else{var ti=Xe.last;ti!==null?ti.sibling=Rt:t.child=Rt,Xe.last=Rt}}if(Xe.tail!==null){var ni=Xe.tail;Xe.rendering=ni,Xe.tail=ni.sibling,Xe.renderingStartTime=rn(),ni.sibling=null;var $r=Ua.current;return zt?$r=Mg($r,Cp):$r=Rf($r),Du(t,$r),ni}return hr(t),null}case Rn:break;case Je:case ft:{HS(t);var _o=t.memoizedState,Uf=_o!==null;if(e!==null){var Gp=e.memoizedState,zl=Gp!==null;zl!==Uf&&!D&&(t.flags|=cl)}return!Uf||(t.mode&rt)===He?hr(t):Hr(Nl,Fr)&&(hr(t),t.subtreeFlags&(Yt|qe)&&(t.flags|=cl)),null}case qt:return null;case bt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Fx(e,t,i){switch(Gy(t),t.tag){case K:{var a=t.type;Dl(a)&&bv(t);var o=t.flags;return o&An?(t.flags=o&~An|We,(t.mode&je)!==He&&rS(t),t):null}case J:{t.stateNode,Ef(t),$y(t),Lg();var s=t.flags;return(s&An)!==ze&&(s&We)===ze?(t.flags=s&~An|We,t):null}case X:return _g(t),null;case Ce:{wf(t);var d=t.memoizedState;if(d!==null&&d.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");yf()}var v=t.flags;return v&An?(t.flags=v&~An|We,(t.mode&je)!==He&&rS(t),t):null}case Tt:return wf(t),null;case ae:return Ef(t),null;case it:var m=t.type._context;return ng(m,t),null;case Je:case ft:return HS(t),null;case qt:return null;default:return null}}function N0(e,t,i){switch(Gy(t),t.tag){case K:{var a=t.type.childContextTypes;a!=null&&bv(t);break}case J:{t.stateNode,Ef(t),$y(t),Lg();break}case X:{_g(t);break}case ae:Ef(t);break;case Ce:wf(t);break;case Tt:wf(t);break;case it:var o=t.type._context;ng(o,t);break;case Je:case ft:HS(t);break}}var z0=null;z0=new Set;var mm=!1,vr=!1,Hx=typeof WeakSet=="function"?WeakSet:Set,we=null,kf=null,Mf=null;function Vx(e){Ql(null,function(){throw e}),sd()}var jx=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&je)try{Ll(),t.componentWillUnmount()}finally{Ol(e)}else t.componentWillUnmount()};function U0(e,t){try{Mu(Wn,e)}catch(i){Kt(e,t,i)}}function RS(e,t,i){try{jx(e,i)}catch(a){Kt(e,t,a)}}function Bx(e,t,i){try{i.componentDidMount()}catch(a){Kt(e,t,a)}}function F0(e,t){try{V0(e)}catch(i){Kt(e,t,i)}}function Of(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var a;try{if(at&&St&&e.mode&je)try{Ll(),a=i(null)}finally{Ol(e)}else a=i(null)}catch(o){Kt(e,t,o)}typeof a=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ge(e))}else i.current=null}function ym(e,t,i){try{i()}catch(a){Kt(e,t,a)}}var H0=!1;function Px(e,t){t1(e.containerInfo),we=t,$x();var i=H0;return H0=!1,i}function $x(){for(;we!==null;){var e=we,t=e.child;(e.subtreeFlags&Ko)!==ze&&t!==null?(t.return=e,we=t):Ix()}}function Ix(){for(;we!==null;){var e=we;Dt(e);try{Wx(e)}catch(i){Kt(e,e.return,i)}sn();var t=e.sibling;if(t!==null){t.return=e.return,we=t;return}we=e.return}}function Wx(e){var t=e.alternate,i=e.flags;if((i&si)!==ze){switch(Dt(e),e.tag){case B:case xe:case ke:break;case K:{if(t!==null){var a=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Fs&&(s.props!==e.memoizedProps&&C("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.",Ge(e)||"instance"),s.state!==e.memoizedState&&C("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.",Ge(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?a:za(e.type,a),o);{var v=z0;d===void 0&&!v.has(e.type)&&(v.add(e.type),C("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ge(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case J:{{var m=e.stateNode;T1(m.containerInfo)}break}case X:case le:case ae:case jt:break;default:throw new 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.")}sn()}}function Va(e,t,i){var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var s=o.next,d=s;do{if((d.tag&e)===e){var v=d.destroy;d.destroy=void 0,v!==void 0&&((e&pr)!==Ei?Sc(t):(e&Wn)!==Ei&&Cc(t),(e&_l)!==Ei&&Ip(!0),ym(t,i,v),(e&_l)!==Ei&&Ip(!1),(e&pr)!==Ei?kh():(e&Wn)!==Ei&&qo())}d=d.next}while(d!==s)}}function Mu(e,t){var i=t.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var o=a.next,s=o;do{if((s.tag&e)===e){(e&pr)!==Ei?_h(t):(e&Wn)!==Ei&&Mh(t);var d=s.create;(e&_l)!==Ei&&Ip(!0),s.destroy=d(),(e&_l)!==Ei&&Ip(!1),(e&pr)!==Ei?Ed():(e&Wn)!==Ei&&Oh();{var v=s.destroy;if(v!==void 0&&typeof v!="function"){var m=void 0;(s.tag&Wn)!==ze?m="useLayoutEffect":(s.tag&_l)!==ze?m="useInsertionEffect":m="useEffect";var E=void 0;v===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof v.then=="function"?E=`
185
+
186
+ It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
187
+
188
+ `+m+`(() => {
189
+ async function fetchData() {
190
+ // You can await here
191
+ const response = await MyAPI.getData(someId);
192
+ // ...
193
+ }
194
+ fetchData();
195
+ }, [someId]); // Or [] if effect doesn't need props or state
196
+
197
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+v,C("%s must not return anything besides a function, which is used for clean-up.%s",m,E)}}}s=s.next}while(s!==o)}}function Yx(e,t){if((t.flags&qe)!==ze)switch(t.tag){case Oe:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=l0(),v=t.alternate===null?"mount":"update";a0()&&(v="nested-update"),typeof s=="function"&&s(o,v,i,d);var m=t.return;e:for(;m!==null;){switch(m.tag){case J:var E=m.stateNode;E.passiveEffectDuration+=i;break e;case Oe:var w=m.stateNode;w.passiveEffectDuration+=i;break e}m=m.return}break}}}function Gx(e,t,i,a){if((i.flags&er)!==ze)switch(i.tag){case B:case xe:case ke:{if(!vr)if(i.mode&je)try{Ll(),Mu(Wn|In,i)}finally{Ol(i)}else Mu(Wn|In,i);break}case K:{var o=i.stateNode;if(i.flags&qe&&!vr)if(t===null)if(i.type===i.elementType&&!Fs&&(o.props!==i.memoizedProps&&C("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.",Ge(i)||"instance"),o.state!==i.memoizedState&&C("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.",Ge(i)||"instance")),i.mode&je)try{Ll(),o.componentDidMount()}finally{Ol(i)}else o.componentDidMount();else{var s=i.elementType===i.type?t.memoizedProps:za(i.type,t.memoizedProps),d=t.memoizedState;if(i.type===i.elementType&&!Fs&&(o.props!==i.memoizedProps&&C("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.",Ge(i)||"instance"),o.state!==i.memoizedState&&C("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.",Ge(i)||"instance")),i.mode&je)try{Ll(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{Ol(i)}else o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}var v=i.updateQueue;v!==null&&(i.type===i.elementType&&!Fs&&(o.props!==i.memoizedProps&&C("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.",Ge(i)||"instance"),o.state!==i.memoizedState&&C("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.",Ge(i)||"instance")),SE(i,v,o));break}case J:{var m=i.updateQueue;if(m!==null){var E=null;if(i.child!==null)switch(i.child.tag){case X:E=i.child.stateNode;break;case K:E=i.child.stateNode;break}SE(i,m,E)}break}case X:{var w=i.stateNode;if(t===null&&i.flags&qe){var O=i.type,k=i.memoizedProps;d1(w,O,k)}break}case le:break;case ae:break;case Oe:{{var U=i.memoizedProps,H=U.onCommit,P=U.onRender,me=i.stateNode.effectDuration,Ue=l0(),Me=t===null?"mount":"update";a0()&&(Me="nested-update"),typeof P=="function"&&P(i.memoizedProps.id,Me,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Ue);{typeof H=="function"&&H(i.memoizedProps.id,Me,me,Ue),IT(i);var ht=i.return;e:for(;ht!==null;){switch(ht.tag){case J:var ot=ht.stateNode;ot.effectDuration+=me;break e;case Oe:var A=ht.stateNode;A.effectDuration+=me;break e}ht=ht.return}}}break}case Ce:{tT(e,i);break}case Tt:case jt:case Rn:case Je:case ft:case bt:break;default:throw new 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.")}vr||i.flags&Or&&V0(i)}function Qx(e){switch(e.tag){case B:case xe:case ke:{if(e.mode&je)try{Ll(),U0(e,e.return)}finally{Ol(e)}else U0(e,e.return);break}case K:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Bx(e,e.return,t),F0(e,e.return);break}case X:{F0(e,e.return);break}}}function Xx(e,t){for(var i=null,a=e;;){if(a.tag===X){if(i===null){i=a;try{var o=a.stateNode;t?R1(o):b1(a.stateNode,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}}else if(a.tag===le){if(i===null)try{var s=a.stateNode;t?w1(s):x1(s,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}else if(!((a.tag===Je||a.tag===ft)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}}function V0(e){var t=e.ref;if(t!==null){var i=e.stateNode,a;switch(e.tag){case X:a=i;break;default:a=i}if(typeof t=="function"){var o;if(e.mode&je)try{Ll(),o=t(a)}finally{Ol(e)}else o=t(a);typeof o=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ge(e))}else t.hasOwnProperty("current")||C("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ge(e)),t.current=a}}function Kx(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function j0(e){var t=e.alternate;t!==null&&(e.alternate=null,j0(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===X){var i=e.stateNode;i!==null&&rb(i)}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 qx(e){for(var t=e.return;t!==null;){if(B0(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function B0(e){return e.tag===X||e.tag===J||e.tag===ae}function P0(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||B0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==X&&t.tag!==le&&t.tag!==Bt;){if(t.flags&Yt||t.child===null||t.tag===ae)continue e;t.child.return=t,t=t.child}if(!(t.flags&Yt))return t.stateNode}}function Zx(e){var t=qx(e);switch(t.tag){case X:{var i=t.stateNode;t.flags&_t&&($C(i),t.flags&=~_t);var a=P0(e);bS(e,a,i);break}case J:case ae:{var o=t.stateNode.containerInfo,s=P0(e);wS(e,s,o);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wS(e,t,i){var a=e.tag,o=a===X||a===le;if(o){var s=e.stateNode;t?g1(i,s,t):m1(i,s)}else if(a!==ae){var d=e.child;if(d!==null){wS(d,t,i);for(var v=d.sibling;v!==null;)wS(v,t,i),v=v.sibling}}}function bS(e,t,i){var a=e.tag,o=a===X||a===le;if(o){var s=e.stateNode;t?y1(i,s,t):v1(i,s)}else if(a!==ae){var d=e.child;if(d!==null){bS(d,t,i);for(var v=d.sibling;v!==null;)bS(v,t,i),v=v.sibling}}}var mr=null,ja=!1;function Jx(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case X:{mr=a.stateNode,ja=!1;break e}case J:{mr=a.stateNode.containerInfo,ja=!0;break e}case ae:{mr=a.stateNode.containerInfo,ja=!0;break e}}a=a.return}if(mr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");$0(e,t,i),mr=null,ja=!1}Kx(i)}function Ou(e,t,i){for(var a=i.child;a!==null;)$0(e,t,a),a=a.sibling}function $0(e,t,i){switch(Sd(i),i.tag){case X:vr||Of(i,t);case le:{{var a=mr,o=ja;mr=null,Ou(e,t,i),mr=a,ja=o,mr!==null&&(ja?C1(mr,i.stateNode):S1(mr,i.stateNode))}return}case Bt:{mr!==null&&(ja?E1(mr,i.stateNode):zy(mr,i.stateNode));return}case ae:{{var s=mr,d=ja;mr=i.stateNode.containerInfo,ja=!0,Ou(e,t,i),mr=s,ja=d}return}case B:case xe:case Pe:case ke:{if(!vr){var v=i.updateQueue;if(v!==null){var m=v.lastEffect;if(m!==null){var E=m.next,w=E;do{var O=w,k=O.destroy,U=O.tag;k!==void 0&&((U&_l)!==Ei?ym(i,t,k):(U&Wn)!==Ei&&(Cc(i),i.mode&je?(Ll(),ym(i,t,k),Ol(i)):ym(i,t,k),qo())),w=w.next}while(w!==E)}}}Ou(e,t,i);return}case K:{if(!vr){Of(i,t);var H=i.stateNode;typeof H.componentWillUnmount=="function"&&RS(i,t,H)}Ou(e,t,i);return}case Rn:{Ou(e,t,i);return}case Je:{if(i.mode&rt){var P=vr;vr=P||i.memoizedState!==null,Ou(e,t,i),vr=P}else Ou(e,t,i);break}default:{Ou(e,t,i);return}}}function eT(e){e.memoizedState}function tT(e,t){var i=t.memoizedState;if(i===null){var a=t.alternate;if(a!==null){var o=a.memoizedState;if(o!==null){var s=o.dehydrated;s!==null&&j1(s)}}}}function I0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Hx),t.forEach(function(a){var o=qT.bind(null,e,a);if(!i.has(a)){if(i.add(a),Pn)if(kf!==null&&Mf!==null)$p(Mf,kf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(o,o)}})}}function nT(e,t,i){kf=i,Mf=e,Dt(t),W0(t,e),Dt(t),kf=null,Mf=null}function Ba(e,t,i){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];try{Jx(e,t,s)}catch(m){Kt(s,t,m)}}var d=qs();if(t.subtreeFlags&Nr)for(var v=t.child;v!==null;)Dt(v),W0(v,e),v=v.sibling;Dt(d)}function W0(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case B:case xe:case Pe:case ke:{if(Ba(t,e),Al(e),o&qe){try{Va(_l|In,e,e.return),Mu(_l|In,e)}catch($e){Kt(e,e.return,$e)}if(e.mode&je){try{Ll(),Va(Wn|In,e,e.return)}catch($e){Kt(e,e.return,$e)}Ol(e)}else try{Va(Wn|In,e,e.return)}catch($e){Kt(e,e.return,$e)}}return}case K:{Ba(t,e),Al(e),o&Or&&a!==null&&Of(a,a.return);return}case X:{Ba(t,e),Al(e),o&Or&&a!==null&&Of(a,a.return);{if(e.flags&_t){var s=e.stateNode;try{$C(s)}catch($e){Kt(e,e.return,$e)}}if(o&qe){var d=e.stateNode;if(d!=null){var v=e.memoizedProps,m=a!==null?a.memoizedProps:v,E=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{p1(d,w,E,m,v,e)}catch($e){Kt(e,e.return,$e)}}}}return}case le:{if(Ba(t,e),Al(e),o&qe){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var O=e.stateNode,k=e.memoizedProps,U=a!==null?a.memoizedProps:k;try{h1(O,U,k)}catch($e){Kt(e,e.return,$e)}}return}case J:{if(Ba(t,e),Al(e),o&qe&&a!==null){var H=a.memoizedState;if(H.isDehydrated)try{V1(t.containerInfo)}catch($e){Kt(e,e.return,$e)}}return}case ae:{Ba(t,e),Al(e);return}case Ce:{Ba(t,e),Al(e);var P=e.child;if(P.flags&cl){var me=P.stateNode,Ue=P.memoizedState,Me=Ue!==null;if(me.isHidden=Me,Me){var ht=P.alternate!==null&&P.alternate.memoizedState!==null;ht||UT()}}if(o&qe){try{eT(e)}catch($e){Kt(e,e.return,$e)}I0(e)}return}case Je:{var ot=a!==null&&a.memoizedState!==null;if(e.mode&rt){var A=vr;vr=A||ot,Ba(t,e),vr=A}else Ba(t,e);if(Al(e),o&cl){var $=e.stateNode,N=e.memoizedState,te=N!==null,ye=e;if($.isHidden=te,te&&!ot&&(ye.mode&rt)!==He){we=ye;for(var fe=ye.child;fe!==null;)we=fe,iT(fe),fe=fe.sibling}Xx(ye,te)}return}case Tt:{Ba(t,e),Al(e),o&qe&&I0(e);return}case Rn:return;default:{Ba(t,e),Al(e);return}}}function Al(e){var t=e.flags;if(t&Yt){try{Zx(e)}catch(i){Kt(e,e.return,i)}e.flags&=~Yt}t&ci&&(e.flags&=~ci)}function rT(e,t,i){kf=i,Mf=t,we=e,Y0(e,t,i),kf=null,Mf=null}function Y0(e,t,i){for(var a=(e.mode&rt)!==He;we!==null;){var o=we,s=o.child;if(o.tag===Je&&a){var d=o.memoizedState!==null,v=d||mm;if(v){xS(e,t,i);continue}else{var m=o.alternate,E=m!==null&&m.memoizedState!==null,w=E||vr,O=mm,k=vr;mm=v,vr=w,vr&&!k&&(we=o,aT(o));for(var U=s;U!==null;)we=U,Y0(U,t,i),U=U.sibling;we=o,mm=O,vr=k,xS(e,t,i);continue}}(o.subtreeFlags&er)!==ze&&s!==null?(s.return=o,we=s):xS(e,t,i)}}function xS(e,t,i){for(;we!==null;){var a=we;if((a.flags&er)!==ze){var o=a.alternate;Dt(a);try{Gx(t,o,a,i)}catch(d){Kt(a,a.return,d)}sn()}if(a===e){we=null;return}var s=a.sibling;if(s!==null){s.return=a.return,we=s;return}we=a.return}}function iT(e){for(;we!==null;){var t=we,i=t.child;switch(t.tag){case B:case xe:case Pe:case ke:{if(t.mode&je)try{Ll(),Va(Wn,t,t.return)}finally{Ol(t)}else Va(Wn,t,t.return);break}case K:{Of(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&RS(t,t.return,a);break}case X:{Of(t,t.return);break}case Je:{var o=t.memoizedState!==null;if(o){G0(e);continue}break}}i!==null?(i.return=t,we=i):G0(e)}}function G0(e){for(;we!==null;){var t=we;if(t===e){we=null;return}var i=t.sibling;if(i!==null){i.return=t.return,we=i;return}we=t.return}}function aT(e){for(;we!==null;){var t=we,i=t.child;if(t.tag===Je){var a=t.memoizedState!==null;if(a){Q0(e);continue}}i!==null?(i.return=t,we=i):Q0(e)}}function Q0(e){for(;we!==null;){var t=we;Dt(t);try{Qx(t)}catch(a){Kt(t,t.return,a)}if(sn(),t===e){we=null;return}var i=t.sibling;if(i!==null){i.return=t.return,we=i;return}we=t.return}}function lT(e,t,i,a){we=t,oT(t,e,i,a)}function oT(e,t,i,a){for(;we!==null;){var o=we,s=o.child;(o.subtreeFlags&fi)!==ze&&s!==null?(s.return=o,we=s):uT(e,t,i,a)}}function uT(e,t,i,a){for(;we!==null;){var o=we;if((o.flags&Jt)!==ze){Dt(o);try{sT(t,o,i,a)}catch(d){Kt(o,o.return,d)}sn()}if(o===e){we=null;return}var s=o.sibling;if(s!==null){s.return=o.return,we=s;return}we=o.return}}function sT(e,t,i,a){switch(t.tag){case B:case xe:case ke:{if(t.mode&je){nS();try{Mu(pr|In,t)}finally{tS(t)}}else Mu(pr|In,t);break}}}function cT(e){we=e,fT()}function fT(){for(;we!==null;){var e=we,t=e.child;if((we.flags&xt)!==ze){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];we=o,hT(o,e)}{var s=e.alternate;if(s!==null){var d=s.child;if(d!==null){s.child=null;do{var v=d.sibling;d.sibling=null,d=v}while(d!==null)}}}we=e}}(e.subtreeFlags&fi)!==ze&&t!==null?(t.return=e,we=t):dT()}}function dT(){for(;we!==null;){var e=we;(e.flags&Jt)!==ze&&(Dt(e),pT(e),sn());var t=e.sibling;if(t!==null){t.return=e.return,we=t;return}we=e.return}}function pT(e){switch(e.tag){case B:case xe:case ke:{e.mode&je?(nS(),Va(pr|In,e,e.return),tS(e)):Va(pr|In,e,e.return);break}}}function hT(e,t){for(;we!==null;){var i=we;Dt(i),mT(i,t),sn();var a=i.child;a!==null?(a.return=i,we=a):vT(e)}}function vT(e){for(;we!==null;){var t=we,i=t.sibling,a=t.return;if(j0(t),t===e){we=null;return}if(i!==null){i.return=a,we=i;return}we=a}}function mT(e,t){switch(e.tag){case B:case xe:case ke:{e.mode&je?(nS(),Va(pr,e,t),tS(e)):Va(pr,e,t);break}}}function yT(e){switch(e.tag){case B:case xe:case ke:{try{Mu(Wn|In,e)}catch(i){Kt(e,e.return,i)}break}case K:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Kt(e,e.return,i)}break}}}function gT(e){switch(e.tag){case B:case xe:case ke:{try{Mu(pr|In,e)}catch(t){Kt(e,e.return,t)}break}}}function ST(e){switch(e.tag){case B:case xe:case ke:{try{Va(Wn|In,e,e.return)}catch(i){Kt(e,e.return,i)}break}case K:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&RS(e,e.return,t);break}}}function CT(e){switch(e.tag){case B:case xe:case ke:try{Va(pr|In,e,e.return)}catch(t){Kt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Lp=Symbol.for;Lp("selector.component"),Lp("selector.has_pseudo_class"),Lp("selector.role"),Lp("selector.test_id"),Lp("selector.text")}var ET=[];function RT(){ET.forEach(function(e){return e()})}var wT=p.ReactCurrentActQueue;function bT(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function X0(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&wT.current!==null&&C("The current testing environment is not configured to support act(...)"),e}}var xT=Math.ceil,TS=p.ReactCurrentDispatcher,DS=p.ReactCurrentOwner,yr=p.ReactCurrentBatchConfig,Pa=p.ReactCurrentActQueue,Qn=0,K0=1,gr=2,sa=4,bo=0,Ap=1,Hs=2,gm=3,Np=4,q0=5,_S=6,pt=Qn,Jr=null,yn=null,Xn=W,Nl=W,kS=Eu(W),Kn=bo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,Ri=null,MS=0,Z0=500,J0=1/0,TT=500,xo=null;function Hp(){J0=rn()+TT}function eR(){return J0}var Em=!1,OS=null,Lf=null,Vs=!1,Lu=null,Vp=W,LS=[],AS=null,DT=50,jp=0,NS=null,zS=!1,Rm=!1,_T=50,Af=0,wm=null,Bp=Vt,bm=W,tR=!1;function xm(){return Jr}function ei(){return(pt&(gr|sa))!==Qn?rn():(Bp!==Vt||(Bp=rn()),Bp)}function Au(e){var t=e.mode;if((t&rt)===He)return Be;if((pt&gr)!==Qn&&Xn!==W)return xn(Xn);var i=bb()!==wb;if(i){if(yr.transition!==null){var a=yr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return bm===dt&&(bm=Dd()),bm}var o=vi();if(o!==dt)return o;var s=u1();return s}function kT(e){var t=e.mode;return(t&rt)===He?Be:ny()}function qn(e,t,i,a){JT(),tR&&C("useInsertionEffect must not schedule updates."),zS&&(Rm=!0),lo(e,i,a),(pt&gr)!==W&&e===Jr?nD(t):(Pn&&Ld(e,t,i),rD(t),e===Jr&&((pt&gr)===Qn&&(Up=Ze(Up,i)),Kn===Np&&Nu(e,Xn)),wi(e,a),i===Be&&pt===Qn&&(t.mode&rt)===He&&!Pa.isBatchingLegacy&&(Hp(),eE()))}function MT(e,t,i){var a=e.current;a.lanes=t,lo(e,t,i),wi(e,i)}function OT(e){return(pt&gr)!==Qn}function wi(e,t){var i=e.callbackNode;Jm(e,t);var a=cs(e,e===Jr?Xn:W);if(a===W){i!==null&&yR(i),e.callbackNode=null,e.callbackPriority=dt;return}var o=Sn(a),s=e.callbackPriority;if(s===o&&!(Pa.current!==null&&i!==PS)){i==null&&s!==Be&&C("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&yR(i);var d;if(o===Be)e.tag===Ru?(Pa.isBatchingLegacy!==null&&(Pa.didScheduleLegacyUpdate=!0),lb(iR.bind(null,e))):JC(iR.bind(null,e)),Pa.current!==null?Pa.current.push(wu):c1(function(){(pt&(gr|sa))===Qn&&wu()}),d=null;else{var v;switch(vs(a)){case tr:v=mc;break;case $n:v=Xr;break;case Da:v=Ji;break;case ps:v=dl;break;default:v=Ji;break}d=$S(v,nR.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function nR(e,t){if(Jb(),Bp=Vt,bm=W,(pt&(gr|sa))!==Qn)throw new Error("Should not already be working.");var i=e.callbackNode,a=Do();if(a&&e.callbackNode!==i)return null;var o=cs(e,e===Jr?Xn:W);if(o===W)return null;var s=!ds(e,o)&&!Fh(e,o)&&!t,d=s?BT(e,o):Dm(e,o);if(d!==bo){if(d===Hs){var v=xd(e);v!==W&&(o=v,d=US(e,v))}if(d===Ap){var m=zp;throw js(e,W),Nu(e,o),wi(e,rn()),m}if(d===_S)Nu(e,o);else{var E=!ds(e,o),w=e.current.alternate;if(E&&!AT(w)){if(d=Dm(e,o),d===Hs){var O=xd(e);O!==W&&(o=O,d=US(e,O))}if(d===Ap){var k=zp;throw js(e,W),Nu(e,o),wi(e,rn()),k}}e.finishedWork=w,e.finishedLanes=o,LT(e,d,o)}}return wi(e,rn()),e.callbackNode===i?nR.bind(null,e):null}function US(e,t){var i=Fp;if(Dn(e)){var a=js(e,t);a.flags|=cn,J1(e.containerInfo)}var o=Dm(e,t);if(o!==Hs){var s=Ri;Ri=i,s!==null&&rR(s)}return o}function rR(e){Ri===null?Ri=e:Ri.push.apply(Ri,e)}function LT(e,t,i){switch(t){case bo:case Ap:throw new Error("Root did not complete. This is a bug in React.");case Hs:{Bs(e,Ri,xo);break}case gm:{if(Nu(e,i),jc(i)&&!gR()){var a=MS+Z0-rn();if(a>10){var o=cs(e,W);if(o!==W)break;var s=e.suspendedLanes;if(!ao(s,i)){ei(),Md(e,s);break}e.timeoutHandle=Ay(Bs.bind(null,e,Ri,xo),a);break}}Bs(e,Ri,xo);break}case Np:{if(Nu(e,i),Uh(i))break;if(!gR()){var d=zh(e,i),v=d,m=rn()-v,E=ZT(m)-m;if(E>10){e.timeoutHandle=Ay(Bs.bind(null,e,Ri,xo),E);break}}Bs(e,Ri,xo);break}case q0:{Bs(e,Ri,xo);break}default:throw new Error("Unknown root exit status.")}}function AT(e){for(var t=e;;){if(t.flags&rs){var i=t.updateQueue;if(i!==null){var a=i.stores;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.getSnapshot,v=s.value;try{if(!Re(d(),v))return!1}catch{return!1}}}}var m=t.child;if(t.subtreeFlags&rs&&m!==null){m.return=t,t=m;continue}if(t===e)return!0;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 Nu(e,t){t=iu(t,Cm),t=iu(t,Up),kd(e,t)}function iR(e){if(ex(),(pt&(gr|sa))!==Qn)throw new Error("Should not already be working.");Do();var t=cs(e,W);if(!Hr(t,Be))return wi(e,rn()),null;var i=Dm(e,t);if(e.tag!==Ru&&i===Hs){var a=xd(e);a!==W&&(t=a,i=US(e,a))}if(i===Ap){var o=zp;throw js(e,W),Nu(e,t),wi(e,rn()),o}if(i===_S)throw new Error("Root did not complete. This is a bug in React.");var s=e.current.alternate;return e.finishedWork=s,e.finishedLanes=t,Bs(e,Ri,xo),wi(e,rn()),null}function NT(e,t){t!==W&&(au(e,Ze(t,Be)),wi(e,rn()),(pt&(gr|sa))===Qn&&(Hp(),wu()))}function FS(e,t){var i=pt;pt|=K0;try{return e(t)}finally{pt=i,pt===Qn&&!Pa.isBatchingLegacy&&(Hp(),eE())}}function zT(e,t,i,a,o){var s=vi(),d=yr.transition;try{return yr.transition=null,Tn(tr),e(t,i,a,o)}finally{Tn(s),yr.transition=d,pt===Qn&&Hp()}}function To(e){Lu!==null&&Lu.tag===Ru&&(pt&(gr|sa))===Qn&&Do();var t=pt;pt|=K0;var i=yr.transition,a=vi();try{return yr.transition=null,Tn(tr),e?e():void 0}finally{Tn(a),yr.transition=i,pt=t,(pt&(gr|sa))===Qn&&wu()}}function aR(){return(pt&(gr|sa))!==Qn}function Tm(e,t){jr(kS,Nl,e),Nl=Ze(Nl,t)}function HS(e){Nl=kS.current,Vr(kS,e)}function js(e,t){e.finishedWork=null,e.finishedLanes=W;var i=e.timeoutHandle;if(i!==Ny&&(e.timeoutHandle=Ny,s1(i)),yn!==null)for(var a=yn.return;a!==null;){var o=a.alternate;N0(o,a),a=a.return}Jr=e;var s=Ps(e.current,null);return yn=s,Xn=Nl=t,Kn=bo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,Ri=null,_b(),Na.discardPendingWarnings(),s}function lR(e,t){do{var i=yn;try{if(Nv(),UE(),sn(),DS.current=null,i===null||i.return===null){Kn=Ap,zp=t,yn=null;return}if(at&&i.mode&je&&dm(i,!0),gt)if(Kl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Lh(i,a,Xn)}else Ec(i,t,Xn);ax(e,i.return,i,t,Xn),cR(i)}catch(o){t=o,yn===i&&i!==null?(i=i.return,yn=i):i=yn;continue}return}while(!0)}function oR(){var e=TS.current;return TS.current=om,e===null?om:e}function uR(e){TS.current=e}function UT(){MS=rn()}function Pp(e){Sm=Ze(e,Sm)}function FT(){Kn===bo&&(Kn=gm)}function VS(){(Kn===bo||Kn===gm||Kn===Hs)&&(Kn=Np),Jr!==null&&(fs(Sm)||fs(Up))&&Nu(Jr,Xn)}function HT(e){Kn!==Np&&(Kn=Hs),Fp===null?Fp=[e]:Fp.push(e)}function VT(){return Kn===bo}function Dm(e,t){var i=pt;pt|=gr;var a=oR();if(Jr!==e||Xn!==t){if(Pn){var o=e.memoizedUpdaters;o.size>0&&($p(e,Xn),o.clear()),$c(e,t)}xo=Ad(),js(e,t)}Vi(t);do try{jT();break}catch(s){lR(e,s)}while(!0);if(Nv(),pt=i,uR(a),yn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Jo(),Jr=null,Xn=W,Kn}function jT(){for(;yn!==null;)sR(yn)}function BT(e,t){var i=pt;pt|=gr;var a=oR();if(Jr!==e||Xn!==t){if(Pn){var o=e.memoizedUpdaters;o.size>0&&($p(e,Xn),o.clear()),$c(e,t)}xo=Ad(),Hp(),js(e,t)}Vi(t);do try{PT();break}catch(s){lR(e,s)}while(!0);return Nv(),uR(a),pt=i,yn!==null?(ls(),bo):(Jo(),Jr=null,Xn=W,Kn)}function PT(){for(;yn!==null&&!vc();)sR(yn)}function sR(e){var t=e.alternate;Dt(e);var i;(e.mode&je)!==He?(eS(e),i=jS(t,e,Nl),dm(e,!0)):i=jS(t,e,Nl),sn(),e.memoizedProps=e.pendingProps,i===null?cR(e):yn=i,DS.current=null}function cR(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Yr)===ze){Dt(t);var o=void 0;if((t.mode&je)===He?o=A0(i,t,Nl):(eS(t),o=A0(i,t,Nl),dm(t,!1)),sn(),o!==null){yn=o;return}}else{var s=Fx(i,t);if(s!==null){s.flags&=wh,yn=s;return}if((t.mode&je)!==He){dm(t,!1);for(var d=t.actualDuration,v=t.child;v!==null;)d+=v.actualDuration,v=v.sibling;t.actualDuration=d}if(a!==null)a.flags|=Yr,a.subtreeFlags=ze,a.deletions=null;else{Kn=_S,yn=null;return}}var m=t.sibling;if(m!==null){yn=m;return}t=a,yn=t}while(t!==null);Kn===bo&&(Kn=q0)}function Bs(e,t,i){var a=vi(),o=yr.transition;try{yr.transition=null,Tn(tr),$T(e,t,i,a)}finally{yr.transition=o,Tn(a)}return null}function $T(e,t,i,a){do Do();while(Lu!==null);if(eD(),(pt&(gr|sa))!==Qn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(gc(s),o===null)return Cd(),null;if(s===W&&C("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=W,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=dt;var d=Ze(o.lanes,o.childLanes);Od(e,d),e===Jr&&(Jr=null,yn=null,Xn=W),((o.subtreeFlags&fi)!==ze||(o.flags&fi)!==ze)&&(Vs||(Vs=!0,AS=i,$S(Ji,function(){return Do(),null})));var v=(o.subtreeFlags&(Ko|Nr|er|fi))!==ze,m=(o.flags&(Ko|Nr|er|fi))!==ze;if(v||m){var E=yr.transition;yr.transition=null;var w=vi();Tn(tr);var O=pt;pt|=sa,DS.current=null,Px(e,o),o0(),nT(e,o,s),n1(e.containerInfo),e.current=o,Ah(s),rT(o,e,s),Zo(),Th(),pt=O,Tn(w),yr.transition=E}else e.current=o,o0();var k=Vs;if(Vs?(Vs=!1,Lu=e,Vp=s):(Af=0,wm=null),d=e.pendingLanes,d===W&&(Lf=null),k||hR(e.current,!1),ba(o.stateNode,a),Pn&&e.memoizedUpdaters.clear(),RT(),wi(e,rn()),t!==null)for(var U=e.onRecoverableError,H=0;H<t.length;H++){var P=t[H],me=P.stack,Ue=P.digest;U(P.value,{componentStack:me,digest:Ue})}if(Em){Em=!1;var Me=OS;throw OS=null,Me}return Hr(Vp,Be)&&e.tag!==Ru&&Do(),d=e.pendingLanes,Hr(d,Be)?(Zb(),e===NS?jp++:(jp=0,NS=e)):jp=0,wu(),Cd(),null}function Do(){if(Lu!==null){var e=vs(Vp),t=iy(Da,e),i=yr.transition,a=vi();try{return yr.transition=null,Tn(t),WT()}finally{Tn(a),yr.transition=i}}return!1}function IT(e){LS.push(e),Vs||(Vs=!0,$S(Ji,function(){return Do(),null}))}function WT(){if(Lu===null)return!1;var e=AS;AS=null;var t=Lu,i=Vp;if(Lu=null,Vp=W,(pt&(gr|sa))!==Qn)throw new Error("Cannot flush passive effects while already rendering.");zS=!0,Rm=!1,Nh(i);var a=pt;pt|=sa,cT(t.current),lT(t,t.current,i,e);{var o=LS;LS=[];for(var s=0;s<o.length;s++){var d=o[s];Yx(t,d)}}as(),hR(t.current,!0),pt=a,wu(),Rm?t===wm?Af++:(Af=0,wm=t):Af=0,zS=!1,Rm=!1,hl(t);{var v=t.current.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}return!0}function fR(e){return Lf!==null&&Lf.has(e)}function YT(e){Lf===null?Lf=new Set([e]):Lf.add(e)}function GT(e){Em||(Em=!0,OS=e)}var QT=GT;function dR(e,t,i){var a=Us(i,t),o=s0(e,a,Be),s=xu(e,o,Be),d=ei();s!==null&&(lo(s,Be,d),wi(s,d))}function Kt(e,t,i){if(Vx(i),Ip(!1),e.tag===J){dR(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===J){dR(a,e,i);return}else if(a.tag===K){var o=a.type,s=a.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!fR(s)){var d=Us(i,e),v=lS(a,d,Be),m=xu(a,v,Be),E=ei();m!==null&&(lo(m,Be,E),wi(m,E));return}}a=a.return}C(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
198
+
199
+ Error message:
200
+
201
+ %s`,i)}function XT(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=ei();Md(e,i),iD(e),Jr===e&&ao(Xn,i)&&(Kn===Np||Kn===gm&&jc(Xn)&&rn()-MS<Z0?js(e,W):Cm=Ze(Cm,i)),wi(e,o)}function pR(e,t){t===dt&&(t=kT(e));var i=ei(),a=Ci(e,t);a!==null&&(lo(a,t,i),wi(a,i))}function KT(e){var t=e.memoizedState,i=dt;t!==null&&(i=t.retryLane),pR(e,i)}function qT(e,t){var i=dt,a;switch(e.tag){case Ce:a=e.stateNode;var o=e.memoizedState;o!==null&&(i=o.retryLane);break;case Tt:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),pR(e,i)}function ZT(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:xT(e/1960)*1960}function JT(){if(jp>DT)throw jp=0,NS=null,new 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.");Af>_T&&(Af=0,wm=null,C("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."))}function eD(){Na.flushLegacyContextWarning(),Na.flushPendingUnsafeLifecycleWarnings()}function hR(e,t){Dt(e),_m(e,Ar,ST),t&&_m(e,Xl,CT),_m(e,Ar,yT),t&&_m(e,Xl,gT),sn()}function _m(e,t,i){for(var a=e,o=null;a!==null;){var s=a.subtreeFlags&t;a!==o&&a.child!==null&&s!==ze?a=a.child:((a.flags&t)!==ze&&i(a),a.sibling!==null?a=a.sibling:a=o=a.return)}}var km=null;function vR(e){{if((pt&gr)!==Qn||!(e.mode&rt))return;var t=e.tag;if(t!==ge&&t!==J&&t!==K&&t!==B&&t!==xe&&t!==Pe&&t!==ke)return;var i=Ge(e)||"ReactComponent";if(km!==null){if(km.has(i))return;km.add(i)}else km=new Set([i]);var a=nn;try{Dt(e),C("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 later calls tries to update the component. Move this work to useEffect instead.")}finally{a?Dt(e):sn()}}}var jS;{var tD=null;jS=function(e,t,i){var a=wR(tD,t);try{return _0(e,t,i)}catch(s){if(hb()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(Nv(),UE(),N0(e,t),wR(t,a),t.mode&je&&eS(t),Ql(null,_0,null,e,t,i),qm()){var o=sd();typeof o=="object"&&o!==null&&o._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var mR=!1,BS;BS=new Set;function nD(e){if(_r&&!Xb())switch(e.tag){case B:case xe:case ke:{var t=yn&&Ge(yn)||"Unknown",i=t;if(!BS.has(i)){BS.add(i);var a=Ge(e)||"Unknown";C("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://reactjs.org/link/setstate-in-render",a,t,t)}break}case K:{mR||(C("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),mR=!0);break}}}function $p(e,t){if(Pn){var i=e.memoizedUpdaters;i.forEach(function(a){Ld(e,a,t)})}}var PS={};function $S(e,t){{var i=Pa.current;return i!==null?(i.push(t),PS):hc(e,t)}}function yR(e){if(e!==PS)return xh(e)}function gR(){return Pa.current!==null}function rD(e){{if(e.mode&rt){if(!X0())return}else if(!bT()||pt!==Qn||e.tag!==B&&e.tag!==xe&&e.tag!==ke)return;if(Pa.current===null){var t=nn;try{Dt(e),C(`An update to %s inside a test was not wrapped in act(...).
202
+
203
+ When testing, code that causes React state updates should be wrapped into act(...):
204
+
205
+ act(() => {
206
+ /* fire events that update state */
207
+ });
208
+ /* assert on the output */
209
+
210
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Ge(e))}finally{t?Dt(e):sn()}}}}function iD(e){e.tag!==Ru&&X0()&&Pa.current===null&&C(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
211
+
212
+ When testing, code that resolves suspended data should be wrapped into act(...):
213
+
214
+ act(() => {
215
+ /* finish loading suspended data */
216
+ });
217
+ /* assert on the output */
218
+
219
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Ip(e){tR=e}var ca=null,Nf=null,aD=function(e){ca=e};function zf(e){{if(ca===null)return e;var t=ca(e);return t===void 0?e:t.current}}function IS(e){return zf(e)}function WS(e){{if(ca===null)return e;var t=ca(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=zf(e.render);if(e.render!==i){var a={$$typeof:un,render:i};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function SR(e,t){{if(ca===null)return!1;var i=e.elementType,a=t.type,o=!1,s=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case K:{typeof a=="function"&&(o=!0);break}case B:{(typeof a=="function"||s===jn)&&(o=!0);break}case xe:{(s===un||s===jn)&&(o=!0);break}case Pe:case ke:{(s===Ga||s===jn)&&(o=!0);break}default:return!1}if(o){var d=ca(i);if(d!==void 0&&d===ca(a))return!0}return!1}}function CR(e){{if(ca===null||typeof WeakSet!="function")return;Nf===null&&(Nf=new WeakSet),Nf.add(e)}}var lD=function(e,t){{if(ca===null)return;var i=t.staleFamilies,a=t.updatedFamilies;Do(),To(function(){YS(e.current,a,i)})}},oD=function(e,t){{if(e.context!==Bi)return;Do(),To(function(){Wp(t,e,null,null)})}};function YS(e,t,i){{var a=e.alternate,o=e.child,s=e.sibling,d=e.tag,v=e.type,m=null;switch(d){case B:case ke:case K:m=v;break;case xe:m=v.render;break}if(ca===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,w=!1;if(m!==null){var O=ca(m);O!==void 0&&(i.has(O)?w=!0:t.has(O)&&(d===K?w=!0:E=!0))}if(Nf!==null&&(Nf.has(e)||a!==null&&Nf.has(a))&&(w=!0),w&&(e._debugNeedsRemount=!0),w||E){var k=Ci(e,Be);k!==null&&qn(k,e,Be,Vt)}o!==null&&!w&&YS(o,t,i),s!==null&&YS(s,t,i)}}var uD=function(e,t){{var i=new Set,a=new Set(t.map(function(o){return o.current}));return GS(e.current,a,i),i}};function GS(e,t,i){{var a=e.child,o=e.sibling,s=e.tag,d=e.type,v=null;switch(s){case B:case ke:case K:v=d;break;case xe:v=d.render;break}var m=!1;v!==null&&t.has(v)&&(m=!0),m?sD(e,i):a!==null&&GS(a,t,i),o!==null&&GS(o,t,i)}}function sD(e,t){{var i=cD(e,t);if(i)return;for(var a=e;;){switch(a.tag){case X:t.add(a.stateNode);return;case ae:t.add(a.stateNode.containerInfo);return;case J:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function cD(e,t){for(var i=e,a=!1;;){if(i.tag===X)a=!0,t.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return a;for(;i.sibling===null;){if(i.return===null||i.return===e)return a;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var QS;{QS=!1;try{var ER=Object.preventExtensions({})}catch{QS=!0}}function fD(e,t,i,a){this.tag=e,this.key=i,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=ze,this.subtreeFlags=ze,this.deletions=null,this.lanes=W,this.childLanes=W,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!QS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Pi=function(e,t,i,a){return new fD(e,t,i,a)};function XS(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function dD(e){return typeof e=="function"&&!XS(e)&&e.defaultProps===void 0}function pD(e){if(typeof e=="function")return XS(e)?K:B;if(e!=null){var t=e.$$typeof;if(t===un)return xe;if(t===Ga)return Pe}return ge}function Ps(e,t){var i=e.alternate;i===null?(i=Pi(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugSource=e._debugSource,i._debugOwner=e._debugOwner,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=ze,i.subtreeFlags=ze,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&Bn,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue;var a=e.dependencies;switch(i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case ge:case B:case ke:i.type=zf(e.type);break;case K:i.type=IS(e.type);break;case xe:i.type=WS(e.type);break}return i}function hD(e,t){e.flags&=Bn|Yt;var i=e.alternate;if(i===null)e.childLanes=W,e.lanes=t,e.child=null,e.subtreeFlags=ze,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=ze,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type;var a=i.dependencies;e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration}return e}function vD(e,t,i){var a;return e===Tv?(a=rt,t===!0&&(a|=an,a|=pi)):a=He,Pn&&(a|=je),Pi(J,null,null,a)}function KS(e,t,i,a,o,s){var d=ge,v=e;if(typeof e=="function")XS(e)?(d=K,v=IS(v)):v=zf(v);else if(typeof e=="string")d=X;else e:switch(e){case Oi:return zu(i.children,o,s,t);case Wa:d=de,o|=an,(o&rt)!==He&&(o|=pi);break;case Ya:return mD(i,o,s,t);case ii:return yD(i,o,s,t);case Hl:return gD(i,o,s,t);case Hu:return RR(i,o,s,t);case Xs:case Gs:case Ff:case Hf:case Qs:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oo:d=it;break e;case Fu:d=ct;break e;case un:d=xe,v=WS(v);break e;case Ga:d=Pe;break e;case jn:d=Lt,v=null;break e}var m="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=a?Ge(a):null;E&&(m+=`
220
+
221
+ Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+m))}}var w=Pi(d,i,t,o);return w.elementType=e,w.type=v,w.lanes=s,w._debugOwner=a,w}function qS(e,t,i){var a=null;a=e._owner;var o=e.type,s=e.key,d=e.props,v=KS(o,s,d,a,t,i);return v._debugSource=e._source,v._debugOwner=e._owner,v}function zu(e,t,i,a){var o=Pi(_e,e,a,t);return o.lanes=i,o}function mD(e,t,i,a){typeof e.id!="string"&&C('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=Pi(Oe,e,a,t|je);return o.elementType=Ya,o.lanes=i,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function yD(e,t,i,a){var o=Pi(Ce,e,a,t);return o.elementType=ii,o.lanes=i,o}function gD(e,t,i,a){var o=Pi(Tt,e,a,t);return o.elementType=Hl,o.lanes=i,o}function RR(e,t,i,a){var o=Pi(Je,e,a,t);o.elementType=Hu,o.lanes=i;var s={isHidden:!1};return o.stateNode=s,o}function ZS(e,t,i){var a=Pi(le,e,null,t);return a.lanes=i,a}function SD(){var e=Pi(X,null,null,He);return e.elementType="DELETED",e}function CD(e){var t=Pi(Bt,null,null,He);return t.stateNode=e,t}function JS(e,t,i){var a=e.children!==null?e.children:[],o=Pi(ae,a,e.key,t);return o.lanes=i,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function wR(e,t){return e===null&&(e=Pi(ge,null,null,He)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function ED(e,t,i,a,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ny,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=dt,this.eventTimes=Pc(W),this.expirationTimes=Pc(Vt),this.pendingLanes=W,this.suspendedLanes=W,this.pingedLanes=W,this.expiredLanes=W,this.mutableReadLanes=W,this.finishedLanes=W,this.entangledLanes=W,this.entanglements=Pc(W),this.identifierPrefix=a,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var s=this.pendingUpdatersLaneMap=[],d=0;d<Qt;d++)s.push(new Set)}switch(t){case Tv:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case Ru:this._debugRootType=i?"hydrate()":"render()";break}}function bR(e,t,i,a,o,s,d,v,m,E){var w=new ED(e,t,i,v,m),O=vD(t,s);w.current=O,O.stateNode=w;{var k={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};O.memoizedState=k}return og(O),w}var eC="18.2.0";function RD(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return da(a),{$$typeof:Wr,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}var tC,nC;tC=!1,nC={};function xR(e){if(!e)return Bi;var t=ui(e),i=ab(t);if(t.tag===K){var a=t.type;if(Dl(a))return qC(t,a,i)}return i}function wD(e,t){{var i=ui(e);if(i===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var o=di(i);if(o===null)return null;if(o.mode&an){var s=Ge(i)||"Component";if(!nC[s]){nC[s]=!0;var d=nn;try{Dt(o),i.mode&an?C("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s):C("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s)}finally{d?Dt(d):sn()}}}return o.stateNode}}function TR(e,t,i,a,o,s,d,v){var m=!1,E=null;return bR(e,t,m,E,i,a,o,s,d)}function DR(e,t,i,a,o,s,d,v,m,E){var w=!0,O=bR(i,a,w,e,o,s,d,v,m);O.context=xR(null);var k=O.current,U=ei(),H=Au(k),P=Ro(U,H);return P.callback=t??null,xu(k,P,H),MT(O,H,U),O}function Wp(e,t,i,a){Dh(t,e);var o=t.current,s=ei(),d=Au(o);ql(d);var v=xR(i);t.context===null?t.context=v:t.pendingContext=v,_r&&nn!==null&&!tC&&(tC=!0,C(`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.
222
+
223
+ Check the render method of %s.`,Ge(nn)||"Unknown"));var m=Ro(s,d);m.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&C("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),m.callback=a);var E=xu(o,m,d);return E!==null&&(qn(E,o,d,s),Vv(E,o,d)),d}function Mm(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case X:return t.child.stateNode;default:return t.child.stateNode}}function bD(e){switch(e.tag){case J:{var t=e.stateNode;if(Dn(t)){var i=ey(t);NT(t,i)}break}case Ce:{To(function(){var o=Ci(e,Be);if(o!==null){var s=ei();qn(o,e,Be,s)}});var a=Be;rC(e,a);break}}}function _R(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=Vh(i.retryLane,t))}function rC(e,t){_R(e,t);var i=e.alternate;i&&_R(i,t)}function xD(e){if(e.tag===Ce){var t=eu,i=Ci(e,t);if(i!==null){var a=ei();qn(i,e,t,a)}rC(e,t)}}function TD(e){if(e.tag===Ce){var t=Au(e),i=Ci(e,t);if(i!==null){var a=ei();qn(i,e,t,a)}rC(e,t)}}function kR(e){var t=bh(e);return t===null?null:t.stateNode}var MR=function(e){return null};function DD(e){return MR(e)}var OR=function(e){return!1};function _D(e){return OR(e)}var LR=null,AR=null,NR=null,zR=null,UR=null,FR=null,HR=null,VR=null,jR=null;{var BR=function(e,t,i){var a=t[i],o=st(e)?e.slice():tt({},e);return i+1===t.length?(st(o)?o.splice(a,1):delete o[a],o):(o[a]=BR(e[a],t,i+1),o)},PR=function(e,t){return BR(e,t,0)},$R=function(e,t,i,a){var o=t[a],s=st(e)?e.slice():tt({},e);if(a+1===t.length){var d=i[a];s[d]=s[o],st(s)?s.splice(o,1):delete s[o]}else s[o]=$R(e[o],t,i,a+1);return s},IR=function(e,t,i){if(t.length!==i.length){T("copyWithRename() expects paths of the same length");return}else for(var a=0;a<i.length-1;a++)if(t[a]!==i[a]){T("copyWithRename() expects paths to be the same except for the deepest key");return}return $R(e,t,i,0)},WR=function(e,t,i,a){if(i>=t.length)return a;var o=t[i],s=st(e)?e.slice():tt({},e);return s[o]=WR(e[o],t,i+1,a),s},YR=function(e,t,i){return WR(e,t,0,i)},iC=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};LR=function(e,t,i,a){var o=iC(e,t);if(o!==null){var s=YR(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=tt({},e.memoizedProps);var d=Ci(e,Be);d!==null&&qn(d,e,Be,Vt)}},AR=function(e,t,i){var a=iC(e,t);if(a!==null){var o=PR(a.memoizedState,i);a.memoizedState=o,a.baseState=o,e.memoizedProps=tt({},e.memoizedProps);var s=Ci(e,Be);s!==null&&qn(s,e,Be,Vt)}},NR=function(e,t,i,a){var o=iC(e,t);if(o!==null){var s=IR(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=tt({},e.memoizedProps);var d=Ci(e,Be);d!==null&&qn(d,e,Be,Vt)}},zR=function(e,t,i){e.pendingProps=YR(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ci(e,Be);a!==null&&qn(a,e,Be,Vt)},UR=function(e,t){e.pendingProps=PR(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ci(e,Be);i!==null&&qn(i,e,Be,Vt)},FR=function(e,t,i){e.pendingProps=IR(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ci(e,Be);a!==null&&qn(a,e,Be,Vt)},HR=function(e){var t=Ci(e,Be);t!==null&&qn(t,e,Be,Vt)},VR=function(e){MR=e},jR=function(e){OR=e}}function kD(e){var t=di(e);return t===null?null:t.stateNode}function MD(e){return null}function OD(){return nn}function LD(e){var t=e.findFiberByHostInstance,i=p.ReactCurrentDispatcher;return gd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:LR,overrideHookStateDeletePath:AR,overrideHookStateRenamePath:NR,overrideProps:zR,overridePropsDeletePath:UR,overridePropsRenamePath:FR,setErrorHandler:VR,setSuspenseHandler:jR,scheduleUpdate:HR,currentDispatcherRef:i,findHostInstanceByFiber:kD,findFiberByHostInstance:t||MD,findHostInstancesForRefresh:uD,scheduleRefresh:lD,scheduleRoot:oD,setRefreshHandler:aD,getCurrentFiber:OD,reconcilerVersion:eC})}var GR=typeof reportError=="function"?reportError:function(e){console.error(e)};function aC(e){this._internalRoot=e}Om.prototype.render=aC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?C("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Lm(arguments[1])?C("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 arguments[1]<"u"&&C("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==gn){var a=kR(t.current);a&&a.parentNode!==i&&C("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Wp(e,t,null,null)},Om.prototype.unmount=aC.prototype.unmount=function(){typeof arguments[0]=="function"&&C("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;aR()&&C("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."),To(function(){Wp(null,e,null,null)}),YC(t)}};function AD(e,t){if(!Lm(e))throw new Error("createRoot(...): Target container is not a DOM element.");QR(e);var i=!1,a=!1,o="",s=GR;t!=null&&(t.hydrate?T("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ia&&C(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
224
+
225
+ let root = createRoot(domContainer);
226
+ root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=TR(e,Tv,null,i,a,o,s);Sv(d.current,e);var v=e.nodeType===gn?e.parentNode:e;return Jd(v),new aC(d)}function Om(e){this._internalRoot=e}function ND(e){e&&Gh(e)}Om.prototype.unstable_scheduleHydration=ND;function zD(e,t,i){if(!Lm(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");QR(e),t===void 0&&C("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=i??null,o=i!=null&&i.hydratedSources||null,s=!1,d=!1,v="",m=GR;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(v=i.identifierPrefix),i.onRecoverableError!==void 0&&(m=i.onRecoverableError));var E=DR(t,null,e,Tv,a,s,d,v,m);if(Sv(E.current,e),Jd(e),o)for(var w=0;w<o.length;w++){var O=o[w];$b(E,O)}return new Om(E)}function Lm(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===Pl||!ve))}function Yp(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===Pl||e.nodeType===gn&&e.nodeValue===" react-mount-point-unstable "))}function QR(e){e.nodeType===Mr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&C("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),cp(e)&&(e._reactRootContainer?C("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):C("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."))}var UD=p.ReactCurrentOwner,XR;XR=function(e){if(e._reactRootContainer&&e.nodeType!==gn){var t=kR(e._reactRootContainer.current);t&&t.parentNode!==e&&C("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!e._reactRootContainer,a=lC(e),o=!!(a&&Cu(a));o&&!i&&C("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Mr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&C("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function lC(e){return e?e.nodeType===Ui?e.documentElement:e.firstChild:null}function KR(){}function FD(e,t,i,a,o){if(o){if(typeof a=="function"){var s=a;a=function(){var k=Mm(d);s.call(k)}}var d=DR(t,a,e,Ru,null,!1,!1,"",KR);e._reactRootContainer=d,Sv(d.current,e);var v=e.nodeType===gn?e.parentNode:e;return Jd(v),To(),d}else{for(var m;m=e.lastChild;)e.removeChild(m);if(typeof a=="function"){var E=a;a=function(){var k=Mm(w);E.call(k)}}var w=TR(e,Ru,null,!1,!1,"",KR);e._reactRootContainer=w,Sv(w.current,e);var O=e.nodeType===gn?e.parentNode:e;return Jd(O),To(function(){Wp(t,w,i,a)}),w}}function HD(e,t){e!==null&&typeof e!="function"&&C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Am(e,t,i,a,o){XR(i),HD(o===void 0?null:o,"render");var s=i._reactRootContainer,d;if(!s)d=FD(i,t,e,o,a);else{if(d=s,typeof o=="function"){var v=o;o=function(){var m=Mm(d);v.call(m)}}Wp(t,d,e,o)}return Mm(d)}function VD(e){{var t=UD.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||C("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",mt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Mr?e:wD(e,"findDOMNode")}function jD(e,t,i){if(C("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Yp(t))throw new Error("Target container is not a DOM element.");{var a=cp(t)&&t._reactRootContainer===void 0;a&&C("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Am(null,e,t,!0,i)}function BD(e,t,i){if(C("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Yp(t))throw new Error("Target container is not a DOM element.");{var a=cp(t)&&t._reactRootContainer===void 0;a&&C("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Am(null,e,t,!1,i)}function PD(e,t,i,a){if(C("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Yp(i))throw new Error("Target container is not a DOM element.");if(e==null||!ns(e))throw new Error("parentComponent must be a valid React Component");return Am(e,t,i,!1,a)}function $D(e){if(!Yp(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=cp(e)&&e._reactRootContainer===void 0;t&&C("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var i=lC(e),a=i&&!Cu(i);a&&C("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return To(function(){Am(null,null,e,!1,function(){e._reactRootContainer=null,YC(e)})}),!0}else{{var o=lC(e),s=!!(o&&Cu(o)),d=e.nodeType===Mr&&Yp(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&C("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Se(bD),Bh(xD),ys(TD),zd(vi),$h(hs),(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")&&C("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Eh(Yw),sc(FS,zT,To);function ID(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Lm(t))throw new Error("Target container is not a DOM element.");return RD(e,t,null,i)}function WD(e,t,i,a){return PD(e,t,i,a)}var oC={usingClientEntryPoint:!1,Events:[Cu,df,Cv,uc,Ju,FS]};function YD(e,t){return oC.usingClientEntryPoint||C('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),AD(e,t)}function GD(e,t,i){return oC.usingClientEntryPoint||C('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),zD(e,t,i)}function QD(e){return aR()&&C("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),To(e)}var XD=LD({findFiberByHostInstance:Ds,bundleType:1,version:eC,rendererPackageName:"react-dom"});if(!XD&&pn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var qR=window.location.protocol;/^(https?|file):$/.test(qR)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(qR==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}xi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oC,xi.createPortal=ID,xi.createRoot=YD,xi.findDOMNode=VD,xi.flushSync=QD,xi.hydrate=jD,xi.hydrateRoot=GD,xi.render=BD,xi.unmountComponentAtNode=$D,xi.unstable_batchedUpdates=FS,xi.unstable_renderSubtreeIntoContainer=WD,xi.version=eC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),xi}(function(I){function c(){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(c)}catch(p){console.error(p)}}}process.env.NODE_ENV==="production"?(c(),I.exports=H_()):I.exports=V_()})(M_);var hC,Nm=pC;if(process.env.NODE_ENV==="production")hC=Nm.createRoot,Nm.hydrateRoot;else{var ow=Nm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;hC=function(I,c){ow.usingClientEntryPoint=!0;try{return Nm.createRoot(I,c)}finally{ow.usingClientEntryPoint=!1}}}class j_{constructor(c){this.Component=c,console.info(c)}render(c,p,S,R,T,C,Y){const B={cellDiv:c,rowIndex:p,columnIndex:S,areaIdent:R,areaModel:T,cellValue:C},K=hC(c,{});return K.render(this.Component(B)),()=>{K.unmount()}}}exports.ComponentRendererWrapper=j_;exports.PreactTable=k_;